/* ============================================================
   Sorina Ciucanu · Creative Strategist
   Design system
   Palette lifted from the original portfolio deck:
   paper #f1f1f1 · ink #242424 · blush #f2d5d2 · cream #f0efe8 · olive #363c00
   ============================================================ */

:root {
  /* colour */
  --paper: #f1f1f1;
  --paper-warm: #f0efe8;
  --ink: #171717;
  --ink-soft: #242424;
  --muted: #6f6d68;
  --line: #d8d7d2;
  --blush: #f2d5d2;
  --blush-deep: #e5b8b3;
  --olive: #363c00;
  --sage: #334140;

  /* type */
  --font-display: 'Instrument Serif', 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0: clamp(0.95rem, 0.9rem + 0.24vw, 1.08rem);
  --step-1: clamp(1.12rem, 1.02rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.4rem + 3.2vw, 4.2rem);
  --step-4: clamp(2.8rem, 1.4rem + 6.2vw, 7.4rem);

  /* space */
  --gut: clamp(1.25rem, 4vw, 4.5rem);
  --sect: clamp(5rem, 11vw, 11rem);
  --maxw: 1440px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 400;
  line-height: 1.05;
}
p {
  margin: 0;
}
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
}

::selection {
  background: var(--blush);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- shared layout shell: every block lines up on the same grid ---------- */
.shell {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.95;
}
.display--md {
  font-size: var(--step-2);
}
.display--lg {
  font-size: var(--step-3);
}
.display--xl {
  font-size: var(--step-4);
  line-height: 0.88;
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose p + p {
  margin-top: 1.15em;
}
.prose {
  color: #37363a;
  max-width: 56ch;
}
.prose--lg {
  font-size: var(--step-1);
  line-height: 1.55;
  max-width: 46ch;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--sm {
  padding: 0.7rem 1.25rem;
  font-size: 0.72rem;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: rgba(241, 241, 241, 0.4);
}
.btn--ghost-light:hover {
  background: var(--paper);
  color: var(--ink);
}

.link-out {
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.link-out::after {
  content: ' ↗';
}
.link-out:hover {
  opacity: 0.55;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.1s linear;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--gut);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), padding 0.45s var(--ease);
}
.nav.is-stuck {
  background: rgba(241, 241, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.75rem;
}

.nav__mark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__mark-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.nav__mark-role {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__links {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  padding-block: 0.25rem;
  color: var(--muted);
  transition: color 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}
.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  width: 26px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.nav__toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  display: grid;
  place-items: center;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu nav {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(8rem, 16vh, 12rem) var(--gut) 0;
  max-width: var(--maxw);
  margin-inline: auto;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 1.5rem 0 0;
}
.hero__title .line {
  display: block;
}
.hero__title em {
  font-style: italic;
  color: var(--olive);
}
.hero__lede {
  margin-top: 1.75rem;
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.55;
  color: #37363a;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__figure {
  position: relative;
  margin: 0;
}
.hero__frame {
  overflow: hidden;
  border-radius: 260px 260px 12px 12px;
  background: var(--blush);
  aspect-ratio: 3 / 4;
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.hero__figure:hover .hero__frame img {
  transform: scale(1.06);
}
.hero__badge {
  position: absolute;
  left: -1.5rem;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
}
.hero__badge-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}
.hero__badge-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
}

/* stat bar */
.statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--line);
  border-block: 1px solid var(--line);
}
.stat {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.45;
  max-width: 24ch;
}

/* ============================================================
   BRAND BAND (marquee)
   ============================================================ */
.marquee {
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
/* gives anyone a way to stop the motion */
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}
.marquee__set {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-inline: clamp(0.75rem, 1.5vw, 1.4rem);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.4rem);
  white-space: nowrap;
}
.marquee .dot {
  font-size: 0.6em;
  color: var(--blush);
  font-family: var(--font-sans);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  padding-block: var(--sect);
}
.section__head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.section__head--center {
  justify-items: center;
  text-align: center;
}
.section__sub {
  max-width: 54ch;
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.55;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about__figure {
  margin: 0;
  position: sticky;
  top: 7rem;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-warm);
}
.about__figure img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.about__copy .prose {
  margin-top: 2rem;
  font-size: var(--step-1);
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
}
.tag-row li {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.approach__intro h2 em {
  color: var(--olive);
}
.approach__copy .prose {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.approach__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}
.approach__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease);
}
.approach__figure:hover img {
  transform: scale(1.05);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.1rem, 2vw, 2rem) clamp(2.25rem, 4vw, 3.25rem);
  transition: background 0.5s var(--ease);
}
.step:hover {
  background: var(--paper-warm);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--blush-deep);
  letter-spacing: 0.1em;
}
.step__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin: 0.75rem 0 0.85rem;
}
.step p {
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--muted);
}

/* ============================================================
   CLIENTS
   ============================================================ */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.logo-wall li {
  background: var(--paper);
  transition: background 0.5s var(--ease);
}
.logo-wall li:hover {
  background: var(--paper-warm);
}
.logo-wall a {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  min-height: clamp(140px, 18vw, 230px);
}
.logo-wall img {
  max-height: clamp(52px, 8vw, 96px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.5s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.logo-wall a:hover img,
.logo-wall a:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}
.logo-wall__cue {
  position: absolute;
  left: 50%;
  bottom: clamp(0.9rem, 2vw, 1.4rem);
  transform: translateX(-50%);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.logo-wall a:hover .logo-wall__cue,
.logo-wall a:focus-visible .logo-wall__cue {
  opacity: 1;
}

/* ============================================================
   WORK / CASE STUDIES
   ============================================================ */
.work {
  padding-block: var(--sect);
}

.case {
  margin-bottom: clamp(4rem, 10vw, 9rem);
}
.case:last-child {
  margin-bottom: 0;
}

.case__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: 10px;
  background: var(--blush);
}
.case--sunny .case__hero {
  background: #f6f1e4;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
}
.case--sculpted .case__hero {
  background: #e4e6e1;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.case--batch .case__hero {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  justify-items: center;
}
.case--batch .case__hero-inner {
  display: grid;
  justify-items: center;
  max-width: 60ch;
}
.case--batch .case__lede--big {
  margin-inline: auto;
}
.case--batch .case__index {
  color: rgba(241, 241, 241, 0.5);
}
.case--batch .case__note {
  color: rgba(241, 241, 241, 0.72);
  margin-inline: auto;
}
.case--batch .case__title a {
  color: var(--blush);
}
.case__index {
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.55);
}
.case__title {
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.9;
  margin: 0.4rem 0 1.25rem;
}
.case__lede {
  max-width: 52ch;
  font-size: var(--step-1);
  line-height: 1.5;
}
.case__lede--big {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.15;
  max-width: 30ch;
  text-wrap: balance;
}
.case__note {
  max-width: 52ch;
  margin-top: 1rem;
  color: rgba(23, 23, 23, 0.66);
  line-height: 1.6;
  text-wrap: pretty;
}
.case__note strong {
  color: inherit;
}
.case__role {
  max-width: 62ch;
  margin-top: 1.5rem;
  font-size: var(--step--1);
  line-height: 1.65;
  color: rgba(23, 23, 23, 0.66);
}
.case__role span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.5);
}
.case--batch .case__role {
  color: rgba(241, 241, 241, 0.68);
}

/* credentials strip under the work intro */
.creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.creds li {
  flex: 1 1 auto;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem clamp(1rem, 2vw, 1.75rem);
  background: var(--paper);
  text-align: center;
  font-size: var(--step-0);
  font-weight: 500;
}
.creds span {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
}
.case__title a {
  transition: opacity 0.3s;
}
.case__title a:hover {
  opacity: 0.6;
}
.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(23, 23, 23, 0.16);
}
.case__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: var(--step-0);
  font-weight: 500;
}
.case__meta span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(23, 23, 23, 0.5);
}
.case__hero-shot {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}
.case__hero-shot img {
  width: 100%;
  object-fit: cover;
}
.case__hero-shot--wide img {
  aspect-ratio: auto;
  object-fit: contain;
}

/* products */
.products {
  margin-top: clamp(3rem, 7vw, 6rem);
}
.products__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.product__shot {
  margin: 0 0 1.5rem;
  background: var(--paper-warm);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.product__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.product:hover .product__shot img {
  transform: scale(1.04);
}
.product__name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-bottom: 1.25rem;
}

/* insight blocks */
.insight dt {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.5rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.insight dd {
  margin: 0 0 2rem;
  line-height: 1.65;
  color: #37363a;
}
.insight dd:last-child {
  margin-bottom: 0;
}
.insight strong {
  color: var(--ink);
}

.insight-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.insight--wide dd {
  font-size: var(--step-1);
  line-height: 1.55;
}

/* ad breakdown */
.ad {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  margin-top: clamp(3.5rem, 8vw, 7rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.ad--flip {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}
.ad--flip .ad__creative {
  order: 2;
}
/* Not sticky on purpose: a sticky column visibly jumps when the raw-data
   panel below it expands and changes the row height. */
.ad__creative {
  align-self: start;
  display: grid;
  justify-items: center;
}
.phone {
  position: relative;
  display: block;
  width: 100%;
  max-width: 340px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  aspect-ratio: 9 / 13;
  transition: box-shadow 0.5s var(--ease);
}
.phone:hover,
.phone:focus-visible {
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.2);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(241, 241, 241, 0.92);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1;
  transition: opacity 0.35s var(--ease);
}
.phone__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgba(23, 23, 23, 0.55);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.phone__cta {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.phone:hover .phone__overlay,
.phone:focus-visible .phone__overlay {
  opacity: 1;
}
.phone:hover .phone__badge,
.phone:focus-visible .phone__badge {
  opacity: 0;
}
.ad__title {
  margin: 0.5rem 0 1.75rem;
}
.ad__subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.5rem 0 1.25rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.metrics li {
  background: var(--paper);
  padding: clamp(0.9rem, 2vw, 1.35rem);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.metrics__v {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metrics__k {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.checks li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.9rem;
  line-height: 1.6;
  color: #37363a;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--blush);
}

.proof {
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.proof summary {
  cursor: pointer;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s;
}
.proof summary::-webkit-details-marker {
  display: none;
}
.proof summary::before {
  content: '+';
  font-size: 1.1em;
  line-height: 1;
}
.proof[open] summary::before {
  content: '−';
}
.proof summary:hover {
  color: var(--ink);
}
.proof img {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.proof img + img {
  margin-top: 0.75rem;
}

/* formats */
.formats {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.formats__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.formats__head p {
  color: var(--muted);
  max-width: 42ch;
}

.format-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.format-cards--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin-inline: auto;
}
.formats--pair {
  border-top: 0;
  padding-top: clamp(2rem, 4vw, 3rem);
}
.format-cards a {
  display: block;
}
.format-cards__shot {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-warm);
  aspect-ratio: 3 / 4;
}
.format-cards__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.format-cards a:hover .format-cards__shot img {
  transform: scale(1.05);
}
.format-cards__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}
.format-cards__name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.1;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.75rem, 5vw, 5rem);
  margin-top: var(--sect);
}
.contact__inner {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.contact .eyebrow {
  color: rgba(241, 241, 241, 0.5);
}
.contact h2 {
  color: var(--paper);
}
.contact__accent {
  color: var(--blush);
}
.contact__lede {
  font-size: var(--step-1);
  color: rgba(241, 241, 241, 0.72);
  max-width: 42ch;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.contact__thanks {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--blush);
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2.5rem;
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer a:hover {
  color: var(--ink);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .statbar {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ad {
    grid-template-columns: 1fr;
  }
  .ad--flip {
    grid-template-columns: 1fr;
  }
  .ad__creative {
    justify-items: start;
  }
  .ad--flip .ad__creative {
    order: 0;
  }
  .case--sunny .case__hero,
  .case--sculpted .case__hero {
    grid-template-columns: 1fr;
  }
  .case__hero-shot {
    max-width: 420px;
  }
  .case__hero-shot--wide {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .hero__grid,
  .about__grid,
  .approach__intro {
    grid-template-columns: 1fr;
  }
  .hero__figure {
    max-width: 420px;
    margin-top: 1rem;
  }
  .hero__badge {
    left: auto;
    right: 1rem;
  }
  .about__figure {
    position: static;
    max-width: 420px;
  }
  .approach__figure {
    max-width: 420px;
  }
  .products__grid,
  .insight-band {
    grid-template-columns: 1fr;
  }
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .format-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .format-cards--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .statbar,
  .steps {
    grid-template-columns: 1fr;
  }
  .metrics li {
    padding: 0.8rem 0.6rem;
  }
  .metrics__v {
    font-size: 1.05rem;
  }
  .metrics__k {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
  .hero__frame {
    border-radius: 180px 180px 12px 12px;
  }
}

/* ============================================================
   MOTION / PRINT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  /* The brand band is decorative, slow and non-flashing, and a frozen strip
     reads as broken, so it keeps scrolling. Hovering still pauses it. */
  .marquee__track {
    animation-name: marquee !important;
    animation-duration: 60s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }
}

/* ============================================================
   PRINT / PDF EXPORT
   Tuned for A4 portrait. Every collapsible panel is forced open
   by the export script so nothing is lost on paper.
   ============================================================ */
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  :root {
    --sect: 8mm;
    --gut: 13mm;
  }

  *,
  *::before,
  *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
    /* paints the full sheet, including the page margins */
    background: var(--paper);
  }
  body {
    background: var(--paper);
    font-size: 10.5pt;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  /* screen-only chrome */
  .nav,
  .scroll-progress,
  .mobile-menu,
  .skip-link,
  .phone__overlay,
  .phone__badge,
  .footer a[href^='#'] {
    display: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .shell {
    max-width: none;
  }

  /* the scrolling brand band becomes a static wrapped row */
  .marquee {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 6px;
  }
  .marquee__track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .marquee__set {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 15pt;
    row-gap: 0.35rem;
  }
  .marquee__set + .marquee__set,
  .marquee__set li:last-child {
    display: none;
  }

  /* Flows as a continuous document. Nothing is forced onto a fresh page,
     so there is no trailing dead space; blocks just avoid splitting. */
  .case,
  .contact,
  .hero {
    break-before: auto;
    page-break-before: auto;
  }

  /* Only small units stay atomic. Large containers may split across pages,
     otherwise a tall block that does not fit leaves most of a page blank. */
  .product,
  .step,
  .stat,
  .metrics li,
  .format-cards li,
  .insight,
  .checks li,
  .logo-wall li,
  .case__hero,
  .proof,
  .phone,
  .ad__creative,
  .creds,
  .contact {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .section__head,
  .products__head,
  .formats__head,
  .ad__subtitle,
  .ad__title,
  .product__name,
  .case__title {
    break-after: avoid;
    page-break-after: avoid;
  }

  /* keep the two-up reading layout instead of the narrow-screen stack */
  .ad,
  .ad--flip {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    gap: 1.5rem;
    margin-top: 0;
    padding-top: 7mm;
    padding-bottom: 3mm;
  }
  .ad--flip .ad__creative {
    order: 0;
  }
  .phone {
    max-width: 210px;
    box-shadow: none;
    border: 1px solid var(--line);
  }
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .metrics__v {
    font-size: 13pt;
  }
  .products__grid,
  .insight-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .format-cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
  .format-cards--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
  .format-cards__name {
    font-size: 13pt;
  }
  .format-cards__bar {
    align-items: flex-start;
    padding-top: 0.6rem;
  }
  .format-cards__shot {
    aspect-ratio: 4 / 5;
  }

  /* trimmed so a case intro fits under whatever precedes it
     instead of being bumped to a page of its own */
  .case__hero {
    padding: 7mm 8mm;
    border-radius: 6px;
  }
  .case__title {
    font-size: 30pt;
  }
  .case__lede {
    font-size: 11.5pt;
  }
  .case__lede--big {
    font-size: 16pt;
  }
  .case__meta {
    margin-top: 1.2rem;
    padding-top: 1rem;
  }
  .case__role {
    margin-top: 1rem;
    font-size: 9pt;
  }
  .creds {
    margin-top: 1.2rem;
  }
  .creds li {
    padding: 0.7rem 1rem;
    font-size: 9.5pt;
  }
  .case__hero-shot--wide img,
  .case--sunny .case__hero-shot img {
    max-height: 62mm;
    object-fit: contain;
  }
  .product__shot {
    aspect-ratio: 16 / 10;
  }
  .statbar,
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .logo-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .logo-wall li {
    min-height: 90px;
    padding: 1rem;
  }
  .logo-wall img {
    max-height: 46px;
    filter: none;
    opacity: 1;
  }
  .approach__figure img {
    aspect-ratio: 3 / 4;
  }

  .hero {
    padding-top: 8mm;
    padding-bottom: 4mm;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
  }
  .hero__figure {
    max-width: 240px;
    justify-self: end;
  }
  .hero__badge {
    box-shadow: none;
  }
  .about__grid {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 2rem;
  }
  .approach__intro {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 2rem;
    padding-bottom: 6mm;
  }
  .approach__figure {
    max-width: 52mm;
    justify-self: end;
  }
  .about__figure {
    position: static;
    max-width: 240px;
  }
  .logo-wall a {
    padding: 1rem;
    min-height: 90px;
  }
  .logo-wall__cue {
    display: none;
  }

  /* collapsibles: always expanded, marker removed */
  .proof {
    margin-top: 1.25rem;
  }
  .proof summary {
    list-style: none;
    cursor: default;
    color: var(--muted);
  }
  .proof summary::before,
  .proof summary::-webkit-details-marker {
    display: none !important;
    content: none !important;
  }
  .proof img {
    display: block !important;
    max-width: 100%;
  }

  .formats,
  .products,
  .insight-band {
    padding-top: 7mm;
    padding-bottom: 3mm;
    margin-top: 0;
  }
  .case {
    margin-bottom: 8mm;
  }
  .case__hero {
    margin-top: 4mm;
  }

  .contact {
    border-radius: 6px;
    margin-top: 8mm;
    margin-bottom: 3mm;
    padding: 9mm 10mm;
  }
  .contact h2 {
    font-size: 26pt;
  }
  .contact__lede {
    font-size: 11.5pt;
  }
  .contact__thanks {
    margin-top: 1.2rem;
    font-size: 12pt;
  }
  .contact__actions {
    margin-top: 0.5rem;
  }
  .footer {
    break-before: avoid;
    page-break-before: avoid;
    padding-block: 5mm 6mm;
    font-size: 8.5pt;
  }

  a {
    text-decoration: none;
  }
}
