/* ==========================================================================
   Sections (one block per Elementor top-level Container)
   Order: header, hero, problem, services, execution, work, approach, cta, footer, dialog
   ========================================================================== */
.section { overflow-x: clip; }

/* ---------- Header ---------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 248, 236, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 23, 23, .09); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.site-header__logo img { width: clamp(138px, 14vw, 172px); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.4rem); }
.site-nav__list { display: flex; gap: clamp(.9rem, 2.4vw, 2.2rem); }
.site-nav__list a {
  position: relative; display: inline-block; padding: .35rem 0;
  font-weight: 700; font-size: .95rem; text-decoration: none;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--orange); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--spring-settle);
}
.site-nav__list a:hover::after,
.site-nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; display: block; width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--spring-pop), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--cream-soft);
    border-radius: 0 0 36px 36px;
    box-shadow: 0 24px 40px rgba(23, 23, 23, .16);
    /* Fluid open/close: the panel grows from the toggle (top right). Transitions reverse from their
       current value, so tapping again mid-motion redirects it instead of waiting. */
    transform-origin: calc(100% - var(--gutter) - 23px) 0;
    translate: 0 -14px; scale: .96; opacity: 0; visibility: hidden;
    transition: translate .25s var(--ease-exit), scale .25s var(--ease-exit), opacity .2s ease-out, visibility 0s linear .25s;
  }
  .js .site-nav.is-open {
    translate: 0 0; scale: 1; opacity: 1; visibility: visible;
    transition: translate .5s var(--spring-settle), scale .5s var(--spring-settle), opacity .25s ease-out, visibility 0s;
  }
  /* Links and the call-to-action rise in one after another on open; on close they leave together (no delay). */
  .js .site-nav__list li, .js .site-nav__cta { opacity: 0; translate: 0 12px; transition: translate .2s var(--ease-exit), opacity .15s ease-out; }
  .js .site-nav.is-open .site-nav__list li, .js .site-nav.is-open .site-nav__cta {
    opacity: 1; translate: 0 0;
    transition: translate .5s var(--spring-settle), opacity .3s ease-out;
    transition-delay: calc(60ms + var(--i, 0) * 45ms);
  }
  .site-nav__list li:nth-child(1) { --i: 0; } .site-nav__list li:nth-child(2) { --i: 1; } .site-nav__list li:nth-child(3) { --i: 2; }
  .site-nav__list li:nth-child(4) { --i: 3; } .site-nav__list li:nth-child(5) { --i: 4; }
  .site-nav__cta { --i: 5; }
  .site-nav__list { flex-direction: column; gap: .2rem; }
  .site-nav__list a { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; padding: .3rem 0; }
  .site-nav__cta { align-self: flex-start; }
}

/* ---------- 1. Hero --------------------------------------------------------- */
.hero {
  --wave-bg: var(--cream);
  background: var(--cream);
  z-index: 2;
  min-height: clamp(540px, 41vw, 650px);
  padding: calc(var(--header-h) + clamp(1rem, 3vw, 2.6rem)) 0 clamp(2.5rem, 4vw, 3.5rem);
}
.hero::after { /* curved bottom edge into the Problem section */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave-h);
  background: var(--cream-soft);
  -webkit-mask: url("../images/shapes/wave-a.svg") center bottom / 100% 100% no-repeat;
          mask: url("../images/shapes/wave-a.svg") center bottom / 100% 100% no-repeat;
  z-index: 1; pointer-events: none;
}
.hero__inner { position: relative; z-index: 3; }
.hero__copy { max-width: min(58%, 720px); }

.hero__title { font-size: clamp(2.8rem, 5.6vw, 5.1rem); line-height: .95; }
.hero__title-line { display: block; white-space: nowrap; }
.hero__title-line--orange { color: var(--orange); }
/* Art direction: a gentle upward tilt on desktop. Pivots on the bottom-left so the left edge stays on the page grid. */
@media (min-width: 901px) {
  .hero__title { rotate: -2.5deg; transform-origin: left bottom; }
}
.hero__lead { margin-top: 1.1rem; max-width: 29em; }
.hero .btn-row { margin-top: 1.3rem; }

/* Typography-led value strip: small orange editorial numbers over bold display labels */
.value-row { display: flex; flex-wrap: wrap; gap: .9rem clamp(1.4rem, 2.6vw, 2.4rem); margin-top: 1.6rem; counter-reset: none; }
.value-row li { display: grid; gap: .15rem; }
.value-row__num { font-family: var(--font-display); font-weight: 800; font-size: .85rem; line-height: 1; letter-spacing: .08em; color: var(--orange-deep); }
.value-row__label { font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }

/* Layered organic artwork that bleeds off the right edge and under the next section */
.hero__art {
  position: absolute; z-index: 2;
  right: -3vw; top: calc(var(--header-h) - 20px); bottom: -1px;
  width: min(58vw, 900px);
}
.hero__shape {
  position: absolute;
  -webkit-mask: url("../images/shapes/blob-hero.svg") center / 100% 100% no-repeat;
          mask: url("../images/shapes/blob-hero.svg") center / 100% 100% no-repeat;
}
.hero__shape--orange { inset: 4% 0 -2% 2%; background: var(--orange); }
.hero__shape--peach  { inset: -6% 14% 14% -8%; background: var(--peach); transform: rotate(-6deg); }
.hero__ring {
  position: absolute; left: -2%; bottom: 6%;
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  border: clamp(5px, .8vw, 11px) solid var(--cream); opacity: .85;
}
.hero__mascots {
  position: absolute; z-index: 2; left: 22%; bottom: -1.2rem;
  width: 64%; max-width: none; height: auto; /* sized for the 1.16:1 mascot art; same centre as before */
  filter: drop-shadow(0 20px 22px rgba(110, 45, 0, .38));
}
.sticker--hero { z-index: 3; top: 9%; right: 15%; font-size: clamp(1.05rem, 1.95vw, 1.8rem); text-align: left; color: var(--ink); }

.hero__blob { position: absolute; z-index: -1; background: var(--orange); }
.hero__blob--left {
  left: -16vw; top: 16%; width: 22vw; height: 28vw; max-width: 340px; max-height: 420px;
  border-radius: 62% 38% 54% 46% / 48% 56% 44% 52%;
  box-shadow: inset 0 0 0 clamp(12px, 1.8vw, 24px) var(--peach);
}

/* Hero entrance lives in motion.css (one-time settle; the old endless bob was removed). */

@media (max-width: 900px) {
  .hero { min-height: 0; display: flex; flex-direction: column; padding-top: var(--header-h); padding-bottom: 2.2rem; }
  .hero__art { position: relative; order: -1; right: auto; top: auto; bottom: auto; width: 100%; height: clamp(270px, 74vw, 440px); margin-bottom: .6rem; }
  .hero__shape--orange { inset: 6% -8% 0 -8%; }
  .hero__shape--peach  { inset: -4% 20% 22% -14%; }
  .hero__mascots { left: 0; right: 0; margin-inline: auto; width: auto; height: 100%; bottom: 0; }
  .hero__ring { display: none; }
  .hero__copy { max-width: none; }
  .hero__blob--left { display: none; }
  .sticker--hero { top: 0; right: 1%; font-size: 1rem; }
}

/* ---------- 2. Problem / About --------------------------------------------- */
.problem { --wave-bg: var(--cream-soft); background: var(--cream-soft); padding-block: clamp(1.4rem, 3vw, 2.4rem) clamp(1.8rem, 3.4vw, 3rem); }
.problem__grid {
  display: grid; grid-template-columns: 1.05fr .95fr .85fr; align-items: center;
  gap: 0;
}
.problem__copy { position: relative; z-index: 2; padding-right: 1rem; }
.problem__photo { position: relative; z-index: 1; margin-right: -2.6rem; }
.problem__answer {
  position: relative; z-index: 2; margin-top: 3.2rem;
  padding: clamp(1.2rem, 2.4vw, 1.9rem) clamp(1.3rem, 2.6vw, 2.1rem);
  background: var(--peach-soft);
  border-radius: 54px 70px 52px 66px / 58px 60px 56px 62px;
  transform: rotate(1.6deg);
}
.problem__answer-title { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: .45rem; }
.problem__answer p { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.problem .body-lg { font-size: clamp(1rem, 1.3vw, 1.1rem); }
.problem .display { font-size: clamp(2.1rem, 4vw, 3.4rem); }

/* Brand poster: "Great brands shouldn't hide." Sized with container units so the type always fits its card */
.poster { container-type: inline-size; aspect-ratio: 1.12 / 1; }
.poster__shape { position: absolute; }
.poster__shape--ink {
  inset: 10% -3% -5% 12%; background: var(--ink);
  border-radius: 44% 56% 52% 48% / 58% 42% 58% 42%; transform: rotate(7deg);
}
.poster__shape--orange {
  inset: 0 3% 2% 0;
  background: linear-gradient(150deg, var(--orange) 0%, var(--orange-deep) 100%);
  border-radius: 64% 36% 46% 54% / 52% 46% 54% 48%;
  box-shadow: var(--shadow-soft);
}
.poster__ring {
  position: absolute; left: 3%; top: -2%; width: 34%; aspect-ratio: 1; border-radius: 50%;
  border: clamp(5px, 1.2cqw, 9px) solid var(--peach); opacity: .9;
}
.poster__card {
  position: absolute; inset: 14% 17% 16% 11%;
  display: grid; align-content: center; justify-items: start;
  padding: 0 6cqw;
  background: var(--cream-soft); color: var(--ink);
  border-radius: 22px 54px 26px 46px / 30px 36px 26px 40px;
  box-shadow: 9px 11px 0 rgba(23, 23, 23, .92);
  transform: rotate(-6deg);
}
.poster__text {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: .86; letter-spacing: -.01em; font-size: 1.7rem;
}
.poster__line { display: block; }
.poster__line--1, .poster__line--2 { font-size: 1.7em; }
.poster__line--2 { margin-left: .35em; }
.poster__line--3 { margin: .12em 0 .02em -.12em; font-size: 1.12em; transform: rotate(2deg); transform-origin: left center; }
.poster__line--3 em {
  display: inline-block; font-style: normal; padding: .06em .32em .1em;
  background: var(--ink); color: var(--cream-soft); border-radius: 999px;
}
.poster__line--4 { position: relative; display: inline-block; font-size: 1.5em; color: var(--orange); line-height: .9; }
.poster__squiggle { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .22em; fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
@supports (font-size: 1cqw) {
  .poster__text { font-size: 7cqw; }
}

@media (max-width: 900px) {
  .problem__grid { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
  .problem__copy { grid-column: 1 / -1; padding-right: 0; }
  .problem__photo { margin-right: -1.4rem; }
  .problem__answer { margin-top: 1.6rem; }
}
@media (max-width: 560px) {
  .problem__grid { grid-template-columns: 1fr; }
  .problem__photo { margin-right: 0; width: 88%; }
  .problem__answer { margin: -1.2rem 0 0 auto; width: 92%; }
}

/* ---------- 3. Services ----------------------------------------------------- */
.services { --wave-bg: var(--cream); background: var(--cream); }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.service-grid > li { grid-column: span 2; }
.service-grid > li:nth-child(4) { grid-column: 2 / span 2; }
.service-grid > li:nth-child(5) { grid-column: span 2; }

.service-card {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  min-height: 280px; padding: 1.4rem 1.5rem 5rem;
  box-shadow: var(--shadow-soft);
  /* hover lift (transform) and press (scale) are separate channels so they layer instead of fighting */
  transition: transform .5s var(--spring-settle), scale .5s var(--spring-pop);
}
/* The deeper hover shadow fades in on a pseudo-element (opacity) instead of animating box-shadow */
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: var(--shadow-lift); opacity: 0; transition: opacity .35s ease;
}
.service-card:active { scale: .985; transition-duration: .5s, .1s; transition-timing-function: var(--spring-settle), ease-out; }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-8px) rotate(-.6deg); }
  .service-card:hover::after { opacity: 1; }
}
.service-card h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.02; }
.service-card p { font-size: .95rem; line-height: 1.5; }
.service-card .icon--xl { margin-bottom: .6rem; }

.service-card__go {
  position: absolute; left: 1.4rem; bottom: 1.4rem;
  display: grid; place-items: center; width: 2.8rem; height: 2.8rem;
  border-radius: 50%; text-decoration: none;
  transition: transform .4s var(--spring-pop), scale .4s var(--spring-pop);
}
.service-card__go:hover { transform: scale(1.12) translateX(3px); }
.service-card__go:active { scale: .9; transition-duration: .4s, .1s; transition-timing-function: var(--spring-pop), ease-out; }
.service-card__go .icon { transition: transform .4s var(--spring-settle); }
@media (hover: hover) {
  .service-card:hover .icon--xl { transform: rotate(-7deg) scale(1.06); }
}
.service-card .icon--xl { transition: transform .5s var(--spring-pop); }

.service-card--orange { background: var(--orange); color: var(--ink); border-radius: 52px 78px 44px 70px / 62px 56px 66px 48px; }
.service-card--orange .service-card__go { background: var(--ink); color: var(--white); }
.service-card--cream  { background: var(--cream-soft); border-radius: 76px 46px 70px 40px / 56px 66px 48px 62px; }
.service-card--cream .service-card__go { background: var(--orange); color: var(--ink); }
.service-card--ink    { background: var(--ink); color: var(--white); border-radius: 48px 74px 56px 66px / 70px 50px 64px 54px; }
.service-card--ink p { color: rgba(255, 255, 255, .84); }
.service-card--ink .service-card__go { background: var(--white); color: var(--ink); }
.service-card--peach  { background: var(--peach); border-radius: 70px 50px 76px 44px / 52px 64px 56px 66px; }
.service-card--peach .service-card__go { background: var(--ink); color: var(--white); }
.service-card--white  { background: var(--white); border-radius: 44px 72px 50px 78px / 66px 52px 62px 50px; }
.service-card--white .service-card__go { background: var(--orange); color: var(--ink); }

@media (min-width: 1040px) {
  .service-grid { grid-template-columns: repeat(5, 1fr); }
  .service-grid > li, .service-grid > li:nth-child(4), .service-grid > li:nth-child(5) { grid-column: auto; }
  .service-grid { align-items: start; }
  .service-grid > li:nth-child(even) { margin-top: 1.8rem; }
}
@media (max-width: 700px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-grid > li, .service-grid > li:nth-child(4), .service-grid > li:nth-child(5) { grid-column: auto; }
  .service-card { min-height: 0; }
}

/* ---------- 4. Execution band ---------------------------------------------- */
.execution {
  --wave-bg: var(--ink);
  background: var(--ink); color: var(--white);
  padding-block: clamp(1.8rem, 3vw, 2.6rem);
}
.execution__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--ink) 0, rgba(23, 23, 23, 0) 22%),
    linear-gradient(90deg, var(--ink) 30%, rgba(23, 23, 23, .55) 100%),
    url("../images/bts/bts-05.jpg") center / cover no-repeat;
}
.execution__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.execution__copy .body-lg { color: rgba(255, 255, 255, .86); }

.execution__art { position: relative; min-height: 180px; display: grid; place-items: center; }
.laptop { width: min(80%, 330px); justify-self: end; transform: rotate(-4deg); }
.laptop__screen {
  display: grid; align-content: center; justify-items: start; gap: .1rem;
  aspect-ratio: 16 / 10; padding: 1.2rem 1.6rem;
  background: #0c0c0c; border: 6px solid #2a2a2a; border-radius: 16px 16px 6px 6px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem); line-height: 1; color: var(--white);
  box-shadow: 0 0 40px rgb(var(--orange-rgb) / .35);
}
.laptop__screen span:nth-child(2) { color: var(--orange); }
.laptop__base { height: 12px; margin-inline: -3%; background: linear-gradient(#cfcfcf, #8d8d8d); border-radius: 0 0 22px 22px; }

@media (max-width: 800px) {
  .execution__grid { grid-template-columns: 1fr; }
  .execution__bg { background: linear-gradient(180deg, var(--ink) 30%, rgba(23, 23, 23, .7) 100%), url("../images/bts/bts-05.jpg") center / cover no-repeat; }
  .execution__art { min-height: 220px; }
}

/* ---------- 5. Behind the scenes ------------------------------------------- */
.bts { --wave-bg: var(--cream-soft); background: var(--cream-soft); }
.section-head--tight { margin-bottom: clamp(.8rem, 1.6vw, 1.2rem); max-width: none; }

/* Tiles never display wider than the approved source crop (no upscaling), see data-replace slots */
.collage {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(.5rem, 1vw, .9rem); align-items: start;
}
.collage__item { overflow: hidden; box-shadow: var(--shadow-soft); background: var(--peach-soft); transition: transform .5s var(--spring-settle); }
.collage__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--spring-settle); }
@media (hover: hover) {
  .collage__item:hover { transform: rotate(0deg) scale(1.03); z-index: 2; }
  .collage__item:hover img { transform: scale(1.06); }
}

.collage__item--1 { grid-column: 1 / span 5; grid-row: 1; aspect-ratio: 1.7; transform: rotate(-.8deg); border-radius: 60px 90px 40px 110px / 70px 60px 90px 50px; }
.collage__item--2 { grid-column: 6 / span 3; grid-row: 1; aspect-ratio: 1.14; margin-top: 1.2rem; transform: rotate(1deg); border-radius: 80px 50px 100px 46px / 60px 90px 50px 80px; }
.collage__item--3 { grid-column: 9 / span 4; grid-row: 1; aspect-ratio: 1.5; border-radius: 50px 100px 60px 90px / 90px 50px 80px 56px; }
.collage__item--4 { grid-column: 5 / span 4; grid-row: 2; aspect-ratio: 1.5; margin-top: -1.4rem; transform: rotate(-1.2deg); border-radius: 100px 60px 90px 40px / 54px 80px 60px 96px; }
.collage__item--5 { grid-column: 9 / span 4; grid-row: 2; aspect-ratio: 1.5; margin-top: -.4rem; transform: rotate(1.2deg); border-radius: 56px 96px 50px 110px / 90px 56px 100px 50px; }
.collage__item--5 img { object-position: 50% 28%; }
.collage__item--2 img { object-position: 50% 40%; }

.collage__note {
  grid-column: 1 / span 4; grid-row: 2; align-self: center;
  padding: clamp(1.1rem, 2.4vw, 1.8rem) clamp(1.3rem, 2.8vw, 2.2rem);
  background: var(--orange); color: var(--ink);
  border-radius: 70px 46px 80px 40px / 52px 66px 48px 62px;
  transform: rotate(-1.6deg);
  box-shadow: var(--shadow-soft);
}
.collage__note h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 1.9vw, 1.55rem); line-height: 1.08; }
.collage__note p { margin-top: .5rem; font-weight: 600; font-size: clamp(.86rem, 1vw, .95rem); line-height: 1.4; }
.collage__link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem;
  font-weight: 800; font-size: .92rem; text-decoration: underline; text-underline-offset: 4px;
}
.collage__link:hover { text-decoration-thickness: 3px; }

@media (max-width: 860px) {
  .collage { grid-template-columns: repeat(2, 1fr); }
  .collage__item, .collage__note { grid-column: auto !important; grid-row: auto !important; margin-top: 0 !important; transform: none !important; }
  .collage__item--1 { grid-column: 1 / -1 !important; aspect-ratio: 1.6; }
  .collage__item--2, .collage__item--3, .collage__item--4, .collage__item--5 { aspect-ratio: 1; }
  .collage__note { grid-column: 1 / -1 !important; order: 5; }
  .collage__item--4 { order: 6; } .collage__item--5 { order: 7; }
}

/* ---------- 5b. Selected work ----------------------------------------------- */
.selected { --wave-bg: var(--cream); background: var(--cream); }
.selected__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .6rem 2rem; max-width: none; }
.selected__intro { max-width: 40ch; font-size: .92rem; color: var(--ink-soft); }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.5rem, 1vw, .9rem); align-items: start; }
.work-tile { position: relative; overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); transition: transform .5s var(--spring-settle), box-shadow .35s ease, scale .5s var(--spring-pop); }
.work-tile:active { scale: .985; transition-duration: .5s, .35s, .1s; transition-timing-function: var(--spring-settle), ease, ease-out; }
@media (hover: hover) {
  .work-tile:hover { transform: translateY(-5px) rotate(-.8deg); box-shadow: var(--shadow-lift); z-index: 2; }
}
.work-tile__btn { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; border-radius: inherit; overflow: hidden; }
.work-tile__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--spring-settle); }
@media (hover: hover) { .work-tile:hover img { transform: scale(1.05); } }
.work-tile__btn::after {
  content: "+" / ""; position: absolute; top: .6rem; right: .6rem;
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ink); color: var(--white); font-weight: 800; font-size: 1.2rem; line-height: 1;
  opacity: 0; transform: scale(.7); transition: opacity .2s, transform .4s var(--spring-pop);
}
.work-tile:hover .work-tile__btn::after, .work-tile__btn:focus-visible::after { opacity: 1; transform: none; }

.work-tile__label {
  position: absolute; left: .55rem; bottom: .55rem; max-width: calc(100% - 1.1rem);
  display: grid; gap: 0; padding: .35rem .8rem .4rem;
  background: var(--cream-soft); color: var(--ink);
  border-radius: 18px 22px 16px 24px;
}
.work-tile__label strong { font-family: var(--font-display); font-weight: 800; font-size: .95rem; line-height: 1.05; }
.work-tile__label small { font-weight: 800; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); }
.work-tile:nth-child(3n+1) .work-tile__label { background: var(--orange); }
.work-tile:nth-child(3n+1) .work-tile__label small { color: var(--ink); }
.work-tile:nth-child(3n+2) .work-tile__label { background: var(--ink); color: var(--white); }
.work-tile:nth-child(3n+2) .work-tile__label small { color: var(--peach); }

/* Phone mock-ups come with a white margin: let the section colour show through */
.work-tile--phone { background: transparent; box-shadow: none; }
.work-tile--phone:hover, .work-tile--phone:active { transform: none; scale: none; box-shadow: none; }
.work-tile--phone img { mix-blend-mode: multiply; object-position: 50% 0; }
.work-tile--phone .work-tile__label { left: 50%; transform: translateX(-50%); width: max-content; }

/* Desktop composition: asymmetric, each tile at or below its source width */
.work-tile--a { grid-column: 1 / span 2; aspect-ratio: .68; border-radius: 40px; }
.work-tile--b { grid-column: 3 / span 5; aspect-ratio: 1.76; margin-top: 1.6rem; border-radius: 80px 40px 90px 36px / 56px 80px 44px 70px; transform: rotate(.6deg); }
.work-tile--c { grid-column: 8 / span 3; aspect-ratio: 1.04; margin-top: -.2rem; border-radius: 40px 90px 44px 80px / 80px 44px 90px 40px; }
.work-tile--d { grid-column: 11 / span 2; aspect-ratio: .68; margin-top: 1rem; border-radius: 40px; }
.work-tile--e { grid-column: 1 / span 3; aspect-ratio: 1.55; margin-top: -1.2rem; border-radius: 70px 36px 80px 40px / 44px 70px 40px 66px; transform: rotate(-1deg); }
.work-tile--f { grid-column: 4 / span 3; aspect-ratio: 1.55; margin-top: -.2rem; border-radius: 40px 80px 36px 74px / 70px 40px 80px 44px; }
.work-tile--g { grid-column: 7 / span 3; aspect-ratio: 1.55; margin-top: -1.2rem; border-radius: 76px 40px 70px 44px / 40px 76px 44px 70px; transform: rotate(1deg); }
.work-tile--h { grid-column: 10 / span 3; aspect-ratio: 1.55; margin-top: -.4rem; border-radius: 44px 80px 40px 70px / 66px 40px 76px 44px; }

.selected__note { margin-top: .35rem; font-size: .78rem; opacity: .85; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(6, 1fr); }
  .work-tile { margin-top: 0 !important; transform: none !important; }
  .work-tile--a { grid-column: 1 / span 2; }
  .work-tile--b { grid-column: 3 / span 4; aspect-ratio: 1.6; }
  .work-tile--c { grid-column: 1 / span 2; aspect-ratio: .75; }
  .work-tile--d { grid-column: 3 / span 2; }
  .work-tile--e { grid-column: 5 / span 2; aspect-ratio: 1; }
  .work-tile--f { grid-column: 1 / span 3; }
  .work-tile--g { grid-column: 4 / span 3; }
  .work-tile--h { grid-column: 2 / span 4; aspect-ratio: 1.5; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-tile--a, .work-tile--c, .work-tile--d, .work-tile--e, .work-tile--f, .work-tile--g { grid-column: auto; aspect-ratio: .86; }
  .work-tile--a, .work-tile--d { aspect-ratio: .62; }
  .work-tile--b, .work-tile--h { grid-column: 1 / -1; aspect-ratio: 1.5; }
  .work-tile--a { order: 1; } .work-tile--d { order: 2; } .work-tile--b { order: 3; } .work-tile--c { order: 4; }
  .work-tile--e { order: 5; } .work-tile--f { order: 6; } .work-tile--g { order: 7; } .work-tile--h { order: 8; }
  .work-tile__label strong { font-size: .8rem; }
}

/* ---------- Lightbox -------------------------------------------------------- */
.lightbox {
  /* One outer size per viewport: the frame never changes when you move between portrait and landscape projects */
  width: min(94vw, 900px);
  height: min(90vh, 720px); height: min(90dvh, 720px);
  max-height: none; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  overflow: visible; /* the image flies in from (and back to) its thumbnail, outside the dialog box */
}
/* The visible card is its own layer so it can fade/scale while the image travels */
.lightbox__plate {
  position: absolute; inset: 0;
  background: var(--cream-soft);
  border-radius: 40px 56px 36px 52px / 48px 40px 52px 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.lightbox::backdrop { background: rgba(23, 23, 23, .78); }
/* Rows: media area (takes all remaining height) + a bar of fixed height. Nothing in the frame moves between projects. */
.lightbox__inner {
  position: relative; height: 100%;
  padding: clamp(1rem, 3vw, 1.6rem);
  display: grid; grid-template-rows: minmax(0, 1fr) var(--lb-bar-h); gap: .8rem;
  --lb-bar-h: 5.2rem;
}
.lightbox__media { container-type: size; min-height: 0; display: grid; place-items: center; }
/* The image is sized to fit inside the media area ("contain"): as large as the frame allows, never stretched or cropped,
   and never enlarged beyond 2x its file size so the small source photos stay presentable.
   --nw / --nh (the photo's pixel size) are set by main.js. */
.lightbox__img {
  --lb-ar: calc(var(--nw, 4) / var(--nh, 3));
  width: min(100cqw, calc(100cqh * var(--lb-ar)), calc(var(--nw, 4000) * 2px));
  height: auto; max-width: none; max-height: none;
  aspect-ratio: var(--nw, 4) / var(--nh, 3);
  object-fit: contain; border-radius: 22px;
  transform-origin: 0 0; /* the open/close flight in main.js is calculated from the image's top-left corner */
}
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; height: var(--lb-bar-h); }
.lightbox__caption { text-align: center; flex: 1; min-width: 0; display: grid; align-content: center; overflow: hidden; }
.lightbox__caption .eyebrow { margin-bottom: .15rem; }
.lightbox__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 3vw, 1.6rem); line-height: 1.05; }
.lightbox__nav, .lightbox__close {
  display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--white); cursor: pointer;
}
.lightbox__nav:hover, .lightbox__close:hover { background: var(--orange); }
.lightbox__flip { transform: scaleX(-1); }
.lightbox__close { position: absolute; top: .8rem; right: .8rem; z-index: 2; font-size: 1.6rem; line-height: 1; }

/* ---------- 6. Approach ----------------------------------------------------- */
.approach { --wave-bg: var(--cream); background: var(--cream); padding-bottom: clamp(3.4rem, 6.4vw, 5.2rem); }
.approach .display--md { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
.approach__grid { display: grid; grid-template-columns: minmax(260px, .95fr) 2.05fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; }
.step__icon {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin-bottom: 1rem;
  background: var(--peach); color: var(--orange-deep);
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;
}
.step__icon .icon { width: 1.8rem; height: 1.8rem; }
.step:not(:last-child)::after { /* dotted connector */
  content: ""; position: absolute; top: 2.1rem; left: 4.8rem; right: -1rem;
  border-top: 3px dotted var(--orange);
}
.step__num { font-family: var(--font-display); font-weight: 800; color: var(--orange-deep); font-size: .95rem; line-height: 1; }
.step h3 { font-size: 1.35rem; margin: .15rem 0 .4rem; line-height: 1.05; }
.step p:last-child { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 1000px) {
  .approach__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- 7. Closing CTA / Contact --------------------------------------- */
.cta { --wave-bg: var(--orange); background: var(--orange); padding-block: clamp(1.8rem, 3.4vw, 2.8rem); min-height: clamp(230px, 21vw, 300px); display: flex; align-items: center; }
.cta__blob { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cta__blob::before {
  content: ""; position: absolute; left: -9%; bottom: -46%; width: 40vw; height: 40vw; max-width: 540px; max-height: 540px;
  background: var(--orange-deep); border-radius: 55% 45% 60% 40% / 50% 58% 42% 50%;
}
.cta .container { width: min(100% - (var(--gutter) * 2), var(--container)); }
.cta__grid { position: relative; display: block; }
.cta__copy { max-width: min(62%, 720px); position: relative; z-index: 3; }
.cta .display--cta { rotate: -3deg; transform-origin: left bottom; width: fit-content; max-width: 100%; }
.cta .body-lg { color: var(--ink); max-width: 42ch; margin-top: .6rem; font-size: clamp(1rem, 1.3vw, 1.1rem); }
.cta .btn-row { margin-top: 1.1rem; }

/* Mascots stand on the band and rise above its top curve */
.cta__art { position: absolute; right: -1%; bottom: calc(-1 * clamp(1.8rem, 3.4vw, 2.8rem)); width: min(38%, 470px); z-index: 2; }
.cta__shape {
  position: absolute; inset: -14% -8% 4% 2%; background: var(--peach);
  -webkit-mask: url("../images/shapes/blob-cta.svg") center / 100% 100% no-repeat;
          mask: url("../images/shapes/blob-cta.svg") center / 100% 100% no-repeat;
  transform: rotate(4deg);
}
.cta__art img { position: relative; width: 82%; margin-inline: auto; height: auto; filter: drop-shadow(0 16px 18px rgba(90, 35, 0, .35)); }
.sticker--cta { right: -1%; bottom: 8%; z-index: 3; font-size: clamp(.95rem, 2vw, 1.5rem); color: var(--ink); }

@media (max-width: 860px) {
  .cta { display: block; padding-bottom: 0; min-height: 0; }
  .cta__copy { max-width: none; }
  .cta__art { position: relative; right: auto; bottom: auto; width: min(92%, 440px); margin: 1.4rem auto 0; }
  .cta__shape { inset: -10% -4% 4% 4%; }
  .sticker--cta { right: 0; }
}

/* ---------- 8. Footer ------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(1.4rem, 2.6vw, 2rem) 0 .9rem; }
.site-footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; }
.site-footer__logo img { width: clamp(190px, 21vw, 270px); margin: -1.2rem 0 -1.2rem -1.4rem; mix-blend-mode: lighten; }
.contact-list { display: grid; gap: .55rem; padding-left: clamp(0rem, 3vw, 2.5rem); border-left: 1px solid rgba(255, 255, 255, .18); }
.contact-list li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.contact-list .icon { color: var(--orange); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list a[data-placeholder] { color: rgba(255, 255, 255, .6); font-style: italic; text-decoration: underline dashed; text-underline-offset: 4px; }

.site-footer__right { display: grid; gap: .9rem; justify-items: end; }
.social-list { display: flex; gap: .55rem; }
.social-list a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background .2s, transform .2s var(--ease); }
.social-list a:hover { background: var(--orange); color: var(--ink); transform: translateY(-3px); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .85rem; }
.footer-nav a { text-decoration: none; color: rgba(255, 255, 255, .82); }
.footer-nav a:hover { color: var(--orange); }
.site-footer__legal { margin-top: .9rem; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .55); }

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr; justify-items: start; }
  .contact-list { padding-left: 0; border-left: 0; }
  .site-footer__right { justify-items: start; }
}

/* ---------- Inquiry form (modal) -------------------------------------------- */
html:has(dialog[open]) { overflow: hidden; }
.inquiry {
  width: min(94vw, 38rem); max-height: 92vh; max-height: 92dvh; padding: 0; border: 0; overflow-x: hidden; overflow-y: auto;
  background: var(--cream-soft); color: var(--ink);
  border-radius: 52px 68px 46px 62px / 58px 50px 62px 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.inquiry::backdrop { background: rgba(23, 23, 23, .68); }
/* Dialog enter/exit, staggered fields and validation feedback live in motion.css */
/* Layered organic corner: orange blob over a peach blob */
.inquiry__shape {
  position: absolute; top: -3.4rem; right: -2.8rem; width: 10rem; height: 8.6rem;
  background: var(--orange); border-radius: 58% 42% 50% 50% / 52% 56% 44% 48%;
  box-shadow: -1.1rem .9rem 0 -.2rem var(--peach);
}
.inquiry__form { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 2.4rem); }
.inquiry__title { font-size: clamp(2rem, 5.2vw, 2.8rem); margin: 0 3.2rem .5rem 0; }
.inquiry__intro { color: var(--ink-soft); margin-bottom: 1.3rem; max-width: 30em; }
.inquiry__row { display: grid; gap: 0 1rem; }
@media (min-width: 620px) { .inquiry__row { grid-template-columns: 1fr 1fr; } }
.inquiry__privacy { font-size: .84rem; color: var(--ink-soft); margin: .2rem 0 1.1rem; max-width: 34em; }
.inquiry__submit { width: 100%; }
@media (min-width: 620px) { .inquiry__submit { width: auto; } }
.inquiry__errors {
  margin-bottom: 1rem; padding: .7rem 1rem; border-radius: 16px 22px 16px 20px;
  background: #fde8e6; color: #8a1c12; font-weight: 700; font-size: .9rem;
}
.inquiry__errors:focus { outline: 3px solid #8a1c12; outline-offset: 2px; }
.inquiry__pending {
  margin-top: 1rem; padding: .9rem 1.1rem; font-size: .9rem; line-height: 1.45;
  border: 2px dashed var(--ink); border-radius: 18px 28px 18px 26px; background: var(--peach-soft);
}
.inquiry__pending a { font-weight: 800; text-underline-offset: 3px; }
.inquiry__pending.is-sent { border-style: solid; border-color: var(--orange); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__pending:focus { outline: 3px solid var(--ink); outline-offset: 3px; }
.inquiry__close {
  position: absolute; top: .9rem; right: 1rem; z-index: 2; width: 2.75rem; height: 2.75rem;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--white);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.inquiry__close:hover { background: var(--cream-soft); }

/* ---------- Mobile polish (phones and small tablets only; desktop untouched) ---- */
@media (max-width: 900px) {
  /* Hero sticker stays fully inside the viewport */
  .sticker--hero { right: 4%; top: 5%; font-size: clamp(.75rem, 3.1vw, 1rem); }
  .value-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; }
  .value-row__label { font-size: 1.05rem; }

  /* Touch targets of about 44px, visual size kept */
  .collage__link { min-height: 44px; }
  .site-nav__cta { min-height: 44px; }
  .site-footer__logo { display: block; min-height: 44px; }
  .site-footer__logo img { margin-left: -1rem; }
  .contact-list { gap: 0; }
  .contact-list li { min-height: 44px; }
  .contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .social-list { gap: .35rem; }
  .social-list a { width: 2.75rem; height: 2.75rem; }
  .footer-nav { gap: 0 .35rem; }
  .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .6rem; margin-left: -.6rem; }
}

@media (max-width: 560px) {
  /* Readable Selected Work captions and small print */
  .work-tile__label { padding: .4rem .85rem .45rem; }
  .work-tile__label strong { font-size: .9rem; line-height: 1.1; }
  .work-tile__label small { font-size: .8125rem; letter-spacing: .05em; line-height: 1.2; }
  .btn--pill span { font-size: .8125rem; }
}

@media (max-width: 480px) {
  /* Keep "Bold Execution." on one line down to 320px wide */
  .hero__title { font-size: clamp(2rem, 11.8vw, 3rem); }
}
.site-footer__legal a { color: inherit; text-underline-offset: 3px; }
.site-footer__legal a:hover, .site-footer__legal a:focus-visible { color: var(--orange); }

/* ---------- Approved copy v2 (2026-11-01): spacing for the longer, multi-paragraph copy ---------- */
.problem__answer p + p { margin-top: .6rem; }
.bts__intro { margin-top: .9rem; max-width: 62ch; color: var(--ink-soft); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.55; }
.bts__intro p + p { margin-top: .5rem; }
.bts__intro p:first-child { font-weight: 800; color: var(--ink); }
.selected__intro p + p { margin-top: .5rem; }
.approach__intro { margin-top: 1rem; max-width: 40ch; color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
.approach__intro p + p { margin-top: .5rem; }
.step__name { margin-left: .35rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.execution__copy .body-lg + .body-lg { margin-top: .5rem; }
.cta .body-lg + .body-lg { margin-top: .4rem; }
.contact-list__about { max-width: 34ch; font-size: .88rem; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.nowrap { white-space: nowrap; }
/* Events tile: the influencer collage is square; keep the crop on its top row of posts */
.work-tile--b img { object-position: 50% 0%; }
