/* ==========================================================================
   SHEILA | One stylesheet for the whole template
   Part 1: shared base + Homepage 01 (dark editorial, <body class="home-01">)
   Part 2: Homepage 02 overrides (blue + coral, <body class="home-02">)
   Part 3: Homepage 03 overrides (mist + forest green, <body class="home-03">)
   Order follows the page: tokens, base, shared parts, then section by section.
   ========================================================================== */


/* --------------------------------------------------------------------------
   CSS: Design tokens (colours, font, spacing)
   Dark is the default. Add .section--light to any section to flip the colours.
   -------------------------------------------------------------------------- */
:root {
  --night: #090a12;          /* deep indigo-black, echoes the hero artwork */
  --night-2: #121320;        /* raised dark surface (popup, image frames) */
  --ivory: #ebe9e3;          /* pearl, used for light sections and text on dark */
  --champagne: #d2b27c;      /* accent on dark */
  --bronze: #8c6a35;         /* accent on light (better contrast) */

  --font: "Space Grotesk", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-space: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Context colours, these change inside .section--light */
  --bg: var(--night);
  --fg: var(--ivory);
  --on-fg: var(--night);
  --muted: rgba(235, 233, 227, 0.7);
  --line: rgba(235, 233, 227, 0.16);
  --acc: var(--champagne);

  /* Soft colour glows painted on section backgrounds (see .section) */
  --glow: rgba(92, 74, 224, 0.2);       /* indigo glow, top right */
  --glow-2: rgba(210, 178, 124, 0.08);  /* champagne glow, bottom left */
}

.section--light {
  --bg: var(--ivory);
  --fg: var(--night);
  --on-fg: var(--ivory);
  --muted: #55524b;
  --line: rgba(9, 10, 18, 0.18);
  --acc: var(--bronze);
  --glow: rgba(210, 178, 124, 0.32);    /* warm glow, top right */
  --glow-2: rgba(92, 74, 224, 0.08);    /* faint indigo, bottom left */
}



/* --------------------------------------------------------------------------
   CSS: Base / reset
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  font-family: var(--font); background: var(--night); color: var(--ivory);
  font-size: 1rem; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--champagne); color: var(--night); }

/* Very fine film grain over the whole page. It ignores clicks and sits under the preloader. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; }

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



/* --------------------------------------------------------------------------
   CSS: Type scale (display, h2, h3, lead text)
   -------------------------------------------------------------------------- */
.display-title {
  font-weight: 300; font-size: clamp(3rem, 8vw, 8.5rem);
  line-height: 0.95; letter-spacing: -0.05em; margin: 0;
}
.display-title--sm { font-size: clamp(2.6rem, 6vw, 5.6rem); margin-bottom: 1.5rem; }

.h2-title {
  font-weight: 300; font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 1.5rem;
}
.h3-title { font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.03em; margin: 0; }
.lead-copy { font-size: 1.1rem; color: var(--muted); max-width: 32rem; }

/* JS wraps each word in .w so it can slide up from behind a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.w > span { display: inline-block; will-change: transform; }



/* --------------------------------------------------------------------------
   CSS: Shared layout helpers (wrap, sections, media frames, plus icon)
   -------------------------------------------------------------------------- */
.wrap { padding-inline: var(--gutter); max-width: 1720px; margin-inline: auto; }

.section {
  padding-block: var(--section-space); color: var(--fg);
  background:
    radial-gradient(60rem 38rem at 92% -8%, var(--glow), transparent 65%),
    radial-gradient(50rem 32rem at 0% 108%, var(--glow-2), transparent 60%),
    var(--bg);
}

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.section-head__note { color: var(--muted); max-width: 20rem; margin: 0 0 1.5rem; }
.sample-tag { font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }

/* Image frame: crops the image and hides overflow while it moves or scales */
.media { position: relative; overflow: hidden; background: var(--night-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 10; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.media.is-broken img { display: none; }   /* image failed: the dark frame stays */

/* Round "+" badge that tells people a card opens a popup */
.plus {
  position: absolute; right: 1rem; bottom: 1rem; width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ivory); color: var(--night); font-size: 1.1rem;
  transition: transform 0.6s var(--ease), background 0.4s;
}
.plus--sm { width: 2.4rem; height: 2.4rem; font-size: 0.9rem; }
a:hover .plus { transform: rotate(90deg); background: var(--champagne); }



/* --------------------------------------------------------------------------
   CSS: Buttons and links
   -------------------------------------------------------------------------- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: 0.75rem 1.8rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 0.95rem; cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-pill--accent { background: var(--champagne); color: var(--night); }
.btn-pill--accent:hover { background: var(--ivory); }
.btn-pill--line { border-color: rgba(235, 233, 227, 0.5); color: var(--ivory); }
.btn-pill--line:hover { background: var(--ivory); color: var(--night); }
.btn-pill--primary { background: var(--fg); color: var(--on-fg); }
.btn-pill--primary:hover { background: var(--acc); color: #fff; }

.text-link { position: relative; font-weight: 500; padding-bottom: 0.2rem; }
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform-origin: right; transition: transform 0.5s var(--ease);
}
.text-link:hover::after { transform: scaleX(0.35); }



/* --------------------------------------------------------------------------
   CSS: Section 01, Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--night); color: var(--ivory);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
}
.preloader__word { font-size: clamp(3.5rem, 13vw, 10rem); font-weight: 300; line-height: 1; letter-spacing: -0.06em; }
.preloader__count { font-size: 0.9rem; font-variant-numeric: tabular-nums; color: var(--champagne); }
.preloader__bar { width: min(16rem, 60vw); height: 1px; background: rgba(255, 255, 255, 0.2); }
.preloader__bar span { display: block; height: 100%; background: var(--champagne); transform: scaleX(0); transform-origin: left; }



/* --------------------------------------------------------------------------
   CSS: Section 02, Navigation (desktop row + mobile full screen panel)
   The blurred background lives on ::before. Putting backdrop-filter directly
   on the header would trap the fixed mobile panel inside the header height.
   -------------------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; color: var(--ivory); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(9, 10, 18, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(235, 233, 227, 0.1); opacity: 0; transition: opacity 0.4s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header .navbar { transition: padding 0.4s var(--ease); }
.site-header.is-scrolled .navbar { padding-block: 0.7rem; }   /* slimmer once the page has scrolled */

.site-header .navbar { padding-block: 1.1rem; }
.brand { font-size: 1.9rem; font-weight: 500; line-height: 1; letter-spacing: -0.06em; position: relative; z-index: 1002; color: var(--ivory); }
.brand:hover { color: var(--champagne); }

.nav-panel { display: flex; align-items: center; margin-left: auto; }   /* menu and button sit on the right */
.nav-link { color: var(--ivory); font-weight: 500; font-size: 0.9rem; position: relative; padding: 0.4rem 0.75rem !important; }
.nav-link:hover, .nav-link.is-active { color: var(--champagne); }
.nav-link small { display: none; }   /* numbers only show in the mobile panel */
.nav-link::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.1rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

/* Small laptops: tighter spacing so the 7 links and the button always fit on one row */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-link { padding: 0.4rem 0.5rem !important; font-size: 0.85rem; }
  .nav-link::after { left: 0.5rem; right: 0.5rem; }
}

/* Menu button: the word "Menu" and a two line icon that becomes a cross */
.menu-toggle { position: relative; z-index: 1002; display: flex; align-items: center; gap: 0.7rem; border: 0; background: none; padding: 0.4rem 0; color: var(--ivory); font-weight: 500; font-size: 0.9rem; }
.menu-toggle__icon { position: relative; width: 1.6rem; height: 1rem; }
.menu-toggle__icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-toggle__icon i:nth-child(1) { top: 0.1rem; }
.menu-toggle__icon i:nth-child(2) { top: 0.7rem; }
.menu-open .menu-toggle__icon i:nth-child(1) { top: 0.4rem; transform: rotate(45deg); }
.menu-open .menu-toggle__icon i:nth-child(2) { top: 0.4rem; transform: rotate(-45deg); }

/* Mobile and tablet: the panel covers the whole screen */
@media (max-width: 991.98px) {
  .nav-panel {
    position: fixed; inset: 0; z-index: 1001; height: 100vh; height: 100dvh; background: var(--night);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem;
    padding: 6rem var(--gutter) 2rem; overflow-y: auto; opacity: 0; visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .menu-open .nav-panel { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }

  .nav-panel .navbar-nav { width: 100%; }
  .nav-panel .nav-link {
    display: flex; align-items: baseline; gap: 1rem; padding: 0.15rem 0 !important;
    font-size: clamp(2.2rem, 9vw, 3.6rem); font-weight: 300; letter-spacing: -0.05em; line-height: 1.2;
  }
  .nav-panel .nav-link small { display: inline; font-size: 0.8rem; letter-spacing: 0; color: var(--champagne); font-weight: 500; }
  .nav-panel .nav-link::after { display: none; }

  .nav-panel__foot { width: 100%; display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.95rem; }
  .nav-panel__foot span { display: flex; gap: 1.2rem; font-size: 1.2rem; }
}


/* --------------------------------------------------------------------------
   CSS: Home dropdown (lists the three homepage versions)
   -------------------------------------------------------------------------- */
.nav-item--drop { position: relative; display: flex; align-items: center; }
.nav-item--drop .nav-link { padding-right: 0.2rem !important; }

.drop-toggle { border: 0; background: none; color: var(--ivory); padding: 0.4rem 0.5rem 0.4rem 0.2rem; font-size: 0.7rem; line-height: 1; }
.drop-toggle i { display: block; transition: transform 0.4s var(--ease); }
.nav-item--drop.is-open .drop-toggle i { transform: rotate(180deg); }

.drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 15rem; margin-top: 0.6rem; padding: 0.5rem;
  background: var(--night-2); border: 1px solid rgba(235, 233, 227, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }   /* keeps hover alive across the gap */
.drop-menu a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0.9rem; font-size: 0.9rem; font-weight: 500; color: var(--ivory); transition: background 0.3s, color 0.3s; }
.drop-menu a:hover { background: rgba(235, 233, 227, 0.08); color: var(--champagne); }
.drop-menu small { font-size: 0.72rem; font-weight: 500; color: rgba(235, 233, 227, 0.5); }
.drop-menu a.is-current small { color: var(--champagne); }
.drop-menu a[aria-disabled="true"] { cursor: default; }

.nav-item--drop.is-open .drop-menu { opacity: 1; visibility: visible; transform: none; }

/* Mouse users can also just hover on desktop */
@media (min-width: 992px) and (hover: hover) {
  .nav-item--drop:hover .drop-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-item--drop:hover .drop-toggle i { transform: rotate(180deg); }
}

/* Mobile panel: the list opens inline under the Home link */
@media (max-width: 991.98px) {
  .nav-item--drop { flex-wrap: wrap; }
  .nav-panel .nav-item--drop .nav-link { padding-right: 0.5rem !important; }
  .drop-toggle { font-size: 1rem; color: var(--champagne); }
  .drop-menu { position: static; display: none; width: 100%; margin: 0.4rem 0 0.6rem; opacity: 1; visibility: visible; transform: none; background: none; border: 0; border-left: 1px solid var(--line); padding: 0 0 0 1rem; }
  .drop-menu::before { display: none; }
  .nav-item--drop.is-open .drop-menu { display: block; }
  .drop-menu a { padding: 0.5rem 0; font-size: 1.15rem; }
}


/* --------------------------------------------------------------------------
   CSS: Section 03, Hero (full bleed image, headline at the bottom)
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 8rem 0 2rem; overflow: hidden; background: var(--night); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 10, 18, 0.62) 0%, rgba(9, 10, 18, 0.32) 40%, rgba(9, 10, 18, 0.88) 100%); }
.hero__content { position: relative; z-index: 2; }

.hero__meta { font-size: 0.9rem; font-weight: 500; color: #ecd29c; margin-bottom: 1.5rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.hero__lead { color: rgba(235, 233, 227, 0.8); margin-bottom: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem;
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(235, 233, 227, 0.2);
  font-size: 0.85rem; font-weight: 500;
}
.hero__status { display: inline-flex; align-items: center; gap: 0.6rem; }
.dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #3ddc84; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.scroll-hint { display: inline-flex; align-items: center; gap: 0.6rem; }
.scroll-hint i { width: 1px; height: 1.6rem; background: var(--ivory); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .dot, .scroll-hint i { animation: none; }
}



/* --------------------------------------------------------------------------
   CSS: Section 04, Trusted by (marquee)
   -------------------------------------------------------------------------- */
.trusted { padding: 3rem 0; overflow: hidden; background: var(--night); border-bottom: 1px solid var(--line); border-top: 1px solid rgba(235, 233, 227, 0.08); }
.trusted__label { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }

.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__group span {
  font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 300; letter-spacing: -0.04em; white-space: nowrap;
  padding-right: clamp(2.5rem, 6vw, 5rem); color: rgba(235, 233, 227, 0.35); transition: color 0.4s;
}
.marquee__group span:hover { color: var(--champagne); }



/* --------------------------------------------------------------------------
   CSS: Section 05, About the studio
   -------------------------------------------------------------------------- */
#about .media { max-height: 78vh; }
.about__copy { margin-top: 2.5rem; }
.about__copy .text-link { display: inline-block; margin-top: 1.5rem; }
[data-parallax] { will-change: transform; }



/* --------------------------------------------------------------------------
   CSS: Section 06, Selected work
   Default = stacked grid (mobile, tablet, no JS, reduced motion).
   .work--horizontal is added by JS on desktop and turns it into a pinned
   sideways gallery.
   -------------------------------------------------------------------------- */
.work {
  color: var(--fg); padding-block: var(--section-space); overflow: hidden;
  background:
    radial-gradient(60rem 38rem at 8% 0%, var(--glow), transparent 65%),
    radial-gradient(50rem 32rem at 100% 100%, var(--glow-2), transparent 60%),
    var(--bg);
}
.work__intro p { color: var(--muted); max-width: 24rem; }
.work__hint, .work__end, .work__meta { display: none; }   /* desktop gallery only */

.work__track { display: grid; gap: 3.5rem 1.5rem; padding-inline: var(--gutter); }
@media (min-width: 640px) {
  .work__track { grid-template-columns: 1fr 1fr; }
  .work__intro { grid-column: 1 / -1; }
}

.work-card a { display: block; }
.work-card--wide .media { aspect-ratio: 4 / 3; }
.work-card--tall .media { aspect-ratio: 4 / 5; }
.work-card--square .media { aspect-ratio: 1 / 1; }

.work-card__info { display: flex; align-items: baseline; gap: 1rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.work-card__no { font-size: 0.85rem; font-weight: 500; color: var(--acc); }
.work-card__cat { margin: 0.2rem 0 0; font-size: 0.85rem; color: var(--muted); }
.work-card .h3-title { transition: color 0.4s; }
.work-card a:hover .h3-title { color: var(--champagne); }

/* When the "View" bubble is active the small plus icon is not needed */
.work.has-cursor .plus { display: none; }

.cursor-view {
  position: fixed; left: 0; top: 0; z-index: 900; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem;
  border-radius: 50%; background: var(--champagne); color: var(--night); display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 600; pointer-events: none; opacity: 0;
}
@media (hover: none) { .cursor-view { display: none; } }

/* ----- Desktop pinned horizontal gallery ----- */
.work--horizontal { padding-block: 0; }
.work--horizontal .work__pin { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.work--horizontal .work__track { display: flex; align-items: center; gap: 7vw; width: max-content; padding-inline: var(--gutter) 12vw; will-change: transform; }

.work--horizontal .work__intro { flex-shrink: 0; width: 26vw; min-width: 21rem; margin: 0; }
.work--horizontal .work__hint { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 2rem; font-size: 0.85rem; color: var(--champagne); }

.work--horizontal .work-card { flex-shrink: 0; }
.work--horizontal .work-card--wide { width: 38vw; }
.work--horizontal .work-card--tall { width: 24vw; }
.work--horizontal .work-card--square { width: 30vw; }
.work--horizontal .work-card .media { max-height: 56vh; }
.work--horizontal .work-card:nth-of-type(odd) { margin-top: -5vh; }    /* alternating heights for an editorial rhythm */
.work--horizontal .work-card:nth-of-type(even) { margin-top: 9vh; }

.work--horizontal .work__end { display: flex; flex-shrink: 0; width: 22vw; font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.15; }
.work--horizontal .work__meta { display: flex; align-items: center; gap: 1.5rem; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.work__bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.work__bar i { position: absolute; inset: 0; background: var(--champagne); transform: scaleX(0); transform-origin: left; }



/* --------------------------------------------------------------------------
   CSS: Section 07, Services
   -------------------------------------------------------------------------- */
.service { position: relative; }
.service__line { position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--fg); transform-origin: left; }
.service:last-child { border-bottom: 1px solid var(--fg); }

.service__row {
  position: relative; display: grid; grid-template-columns: 2.5rem 1fr 2.4rem; gap: 0.25rem 1rem; align-items: center;
  padding: 1.6rem 0; transition: padding-left 0.5s var(--ease);
}
.service__no { font-size: 0.85rem; font-weight: 500; color: var(--acc); }
.service__name { font-size: clamp(1.7rem, 3.2vw, 2.8rem); font-weight: 300; letter-spacing: -0.045em; line-height: 1.1; position: relative; justify-self: start; }
.service__name::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.service__text { grid-column: 2; grid-row: 2; color: var(--muted); margin: 0; }
.service__row .plus { position: static; grid-column: 3; grid-row: 1; background: var(--fg); color: var(--on-fg); }
.service__row:hover { padding-left: 1rem; }
.service__row:hover .service__name::after { transform: scaleX(1); }

@media (min-width: 768px) {
  .service__row { grid-template-columns: 2.5rem 1.2fr 1fr 2.4rem; }
  .service__text { grid-column: 3; grid-row: 1; }
  .service__row .plus { grid-column: 4; }
}



/* --------------------------------------------------------------------------
   CSS: Section 08, Creative statement (image background, big type)
   -------------------------------------------------------------------------- */
.statement { position: relative; padding: clamp(6rem, 14vw, 12rem) 0; overflow: hidden; background: var(--night); }
.statement__bg { position: absolute; inset: 0; }
.statement__bg img { width: 100%; height: 100%; object-fit: cover; }
.statement__bg::after { content: ""; position: absolute; inset: 0; background: rgba(9, 10, 18, 0.72); }

.statement__text { position: relative; margin: 0; text-align: center; font-weight: 300; line-height: 0.95; letter-spacing: -0.055em; font-size: clamp(2.6rem, 10vw, 10rem); }
.statement__line { display: block; white-space: nowrap; will-change: transform; }
.statement__line--accent { color: var(--champagne); }

@media (max-width: 575.98px) {
  .statement__text { font-size: 10.5vw; }
}



/* --------------------------------------------------------------------------
   CSS: Section 09, Our process
   -------------------------------------------------------------------------- */
.process { position: relative; padding-left: 4.5rem; }
.process__track { position: absolute; left: 1.35rem; top: 1rem; bottom: 1rem; width: 1px; background: var(--line); }
.process__fill { position: absolute; inset: 0; background: var(--champagne); transform: scaleY(0); transform-origin: top; }

.process__step { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); opacity: 0.4; transition: opacity 0.6s var(--ease); }
.process__step:last-child { padding-bottom: 0; }
.process__step.is-active { opacity: 1; }
.process__step p { margin: 0.5rem 0 0; color: var(--muted); max-width: 30rem; }

.process__no {
  position: absolute; left: -4.5rem; top: 0; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: var(--night); border: 1px solid var(--line); display: grid; place-items: center;
  font-weight: 600; font-size: 0.9rem; transition: background 0.5s, color 0.5s, border-color 0.5s;
}
.process__step.is-active .process__no { background: var(--champagne); border-color: var(--champagne); color: var(--night); }



/* --------------------------------------------------------------------------
   CSS: Section 10, Team
   -------------------------------------------------------------------------- */
.member a { display: block; }
.member .media img { filter: grayscale(1); transition: filter 0.8s var(--ease), transform 1s var(--ease); }
.member a:hover .media img { filter: grayscale(0); transform: scale(1.05); }
.member__name { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 400; letter-spacing: -0.03em; margin: 1rem 0 0; }
.member__role { margin: 0; font-size: 0.9rem; color: var(--muted); }

@media (min-width: 992px) {
  .member:nth-child(even) { margin-top: 4rem; }   /* alternating offset */
}



/* --------------------------------------------------------------------------
   CSS: Section 11, Testimonials
   -------------------------------------------------------------------------- */
.quotes { max-width: 62rem; }
.quote { display: none; margin: 0; }
.quote.is-active { display: block; }
.quote p { font-size: clamp(1.9rem, 4.4vw, 3.8rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.045em; margin-bottom: 2rem; }
.quote footer { font-size: 0.95rem; color: var(--muted); }
.quote strong { color: var(--champagne); font-weight: 500; }

.quote-controls { display: flex; gap: 0.8rem; margin-top: 3rem; }
.quote-controls button {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid var(--line);
  background: none; color: var(--fg); transition: background 0.4s, color 0.4s;
}
.quote-controls button:hover { background: var(--ivory); color: var(--night); }



/* --------------------------------------------------------------------------
   CSS: Section 12, Studio facts
   -------------------------------------------------------------------------- */
.fact { display: flex; flex-direction: column; gap: 0.3rem; }
.fact__num { font-weight: 300; font-size: clamp(3.6rem, 8vw, 7.5rem); line-height: 1; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.fact > span:last-child { font-weight: 500; font-size: 0.9rem; color: var(--muted); padding-top: 0.8rem; border-top: 1px solid var(--line); }



/* --------------------------------------------------------------------------
   CSS: Section 13, Journal
   -------------------------------------------------------------------------- */
.post a { display: block; }
.post .media img { transition: transform 1s var(--ease); }
.post a:hover .media img { transform: scale(1.06); }
.post__meta { margin: 1.1rem 0 0.4rem; font-size: 0.82rem; font-weight: 500; color: var(--acc); }
.post .h3-title { transition: color 0.4s; }
.post a:hover .h3-title { color: var(--champagne); }



/* --------------------------------------------------------------------------
   CSS: Section 14, Contact CTA
   -------------------------------------------------------------------------- */
.contact {
  color: var(--fg); padding: var(--section-space) 0; position: relative; overflow: hidden;
  background: radial-gradient(50rem 32rem at 0% 108%, var(--glow-2), transparent 60%), var(--bg);
}
.contact::before {
  content: ""; position: absolute; width: 40rem; height: 40rem; right: -12rem; top: var(--glow-y, -16rem); border-radius: 50%;
  background: var(--champagne); opacity: 0.35; filter: blur(110px); pointer-events: none;
}
.contact .container-fluid { position: relative; }
.contact__mail { display: inline-block; margin-top: 1.5rem; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -0.04em; border-bottom: 1px solid currentColor; }
.contact__mail:hover { color: var(--acc); }

.contact__form { display: grid; gap: 1rem; }
.contact__form input, .contact__form textarea {
  width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--fg); padding: 0.8rem 0; font: inherit; border-radius: 0;
}
.contact__form input::placeholder, .contact__form textarea::placeholder { color: var(--muted); }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--fg); }
.contact__form .btn-pill { justify-self: start; margin-top: 0.8rem; }
.contact__note { min-height: 1.5rem; margin: 0; font-size: 0.9rem; color: var(--acc); }



/* --------------------------------------------------------------------------
   CSS: Section 15, Footer
   -------------------------------------------------------------------------- */
.site-footer {
  color: var(--ivory); padding: 0 0 2rem; overflow: hidden;
  background: radial-gradient(70rem 30rem at 50% 105%, rgba(92, 74, 224, 0.28), transparent 65%), var(--night);
}
.footer__top { padding-top: 4.5rem; }
.footer__about { font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.25; max-width: 26rem; }
.footer__links li + li { margin-top: 0.5rem; }
.footer__links a { color: rgba(235, 233, 227, 0.7); transition: color 0.3s; }
.footer__links a:hover { color: var(--champagne); }

.footer__word { font-size: clamp(6rem, 28vw, 30rem); font-weight: 300; line-height: 0.82; letter-spacing: -0.07em; text-align: center; margin: 3rem 0 2rem; color: var(--ivory); }

.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.85rem; color: rgba(235, 233, 227, 0.7); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer__right { display: flex; align-items: center; gap: 1.5rem; }
.to-top { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ivory); transition: background 0.4s, color 0.4s; }
.to-top:hover { background: var(--ivory); color: var(--night); }



/* --------------------------------------------------------------------------
   CSS: Detail popup (Bootstrap modal for services, work, team, journal)
   -------------------------------------------------------------------------- */
.detail .modal-content { background: var(--night-2); color: var(--ivory); border: 1px solid rgba(235, 233, 227, 0.14); border-radius: 0; }
.detail .modal-dialog { --bs-modal-margin: 0.75rem; }
.detail__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 5; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  border: 0; background: var(--ivory); color: var(--night); display: grid; place-items: center; transition: background 0.3s, transform 0.5s var(--ease);
}
.detail__close:hover { background: var(--champagne); transform: rotate(90deg); }

.detail__media { height: 100%; min-height: 16rem; }
.detail__body { padding: clamp(1.5rem, 4vw, 3.5rem); }
.detail__type { color: var(--champagne); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.8rem; }
.detail__title { font-weight: 300; font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1; letter-spacing: -0.05em; margin: 0 0 0.8rem; }
.detail__meta { color: rgba(235, 233, 227, 0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }
.detail__text p { color: rgba(235, 233, 227, 0.82); }
.detail__list { margin: 1.5rem 0 2rem; border-top: 1px solid rgba(235, 233, 227, 0.16); }
.detail__list li { padding: 0.7rem 0; border-bottom: 1px solid rgba(235, 233, 227, 0.16); font-size: 0.95rem; }
.detail__list li::before { content: "+"; color: var(--champagne); margin-right: 0.8rem; font-weight: 600; }

.modal-backdrop.show { opacity: 0.8; }

/* On small screens the popup uses the full screen */
@media (max-width: 991.98px) {
  .detail .modal-dialog { margin: 0; max-width: none; min-height: 100%; }
  .detail .modal-content { min-height: 100vh; }
  .detail__media { aspect-ratio: 16 / 10; height: auto; }
}



/* ==========================================================================
   HOMEPAGE 02 STYLES
   Everything below only applies when <body class="home-02"> is used.
   It re-uses the shared parts above (nav, buttons, popup, footer layout) and
   changes the colours, type treatment and section layouts.
   Direction: electric blue + coral, bold uppercase type, big colour blocks.
   ========================================================================== */


/* --------------------------------------------------------------------------
   CSS: Colour tokens for Homepage 02
   Note: --champagne and --bronze are the shared accent variable names.
   On this page they simply hold the coral accent.
   -------------------------------------------------------------------------- */
.home-02 {
  --night: #0b1139;          /* deep ultramarine navy */
  --night-2: #141c55;        /* raised navy surface */
  --ivory: #f3f2ee;          /* pearl white */
  --blue: #2a3cff;           /* the big colour block */
  --champagne: #ff6a3d;      /* coral accent on dark and blue */
  --bronze: #c93b14;         /* coral, darker for light backgrounds */

  --glow: rgba(42, 60, 255, 0.38);
  --glow-2: rgba(255, 106, 61, 0.14);
}

.home-02 .section--light { --glow: rgba(42, 60, 255, 0.1); --glow-2: rgba(255, 106, 61, 0.12); }

/* Coral section: used for the testimonials */
.home-02 .section--coral {
  --bg: var(--champagne); --fg: var(--night); --on-fg: var(--ivory);
  --muted: rgba(11, 17, 57, 0.72); --line: rgba(11, 17, 57, 0.3); --acc: var(--night);
  --glow: rgba(255, 255, 255, 0.3); --glow-2: rgba(42, 60, 255, 0.12);
}



/* --------------------------------------------------------------------------
   CSS: Preloader and header tweaks
   -------------------------------------------------------------------------- */
.home-02 .preloader { background: var(--blue); align-items: flex-start; justify-content: flex-end; padding: 2rem var(--gutter); gap: 1rem; }
.home-02 .preloader__word { margin-bottom: auto; font-weight: 600; text-transform: uppercase; letter-spacing: -0.05em; font-size: clamp(1.6rem, 4vw, 3rem); }
.home-02 .preloader__count { font-size: clamp(6rem, 24vw, 20rem); font-weight: 600; line-height: 0.8; letter-spacing: -0.06em; color: #fff; }
.home-02 .preloader__bar { width: 100%; background: rgba(255, 255, 255, 0.3); }
.home-02 .preloader__bar span { background: var(--champagne); }

.home-02 .site-header::before { background: rgba(11, 17, 57, 0.85); }
.home-02 .brand { font-weight: 600; text-transform: uppercase; letter-spacing: -0.05em; font-size: 1.7rem; }
.home-02 .btn-pill--accent:hover { background: #fff; }



/* --------------------------------------------------------------------------
   CSS: Section 03, Hero (blue block with an image collage)
   -------------------------------------------------------------------------- */
.home-02 .hero--blue {
  align-items: center; padding: 8rem 0 2rem;
  background: radial-gradient(60rem 40rem at 95% 0%, rgba(255, 255, 255, 0.2), transparent 60%), var(--blue);
}
.home-02 .hero--blue .display-title { font-weight: 600; text-transform: uppercase; font-size: clamp(2.3rem, 7.2vw, 7.6rem); line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 2rem; }
.home-02 .hero--blue .hero__meta { color: #ffd2c4; text-shadow: none; }
.home-02 .hero--blue .hero__lead { max-width: 30rem; color: rgba(255, 255, 255, 0.85); }

/* Collage: tall main image, a small overlapping image and a spinning badge */
.home-02 .collage { position: relative; max-width: 34rem; margin: 0 0 3rem auto; }
.home-02 .collage__main { aspect-ratio: 4 / 5; }
.home-02 .collage__small { position: absolute; left: -14%; bottom: -8%; width: 44%; aspect-ratio: 1; border: 6px solid var(--blue); }

.home-02 .badge-spin {
  position: absolute; top: -2.2rem; right: -1.2rem; width: 7.5rem; height: 7.5rem; border-radius: 50%;
  background: var(--champagne); color: var(--night); display: grid; place-items: center; font-size: 1.4rem;
}
.home-02 .badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.home-02 .badge-spin text { font-size: 9.5px; font-weight: 600; text-transform: uppercase; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 991.98px) {
  .home-02 .collage { margin: 1rem auto 3rem; max-width: 26rem; }
  .home-02 .collage__small { left: -6%; }
  .home-02 .badge-spin { width: 6rem; height: 6rem; right: -0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .home-02 .badge-spin svg { animation: none; } }



/* --------------------------------------------------------------------------
   CSS: Section 04, Client marquee (coral band)
   -------------------------------------------------------------------------- */
.home-02 .trusted--coral { background: var(--champagne); color: var(--night); border: 0; padding: 1.6rem 0 1.8rem; }
.home-02 .trusted--coral .trusted__label { color: rgba(11, 17, 57, 0.75); font-weight: 500; }
.home-02 .trusted--coral .marquee__group span { padding-right: 0; font-weight: 600; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(1.8rem, 4vw, 3.2rem); color: var(--night); }
.home-02 .trusted--coral .marquee__group span:hover { color: #fff; }

/* A round dot between the names */
.home-02 .trusted--coral .marquee__group span::after {
  content: ""; display: inline-block; width: 0.4em; height: 0.4em; border-radius: 50%; background: currentColor;
  margin: 0 clamp(1.6rem, 4vw, 3.4rem); vertical-align: middle;
}



/* --------------------------------------------------------------------------
   CSS: Section 05, About
   -------------------------------------------------------------------------- */
.home-02 .about02__label { font-size: 0.85rem; font-weight: 600; color: var(--acc); margin-bottom: 1.2rem; }
.home-02 .about02 .h2-title { font-weight: 600; text-transform: uppercase; letter-spacing: -0.05em; line-height: 0.95; font-size: clamp(2.1rem, 4.4vw, 4.2rem); }
.home-02 .about02__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 2rem; }
.home-02 .about02__tags li { border: 1px solid var(--line); padding: 0.35rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; }
.home-02 .about02 .media { max-height: 78vh; }



/* --------------------------------------------------------------------------
   CSS: Section 06, Selected work (big index list with hover preview)
   -------------------------------------------------------------------------- */
.home-02 .index-list { border-top: 1px solid var(--line); }

.home-02 .index-row {
  display: grid; grid-template-columns: 2.6rem 1fr 2.4rem; gap: 0.4rem 1rem; align-items: center;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease), color 0.4s, opacity 0.4s;
}
.home-02 .index-row__no { font-size: 0.85rem; font-weight: 500; color: var(--acc); }
.home-02 .index-row__title { min-width: 0; overflow-wrap: break-word; font-size: clamp(1.6rem, 6.2vw, 6.4rem); font-weight: 600; letter-spacing: -0.055em; line-height: 1; text-transform: uppercase; }
.home-02 .index-row__meta { grid-column: 2; color: var(--muted); font-size: 0.9rem; }
.home-02 .index-row__arrow { grid-column: 3; grid-row: 1; font-size: 1.4rem; transition: transform 0.5s var(--ease); }
.home-02 .index-row__thumb { grid-column: 2 / -1; aspect-ratio: 16 / 9; margin-top: 0.6rem; }

/* Floating image that follows the mouse (desktop mouse only, see home-02.js) */
.home-02 .work-preview {
  position: fixed; left: 0; top: 0; z-index: 900; width: 22rem; aspect-ratio: 4 / 5; margin: -14rem 0 0 3rem;
  overflow: hidden; pointer-events: none; opacity: 0; background: var(--night-2);
}
.home-02 .work-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .home-02 .work-preview { display: none; } }

@media (min-width: 992px) {
  .home-02 .index-row { grid-template-columns: 4rem 1fr 14rem 3rem; padding: 2.1rem 0; }
  .home-02 .index-row__meta { grid-column: 3; grid-row: 1; }
  .home-02 .index-row__arrow { grid-column: 4; }
  .home-02 .index-row__thumb { display: none; }   /* the floating preview replaces the thumbnail */
  .home-02 .index-row:hover { padding-left: 1.5rem; color: var(--champagne); }
  .home-02 .index-row:hover .index-row__arrow { transform: rotate(45deg); }
  .home-02 .index-list:hover .index-row:not(:hover) { opacity: 0.35; }
}



/* --------------------------------------------------------------------------
   CSS: Section 07, Services (sticky stacked colour cards)
   -------------------------------------------------------------------------- */
.home-02 .stack-card {
  position: sticky; top: calc(5.5rem + var(--i) * 0.9rem); display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(18rem, 56vh, 29rem); margin-bottom: 1.5rem; padding: clamp(1.3rem, 3vw, 2.6rem);
  border-radius: 0.75rem; background: var(--card-bg); color: var(--card-fg); transform-origin: top center;
}
.home-02 .stack-card__head { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.home-02 .stack-card__name { font-size: clamp(1.8rem, 6vw, 5.6rem); overflow-wrap: break-word; font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; text-transform: uppercase; margin: 0 0 0.8rem; }
.home-02 .stack-card__text { max-width: 28rem; margin: 0; opacity: 0.82; }
.home-02 .stack-card .plus { position: static; background: var(--card-fg); color: var(--card-bg); }
.home-02 .stack-card:hover .plus { background: var(--card-fg); }

.home-02 .stack-card--navy { --card-bg: var(--night);  --card-fg: var(--ivory); }
.home-02 .stack-card--blue { --card-bg: var(--blue);   --card-fg: #fff; }
.home-02 .stack-card--coral { --card-bg: var(--champagne); --card-fg: var(--night); }
.home-02 .stack-card--lilac { --card-bg: #d4d7ff;       --card-fg: var(--night); }
.home-02 .stack-card--pearl { --card-bg: #dedcd3;       --card-fg: var(--night); }
.home-02 .stack-card--ink { --card-bg: #05071c;       --card-fg: var(--ivory); }

@media (max-width: 575.98px) {
  .home-02 .stack-card { top: calc(4.8rem + var(--i) * 0.6rem); min-height: 17rem; }
}



/* --------------------------------------------------------------------------
   CSS: Section 08, Creative statement (blue, outlined type)
   -------------------------------------------------------------------------- */
.home-02 .statement--blue { background: radial-gradient(60rem 36rem at 10% 0%, rgba(255, 255, 255, 0.18), transparent 60%), var(--blue); }
.home-02 .statement--blue .statement__text { font-weight: 600; text-transform: uppercase; letter-spacing: -0.06em; line-height: 0.9; font-size: clamp(2.2rem, 7.4vw, 8rem); }
.home-02 .statement--blue .statement__line:not(.statement__line--accent) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.home-02 .statement--blue .statement__line--accent { color: var(--champagne); }

@media (max-width: 575.98px) {
  .home-02 .statement--blue .statement__text { font-size: 12vw; }
  .home-02 .statement--blue .statement__line { white-space: normal; }
}



/* --------------------------------------------------------------------------
   CSS: Section 09, Process (giant outlined numbers)
   -------------------------------------------------------------------------- */
.home-02 .process { padding-left: 2rem; }
.home-02 .process__track { left: 0; }
.home-02 .process__step { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem; align-items: start; }
.home-02 .process__no {
  position: static; width: auto; height: auto; border: 0; background: none; display: block;
  font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px var(--fg);
}
.home-02 .process__step.is-active .process__no { background: none; border: 0; color: var(--champagne); -webkit-text-stroke: 0; }
.home-02 .process__step .h3-title { text-transform: uppercase; font-weight: 600; letter-spacing: -0.04em; }

@media (min-width: 768px) {
  .home-02 .process__step { grid-template-columns: 9rem 1fr; }
}



/* --------------------------------------------------------------------------
   CSS: Section 10, Team (name printed over the photo)
   -------------------------------------------------------------------------- */
.home-02 .team02 .member a { position: relative; display: block; }
.home-02 .team02 .member .media img { filter: none; }
.home-02 .team02 .member .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 17, 57, 0.88)); }
.home-02 .team02 .member__name { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 2.5rem; z-index: 2; margin: 0; color: #fff; text-transform: uppercase; font-weight: 600; letter-spacing: -0.04em; }
.home-02 .team02 .member__role { position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2; color: rgba(255, 255, 255, 0.85); }
.home-02 .team02 .plus { top: 1rem; bottom: auto; z-index: 3; }



/* --------------------------------------------------------------------------
   CSS: Section 11, Testimonials (coral)
   -------------------------------------------------------------------------- */
.home-02 .section--coral .quote p { font-weight: 500; letter-spacing: -0.05em; }
.home-02 .section--coral .quote strong { color: var(--fg); }
.home-02 .section--coral .quote-controls button:hover { background: var(--night); color: var(--ivory); border-color: var(--night); }



/* --------------------------------------------------------------------------
   CSS: Section 12, Studio facts
   -------------------------------------------------------------------------- */
.home-02 .facts .fact__num { font-weight: 600; color: var(--champagne); letter-spacing: -0.07em; }



/* --------------------------------------------------------------------------
   CSS: Section 13, Journal (one big story + two compact rows)
   -------------------------------------------------------------------------- */
.home-02 .post--feature .media { aspect-ratio: 16 / 11; }
.home-02 .post--feature .h3-title { font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 600; letter-spacing: -0.05em; text-transform: uppercase; }

.home-02 .post-side { display: flex; flex-direction: column; gap: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.home-02 .post--row a { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.2rem; align-items: center; }
.home-02 .post--row .media { aspect-ratio: 1; }
.home-02 .post--row .post__meta { margin-top: 0; }
.home-02 .post--row + .post--row { padding-top: 1.8rem; border-top: 1px solid var(--line); }



/* --------------------------------------------------------------------------
   CSS: Section 14, Contact (blue)
   -------------------------------------------------------------------------- */
.home-02 .contact--blue {
  --bg: var(--blue); --fg: #fff; --on-fg: var(--blue); --muted: rgba(255, 255, 255, 0.8);
  --line: rgba(255, 255, 255, 0.4); --acc: var(--champagne);
}
.home-02 .contact--blue .display-title--sm { font-weight: 600; text-transform: uppercase; letter-spacing: -0.055em; line-height: 0.92; font-size: clamp(2.3rem, 5.4vw, 5.4rem); }
.home-02 .contact--blue .btn-pill--primary { background: var(--champagne); color: var(--night); }
.home-02 .contact--blue .btn-pill--primary:hover { background: #fff; color: var(--blue); }
.home-02 .contact--blue .contact__mail:hover { color: var(--champagne); }



/* --------------------------------------------------------------------------
   CSS: Section 15, Footer
   -------------------------------------------------------------------------- */
.home-02 .site-footer { background: radial-gradient(70rem 30rem at 50% 105%, rgba(255, 106, 61, 0.28), transparent 65%), var(--night); }
.home-02 .footer__word { font-weight: 600; text-transform: uppercase; letter-spacing: -0.06em; font-size: clamp(5rem, 21vw, 24rem); color: var(--champagne); }



/* ==========================================================================
   HOMEPAGE 03 STYLES
   Everything below only applies when <body class="home-03"> is used.
   Direction: light mist + deep forest green + mint, centered light type,
   lots of white space and calm, gallery-like layouts.
   ========================================================================== */


/* --------------------------------------------------------------------------
   CSS: Colour tokens for Homepage 03
   Note: --champagne and --bronze are the shared accent variable names.
   On this page --champagne holds mint (accent on dark) and --bronze holds
   forest green (accent on light).
   -------------------------------------------------------------------------- */
.home-03 {
  --night: #0d1a13;          /* green-black ink */
  --night-2: #16261d;        /* raised dark surface */
  --ivory: #eef1ec;          /* mist, the light background */
  --forest: #123a2b;         /* deep forest green blocks */
  --champagne: #a8e6c0;      /* mint, accent on dark */
  --bronze: #1c6446;         /* forest, accent on light */

  --glow: rgba(168, 230, 192, 0.16);
  --glow-2: rgba(28, 100, 70, 0.22);
}

.home-03 .section--light {
  --muted: #4b5a52; --line: rgba(13, 26, 19, 0.2);
  --glow: rgba(168, 230, 192, 0.5); --glow-2: rgba(28, 100, 70, 0.07);
}

/* Mint section: used for the testimonials */
.home-03 .section--mint {
  --bg: var(--champagne); --fg: var(--night); --on-fg: var(--ivory);
  --muted: rgba(13, 26, 19, 0.72); --line: rgba(13, 26, 19, 0.28); --acc: var(--night);
  --glow: rgba(255, 255, 255, 0.4); --glow-2: rgba(28, 100, 70, 0.12);
}



/* --------------------------------------------------------------------------
   CSS: Preloader and header (dark text, because the hero is light)
   -------------------------------------------------------------------------- */
.home-03 .preloader { background: var(--forest); }
.home-03 .preloader__word { font-weight: 300; }
.home-03 .preloader__count { font-size: clamp(5rem, 16vw, 12rem); font-weight: 300; line-height: 1; letter-spacing: -0.06em; color: var(--champagne); }

.home-03 .site-header { color: var(--night); }
.home-03 .site-header::before { background: rgba(238, 241, 236, 0.86); border-bottom-color: rgba(13, 26, 19, 0.1); }
.home-03 .brand { color: var(--night); font-weight: 500; }
.home-03 .brand:hover { color: var(--bronze); }
.home-03 .menu-toggle { color: var(--night); }

/* The mobile panel is dark, so everything inside it must use light text */
@media (max-width: 991.98px) {
  .home-03 .nav-panel { color: var(--ivory); }
}

/* When the dark mobile panel is open the brand and button turn light again */
.home-03.menu-open .brand, .home-03.menu-open .menu-toggle { color: var(--ivory); }

@media (min-width: 992px) {
  .home-03 .nav-link, .home-03 .drop-toggle { color: var(--night); }
  .home-03 .nav-link:hover, .home-03 .nav-link.is-active { color: var(--bronze); }
  .home-03 .site-header .btn-pill--accent { background: var(--forest); color: var(--ivory); }
  .home-03 .site-header .btn-pill--accent:hover { background: var(--champagne); color: var(--night); }
}



/* --------------------------------------------------------------------------
   CSS: Section 03, Hero (centered headline, three image strip)
   -------------------------------------------------------------------------- */
.home-03 .hero--mist {
  display: block; padding: 9rem 0 2rem; color: var(--fg); text-align: center;
  background: radial-gradient(60rem 36rem at 50% -10%, var(--glow), transparent 65%), var(--bg);
}
.home-03 .hero--mist .hero__meta { color: var(--acc); text-shadow: none; }
.home-03 .hero--mist .display-title { font-weight: 300; font-size: clamp(2.8rem, 7.6vw, 8.2rem); line-height: 0.98; letter-spacing: -0.055em; max-width: 15ch; margin: 0 auto 1.8rem; }
.home-03 .hero--mist .hero__lead { color: var(--muted); margin: 0 auto 1.8rem; text-align: center; }
.home-03 .hero--mist .btn-pill--accent { background: var(--forest); color: var(--ivory); }
.home-03 .hero--mist .btn-pill--accent:hover { background: var(--champagne); color: var(--night); }
.home-03 .hero--mist .btn-pill--line { border-color: var(--fg); color: var(--fg); }
.home-03 .hero--mist .btn-pill--line:hover { background: var(--fg); color: var(--on-fg); }
.home-03 .hero--mist .hero__foot { border-top-color: var(--line); text-align: left; }
.home-03 .hero--mist .scroll-hint i { background: var(--fg); }

/* Three images at different heights. On phones the middle one comes first and is full width. */
.home-03 .strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; margin-top: 3.5rem; }
.home-03 .strip__col--b { grid-column: 1 / -1; order: -1; }
.home-03 .strip__col--a .media { aspect-ratio: 1 / 1.1; }
.home-03 .strip__col--b .media { aspect-ratio: 4 / 3; }
.home-03 .strip__col--c .media { aspect-ratio: 1 / 1; }

@media (min-width: 992px) {
  .home-03 .strip { grid-template-columns: 1fr 1.6fr 1fr; gap: clamp(1rem, 2.5vw, 2.5rem); margin-top: 4.5rem; }
  .home-03 .strip__col--b { grid-column: auto; order: 0; }
  .home-03 .strip__col--b .media { aspect-ratio: 4 / 5; }
  .home-03 .strip__col--a .media { aspect-ratio: 4 / 5; }
}



/* --------------------------------------------------------------------------
   CSS: Section 04, Client marquee (forest band)
   -------------------------------------------------------------------------- */
.home-03 .trusted--forest { background: var(--forest); border: 0; padding: 2.2rem 0 2.4rem; }
.home-03 .trusted--forest .trusted__label { color: rgba(238, 241, 236, 0.65); }
.home-03 .trusted--forest .marquee__group span { padding-right: 0; font-weight: 300; color: rgba(238, 241, 236, 0.6); }
.home-03 .trusted--forest .marquee__group span:hover { color: var(--champagne); }
.home-03 .trusted--forest .marquee__group span::after { content: "/"; margin: 0 clamp(1.4rem, 3.5vw, 3rem); color: var(--champagne); }



/* --------------------------------------------------------------------------
   CSS: Section 05, About (pictures set inside the sentence)
   -------------------------------------------------------------------------- */
.home-03 .about03__statement { font-weight: 300; font-size: clamp(2.2rem, 5.6vw, 5.6rem); line-height: 1.18; letter-spacing: -0.045em; margin: 0 0 3.5rem; }
.home-03 .inline-img { display: inline-block; width: 1.9em; height: 0.78em; margin: 0.2em 0.1em 0; border-radius: 999px; vertical-align: top; }   /* top aligned like the word wrappers */
.home-03 .about03__foot .lead-copy { margin: 0; }



/* --------------------------------------------------------------------------
   CSS: Section 06, Selected work (full width panels)
   -------------------------------------------------------------------------- */
.home-03 .panel { margin-bottom: 1.5rem; }
.home-03 .panel__link { position: relative; display: block; color: #fff; }
.home-03 .panel__media { aspect-ratio: 4 / 5; max-height: 86vh; }
.home-03 .panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 26, 19, 0.35) 0%, transparent 35%, rgba(13, 26, 19, 0.75) 100%); }

.home-03 .panel__top { position: absolute; top: 1.2rem; left: 1.4rem; right: 1.4rem; display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 500; z-index: 2; }
.home-03 .panel__title { position: absolute; left: 1.4rem; bottom: 1.2rem; right: 5rem; z-index: 2; margin: 0; font-weight: 300; font-size: clamp(2.4rem, 7.4vw, 7.6rem); line-height: 1; letter-spacing: -0.055em; }
.home-03 .panel .plus { z-index: 3; right: 1.2rem; bottom: 1.4rem; }

@media (min-width: 768px) {
  .home-03 .panel__media { aspect-ratio: 16 / 9; }
  .home-03 .panel__top { top: 1.8rem; left: 2.2rem; right: 2.2rem; }
  .home-03 .panel__title { left: 2.2rem; bottom: 1.8rem; }
  .home-03 .panel .plus { right: 2rem; bottom: 2rem; width: 3.6rem; height: 3.6rem; }
}



/* --------------------------------------------------------------------------
   CSS: Section 07, Services (grid of tiles)
   -------------------------------------------------------------------------- */
.home-03 .tiles { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.home-03 .tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 17rem;
  padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.home-03 .tile__no { font-size: 0.85rem; font-weight: 500; color: var(--acc); transition: color 0.5s; }
.home-03 .tile__name { display: block; font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 300; letter-spacing: -0.045em; line-height: 1.1; margin-bottom: 0.6rem; }
.home-03 .tile__text { display: block; color: var(--muted); max-width: 22rem; transition: color 0.5s; }
.home-03 .tile .plus { top: 1.4rem; right: 1.4rem; bottom: auto; background: var(--fg); color: var(--on-fg); }

.home-03 .tile:hover { background: var(--forest); color: var(--ivory); }
.home-03 .tile:hover .tile__no { color: var(--champagne); }
.home-03 .tile:hover .tile__text { color: rgba(238, 241, 236, 0.78); }
.home-03 .tile:hover .plus { background: var(--champagne); color: var(--night); }

@media (min-width: 640px) { .home-03 .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .home-03 .tiles { grid-template-columns: repeat(3, 1fr); } .home-03 .tile { min-height: 21rem; padding: 2rem; } }



/* --------------------------------------------------------------------------
   CSS: Section 08, Creative statement (words light up while scrolling)
   -------------------------------------------------------------------------- */
.home-03 .statement--forest { background: radial-gradient(60rem 36rem at 50% 0%, rgba(168, 230, 192, 0.22), transparent 65%), var(--forest); }
.home-03 .statement__text--fill {
  max-width: 22ch; margin-inline: auto; padding-inline: var(--gutter);
  font-weight: 300; font-size: clamp(2.4rem, 6.4vw, 6.8rem); line-height: 1.08; letter-spacing: -0.05em;
}
.home-03 .statement__text--fill .accent { color: var(--champagne); }



/* --------------------------------------------------------------------------
   CSS: Section 09, Process (horizontal timeline on desktop)
   Below 992px it keeps the shared vertical layout.
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .home-03 .process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; padding: 2.4rem 0 0; }
  .home-03 .process__track { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .home-03 .process__fill { transform-origin: left; }
  .home-03 .process__step { padding: 0; }
  .home-03 .process__no { position: static; left: auto; margin-bottom: 1.4rem; }
  .home-03 .process__step p { max-width: none; }
}



/* --------------------------------------------------------------------------
   CSS: Section 10, Team (columns that open on hover)
   -------------------------------------------------------------------------- */
.home-03 .crew { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.home-03 .crew__item a { position: relative; display: block; height: 100%; }
.home-03 .crew__item .media { height: 100%; aspect-ratio: 3 / 4; }
.home-03 .crew__item .media img { filter: grayscale(1); transition: filter 0.8s var(--ease), transform 1s var(--ease); }
.home-03 .crew__item a:hover .media img { filter: grayscale(0); transform: scale(1.05); }
.home-03 .crew__item .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13, 26, 19, 0.85)); }
.home-03 .crew__info { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2; color: #fff; }
.home-03 .crew__info h3 { margin: 0; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: -0.03em; }
.home-03 .crew__info p { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
.home-03 .crew__item .plus { top: 1rem; right: 1rem; bottom: auto; z-index: 3; }

/* Desktop mouse: one row, the hovered column grows and the others shrink */
@media (min-width: 992px) {
  .home-03 .crew { display: flex; gap: 0.8rem; height: min(36rem, 72vh); }
  .home-03 .crew__item { flex: 1; min-width: 0; overflow: hidden; transition: flex 0.9s var(--ease); }
  .home-03 .crew__info h3, .home-03 .crew__info p { overflow: hidden; text-overflow: ellipsis; }
  .home-03 .crew__item .media { aspect-ratio: auto; }
  .home-03 .crew__info { white-space: nowrap; }
}
@media (min-width: 992px) and (hover: hover) {
  .home-03 .crew:hover .crew__item { flex: 0.8; }
  .home-03 .crew .crew__item:hover { flex: 2.6; }
}



/* --------------------------------------------------------------------------
   CSS: Section 11, Testimonials (mint, centered)
   -------------------------------------------------------------------------- */
.home-03 .quotes { margin-inline: auto; text-align: center; }
.home-03 .quotes::before { content: "\201C"; display: block; font-size: 7rem; line-height: 0.7; font-weight: 300; color: var(--night); }
.home-03 .quote p { font-weight: 300; font-size: clamp(2rem, 4.8vw, 4.6rem); }
.home-03 .section--mint .quote strong { color: var(--fg); }
.home-03 .quote-controls { justify-content: center; }
.home-03 .section--mint .quote-controls button:hover { background: var(--night); color: var(--ivory); border-color: var(--night); }



/* --------------------------------------------------------------------------
   CSS: Section 12, Studio facts
   -------------------------------------------------------------------------- */
.home-03 .fact { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.home-03 .fact__num { color: var(--bronze); }
.home-03 .fact > span:last-child { border-top: 0; padding-top: 0; }



/* --------------------------------------------------------------------------
   CSS: Section 13, Journal (editorial list)
   -------------------------------------------------------------------------- */
.home-03 .journal-list { border-top: 1px solid var(--line); }
.home-03 .post-row a {
  display: grid; grid-template-columns: 1fr 4.5rem; gap: 0.6rem 1rem; align-items: center;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease), color 0.4s;
}
.home-03 .post-row__meta { grid-column: 1 / -1; font-size: 0.85rem; font-weight: 500; color: var(--acc); line-height: 1.4; }
.home-03 .post-row__title { font-size: clamp(1.5rem, 3.2vw, 3rem); font-weight: 300; letter-spacing: -0.045em; line-height: 1.1; margin: 0; }
.home-03 .post-row__thumb { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
.home-03 .post-row .plus { display: none; }

@media (min-width: 992px) {
  .home-03 .post-row a { grid-template-columns: 8rem 1fr 8.5rem 2.6rem; gap: 2rem; padding: 2rem 0; }
  .home-03 .post-row__meta { grid-column: auto; }
  .home-03 .post-row__thumb { grid-column: 3; grid-row: 1; aspect-ratio: 4 / 3; }
  .home-03 .post-row .plus { display: grid; position: static; }
  .home-03 .post-row a:hover { padding-left: 1.5rem; color: var(--champagne); }
}



/* --------------------------------------------------------------------------
   CSS: Section 14, Contact (big centered headline, round button)
   -------------------------------------------------------------------------- */
.home-03 .contact .display-title { text-align: center; font-weight: 300; font-size: clamp(2.8rem, 8vw, 8.4rem); line-height: 0.98; letter-spacing: -0.055em; max-width: 14ch; margin: 0 auto; }
.home-03 .contact03__body { margin-top: 4rem; }
.home-03 .contact__form .btn-pill { width: 9rem; height: 9rem; border-radius: 50%; padding: 0; justify-self: end; background: var(--forest); color: var(--ivory); }
.home-03 .contact__form .btn-pill:hover { background: var(--champagne); color: var(--night); }



/* --------------------------------------------------------------------------
   CSS: Section 15, Footer
   -------------------------------------------------------------------------- */
.home-03 .site-footer { background: radial-gradient(70rem 30rem at 50% 105%, rgba(168, 230, 192, 0.24), transparent 65%), var(--night); }
.home-03 .footer__word { color: var(--champagne); }
