/* Homepage-only composition. Shared tokens/type/header/footer live in base.css.
   Copy, structure, section order and the six-section colour sequence are
   preserved exactly from reference/APPROVED_HOMEPAGE_V3.html. */

.hero{position:relative;min-height:570px;display:flex;align-items:center;overflow:hidden}
.hero-media{position:absolute;inset:0 0 0 42%;overflow:hidden}
.hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-media::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.7) 13%,transparent 48%);
}
.hero .wrap{position:relative;width:100%;padding-top:75px;padding-bottom:80px}
.hero h1{font-size:clamp(44px,5.1vw,76px);line-height:1.07;margin:20px 0 15px;max-width:640px;font-family:var(--serif);font-weight:400;letter-spacing:-1.8px}
.hero h1 em{color:var(--blue-text);font-style:normal;font-weight:400}
.hero h2{font-size:clamp(22px,2.5vw,32px);line-height:1.23;font-weight:400;max-width:430px;margin:0 0 22px;font-family:var(--serif);letter-spacing:-1.8px}
.hero p{font-size:15px;line-height:1.8;color:#4d565b;max-width:440px;margin:0 0 27px}

/* ---- Trial variant: full-bleed photo behind the whole hero, text laid
   directly over it with a dark reading scrim instead of the white-fade
   split panel above. Toggle by adding "hero-full" alongside "hero" on
   the section. ---- */
.hero.hero-full .hero-media{inset:0}
.hero.hero-full .hero-media::after{
  background:linear-gradient(90deg,rgba(18,22,25,.66) 0%,rgba(18,22,25,.42) 30%,rgba(18,22,25,.12) 55%,transparent 75%);
}
.hero.hero-full .wrap{color:#fff}
.hero.hero-full .eyebrow{color:#a6d9e7}
.hero.hero-full h1{color:#fff}
.hero.hero-full h1 em{color:#9ad4e4}
.hero.hero-full h2{color:#fff}
.hero.hero-full p{color:#d9dfe2}
.hero.hero-full .outline{border-color:rgba(255,255,255,.6);color:#fff}
.hero.hero-full .outline:hover{border-color:#fff}

.process{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);margin-top:44px;align-items:stretch}
.step{padding:26px 22px 10px 0;border-right:1px solid var(--line);margin-right:22px}
.step:last-child{border:0}
.num{font-size:12px;color:var(--blue-text);font-weight:700;letter-spacing:2px}
.step h3{font-family:var(--serif);font-size:24px;font-weight:400;margin:20px 0 8px}
.step p{font-size:13px;line-height:1.6;color:#51585c}

/* ---- The middle step ("Craft") gets a deliberate break from the row:
   a raised, filled card rather than a sixth identical column. It's the
   step where the actual making happens — the pivot of the five — so
   giving it visual weight isn't arbitrary striping, it's pointing at
   the part of the process that's hardest and matters most. Desktop
   only; on the stacked mobile layout every step reads top-to-bottom
   anyway; so the card interrupts a row, not a column. ---- */
@media(min-width:851px){
  .step--feature{
    position:relative;background:var(--ink);color:#fff;
    margin:-18px 22px -1px 0;padding:44px 22px 28px 20px;
    border-right-color:transparent;z-index:1;
    box-shadow:0 22px 48px rgba(18,24,27,.22);
  }
  .step--feature .num{color:#9ad4e4}
  .step--feature h3{color:#fff}
  .step--feature p{color:var(--on-dark-muted)}
}

.v3-capabilities-layout{display:grid;grid-template-columns:minmax(245px,.82fr) minmax(0,1.6fr);gap:clamp(38px,6vw,110px);align-items:start}
.v3-capabilities-head{position:sticky;top:125px}
.v3-capabilities-head h2{margin:18px 0 25px}
.v3-capabilities-head p{font-size:15px;line-height:1.8;color:var(--on-dark-muted);max-width:355px}
.v3-capabilities-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(22px,3vw,45px);row-gap:0}
.v3-capability{position:relative;min-height:133px;padding:22px 28px 22px 0;border-top:1px solid var(--on-dark-line);color:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:14px;transition:border-color .2s}
.v3-capability:nth-last-child(-n+2){border-bottom:1px solid var(--on-dark-line)}
.v3-capability:hover,.v3-capability:focus-visible{border-top-color:#8ccfe0}
.v3-capability-num{font-family:var(--serif);font-size:18px;font-style:italic;color:#91d2e4}
.v3-capability h3{font-family:var(--serif);font-size:clamp(19px,1.65vw,25px);line-height:1.23;font-weight:400;letter-spacing:-.01em;margin:0;color:#fff;max-width:245px}
.v3-capability-arrow{position:absolute;right:3px;bottom:25px;font-size:22px;color:#9ad4e4;transition:transform .2s}
.v3-capability:hover .v3-capability-arrow{transform:translate(3px,-3px)}

/* ---- Same move as the philosophy row: one of the six capabilities gets
   a filled, raised treatment instead of repeating the plain outlined
   cell six times. "Find the Right Customers" sits at the hinge between
   the three creative capabilities and the three marketing ones, so it
   reads as the pivot rather than an arbitrary pick. ---- */
.v3-capability--feature{
  background:linear-gradient(135deg,#1f8fb3 0%,#0d5f7a 100%);
  border-top-color:transparent;border-bottom-color:transparent;
  padding:28px 24px 28px 20px;
  box-shadow:0 14px 32px rgba(10,40,50,.35);
}
.v3-capability--feature .v3-capability-num{color:rgba(255,255,255,.8)}
.v3-capability--feature h3{color:#fff}
.v3-capability--feature .v3-capability-arrow{color:#fff;right:20px}
.v3-capability--feature:hover,.v3-capability--feature:focus-visible{border-top-color:transparent}

/* ---- The two pillars get a raised, elevated card with an icon anchor
   rather than a flat bordered box — the same depth the Creative
   Productions service cards use, so the homepage introduces the same
   visual language it later pays off in detail. ---- */
.cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:35px}
.card{
  position:relative;overflow:hidden;min-height:300px;padding:38px;
  border:1px solid #e3e3df;border-radius:14px;background:#fff;
  display:flex;flex-direction:column;justify-content:space-between;
  box-shadow:0 14px 32px rgba(18,24,27,.1);
  transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease;
}
.card:hover{box-shadow:0 26px 50px rgba(18,24,27,.16);transform:translateY(-4px);border-color:#e3e3df}
.card-icon{
  position:absolute;top:30px;right:30px;width:50px;height:50px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(23,122,150,.08);color:var(--blue);
}
.card-icon svg{width:24px;height:24px;stroke-width:1.5}
.card .tag{font-size:11px;letter-spacing:2px;color:var(--blue-text);font-weight:bold}
.card h3{font-family:var(--serif);font-size:38px;font-weight:400;letter-spacing:-1px;line-height:1.1;margin:14px 0}
.card p{max-width:330px;font-size:15px;color:#51585c}

/* ---- Second pillar (Digital Marketing) gets the filled, dark treatment
   used elsewhere on the page for the "pivot" element in a pair/row (the
   step--feature card, the v3-capability--feature cell) — so the two
   specialisms read as distinct rather than duplicate boxes. ---- */
.card--dark{
  background:var(--ink);border-color:transparent;
  box-shadow:0 22px 48px rgba(10,20,25,.32);
}
.card--dark:hover{box-shadow:0 30px 60px rgba(10,20,25,.4);border-color:transparent}
.card--dark .card-icon{background:rgba(255,255,255,.1);color:#9ad4e4}
.card--dark .tag{color:#9ad4e4}
.card--dark h3{color:#fff}
.card--dark p{color:var(--on-dark-muted)}
.card--dark .link{color:#9ad4e4}

@media(max-width:850px){
  .card-icon{top:26px;right:26px;width:44px;height:44px}
  .card-icon svg{width:21px;height:21px}
}

/* ---- Section 05: the contact copy and the custom contact form sit side
   by side, same two-column shape as the other sections. The form itself
   renders as a white card floating on the charcoal section (.contact-form-panel,
   shared with the Contact page — see footer-form.css) so it can reuse the
   light-surface input styling from footer-form.css as-is, rather than
   needing a separate dark-mode skin. (.contact-alt-email itself now lives in
   footer-form.css, shared sitewide, since every page's "Begin a conversation"
   section reuses this same "Prefer email?" line.) ---- */

/* ---- Clients section: a short line and a centered reveal button — no
   big heading, since the names themselves are the content and today
   there are only three of them. The reveal grid is a wrapping flex row
   rather than a fixed-count layout, so it holds up once the real client
   logos replace these text marks and there are a lot more than three to
   show. Same reveal-button mechanism as the "by the numbers" curtain
   above it, but the content underneath arrives with a different, more
   celebratory motion — names dropping in with a little life in them,
   rather than a curtain parting — since what's revealed here is people,
   not a count. ---- */
.clients-intro{max-width:420px;margin:0 auto;text-align:center}
.clients-intro p{font-size:15px;color:var(--on-dark-muted);margin:10px 0 0}

/* ---- "Meet Our Clients" unlock row: lives under the stats grid, inside
   the "By the numbers" section. Used to stay collapsed to nothing until
   the curtain above it was raised; Arun asked for the button to show
   irrespective of that interaction, so it's now visible as soon as the
   page loads, same as the rest of the section (the button itself still
   starts hidden until home-clients-reveal.js enhances it, same
   display:none-until-enhanced rule every reveal trigger on this site
   follows — that happens immediately on load now, not on a delay).
   Previously parked under column 2 ("Clients Served") to read as
   following on from that specific stat, but that put it visibly left of
   the row's true center on wider screens (and right of center at the
   800px two-column tier) — Arun asked for it centered on the page
   instead, so it spans the full row (grid-column:1/-1) with flex
   centering the button inside that full width, regardless of the grid's
   column count at any breakpoint. ---- */
.clients-unlock-row{
  display:grid;grid-template-columns:repeat(4,1fr);
}
.clients-unlock-wrap{grid-column:1/-1;display:flex;justify-content:center;padding-top:26px}
@media(max-width:800px){
  .clients-unlock-row{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .clients-unlock-row{grid-template-columns:1fr}
}

.pi-reveal-btn--burst .pi-burst-ray{
  stroke-dasharray:12;stroke-dashoffset:12;opacity:.45;
  transition:stroke-dashoffset .4s cubic-bezier(.22,1.6,.36,1),opacity .3s ease;
}
.pi-reveal-btn--burst .pi-burst-rays line:nth-child(2){transition-delay:.03s}
.pi-reveal-btn--burst .pi-burst-rays line:nth-child(3){transition-delay:.06s}
.pi-reveal-btn--burst .pi-burst-rays line:nth-child(4){transition-delay:.09s}
.pi-reveal-btn--burst .pi-burst-rays line:nth-child(5){transition-delay:.12s}
.pi-reveal-btn--burst .pi-burst-rays line:nth-child(6){transition-delay:.15s}
.pi-reveal-btn--burst[aria-expanded="true"] .pi-burst-ray{stroke-dashoffset:0;opacity:1}

.clients-reveal{position:relative;margin-top:10px;min-height:70px}
.clients-reveal-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:18px;
  padding:46px 10px 10px;
}
.clients-reveal .client-marquee-caption{text-align:center;margin-top:36px}
.clients-reveal[data-state] .client-wordmark{
  display:inline-block;
  width:100%;
  transition:opacity .5s cubic-bezier(.17,.89,.32,1.49),transform .5s cubic-bezier(.17,.89,.32,1.49);
  transition-delay:calc(var(--d,0) * 110ms);
}
.clients-reveal[data-state="hidden"] .client-wordmark{opacity:0;transform:translateY(-22px) rotate(-3deg) scale(.9)}
.clients-reveal[data-state="revealed"] .client-wordmark{opacity:1;transform:translateY(0) rotate(0) scale(1)}
.clients-reveal[data-state="hidden"] .client-marquee-caption,
.clients-reveal[data-state="revealed"] .client-marquee-caption{
  transition:opacity .4s ease .35s;
}
.clients-reveal[data-state="hidden"] .client-marquee-caption{opacity:0}
.clients-reveal[data-state="revealed"] .client-marquee-caption{opacity:1}
.clients-reveal.cp-reduced-motion .client-wordmark,
.clients-reveal.cp-reduced-motion .client-marquee-caption{transition:opacity .2s linear !important;transform:none !important}
.clients-reveal.cp-reduced-motion[data-state="hidden"] .client-wordmark{opacity:.15;transform:none}

/* ---- Individual client logo tile --------------------------------------
   A plain white card behind every logo, regardless of whether that logo's
   own file has a transparent or an opaque white background — with 24 files
   from several different sources, that's the one treatment that looks
   consistent across all of them without editing each file by hand. ---- */
.client-logo-card{
  display:flex;align-items:center;justify-content:center;
  height:60px;padding:10px 18px;
  background:#fff;border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.16);
}
.client-logo-card img{max-width:100%;max-height:100%;width:auto;height:auto;display:block}

/* ---- The one "open" tile at the end of the client grid — not a logo, an
   invitation. Unlike the real logos it carries the site's own accent
   color and a deeper, tinted shadow so it reads as a little badge rather
   than disappearing next to brands with much bolder marks of their own.
   Clicking it scrolls straight to the enquiry form, turning a nice detail
   into an actual soft lead. Appears well after the rest of the grid has
   finished popping in (see .client-wordmark--reserved below) so it reads
   as its own small moment, not one more tile in the batch. ---- */
.client-reserved-slot{
  flex-direction:column;
  gap:6px;
  background:#eaf5f8;
  border:1.5px solid rgba(15,111,143,.4);
  color:var(--blue-text);
  text-decoration:none;
  box-shadow:0 7px 18px rgba(15,111,143,.3),0 2px 5px rgba(0,0,0,.14);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.client-reserved-slot:hover,
.client-reserved-slot:focus-visible{
  background:#ddeef4;
  transform:translateY(-3px);
  box-shadow:0 11px 24px rgba(15,111,143,.4),0 4px 8px rgba(0,0,0,.18);
}
.client-reserved-text{
  font-size:13px;
  line-height:1.3;
  text-align:center;
  font-weight:700;
  letter-spacing:.1px;
}
@media(max-width:480px){
  .client-reserved-text{font-size:11.5px}
}

/* Pops in roughly two seconds after the rest of the grid has finished its
   own staggered reveal (last real logo: --d:7 → .77s delay + .5s to land),
   instead of sharing their quick 0–770ms stagger. Set up independently of
   the shared [data-state="hidden"]/[data-state="revealed"] pair above: on
   the very first "Meet Our Clients" click, home-clients-reveal.js sets
   data-state straight to "revealed" (it only ever sets "hidden" when
   re-collapsing), so every other logo's opacity is already at its
   resting value and nothing actually transitions, let alone staggers —
   the one-time pop only shows up on a second open. This tile needs its
   delayed entrance to work the first time too, so it carries its own
   unconditional starting state rather than depending on that attribute
   ever having been "hidden". */
.client-wordmark--reserved{
  opacity:0;
  transform:translateY(-22px) rotate(-3deg) scale(.9);
  transition:opacity .5s cubic-bezier(.17,.89,.32,1.49),transform .5s cubic-bezier(.17,.89,.32,1.49);
  transition-delay:3.2s;
}
.clients-reveal[data-state="revealed"] .client-wordmark--reserved{
  opacity:1;
  transform:translateY(0) rotate(0) scale(1);
  transition-delay:3.2s;
}
.clients-reveal[data-state="hidden"] .client-wordmark--reserved{
  opacity:0;
  transform:translateY(-22px) rotate(-3deg) scale(.9);
  transition-delay:0s;
}
.clients-reveal.cp-reduced-motion .client-wordmark--reserved{transition:opacity .2s linear !important;transform:none !important;opacity:1}
@media(max-width:850px){
  .clients-reveal-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:14px;padding:36px 4px 4px}
  .client-logo-card{height:52px;padding:8px 14px}
}
@media(max-width:480px){
  .clients-reveal-grid{grid-template-columns:repeat(3,1fr);gap:10px}
  .client-logo-card{height:46px;padding:7px 10px}
}

/* ---- The "Our clients" section itself: collapsed to zero height until
   "Meet Our Clients" is clicked, so it isn't just faded out — it isn't
   there at all, and the contact section below moves up to fill the gap.
   home-clients-reveal.js adds .clients-collapsed on load (JS-only, so a
   no-JS visitor always sees this section normally) and measures the real
   scrollHeight to animate open/closed, since max-height:none can't be
   transitioned directly.

   The section's own vertical padding deliberately lives one level down, on
   its .wrap, rather than on #clients itself (overriding .section's usual
   padding:85px 0). A border-box element can never be squeezed shorter than
   its own padding — max-height:0 on #clients would still leave a 170px-tall
   empty strip (85px top + 85px bottom) showing the page background behind
   it, which is exactly the white gap this was built to avoid. Padding on
   the child isn't subject to that floor: when #clients collapses to 0 it
   clips the wrap, padding included, right along with the content. ---- */
#clients{
  padding:0;overflow:hidden;
  transition:max-height .6s cubic-bezier(.22,.61,.36,1),opacity .4s ease;
}
#clients>.wrap{padding-top:85px;padding-bottom:85px}
#clients.clients-collapsed{max-height:0;opacity:0;pointer-events:none}
#clients.clients-expanding,#clients.clients-collapsing{opacity:1}
#clients.clients-open{opacity:1}
@media(max-width:850px){
  #clients>.wrap{padding-top:60px;padding-bottom:60px}
}

/* ---- The four-column footer sitemap trialled here is now the sitewide
   default — see .footer-sitemap in base.css. The page ends here — no
   "Get in Touch" row below the columns (phone numbers, socials, a second
   lead form): the homepage's own enquiry form in section 05 is the only
   one on this page, by request. ---- */

@media(max-width:850px){
  .hero{min-height:620px;align-items:flex-start}
  .hero-media{inset:390px 0 0 0}
  .hero-media::after{background:linear-gradient(180deg,#fff,transparent 25%)}
  .hero.hero-full .hero-media{inset:0}
  /* The mobile hero photo (pathway-homepage-hero-mobile.webp) is framed
     with a deliberate blank band across its top ~35% for the heading to
     sit in. Anchor to the top edge (not centered) so that band stays
     on-screen at every width in this breakpoint, rather than being
     cropped away as the viewport widens. */
  .hero.hero-full .hero-media img{object-position:center top}
  .hero.hero-full .hero-media::after{background:linear-gradient(180deg,rgba(10,14,17,.45) 0%,rgba(10,14,17,.22) 28%,rgba(10,14,17,.05) 42%,transparent 58%)}
  .hero .wrap{padding-top:58px;padding-bottom:350px}
  /* hero-full: the photo's blank space is confined to the top of the
     frame, so the text block is pulled up and compacted to fit entirely
     inside it instead of spilling down over the photo below. */
  .hero.hero-full .wrap{position:absolute;top:0;left:0;right:0;padding-top:36px;padding-bottom:28px}
  .hero.hero-full .rule{display:none}
  .hero.hero-full .eyebrow{font-size:14px;margin-bottom:8px;text-shadow:0 1px 6px rgba(0,0,0,.4)}
  .hero.hero-full h1{font-size:44px;line-height:1.15;margin:12px 0 14px;max-width:100%;text-shadow:0 2px 10px rgba(0,0,0,.35)}
  .hero.hero-full h2{display:none}
  .hero.hero-full p{display:none}
  /* The blank part of the photo ends a little after the heading, so the
     CTAs are allowed to sit over the start of the busier picture below
     it rather than being squeezed into the blank band alone. CTA sized
     close to the site's own default button (14px/20px padding, 13px
     type — see .btn,.outline in base.css), just a touch roomier for a
     mobile tap target rather than blown up, and made translucent
     (frosted-glass) instead of solid so the photo still reads through. */
  .hero.hero-full .actions{margin-top:12px}
  .hero.hero-full .actions a{padding:14px 22px;font-size:14px}
  .hero.hero-full .actions .btn{background:rgba(22,126,159,.4);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.3)}
  .hero.hero-full .actions .outline{background:rgba(10,14,17,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-color:rgba(255,255,255,.55);color:#fff}
  .hero h1{font-size:49px;max-width:550px}
  .hero h2{font-size:24px}
  .hero p{font-size:14px}
  .cards{grid-template-columns:1fr;gap:20px}
  .process{grid-template-columns:1fr 1fr}
  .step{margin-right:12px}
  .v3-capabilities-layout{grid-template-columns:1fr;gap:36px}
  .v3-capabilities-head{position:static}
  .v3-capabilities-head p{max-width:600px}
}
@media(max-width:480px){
  .hero{min-height:660px}
  .hero-media{top:440px}
  .hero h1{font-size:42px}
  .hero.hero-full h1{font-size:38px}
  .process{grid-template-columns:1fr}
  .step{border-right:0;border-bottom:1px solid var(--line);margin-right:0}
  .card{min-height:260px}
  .v3-capabilities-grid{grid-template-columns:1fr}
  .v3-capability{min-height:104px;padding:17px 36px 17px 0}
  .v3-capability:nth-last-child(2){border-bottom:0}
  .v3-capabilities{padding:58px 0}
  .v3-capability-arrow{bottom:20px}
}
