    :root {
      --paper: #f3efe6;
      --ink: #1a1714;
      --soft: #3f3a34;
      --line: #d9d1c4;
      --accent: #7a3b32;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--paper);
      color: var(--ink);
      font-family: Newsreader, Georgia, serif;
      font-size: 1.125rem;
      line-height: 1.55;
    }

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

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

    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }

    ::selection {
      background: #e7d3c8;
      color: var(--ink);
    }

    .skip {
      position: absolute;
      left: 1rem;
      top: -4rem;
      z-index: 20;
      padding: 0.55rem 0.9rem;
      background: var(--ink);
      color: var(--paper);
    }

    .skip:focus {
      top: 1rem;
    }

    .wrap {
      padding-left: clamp(1.25rem, 5vw, 4.75rem);
      padding-right: clamp(1.25rem, 5vw, 4.75rem);
    }

    .masthead {
      position: sticky;
      top: 0;
      z-index: 5;
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1.5rem 2rem;
      padding-top: 1.05rem;
      padding-bottom: 1.05rem;
      background: var(--paper);
      border-bottom: 1px solid var(--ink);
      box-shadow: 0 3px 0 var(--paper), 0 4px 0 var(--ink);
    }

    .wordmark {
      font-family: Fraunces, Georgia, serif;
      font-weight: 560;
      font-size: clamp(1.35rem, 2vw, 1.7rem);
      letter-spacing: -0.03em;
      line-height: 1;
      white-space: nowrap;
    }

    .wordmark.is-typing {
      position: relative;
    }

    .wordmark-run {
      position: relative;
      display: inline-block;
    }

    .wordmark-o {
      display: inline-block;
      transform-origin: center center;
      transition: transform 0.3s ease;
    }

    .wordmark-o.is-tilted {
      transform: rotate(8deg);
    }

    .wordmark.is-typing .wordmark-ch {
      visibility: hidden;
    }

    .wordmark.is-typing .wordmark-ch.is-typed {
      visibility: visible;
    }

    .wordmark-caret {
      position: absolute;
      width: 1px;
      background: currentColor;
      pointer-events: none;
      opacity: 0;
    }

    .wordmark-caret.is-on {
      animation: wordmark-caret-blink 0.7s linear infinite;
    }

    .wordmark-caret.is-fading {
      animation: wordmark-caret-fade 0.3s ease forwards;
    }

    @keyframes wordmark-caret-blink {
      0%, 49.9% { opacity: 1; }
      50%, 100% { opacity: 0; }
    }

    @keyframes wordmark-caret-fade {
      from { opacity: 1; }
      to { opacity: 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      .wordmark-caret {
        display: none;
      }

      .wordmark.is-typing .wordmark-ch {
        visibility: visible;
      }

      .wordmark-o {
        transform: none;
        transition: none;
        animation: none;
      }
    }

    .menu-toggle {
      display: none;
      margin-left: auto;
      padding: 0.2rem 0;
      border: 0;
      background: none;
      color: var(--ink);
      font-family: Figtree, system-ui, sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      cursor: pointer;
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 0.45rem 1.35rem;
    }

    .nav a,
    .spine,
    .meta,
    .text-link {
      font-family: Figtree, system-ui, sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .nav a {
      color: var(--soft);
      background-image: linear-gradient(var(--accent), var(--accent));
      background-repeat: no-repeat;
      background-size: 0 1px;
      background-position: 0 100%;
      transition: color 0.3s ease, background-size 0.35s ease;
    }

    .nav a:hover,
    .nav a[aria-current="page"] {
      color: var(--ink);
      background-size: 100% 1px;
    }

    .cover {
      display: flex;
      align-items: flex-start;
      padding-top: clamp(2.75rem, 7vh, 5.25rem);
      padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
    }

    .cover-grid {
      width: min(100%, 76rem);
    }

    .spine,
    .meta {
      color: var(--accent);
      letter-spacing: 0.38em;
    }

    .spine {
      margin-bottom: 1.35rem;
    }

    .feature .meta {
      font-family: Figtree, system-ui, sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      line-height: 1.4;
      letter-spacing: 0.38em;
      text-transform: uppercase;
      color: var(--accent);
      max-width: none;
      margin-bottom: 0.75rem;
    }

    h1 {
      max-width: 20em;
      font-family: Fraunces, Georgia, serif;
      font-weight: 560;
      font-size: clamp(2.15rem, 3.35vw, 3.7rem);
      line-height: 1.08;
      letter-spacing: -0.03em;
    }

    h1 em {
      font-style: italic;
      font-weight: 460;
    }

    .band {
      padding-top: clamp(2.5rem, 5vh, 3.5rem);
      padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
      scroll-margin-top: 5rem;
    }

    .opener {
      display: flex;
      align-items: baseline;
      gap: 1.5rem;
      margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
    }

    .opener h2 {
      font-family: Fraunces, Georgia, serif;
      font-weight: 560;
      font-style: normal;
      font-size: clamp(2.05rem, 3.05vw, 2.9rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
      white-space: nowrap;
    }

    .bring-list {
      display: grid;
    }

    .bring-item {
      display: grid;
      grid-template-columns: minmax(12rem, 0.72fr) minmax(0, 1.15fr);
      gap: 1.5rem 3rem;
      align-items: baseline;
      padding: clamp(1.6rem, 3vh, 2.15rem) 0;
      border-top: 1px solid var(--ink);
    }

    .bring-item:last-child {
      border-bottom: 1px solid var(--ink);
    }

    .bring-item h3,
    .feature h3 {
      font-family: Fraunces, Georgia, serif;
      font-weight: 560;
      letter-spacing: -0.03em;
      line-height: 1.05;
    }

    .bring-item h3,
    .feature h3 {
      font-size: clamp(1.7rem, 2.2vw, 2.15rem);
    }

    .bring-item p,
    .feature p {
      max-width: 38rem;
      color: var(--soft);
      font-size: clamp(1.15rem, 1.5vw, 1.35rem);
      line-height: 1.5;
    }

    .passion {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 34rem);
      gap: clamp(2rem, 5vw, 5.5rem);
      align-items: center;
    }

    .passion blockquote p {
      font-family: Fraunces, Georgia, serif;
      font-style: italic;
      font-weight: 460;
      font-size: clamp(2.05rem, 3.7vw, 3.55rem);
      line-height: 1.16;
      letter-spacing: -0.028em;
    }

    .plate {
      margin: 0;
      overflow: hidden;
      background: var(--paper);
      align-self: center;
      justify-self: end;
    }

    .plate img {
      width: 100%;
      height: auto;
      object-fit: cover;
      object-position: center;
    }

    .passion .plate img {
      aspect-ratio: 1 / 1;
      max-height: 82vh;
      object-position: center top;
    }

    .work-list {
      display: grid;
    }

    .feature {
      display: grid;
      grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
      gap: clamp(2rem, 5vw, 4.75rem);
      align-items: center;
      padding: clamp(3rem, 7vh, 5.25rem) 0;
      border-top: 1px solid var(--line);
    }

    .feature:last-child {
      border-bottom: 1px solid var(--line);
    }

    .feature-flip {
      grid-template-columns: minmax(0, 1fr) minmax(11rem, 16rem);
    }

    .feature-copy {
      max-width: 38rem;
    }

    .feature-flip .feature-copy {
      justify-self: end;
    }

    .feature-flip .plate {
      order: 2;
    }

    .feature .plate {
      justify-self: stretch;
      width: 100%;
      aspect-ratio: 1;
      border-radius: 6px;
      background: var(--paper);
    }

    .feature .plate img {
      width: 100%;
      height: 100%;
      aspect-ratio: auto;
      object-fit: cover;
      transform: scale(1.27);
    }

    .feature h3 {
      margin-bottom: 1rem;
    }

    .text-link {
      display: inline-block;
      margin-top: 1.65rem;
      color: var(--accent);
      border-bottom: 1px solid var(--accent);
      padding-bottom: 0.18rem;
      transition: letter-spacing 0.35s ease, color 0.3s ease;
    }

    .text-link:hover {
      letter-spacing: 0.2em;
      color: var(--ink);
      border-bottom-color: var(--ink);
    }

    .feature:last-child .plate img {
      object-fit: cover;
    }

    .passion .plate img,
    .feature .plate img {
      transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .passion:hover .plate img {
      transform: scale(1.035);
    }

    .feature:hover .plate img {
      transform: scale(1.37);
    }

    .site-footer {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 1.75rem;
      padding-top: clamp(2.5rem, 5vh, 3.5rem);
      padding-bottom: clamp(2.5rem, 6vh, 4rem);
      border-top: 1px solid var(--ink);
    }

    .footer-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.85rem 1.75rem;
    }

    .contact {
      font-family: Fraunces, Georgia, serif;
      font-size: clamp(2.15rem, 4vw, 3.4rem);
      font-weight: 560;
      letter-spacing: -0.03em;
      line-height: 1;
      text-transform: none;
      color: var(--ink);
    }

    .email {
      font-family: Newsreader, Georgia, serif;
      font-size: 1.15rem;
      line-height: 1;
      color: var(--soft);
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      margin-left: auto;
      gap: 0.7rem 1.5rem;
    }

    .footer-links a,
    .email {
      background-image: linear-gradient(var(--accent), var(--accent));
      background-repeat: no-repeat;
      background-size: 0 1px;
      background-position: 0 100%;
      transition: color 0.3s ease, background-size 0.35s ease;
    }

    .footer-links a {
      font-family: Figtree, system-ui, sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--soft);
    }

    .footer-links a:hover,
    .email:hover,
    .contact:hover {
      color: var(--accent);
    }

    .footer-links a:hover,
    .email:hover {
      background-size: 100% 1px;
    }

    [data-reveal] {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
    }

    [data-reveal].in {
      opacity: 1;
      transform: none;
    }

    .masthead,
    .spine,
    h1 {
      animation: rise 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .spine { animation-delay: 0.12s; }
    h1 { animation-delay: 0.22s; }

    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(22px);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    @media (max-width: 860px) {
      .passion,
      .feature,
      .bring-item {
        grid-template-columns: 1fr;
      }

      .masthead {
        flex-wrap: wrap;
        align-items: center;
      }

      .has-menu .menu-toggle {
        display: inline-block;
      }

      .has-menu .nav {
        display: none;
        flex: 1 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 0.85rem;
      }

      .has-menu .masthead.is-open .nav {
        display: flex;
      }

      .has-menu .nav a {
        padding: 0.9rem 0;
        border-top: 1px solid var(--line);
      }

      .has-menu .nav a:last-child {
        border-bottom: 1px solid var(--line);
      }

      .footer-links {
        margin-left: 0;
      }

      .cover {
        padding-top: 1.5rem;
        padding-bottom: 1.25rem;
      }

      .band {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
      }

      h1 {
        max-width: none;
        font-size: 1.5rem;
        line-height: 1.22;
        letter-spacing: -0.02em;
      }

      .feature .meta {
        letter-spacing: 0.14em;
      }

      .opener {
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
        margin-bottom: 1.15rem;
      }

      .opener h2 {
        white-space: normal;
      }

      .passion .plate,
      .feature .plate {
        width: 85%;
        max-width: none;
        justify-self: start;
        margin-right: auto;
      }

      .passion .plate img {
        max-height: none;
      }

      .feature:last-child .plate img,
      .feature:last-child:hover .plate img {
        transform: none;
      }

      .feature,
      .feature-flip {
        grid-template-columns: 1fr;
      }

      .feature .plate {
        width: 85%;
        justify-self: start;
      }

      .feature-flip .plate {
        order: 0;
      }

      .feature-flip .feature-copy {
        justify-self: stretch;
      }

    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }

      .masthead,
      .spine,
      h1,
      [data-reveal] {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
      }

      .passion .plate img,
      .feature:last-child .plate img,
      .nav a,
      .text-link,
      .footer-links a,
      .contact {
        transition: none;
      }
    }

/* Case study pages */

.case-cover {
  flex-direction: column;
  align-items: flex-start;
}

.case-cover .meta {
  margin-top: 1.25rem;
  line-height: 1.6;
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  width: 100%;
  margin-top: clamp(2.25rem, 5vh, 3.5rem);
}

.intro-split .case-list {
  order: 1;
}

.intro-split .hero-shot {
  order: 2;
}

#brief {
  border-top: 0;
  padding-top: 0;
}

.hero-shot {
  width: 100%;
  margin: 0;
}

.shot img,
.carousel-slide img {
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
}

.hero-shot img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-scroll,
.page-scroll {
  position: relative;
  width: 100%;
  max-height: min(68vh, 720px);
  overflow: hidden;
  border-radius: 6px;
  background: transparent;
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
  touch-action: pan-y;
  overscroll-behavior: auto;
}

.phone-scroll::after,
.page-scroll::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 5.5rem;
  background: linear-gradient(to bottom, rgba(243, 239, 230, 0), var(--paper) 86%);
  pointer-events: none;
  opacity: 0;
}

.phone-scroll.is-cropped::after,
.page-scroll.is-cropped::after {
  opacity: 1;
}

.scroll-hint {
  display: none;
}

#approach.band {
  padding-top: 0;
  padding-bottom: 0;
}

#approach .opener {
  margin-bottom: 0;
  padding: clamp(1.6rem, 3vh, 2.15rem) 0 1.25rem;
}

.case-section {
  padding: clamp(1.6rem, 3vh, 2.15rem) 0;
  border-top: 1px solid var(--ink);
}

.case-section:last-child {
  border-bottom: 1px solid var(--ink);
}

.case-section h2 {
  margin-bottom: 1rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.05rem, 3.05vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.case-copy {
  max-width: 38rem;
  color: var(--soft);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

.case-copy + .case-copy {
  margin-top: 1rem;
}

.case-points {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 38rem;
}

.case-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--soft);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

.case-points li + li {
  margin-top: 0.4rem;
}

.case-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.42rem;
  height: 1px;
  background: var(--accent);
}

.case-split,
.case-block {
  padding: clamp(2rem, 5vh, 3.5rem) 0;
  border-top: 1px solid var(--line);
}

.case-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

#outcome .case-section {
  border-bottom: 0;
}

.case-split h3,
.case-block h3 {
  margin-bottom: 1rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(1.7rem, 2.2vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.shot {
  margin: 0;
}

.shot img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  height: auto;
}

.pull {
  margin: 1.35rem 0 0;
  padding: 0;
  border: 0;
}

.pull p {
  max-width: none;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.7rem, 2.35vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -0.028em;
}

.case-split .carousel {
  width: min(100%, 26rem);
  margin: 0;
  justify-self: start;
}

.case-split .carousel.carousel-wide {
  width: 100%;
}

.carousel:not(:has(.carousel-slide ~ .carousel-slide)) .carousel-controls {
  display: none;
}

#black-friday .feature-copy {
  grid-column: 1;
  grid-row: 1;
}

#black-friday .pull {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

#black-friday .carousel {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: none;
}

.case-result {
  margin-top: 1.65rem;
  margin-bottom: 0.75rem;
}

#minimalist .carousel {
  width: min(100%, calc((78vh * 640 / 1136 + 10px) / 0.85));
}

.carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-slide,
.carousel-slide img {
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.carousel-slide {
  margin: 0;
  min-width: 0;
}

.carousel-slide.is-peek {
  opacity: 0.45;
  cursor: pointer;
}

.carousel-slide.is-current {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  max-width: 100%;
  max-height: 78vh;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.carousel-slide .phone-scroll img,
.carousel-slide .page-scroll img {
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: unset;
  border-radius: 0;
  box-shadow: none;
}

#best-price .carousel {
  width: min(100%, 16rem);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.carousel-status {
  margin: 0;
  min-width: 4.75rem;
  text-align: center;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.carousel-btn svg {
  width: 15px;
  height: 15px;
}

.carousel-btn:hover:not(:disabled) {
  background: rgba(26, 23, 20, 0.05);
}

.carousel-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

@media (max-width: 860px) {
  .case-cover .spine,
  .case-cover .meta {
    letter-spacing: 0.14em;
    line-height: 1.55;
  }

  .intro-split {
    grid-template-columns: 1fr;
  }

  .intro-split .hero-shot,
  .intro-split .case-list {
    order: 0;
  }

  .intro-split .hero-shot img {
    width: 100%;
  }

  .case-split {
    grid-template-columns: 1fr;
  }

  .case-split .shot,
  .case-split .carousel,
  .case-split .carousel.carousel-wide,
  #best-price .carousel {
    width: 85%;
    max-width: 85%;
    justify-self: start;
  }

  #black-friday .feature-copy,
  #black-friday .pull,
  #black-friday .carousel {
    grid-column: 1;
    grid-row: auto;
  }

  #black-friday .pull {
    margin-top: 1.35rem;
  }

  .case-split,
  .carousel,
  .carousel-viewport,
  .page-scroll,
  .phone-scroll {
    min-width: 0;
  }

  .carousel-slide .page-scroll img,
  .carousel-slide .phone-scroll img {
    max-width: 100%;
  }

  #black-friday .carousel {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    justify-self: stretch;
  }

  #black-friday .carousel-slide {
    aspect-ratio: 16 / 10;
    position: relative;
  }

  #black-friday .carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }

}

@media (prefers-reduced-motion: reduce) {
  .carousel-btn,
  .carousel-track {
    transition: none;
  }
}

/* AI case study */

.intro-split .case-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.intro-split .case-section .meta {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.study-block {
  border-top: 1px solid var(--line);
}

.chapter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.15rem 1.15rem;
  margin-bottom: clamp(1.35rem, 3vh, 2.1rem);
}

.chapter-num {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(4.6rem, 9vw, 7.6rem);
  line-height: 0.74;
  letter-spacing: -0.05em;
}

.chapter .meta {
  margin: 0 0 0.4rem;
  letter-spacing: 0.18em;
}

.chapter h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.05rem, 3vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.chapter-split {
  border-top: 0;
  padding-top: 0;
}

.part-layout {
  align-items: start;
}

.part-layout .chapter {
  margin-bottom: 0;
}

.writer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

#writer .ruled-row:last-child {
  border-bottom: 0;
}

.skill-block {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.enlarge {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.skill-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f2f0;
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
}

.skill-from,
.skill-to {
  display: block;
  width: 100%;
  max-width: 1800px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.skill-to {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.skill-stage.is-open .skill-from,
.skill-stage.is-open .skill-to {
  transition: opacity 2s ease;
}

.skill-stage.is-open .skill-from {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.skill-stage.is-open .skill-to {
  position: relative;
  opacity: 1;
}

.skill-stage.is-instant .skill-from,
.skill-stage.is-instant .skill-to,
.skill-stage.is-reduced .skill-from,
.skill-stage.is-reduced .skill-to {
  transition: none;
}

.enlarge-hint {
  margin: 0.45rem 0 0;
  letter-spacing: 0.16em;
}

.output-block {
  margin-top: clamp(2rem, 4vh, 3rem);
}

.output-label {
  margin-bottom: 0.35rem;
}

.output-note {
  margin: 0 0 1rem;
  color: var(--soft);
  font-family: Newsreader, Georgia, serif;
  font-size: 1rem;
  line-height: 1.45;
}

.output-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: start;
}

.output-shot {
  min-width: 0;
  margin: 0;
}

.output-shot img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
}

.shot-caption {
  margin: 0.7rem 0 0;
  letter-spacing: 0.16em;
}

.anatomy {
  min-width: 0;
  margin: 0;
}

.anatomy .shot-caption {
  margin: 0 0 0.75rem;
}

.anatomy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.06);
}

.anatomy-row {
  padding: 0.85rem 1.05rem;
  border-top: 1px solid var(--line);
}

.anatomy-row:first-child {
  border-top: 0;
}

.anatomy-label {
  margin: 0 0 0.28rem;
  color: #8a847c;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.anatomy-row p:last-child {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.anatomy .label-btn {
  margin-top: 0.45rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  align-content: start;
  justify-items: center;
  overflow: auto;
  padding: 4.5rem 1.25rem 2rem;
  background: rgba(26, 23, 20, 0.9);
  touch-action: pan-y;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(92vw, 1080px);
  height: auto;
  max-width: 92vw;
  max-height: none;
  border-radius: 4px;
}

.lightbox-close {
  position: fixed;
  top: 0.85rem;
  right: 1rem;
  z-index: 31;
  padding: 0.2rem 0.35rem;
  border: 0;
  background: none;
  color: var(--paper);
  font-family: Fraunces, Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.ruled-list {
  display: grid;
  min-width: 0;
}

.ruled-row {
  padding: clamp(1.2rem, 2.6vh, 1.7rem) 0;
  border-top: 1px solid var(--ink);
}

.ruled-row:last-child {
  border-bottom: 1px solid var(--ink);
}

.ruled-row .meta,
.example .meta {
  margin: 0 0 0.55rem;
  letter-spacing: 0.18em;
}

.ruled-row .case-copy,
.example .case-copy {
  max-width: none;
}

.skill-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-top: 0.75rem;
}

.skill-caption .meta,
.skill-caption .label-btn {
  margin: 0;
  letter-spacing: 0.16em;
}

.label-btn {
  margin-top: 0.9rem;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.label-btn:hover {
  color: var(--ink);
}

.subhead,
.feature-copy h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.subhead {
  margin-bottom: clamp(1.15rem, 3vh, 1.75rem);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.feature-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.05rem, 3.05vw, 2.9rem);
}

.crawl-skip {
  display: none;
  margin: 0 0 0.75rem;
}

.crawl.is-crawling .crawl-skip,
.crawl.is-settling .crawl-skip {
  display: block;
}

.crawl-skip .label-btn {
  margin-top: 0;
}

.crawl-stage {
  position: relative;
}

.crawl.is-ready .crawl-stage,
.crawl.is-armed .crawl-stage,
.crawl.is-crawling .crawl-stage,
.crawl.is-settling .crawl-stage {
  overflow: hidden;
}

.crawl.is-armed .crawl-stage,
.crawl.is-crawling .crawl-stage,
.crawl.is-settling .crawl-stage {
  -webkit-perspective: 1100px;
  perspective: 1100px;
  -webkit-perspective-origin: center 0;
  perspective-origin: center 0;
}

.crawl.is-crawling .missed,
.crawl.is-settling .missed {
  transform-origin: center top;
}

.crawl.is-crawling .crawl-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 24%;
  background: linear-gradient(to bottom, var(--paper), rgba(243, 239, 230, 0));
  pointer-events: none;
}

.crawl.is-crawling .missed {
  transition: none;
  animation: opening-crawl 6s linear forwards;
}

@keyframes opening-crawl {
  0% {
    transform: none;
  }
  12% {
    transform: rotateX(24deg) translateY(0);
  }
  100% {
    transform: rotateX(20deg) translateY(-46%);
  }
}

.closing-column {
  width: min(100%, 760px);
  margin-inline: auto;
}

.closing-column .subhead {
  margin-bottom: clamp(1.15rem, 3vh, 1.75rem);
  text-align: center;
}

.missed {
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: missed;
}

.missed-copy {
  min-width: 0;
}

.missed > li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.4rem;
  padding: clamp(1.15rem, 2.4vh, 1.55rem) 0;
  border-top: 1px solid var(--line);
  counter-increment: missed;
}

.missed > li:last-child {
  border-bottom: 1px solid var(--line);
}

.missed > li::before {
  content: counter(missed);
  grid-row: 1 / span 2;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.missed h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.missed p {
  max-width: 40rem;
  color: var(--soft);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

.example {
  max-width: none;
  margin-top: 1.35rem;
  padding: clamp(1.1rem, 2vw, 1.45rem) clamp(1.15rem, 2vw, 1.55rem);
  border: 1px solid var(--ink);
}

.meaning-close.band {
  padding-top: 0;
  padding-bottom: 0.35rem;
}

.meaning-panel {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vh, 2.1rem) 0 clamp(1.35rem, 2.5vh, 1.8rem);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.meaning-kicker,
.meaning-caption {
  text-align: center;
}

.meaning-kicker {
  margin-bottom: 0.55rem;
}

.meaning-caption {
  margin: 0 0 1.45rem;
  letter-spacing: 0.16em;
}

.meaning-panel .case-copy {
  max-width: none;
}

.pull.pull-lead {
  margin: 1.55rem 0 0;
}

.pull.pull-lead p {
  max-width: none;
  font-size: clamp(1.05rem, 1.75vw, 1.45rem);
}

.closing {
  margin-top: 1.25rem;
}

.next-case.band {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.15rem;
  text-align: center;
}

.next-case p {
  margin: 0;
}

@media (max-width: 860px) {
  .page-ai .menu-toggle,
  .page-billing .menu-toggle,
  .page-braze .menu-toggle,
  .page-ace .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.35rem;
  }

  .page-ai .nav a,
  .page-billing .nav a,
  .page-braze .nav a,
  .page-ace .nav a {
    min-height: 44px;
  }

  .page-ai .case-cover h1,
  .page-billing .case-cover h1,
  .page-braze .case-cover h1,
  .page-ace .case-cover h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
  }

  .page-ai .case-cover .spine,
  .page-ai .case-cover .meta,
  .page-billing .case-cover .spine,
  .page-billing .case-cover .meta {
    letter-spacing: 0.1em;
    line-height: 1.6;
  }

  .chapter {
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 0.55rem 0.7rem;
  }

  .chapter-num {
    flex: 0 0 auto;
    font-size: clamp(2.5rem, 10vw, 3.45rem);
  }

  .chapter-copy {
    min-width: 0;
  }

  .chapter h2 {
    font-size: clamp(1.35rem, 4.6vw, 2rem);
  }

  .chapter .meta,
  .ruled-row .meta,
  .example .meta {
    letter-spacing: 0.1em;
  }

  .part-layout .chapter {
    margin-bottom: 1.15rem;
  }

  .writer-layout,
  .output-pair {
    grid-template-columns: 1fr;
  }

  .skill-caption .meta {
    flex: 1 1 8rem;
    min-width: 0;
  }

  .label-btn,
  .page-ai .text-link,
  .page-billing .text-link,
  .page-braze .text-link,
  .page-ace .text-link,
  .page-ai .footer-links a,
  .page-billing .footer-links a,
  .page-braze .footer-links a,
  .page-ace .footer-links a,
  .page-ai .email,
  .page-billing .email,
  .page-braze .email,
  .page-ace .email {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .page-ai .next-case,
  .page-billing .next-case,
  .page-braze .next-case,
  .page-ace .next-case {
    gap: 0.15rem;
  }

  .lightbox {
    align-content: start;
    overflow: auto;
    padding: 4.25rem 0 1.25rem;
    touch-action: auto;
  }

  .lightbox img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  .lightbox-close {
    position: fixed;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 31;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 2rem;
  }

  .missed > li {
    grid-template-columns: 1.85rem minmax(0, 1fr);
    column-gap: 0.65rem;
  }

  .example {
    padding: 1.15rem 1.05rem;
  }

  .closing-column,
  .meaning-panel {
    width: 100%;
  }

  .pull.pull-lead p {
    font-size: 1.05rem;
  }

  .crawl.is-armed .crawl-stage,
  .crawl.is-crawling .crawl-stage,
  .crawl.is-settling .crawl-stage {
    -webkit-perspective: 780px;
    perspective: 780px;
  }

  .crawl.is-crawling .missed {
    animation-name: opening-crawl-mobile;
  }

  .missed > li::before {
    font-size: 1.55rem;
  }
}

@keyframes opening-crawl-mobile {
  0% {
    transform: none;
  }
  12% {
    transform: rotateX(18deg) translateY(0);
  }
  100% {
    transform: rotateX(16deg) translateY(-42%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .skill-from {
    display: none;
  }

  .skill-to {
    position: relative;
    opacity: 1;
  }

  .crawl.is-crawling .crawl-skip,
  .crawl.is-settling .crawl-skip {
    display: none;
  }

  .crawl.is-crawling .missed,
  .skill-stage.is-open .skill-from,
  .skill-stage.is-open .skill-to {
    animation: none;
    transition: none;
  }
}

/* Billing and payments */

.page-billing {
  overflow-x: clip;
}

.page-billing .part-layout .chapter {
  flex-wrap: nowrap;
  align-items: flex-end;
}

.page-billing .part-layout .chapter-num {
  flex: 0 0 auto;
}

.page-billing .part-layout .chapter-copy {
  min-width: 0;
  flex: 1 1 0;
}

#online-billing.band {
  padding-bottom: clamp(1.15rem, 2.4vh, 1.6rem);
}

#home-move.band {
  padding-top: clamp(1.15rem, 2.4vh, 1.6rem);
}

.part-side {
  min-width: 0;
}

.part-cover {
  margin: clamp(1.15rem, 2.5vh, 1.75rem) 0 0;
}

.part-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.explainer-jump {
  justify-self: start;
  margin-top: 0.9rem;
  padding: 0.7rem 0;
  min-height: 44px;
  color: var(--accent);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.explainer-jump:hover {
  color: var(--ink);
}

#home-move .part-layout {
  padding-bottom: 0;
}

.scenarios {
  min-width: 0;
  margin-top: clamp(2.125rem, 5vh, 3.5rem);
  scroll-margin-top: 5.5rem;
}

.scenarios > .meta {
  margin-bottom: 0.85rem;
  letter-spacing: 0.18em;
}

.scenario-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 1.35rem;
  max-width: 100%;
  min-width: 0;
  margin-bottom: clamp(1.35rem, 3vh, 2rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.scenario-tabs::-webkit-scrollbar {
  display: none;
}

.scenario-tab {
  flex: 0 0 auto;
  margin: 0 0 -1px;
  padding: 0.35rem 0 0.7rem;
  min-height: 44px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #2c2824;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.scenario-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.scenario-tab:hover {
  color: var(--ink);
}

.scenario-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  min-width: 0;
}

.story {
  min-width: 0;
  margin: 0;
}

.story-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 1704;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #241c28;
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
  touch-action: manipulation;
}

.story-steps {
  max-width: 34rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.story-step button {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.15rem 0.7rem;
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0 0.5rem;
  border: 0;
  background: none;
  color: #8a847c;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.story-step.is-active button {
  color: var(--ink);
}

.step-num {
  padding-top: 0.28rem;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
}

.step-timer {
  grid-column: 1 / -1;
  display: block;
  height: 2px;
  overflow: hidden;
  background: rgba(122, 59, 50, 0.18);
}

.step-timer > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.story-step.is-running .step-timer > span {
  animation: story-fill 4s linear forwards;
}

.scenario-layout.is-paused .step-timer > span {
  animation-play-state: paused;
}

@keyframes story-fill {
  from { width: 0; }
  to { width: 100%; }
}

.story-slides {
  position: absolute;
  inset: 0;
}

.story-slides img {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.story-slides img.is-current {
  display: block;
}

.story-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 50%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.story-hit-prev { left: 0; }
.story-hit-next { right: 0; }

.story-hit[aria-disabled="true"] {
  cursor: default;
}

.story-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-top: 0.75rem;
}

.story-caption .meta,
.story-caption .label-btn {
  margin: 0;
  letter-spacing: 0.16em;
}

.scenario-copy h3 {
  max-width: none;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 1.575rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (max-width: 860px) {
  .page-billing .case-cover h1 {
    font-size: clamp(1.85rem, 8.2vw, 3rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  .page-billing .case-cover .spine,
  .page-billing .case-cover .meta {
    font-size: 0.66rem;
    letter-spacing: 0.045em;
    line-height: 1.45;
  }

  .page-billing .part-layout .chapter {
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin-bottom: 1.25rem;
  }

  .page-billing .chapter-num {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .page-billing .chapter h2 {
    font-size: clamp(1.3rem, 4.8vw, 1.85rem);
    line-height: 1.08;
  }

  .page-billing .explainer-jump {
    margin-top: 1.25rem;
    letter-spacing: 0.08em;
  }

  .scenarios > .meta {
    letter-spacing: 0.1em;
  }

  .scenario-tabs {
    gap: 0 1.15rem;
    padding-bottom: 2px;
    scroll-padding-inline: 8px;
  }

  .scenario-layout {
    grid-template-columns: 1fr;
  }

  .scenario-copy h3 {
    max-width: none;
    font-size: 1.5rem;
  }

  .story {
    width: min(80vw, 22.5rem);
    max-width: 100%;
    margin-inline: auto;
  }

  .story-frame,
  .story-hit {
    touch-action: pan-y;
  }

  .story-caption .meta,
  .story-caption .label-btn {
    letter-spacing: 0.1em;
  }

  .story-step button {
    min-height: 44px;
    padding: 0.4rem 0 0.45rem;
    font-size: 1rem;
  }

  .page-billing .lightbox {
    padding-right: 0;
    padding-left: 0;
    touch-action: pinch-zoom;
  }

  .page-billing .lightbox img {
    width: 100%;
    max-width: 100%;
    touch-action: pinch-zoom;
  }

  .page-billing .lightbox-close {
    width: 44px;
    height: 44px;
  }

  .page-billing .next-case {
    align-items: center;
    text-align: center;
  }

  .page-billing .next-case .text-link {
    max-width: 100%;
    letter-spacing: 0.08em;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .page-billing .next-case .text-link:hover {
    letter-spacing: 0.08em;
  }

  .page-billing .site-footer {
    align-items: center;
    text-align: center;
  }

  .page-billing .footer-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
  }

  .page-billing .footer-links {
    margin-left: 0;
    justify-content: center;
  }

  .page-billing .contact,
  .page-billing .email,
  .page-billing .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scenario-tab,
  .step-timer > span {
    transition: none;
    animation: none;
  }
}

/* Braze */

.page-braze {
  overflow-x: clip;
}

.braze-split .part-cover {
  margin: 0;
}

.email-example {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
  text-align: center;
}

.email-example .meta {
  margin-bottom: 1rem;
  letter-spacing: 0.18em;
}

.email-shot {
  width: min(100%, 480px);
  margin: 0;
}

.email-shot img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
}

.email-shot .label-btn {
  margin-top: 0.75rem;
}

@media (max-width: 860px) {
  .page-braze .masthead .wordmark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .page-braze .case-cover h1 {
    line-height: 1.05;
  }

  .page-braze .case-cover .spine,
  .page-braze .case-cover .meta {
    max-width: 100%;
    font-size: clamp(0.75rem, 3.1vw, 0.9rem);
    letter-spacing: 0.07em;
    line-height: 1.45;
  }

  .page-braze .email-example .meta,
  .page-braze .ruled-row .meta {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .page-braze .braze-split {
    grid-template-columns: 1fr;
  }

  .page-braze .braze-split .part-cover {
    margin-bottom: 0.85rem;
  }

  .page-braze .email-shot {
    width: 100%;
  }

  .page-braze .email-shot .label-btn {
    justify-content: center;
  }

  .page-braze .next-case {
    align-items: center;
    text-align: center;
  }

  .page-braze .next-case .text-link {
    max-width: 100%;
    letter-spacing: 0.08em;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .page-braze .next-case .text-link:hover {
    letter-spacing: 0.08em;
  }

  .page-braze .site-footer {
    align-items: center;
    text-align: center;
  }

  .page-braze .footer-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
  }

  .page-braze .footer-links {
    margin-left: 0;
    justify-content: center;
  }

  .page-braze .contact,
  .page-braze .email,
  .page-braze .footer-links a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .page-braze .lightbox {
    padding-right: 0;
    padding-left: 0;
    touch-action: pan-y pinch-zoom;
  }

  .page-braze .lightbox img {
    width: 100%;
    max-width: 100%;
    height: auto;
    touch-action: pan-y pinch-zoom;
  }

  .page-braze .lightbox-close {
    width: 44px;
    height: 44px;
  }
}

/* ACE */

.page-ace {
  overflow-x: clip;
}

.page-ace .ace-split .part-cover {
  margin: 0;
}

.page-ace .chapter-copy .meta {
  margin: 0.45rem 0 0;
}

.page-ace #sky .carousel-wide,
.page-ace #fibre .carousel-wide {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.page-ace .scenarios {
  margin-top: clamp(1.35rem, 3vh, 2rem);
}

.page-ace .bereave-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 28rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  min-width: 0;
}

.page-ace .bereave-layout > .case-copy {
  margin-top: 0;
  align-self: start;
}

.page-ace .bereave-stage,
.page-ace .bereave-panel {
  min-width: 0;
}

.page-ace .carousel-calm {
  width: 100%;
}

.page-ace .carousel-calm .carousel-track {
  gap: 0;
}

.page-ace .carousel-viewport {
  max-width: 100%;
}

.page-ace .carousel-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.page-ace .carousel .label-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 0.15rem;
}

.page-ace .lightbox-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

@media (max-width: 860px) {
  .page-ace .masthead .wordmark {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
    font-size: clamp(1.02rem, 4.4vw, 1.35rem);
  }

  .page-ace .case-cover h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: 1.02;
  }

  .page-ace .case-cover .spine,
  .page-ace .case-cover .meta {
    max-width: 100%;
    font-size: clamp(0.68rem, 2.85vw, 0.8rem);
    letter-spacing: 0.055em;
    line-height: 1.5;
  }

  .page-ace .ruled-row .meta,
  .page-ace .chapter .meta {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .page-ace .ace-split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-ace .ace-split .part-cover {
    width: 100%;
    margin-bottom: 0.85rem;
  }

  .page-ace .chapter {
    align-items: flex-end;
    gap: 0.4rem 0.6rem;
  }

  .page-ace .chapter-num {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    line-height: 0.85;
  }

  .page-ace .chapter h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.65rem);
    line-height: 1.15;
    text-wrap: balance;
  }

  .page-ace .carousel,
  .page-ace .carousel.carousel-wide {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .page-ace .bereave-layout {
    grid-template-columns: 1fr;
  }

  .page-ace .carousel-calm {
    width: min(85vw, 100%);
    max-width: 100%;
    margin-inline: auto;
  }

  .page-ace .scenario-tabs {
    gap: 0 1rem;
    padding-bottom: 2px;
    scroll-padding-inline: 2px;
  }

  .page-ace .scenario-tab {
    margin-bottom: 0;
    padding-bottom: 0.7rem;
  }

  .page-ace .next-case {
    align-items: center;
    text-align: center;
  }

  .page-ace .next-case .text-link {
    max-width: 100%;
    letter-spacing: 0.08em;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .page-ace .next-case .text-link:hover {
    letter-spacing: 0.08em;
  }

  .page-ace .site-footer {
    align-items: center;
    text-align: center;
  }

  .page-ace .footer-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
  }

  .page-ace .footer-links {
    margin-left: 0;
    justify-content: center;
  }

  .page-ace .contact,
  .page-ace .email,
  .page-ace .footer-links a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .page-ace .lightbox {
    padding-right: 0;
    padding-left: 0;
    overflow: auto;
    touch-action: pan-y pinch-zoom;
  }

  .page-ace .lightbox img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    touch-action: pinch-zoom;
  }
}

/* Virgin Media O2 case study index */

.page-vmo2 {
  overflow-x: clip;
}

.vmo2-lead {
  max-width: 40rem;
  margin-top: 1.5rem;
  color: var(--soft);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

.all-work-line {
  margin: 0 0 0.85rem;
}

.all-work {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--accent);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 92%;
  transition: color 0.3s ease, background-size 0.35s ease;
}

.all-work:hover {
  color: var(--ink);
  background-size: 100% 1px;
}

.case-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.75rem;
  margin-top: 1.65rem;
}

.case-links .text-link,
.case-links .all-work {
  margin-top: 0;
}

.next-case .case-links {
  justify-content: center;
  margin-top: 0;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 7vh, 5.25rem) clamp(2rem, 4.5vw, 4.75rem);
}

.study-card {
  display: block;
  min-width: 0;
  color: inherit;
}

.page-vmo2 .case-cover {
  padding-bottom: 0;
}

.page-vmo2 .case-cover + .band {
  padding-top: clamp(2rem, 5vh, 3.5rem);
}

.study-thumb {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  background: #e7e1d6;
}

.study-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.study-card:hover .study-thumb img,
.study-card:focus-visible .study-thumb img,
.study-card:active .study-thumb img {
  transform: scale(1.08);
}

.study-card .meta {
  max-width: 100%;
  margin: 1.15rem 0 0.7rem;
  line-height: 1.5;
}

.study-card h2 {
  display: inline;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(1.7rem, 2.2vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.35s ease;
}

.study-card:hover h2,
.study-card:focus-visible h2 {
  background-size: 100% 1px;
}

.study-card p:last-child {
  max-width: 36rem;
  margin-top: 0.75rem;
  color: var(--soft);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .page-vmo2 .masthead .wordmark,
  .page-vmo2 .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .page-vmo2 .menu-toggle {
    min-width: 44px;
    justify-content: center;
  }

  .page-vmo2 .nav a {
    min-height: 44px;
  }

  .page-vmo2 .case-cover h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  .page-vmo2 .case-cover .spine,
  .page-vmo2 .case-cover .meta,
  .study-card .meta,
  .all-work {
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .page-vmo2 .case-cover .meta,
  .study-card .meta {
    overflow-wrap: normal;
  }

  .meta-phrase {
    white-space: nowrap;
  }

  .page-vmo2 .study-thumb img {
    transition-duration: 0.35s;
  }

  .page-vmo2 .vmo2-lead,
  .page-vmo2 .study-card p:last-child {
    font-size: 1.15rem;
  }

  .case-links .text-link,
  .case-links .all-work,
  .page-vmo2 .text-link,
  .page-vmo2 .footer-links a,
  .page-vmo2 .email,
  .page-vmo2 .contact {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .page-vmo2 .next-case .text-link {
    max-width: 100%;
    letter-spacing: 0.08em;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .page-vmo2 .next-case .text-link:hover {
    letter-spacing: 0.08em;
  }

  .page-vmo2 .site-footer {
    align-items: center;
    text-align: center;
  }

  .page-vmo2 .footer-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
  }

  .page-vmo2 .footer-links {
    margin-left: 0;
    justify-content: center;
  }

  .case-links {
    row-gap: 0.75rem;
  }
}

@media (max-width: 767px) {
  .page-vmo2 .case-cover h1 {
    font-size: clamp(2.15rem, 10vw, 2.7rem);
  }

  .study-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .study-thumb {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .study-thumb img,
  .study-card h2,
  .all-work {
    transition: none;
  }

  .study-card:hover .study-thumb img,
  .study-card:focus-visible .study-thumb img,
  .study-card:active .study-thumb img {
    transform: none;
  }
}

/* Rufus Leonard */

.page-rufus {
  overflow-x: clip;
}

.page-rufus .intro-split .hero-shot,
.page-rufus .intro-split .case-list {
  order: 0;
}

.page-rufus .intro-split .case-copy {
  max-width: none;
}

.page-rufus .wrote-list .wrote-row {
  border-top: 0;
  padding-top: clamp(1.35rem, 3vh, 2rem);
  padding-bottom: clamp(1.35rem, 3vh, 2rem);
}

.page-rufus .wrote-row + .wrote-row {
  border-top: 1px solid var(--line);
}

.page-rufus .wrote-row .shot img {
  width: 100%;
  max-height: none;
}

.page-rufus .next-case .text-link {
  margin-top: 0.75rem;
}

.page-rufus #culture-cubs .case-split {
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: 0;
}

.page-rufus #culture-cubs .carousel {
  width: 26rem;
  max-width: 100%;
  min-width: 0;
  justify-self: start;
}

.page-rufus #culture-cubs .carousel-slide img {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.page-rufus #culture-cubs .case-split > div {
  min-width: 0;
}

.page-rufus .carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-rufus .carousel-viewport,
.page-rufus .carousel-controls {
  width: 100%;
}

.page-rufus .carousel-slide.is-peek {
  opacity: 1;
}

.page-rufus .carousel-slide img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  height: auto;
  margin-inline: auto;
}

.page-rufus .carousel .label-btn {
  display: block;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-rufus .carousel-btn {
  width: 44px;
  height: 44px;
}

@media (max-width: 860px) {
  .page-rufus .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.35rem;
  }

  .page-rufus .nav a {
    min-height: 44px;
  }

  .page-rufus .case-cover h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
  }

  .page-rufus .case-cover .spine,
  .page-rufus .case-cover .meta,
  .page-rufus .chapter .meta,
  .page-rufus .section-label,
  .page-rufus .parent-link,
  .page-rufus .study-card .meta {
    letter-spacing: 0.1em;
    line-height: 1.6;
  }

  .page-rufus .case-split .carousel,
  .page-rufus .case-split .carousel.carousel-wide {
    width: 100%;
    max-width: 100%;
  }

  .page-rufus #culture-cubs .case-split {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .page-rufus #culture-cubs .carousel {
    width: min(100%, 26rem);
    max-width: 100%;
    justify-self: center;
  }

  .page-rufus #culture-cubs .case-split > div {
    justify-self: stretch;
    width: 100%;
  }

  .page-rufus .label-btn,
  .page-rufus .text-link,
  .page-rufus .footer-links a,
  .page-rufus .email,
  .page-rufus .contact {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .page-rufus .next-case .text-link {
    max-width: 100%;
    letter-spacing: 0.08em;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .page-rufus .next-case .text-link:hover {
    letter-spacing: 0.08em;
  }
}

/* The Gym Group */

.page-gym {
  overflow-x: clip;
}

.page-gym .parent-link,
.page-rufus .parent-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 0.2rem;
  color: var(--accent);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-gym .parent-link:hover,
.page-rufus .parent-link:hover {
  color: var(--ink);
}

.page-gym .intro-split .hero-shot,
.page-gym .intro-split .case-list {
  order: 0;
}

.page-gym .intro-split .case-copy {
  max-width: none;
}

.page-gym .section-label {
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  line-height: 1.45;
  text-transform: uppercase;
}

.page-rufus .section-label {
  margin-bottom: clamp(1.35rem, 3vh, 2rem);
  color: var(--accent);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  line-height: 1.45;
  text-transform: uppercase;
}

.page-gym .next-case .text-link {
  margin-top: 0.75rem;
}

.page-gym #my-work .opener {
  margin-bottom: clamp(1.35rem, 3vh, 2rem);
}

.page-gym .bring-item {
  align-items: start;
}

.page-gym .bring-item .case-points {
  max-width: none;
}

.page-gym .carousel-btn {
  width: 44px;
  height: 44px;
}

@media (max-width: 860px) {
  .page-gym .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.35rem;
  }

  .page-gym .nav a {
    min-height: 44px;
  }

  .page-gym .case-cover h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
  }

  .page-gym .case-cover .spine,
  .page-gym .case-cover .meta,
  .page-gym .section-label,
  .page-gym .parent-link {
    letter-spacing: 0.1em;
    line-height: 1.6;
  }

  .page-gym .bring-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-gym .label-btn,
  .page-gym .text-link,
  .page-gym .footer-links a,
  .page-gym .email,
  .page-gym .contact {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .page-gym .next-case .text-link {
    max-width: 100%;
    letter-spacing: 0.08em;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .page-gym .next-case .text-link:hover {
    letter-spacing: 0.08em;
  }

  .page-gym .site-footer {
    align-items: center;
    text-align: center;
  }

  .page-gym .footer-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
  }

  .page-gym .footer-links {
    margin-left: 0;
    justify-content: center;
  }
}

/* Gym Group awards and work carousel. These follow every earlier rule. */

.gg-awards-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  column-gap: 48px;
  row-gap: 12px;
  align-items: center;
}

.gg-awards-photo {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
}

.gg-awards-list {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.gg-award {
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 460;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.028em;
}

.gg-awards-enlarge {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  margin: 0;
}

.gg-work-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(100%, 640px);
  max-width: 640px;
  margin: 0 auto clamp(2rem, 5vh, 3.25rem);
}

.gg-work-carousel .carousel-viewport,
.gg-work-carousel .carousel-controls {
  width: 100%;
  margin: 0;
}

.gg-work-carousel .carousel-viewport {
  touch-action: pan-y;
}

.gg-work-carousel .carousel-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.gg-work-carousel .gg-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
  cursor: zoom-in;
}

.gg-work-carousel .gg-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: top center;
}

.gg-work-carousel .gg-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 5.5rem;
  background: linear-gradient(to bottom, rgba(243, 239, 230, 0), var(--paper) 86%);
  pointer-events: none;
}

.gg-work-carousel .gg-caption {
  margin: 12px 0 0;
  color: var(--accent);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.gg-work-carousel .label-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin: 0;
  padding-top: 0;
  text-align: center;
}

.page-gym .lightbox {
  touch-action: pan-x pan-y pinch-zoom;
}

.page-gym .lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top center;
  touch-action: pan-x pan-y pinch-zoom;
}

@media (max-width: 860px) {
  .gg-awards-grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    align-items: start;
  }

  .gg-awards-photo,
  .gg-awards-enlarge,
  .gg-awards-list {
    grid-column: 1;
  }

  .gg-awards-photo {
    grid-row: 1;
  }

  .gg-awards-enlarge {
    grid-row: 2;
  }

  .gg-awards-list {
    grid-row: 3;
    margin-top: 20px;
  }

  .gg-award {
    font-size: 22px;
  }

  .gg-work-carousel {
    width: 100%;
    max-width: none;
  }

  .gg-work-carousel .gg-caption {
    letter-spacing: 0.1em;
  }
}
  