:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #000000;
  --muted: #74787f;
  --accent: #000000;
  --shadow: 4px 4px 24px rgba(0, 0, 0, 0.3);
  --radius: 30px;
  --page-pad: clamp(18px, 4vw, 48px);
  --header-height: 54px;
  --toolbar-gap: 20px;
  --content-max: 1440px;
  --content-inset: clamp(40px, 5vw, 84px);
  --section-space: clamp(56px, 8vw, 112px);
  --topic-size: clamp(2.8rem, 4vw, 4rem);
  --body-size: clamp(1rem, 1.5vw, 1.25rem);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: clip;
  margin: 0;
  padding-top: var(--header-height);
  background: var(--bg);
  color: var(--ink);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(.lightbox[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 12px var(--page-pad);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.85rem;
  font-weight: 400;
}

.brand img {
  width: 15px;
  height: 15px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #000000;
  font-size: 0.85rem;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  line-height: 1;
}

.header-actions a[href^="mailto:"] {
  min-height: 36px;
  padding: 0 22px;
  border-radius: 999px;
  background: #1d1f27;
  color: #ffffff;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.header-actions a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.header-actions a[href^="mailto:"]:hover {
  color: #000000;
  background: #ffffff;
}

main {
  padding: 0 var(--page-pad) 56px;
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(44px, 9vw, 112px) 0 clamp(34px, 7vw, 72px);
}

.hero-copy {
  max-width: 960px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 960px;
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  font-weight: 500;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy > p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  color: #000000;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: var(--content-max);
  margin: 32px auto 0;
  overflow: visible;
  background: var(--bg);
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--content-inset);
  background: #ffffff;
}

.split-copy h1,
.split-copy h2 {
  margin: 0;
  font-size: var(--topic-size);
  font-weight: 500;
  line-height: 1;
}

.split-description {
  max-width: 540px;
  margin-top: clamp(28px, 4vw, 72px);
}

.split-description p {
  margin: 0;
  color: var(--ink);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.35;
}

.split-description p + p {
  margin-top: 24px;
}

.split-media {
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ffffff;
  border-radius: var(--radius);
}

.split-media video,
.split-media img,
.case-hero-media video,
.case-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  clip-path: inset(0 round var(--radius));
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  object-fit: cover;
}

.split-copy > p {
  max-width: 540px;
  margin: clamp(28px, 4vw, 72px) 0 0;
  color: var(--ink);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.35;
}

.case-page {
  padding-top: 32px;
}

.case-hero {
  max-width: var(--content-max);
  margin: 0 auto;
}

.case-hero-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
  border-radius: var(--radius);
}

.case-hero-inset-media .case-hero-media {
  margin-inline: var(--content-inset);
}

.case-copy {
  max-width: none;
  padding-inline: var(--content-inset);
  margin: clamp(24px, 3.5vw, 48px) 0 clamp(48px, 7vw, 96px);
}

.case-copy h1 {
  margin: 0;
  font-size: var(--topic-size);
  font-weight: 500;
  line-height: 1;
}

.case-copy p {
  margin: clamp(28px, 4vw, 56px) 0 0;
  color: var(--ink);
  font-size: var(--body-size);
  line-height: 1.35;
}

@media (min-width: 1100px) {
  .gu-case-hero .case-copy h1,
  .desktop-nowrap-title {
    max-width: none;
    white-space: nowrap;
  }
}

.editorial-gallery {
  max-width: var(--content-max);
  margin: var(--section-space) auto 0;
}

.editorial-gallery-copy {
  max-width: none;
  padding-inline: var(--content-inset);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.editorial-gallery-copy h1,
.editorial-gallery-copy h2 {
  margin: 0;
  font-size: var(--topic-size);
  font-weight: 500;
  line-height: 1.05;
}

.editorial-gallery-copy p {
  margin: clamp(24px, 3vw, 40px) 0 0;
  color: var(--ink);
  font-size: var(--body-size);
  line-height: 1.4;
}

.editorial-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-inline: var(--content-inset);
}

.editorial-gallery-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.editorial-gallery-grid img,
.editorial-gallery-grid video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.editorial-gallery-grid .editorial-gallery-tall {
  height: 100%;
  object-fit: cover;
}

.logo-slider {
  --logo-slider-edge: max(var(--page-pad), calc((100% - var(--content-max)) / 2));
  --logo-slider-copy-inset: var(--content-inset);
  margin: var(--section-space) calc(var(--page-pad) * -1) 0;
  padding-top: clamp(36px, 2.5vw, 40px);
  background: #f5f5f7;
  overflow: hidden;
}

.logo-slider-header {
  margin: 0;
  padding: 0 calc(var(--logo-slider-edge) + var(--logo-slider-copy-inset)) clamp(8px, 2vw, 20px);
}

.logo-slider h2 {
  margin: 0;
  font-size: var(--topic-size);
  font-weight: 500;
  line-height: 1;
}

.logo-slider-description {
  max-width: none;
  margin: clamp(28px, 4vw, 72px) 0 0;
  color: var(--ink);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.35;
}

@media (min-width: 761px) {
  .split-description,
  .split-copy > p,
  .case-copy p,
  .editorial-gallery-copy p,
  .logo-slider-description {
    margin-top: clamp(18px, calc(4vw - 10px), 46px);
  }
}

.logo-slider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-touch-callout: none;
}

.logo-slider-viewport::-webkit-scrollbar {
  display: none;
}

.logo-slider-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding: 36px var(--logo-slider-edge) 60px;
}

.logo-slider-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.logo-slide {
  flex: 0 0 clamp(300px, 30vw, 390px);
}

.logo-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.logo-slide:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.logo-slider,
.split-section {
  scroll-margin-top: calc(var(--header-height) + var(--toolbar-gap) + 72px);
}

.toolbar,
.portfolio {
  max-width: 1240px;
  margin: 0 auto;
}

.toolbar {
  position: sticky;
  top: calc(var(--header-height) + var(--toolbar-gap));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.7);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  min-height: 54px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.filters {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: safe center;
  gap: 8px;
  overflow-x: auto;
  padding: 5px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  z-index: 0;
  width: var(--filter-indicator-width, 0);
  height: 44px;
  border-radius: 999px;
  background: #1d1f27;
  transform: translateX(var(--filter-indicator-x, 0));
  transition: transform 260ms ease, width 260ms ease;
  pointer-events: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #2f3134;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--ink);
}

.filter-button.is-active {
  font-weight: 400;
}

.filters.has-indicator .filter-button.is-active {
  color: #ffffff;
}

.filters:not(.has-indicator) .filter-button.is-active {
  padding: 0 18px;
  border-radius: 999px;
  background: #1d1f27;
  color: #ffffff;
}

.project-grid {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-top: 22px;
}

.project-column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
}

.project-card {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  cursor: zoom-in;
}

.project-card:hover,
.project-card:focus-visible {
  outline: none;
}

.project-card img {
  width: 100%;
  height: auto;
  background: #ebecee;
  border: 0;
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.project-image-group,
.lightbox-media.is-multi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: #ffffff;
}

.project-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 2px;
  text-align: left;
}

.project-meta h3 {
  min-width: 0;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tag,
[data-lightbox-category] {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 18px;
  padding: 0 4px;
  border-radius: 4px;
  background: #bcbec0;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
}

.empty-state {
  padding: 42px 0 72px;
  color: var(--muted);
}

.site-footer {
  padding: 0 var(--page-pad);
  background: transparent;
  color: #6c6c6c;
  font-size: 0.85rem;
}

.site-footer-inner {
  display: flex;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 0 30px;
  border-top: 1px solid #6c6c6c;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.site-footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
}

.site-footer-contact a[href^="tel:"]::before {
  content: "mobile: ";
}

.site-footer-contact a[href^="mailto:"]::before {
  content: "email: ";
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 28px 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  width: min(1040px, calc(100vw - 84px));
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(21, 24, 28, 0.18);
}

.lightbox-media > img {
  width: 100%;
  max-height: none;
  object-fit: contain;
  background: #ffffff;
}

.lightbox figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: space-between;
  padding: 20px 20px;
  color: var(--ink);
  background: #ffffff;
  border-top: 0.5px solid #bcbec0;
  font-weight: 700;
}

.lightbox small:not([data-lightbox-category]) {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

@media (max-width: 760px) {
  :root {
    --radius: 24px;
  }

  .site-header {
    align-items: stretch;
    gap: 10px;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer-contact {
    order: 1;
    flex-direction: column;
    justify-content: flex-start;
  }

  .site-footer-inner > span {
    order: 2;
  }

  .project-grid {
    gap: 0;
  }

  .toolbar {
    width: 100%;
  }

  .split-section {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .split-copy {
    min-height: 460px;
    order: 1;
    padding-inline: 0;
  }

  .split-media {
    order: 2;
  }

  .split-description {
    margin-top: 56px;
  }

  .split-copy > p {
    margin-top: 40px;
  }

  .case-page {
    padding-top: 18px;
  }

  .case-copy {
    padding-inline: 0;
    margin-bottom: 40px;
  }

  .case-hero-inset-media .case-hero-media {
    margin-inline: 0;
  }

  .editorial-gallery {
    margin-top: 64px;
  }

  .editorial-gallery-copy {
    padding-inline: 0;
    margin-bottom: 32px;
  }

  .editorial-gallery-grid {
    grid-template-columns: 1fr;
    margin-inline: 0;
  }

  .editorial-gallery-grid .editorial-gallery-tall {
    height: auto;
  }

  .logo-slider {
    --logo-slider-edge: var(--page-pad);
    --logo-slider-copy-inset: 0px;
    width: calc(100% + (var(--page-pad) * 2));
    max-width: 100vw;
    margin-right: calc(var(--page-pad) * -1);
    margin-left: calc(var(--page-pad) * -1);
    margin-top: 56px;
  }

  .logo-slider-header {
    padding-bottom: 22px;
  }

  .logo-slide {
    flex-basis: 78vw;
  }

  .filters {
    justify-content: flex-start;
    padding: 5px;
  }

  .filter-indicator {
    display: none;
  }

  .filters.has-indicator .filter-button.is-active {
    border-radius: 999px;
    background: #1d1f27;
    color: #ffffff;
  }

  .lightbox {
    width: 100vw;
    height: 100dvh;
    padding: 10px 0 74px;
  }

  .lightbox figure {
    width: calc(100vw - 20px);
  }

  .lightbox-media.is-multi {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
