/* ==========================================================================
   TVASTRA DESIGN LLP — v2
   Editorial, material-driven architecture portfolio.
   Palette drawn from the studio's own brick + concrete work:
   clay/terracotta, charcoal ink, warm paper, concrete stone.
   ========================================================================== */

:root {
  /* Tvastra — earthy palette: terracotta + charcoal + navy (beige/olive support) */
  /* Aligned to the Tvastra logo — brand blue on white, navy + charcoal panels */
  --clay:      #00618e;   /* brand blue — primary accent + fills */
  --clay-deep: #004b6e;
  --clay-soft: #4a90b3;   /* lighter blue — accents on dark panels / tiles */
  --navy:      #1f3a5f;   /* deep navy-blue — footer */
  --navy-deep: #172c48;
  --olive:     #4f5733;   /* support */
  --beige:     #cdb79a;   /* support */
  --ink:       #1b2a32;   /* cool near-black — primary text */
  --charcoal:  #24333b;
  --paper:     #ffffff;   /* white ground */
  --paper-2:   #f1f5f7;   /* cool light band */
  --stone:     #6d7a82;   /* cool grey */
  --stone-dk:  #46535b;   /* muted text */
  --line:      #e3e8ec;   /* light border */
  --line-dk:   #2a3a43;   /* lines on dark bands */
  --bg-deep:   #14212e;   /* deep blue-charcoal — dark bands & slider */
  --white:     #ffffff;

  --max: 1440px;
  --gutter: clamp(22px, 5.2vw, 88px);

  /* Brand font — Quicksand, matched to the logo's "Design LLP" lettering.
     Both roles use it so the whole site speaks in the brand's voice. */
  --serif: "Quicksand", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --sans:  "Quicksand", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.005em;
  font-optical-sizing: auto;
}

p { margin: 0 0 1.1em; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 940px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--clay); display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.display { font-size: clamp(40px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.02em; }
.h-lg { font-size: clamp(30px, 4.6vw, 62px); }
.h-md { font-size: clamp(25px, 3.2vw, 42px); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--stone-dk); font-weight: 350; }
.muted { color: var(--stone-dk); }
.serif-em { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 100px;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn { white-space: nowrap; }
.btn--clay { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); position: relative; padding-bottom: 4px;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header .nav { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; display: block; }
/* over a dark hero the header is transparent -> show the white logo;
   when solid (scrolled) or on a light page -> show the colour logo */
.brand .logo-color { display: none; }
.brand .logo-white { display: block; }
.site-header.solid .brand .logo-color,
.site-header.on-light .brand .logo-color { display: block; }
.site-header.solid .brand .logo-white,
.site-header.on-light .brand .logo-white { display: none; }
@media (max-width: 880px) { .brand img { height: 34px; } }

.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; opacity: .82; position: relative; padding: 4px 0; transition: opacity .25s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; }

/* Scrolled / solid state */
.site-header.solid { background: var(--paper); border-bottom-color: var(--line); backdrop-filter: saturate(140%) blur(6px); }
.site-header.solid .brand { color: var(--ink); }
.site-header.solid .nav-links a { color: var(--ink); }
.site-header.solid .nav-toggle:not([aria-expanded="true"]) span { background: var(--ink); }

/* Pages without a dark hero start solid-on-light */
.site-header.on-light .brand { color: var(--ink); }
.site-header.on-light .nav-links a { color: var(--ink); }
.site-header.on-light .nav-toggle:not([aria-expanded="true"]) span { background: var(--ink); }

/* On the home title card, hide the small header logo until you scroll past it */
.brand { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.site-header.on-home:not(.solid) .brand { opacity: 0; pointer-events: none; transform: translateY(-6px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin: -10px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease); }
/* Open state: turn the bars into a clearly-visible white ✕ (works on any page) */
.nav-toggle[aria-expanded="true"] span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .site-header .nav { height: 64px; }
  .nav-toggle { display: block; z-index: 3; position: relative; }
  .nav-links {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center;
    gap: 6px; transform: translateY(-100%); transition: transform .45s var(--ease); z-index: 2;
    padding: 0 24px; min-height: 100svh;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: #fff !important; opacity: .92; font-size: 24px; font-family: var(--serif); text-transform: none; letter-spacing: 0; padding: 15px; }
  .nav-links a.active::after { display: none; }
  /* Closed hamburger follows the header colour; open it's always white (rule above) */
  .site-header.solid .nav-toggle:not([aria-expanded="true"]) span,
  .site-header.on-light .nav-toggle:not([aria-expanded="true"]) span { background: var(--ink); }
}

/* ==========================================================================
   Title card (home intro cover)
   ========================================================================== */
.title-card {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--clay); color: #fff; overflow: hidden;
}
.title-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(130% 120% at 50% 32%, rgba(255,255,255,.10), rgba(0,0,0,.10) 70%);
}
.title-card::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: linear-gradient(180deg, rgba(0,0,0,.10), transparent 30%, transparent 70%, rgba(0,0,0,.18));
}
.title-card__inner { position: relative; z-index: 1; padding: 0 24px; }
.title-card__logo { width: min(560px, 78vw); height: auto; margin: 0 auto; }
.title-card__tag {
  margin: 30px 0 0; font-size: clamp(11px, 1.5vw, 15px);
  letter-spacing: 0.32em; text-transform: uppercase; color: #d3e8f4; font-weight: 500;
}
.title-card__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #fff; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; opacity: .9;
}
.title-card__scroll::after { content: ""; width: 1px; height: 40px; background: currentColor; opacity: .55; animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100%{transform:scaleY(.5);transform-origin:top;opacity:.3} 50%{transform:scaleY(1);opacity:.7} }
@media (prefers-reduced-motion: reduce){ .title-card__scroll::after{ animation: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--bg-deep); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: blur(3px); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1.04); } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,13,.42) 0%, rgba(20,17,13,.05) 34%, rgba(20,17,13,.66) 100%); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 140px; width: 100%; }
.hero h1 { font-size: clamp(46px, 9vw, 132px); line-height: 0.92; letter-spacing: -0.025em; max-width: 16ch; font-weight: 400; }
.hero .lead { color: #eef3f6; max-width: 46ch; margin-top: 26px; }
.hero .eyebrow { color: #9ecbe4; }
.hero .eyebrow::before { background: #9ecbe4; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.hero__scroll { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: .8; display: flex; align-items: center; gap: 12px; }
.hero__scroll::before { content: ""; width: 46px; height: 1px; background: currentColor; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(72px, 11vw, 168px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .muted { color: #aebfc9; }
.section--ink .eyebrow { color: var(--clay-soft); }
.section--ink .eyebrow::before { background: var(--clay-soft); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.grid-2.top { align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 40px; } }

.index-num { font-family: var(--serif); font-size: 14px; color: var(--clay); letter-spacing: 0.05em; }

/* Intro statement */
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.15; letter-spacing: -0.015em; max-width: 20ch; }
.statement em { font-style: italic; color: var(--clay); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); padding-top: 48px; margin-top: clamp(48px,7vw,80px); }
.section--ink .stats { border-color: var(--line-dk); }
.stat .n { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 62px); line-height: 1; color: var(--clay); font-weight: 350; }
.stat .l { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-dk); margin-top: 12px; }
.section--ink .stat .l { color: #aebfc9; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; gap: 34px; } }

/* ==========================================================================
   Featured project — big
   ========================================================================== */
.feature { position: relative; }
.feature__img { overflow: hidden; border-radius: 2px; }
.feature__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 1.1s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.04); }
.feature__meta { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 22px; align-items: baseline; }
.feature__title { font-size: clamp(28px, 3.4vw, 46px); }
.tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }

/* Mosaic gallery */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.mosaic .m-tall { grid-column: span 7; aspect-ratio: 4/3; }
.mosaic .m-side { grid-column: span 5; aspect-ratio: 4/3; }
.mosaic .m-third { grid-column: span 4; aspect-ratio: 1/1; }
@media (max-width: 720px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .m-tall, .mosaic .m-side, .mosaic .m-third { grid-column: span 1; aspect-ratio: 1/1; }
  .mosaic .m-tall { grid-column: span 2; aspect-ratio: 4/3; }
}

/* ==========================================================================
   Project grid (index cards)
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(34px,5vw,54px); }
.filter {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 22px; border: 1px solid var(--line); background: transparent; color: var(--stone-dk);
  border-radius: 100px; cursor: pointer; transition: .25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 54px) clamp(20px,3vw,44px); }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { display: block; }
.pcard__media { overflow: hidden; border-radius: 2px; aspect-ratio: 3/2; background: var(--paper-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 18px; }
.pcard__title { font-family: var(--serif); font-size: clamp(23px, 2.4vw, 31px); }
.pcard__cat { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); white-space: nowrap; }
.pcard__meta { font-size: 14px; color: var(--stone-dk); margin-top: 4px; }
/* text-only card (project without photos yet) */
.pcard--soon .pcard__media { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background:
  repeating-linear-gradient(45deg, var(--paper) 0 10px, var(--paper-2) 10px 20px); }
.pcard--soon .pcard__media span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }

/* ==========================================================================
   Disciplines / services
   ========================================================================== */
.disc { border-top: 1px solid var(--line); }
.disc__row { display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: clamp(20px,4vw,60px); align-items: start; padding-block: clamp(34px, 4.5vw, 60px); border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.disc__row:hover { padding-left: 10px; }
.disc__n { font-family: var(--serif); font-size: 20px; color: var(--clay); }
.disc__row h3 { font-size: clamp(26px, 3vw, 40px); }
.disc__row .muted { margin: 0; }
.disc__list { list-style: none; padding: 0; margin: 18px 0 0; }
.disc__list li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15.5px; color: var(--stone-dk); }
.disc__list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 9px; height: 1px; background: var(--clay); }
@media (max-width: 820px) { .disc__row { grid-template-columns: 1fr; gap: 16px; } .disc__n { font-size: 16px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,40px); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }
.step__n { font-family: var(--serif); font-size: 40px; color: var(--clay); opacity: .5; }
.step h4 { font-family: var(--serif); font-size: 22px; margin: 12px 0 8px; font-weight: 380; }
.step p { font-size: 15px; color: var(--stone-dk); margin: 0; }

/* ==========================================================================
   Project detail
   ========================================================================== */
.pd-hero { height: 92svh; position: relative; overflow: hidden; background: var(--bg-deep); }
.pd-hero img { width: 100%; height: 100%; object-fit: cover; }
/* Individual project title cards: photographic hero, kept black & white (blur is applied only on the left, behind the text) */
.pd-hero--tall:not(.fmind-hero):not(.pd-hero--sketch) img { filter: grayscale(1); }
/* Architecture project title cards: zoomed in and softly blurred behind the title */
.pd-hero--zoom img { transform: scale(1.14); filter: blur(3px); }
/* Sketch title card (Vritta): soft-blurred concept drawing behind a scrim so the title stays legible */
.pd-hero--sketch img { filter: none; }
.pd-hero--sketch::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,18,26,.66) 0%, rgba(10,18,26,.34) 32%, rgba(10,18,26,.34) 60%, rgba(10,18,26,.8) 100%); }
.pd-hero--sketch .pd-hero__cap { z-index: 3; }
.pd-hero__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--gutter); background: linear-gradient(0deg, rgba(20,17,13,.72), transparent); color: #fff; }
.pd-hero__cap h1 { font-size: clamp(38px, 6vw, 84px); font-weight: 400; }
.pd-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-block: 1px solid var(--line); padding-block: 40px; }
.pd-meta .k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
.pd-meta .v { font-family: var(--serif); font-size: clamp(19px,2vw,24px); }
@media (max-width: 680px) { .pd-meta { grid-template-columns: 1fr 1fr; gap: 28px; } }
.pd-credits { margin-top: clamp(20px, 2.4vw, 30px); font-size: 13px; letter-spacing: .02em; color: var(--stone); line-height: 1.7; }
.pd-credits b { color: var(--ink); font-weight: 500; }
.pd-figure { margin: 0; }
.pd-figure img { width: 100%; border-radius: 2px; }
.pd-figure figcaption { font-size: 13px; color: var(--stone); margin-top: 12px; letter-spacing: 0.02em; }
.pd-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px,1.6vw,22px); }
@media (max-width: 640px) { .pd-duo { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { background: var(--clay); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(30px, 5vw, 66px); max-width: 18ch; margin: 0 auto 22px; font-weight: 400; }
.cta p { color: #d5dee4; max-width: 52ch; margin: 0 auto 34px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 90px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.cinfo { margin-bottom: 30px; }
.cinfo .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.cinfo .v { font-size: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone-dk); margin: 0 0 8px; }
input, textarea, select {
  width: 100%; padding: 15px 16px; font-family: var(--sans); font-size: 15px;
  border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink);
  margin-bottom: 22px; transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--clay); }
.form-status { font-size: 14px; color: var(--clay); min-height: 1.2em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #aebfc9; padding-block: clamp(56px, 8vw, 96px) 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 50px; width: auto; display: block; }
.footer-brand p { margin-top: 22px; max-width: 34ch; font-size: 15px; }
.footer-tag { margin-top: 18px !important; font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.8vw, 21px); color: var(--clay-soft); letter-spacing: .01em; }
.footer-tag + p { margin-top: 12px; }
.site-footer h5 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin: 0 0 20px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: #aebfc9; font-size: 15px; transition: color .2s; }
.site-footer a:hover { color: var(--clay-soft); }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-dk); border-radius: 100px; display: grid; place-items: center; transition: .25s var(--ease); }
.socials a:hover { background: var(--clay); border-color: var(--clay); }
.socials svg { width: 17px; height: 17px; fill: currentColor; color: #aebfc9; }
.socials a:hover svg { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dk); margin-top: 56px; padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--stone); letter-spacing: 0.02em; }

/* ==========================================================================
   Reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: scale(1.04); }
  * { scroll-behavior: auto; }
}

/* ==========================================================================
   Immersive project tiles (name overlaid on the photo)
   ========================================================================== */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 720px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #000; border-radius: 2px; }
.tile__img { position: absolute; inset: 0; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,12,.30) 0%, rgba(8,10,12,.30) 45%, rgba(8,10,12,.62) 100%); transition: background .45s var(--ease); }
.tile:hover::after { background: rgba(8,10,12,.55); }
.tile__cap { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(22px, 3vw, 40px); color: #fff; }
.tile__cat { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 12px; }
.tile__name { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.05; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.tile__meta { font-size: 14px; color: #d6dde1; margin-top: 10px; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.tile:hover .tile__meta { opacity: 1; transform: none; }

/* ==========================================================================
   "What we do" — editorial discipline slider (dark)
   ========================================================================== */
.wwd { position: relative; background: #14212e; color: #fff; overflow: hidden; }
.wwd__stage { position: relative; overflow: hidden; height: min(92vh, 900px); min-height: 600px; }
.wwd__track { display: flex; height: 100%; transition: transform .85s cubic-bezier(.6,.05,.15,1); }
.wwd__slide { position: relative; min-width: 100%; height: 100%; }

.wwd__media { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%); width: min(40%, 440px); aspect-ratio: 3/4; overflow: hidden; z-index: 1; box-shadow: 0 40px 90px -34px rgba(0,0,0,.7); }
.wwd__media img { width: 100%; height: 100%; object-fit: cover; }
.wwd__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,12,.38), rgba(8,10,12,.12) 45%, rgba(8,10,12,.35)); }

.wwd__word { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-52%); margin: 0; text-align: center; z-index: 2;
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(52px, 10vw, 152px); line-height: .84;
  letter-spacing: .015em; text-transform: uppercase; color: #fff; pointer-events: none; text-shadow: 0 6px 60px rgba(0,0,0,.4); }

.wwd__tags { position: absolute; left: clamp(20px, 7vw, 130px); bottom: 15%; z-index: 3; list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #c9d0d5; }
.wwd__tags li { position: relative; padding-left: 20px; }
.wwd__tags li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 1px; background: var(--clay-soft); }

.wwd__meta { position: absolute; left: clamp(20px, 7vw, 130px); top: clamp(100px, 22%, 230px); z-index: 5; }
.wwd__label { display: block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--clay-soft); }
.wwd__num { margin-top: 12px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; display: flex; align-items: baseline; gap: 8px; }
.wwd__num b { font-weight: 600; }
.wwd__num span { font-size: 15px; color: #8b949a; }

.wwd__view { position: absolute; right: clamp(20px, 7vw, 130px); bottom: 13%; z-index: 5; display: inline-flex; align-items: center; gap: 16px; color: #fff; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
.wwd__circle { width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; transition: background .3s var(--ease), border-color .3s var(--ease); }
.wwd__circle svg { width: 20px; height: 20px; }
.wwd__view:hover .wwd__circle { background: var(--clay); border-color: var(--clay); }

.wwd__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.03); color: #fff; cursor: pointer; display: grid; place-items: center; transition: .25s var(--ease); }
.wwd__arrow svg { width: 22px; height: 22px; }
.wwd__arrow:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.wwd__prev { left: clamp(10px, 3vw, 40px); }
.wwd__next { right: clamp(10px, 3vw, 40px); }

@media (max-width: 760px) {
  .wwd__stage { height: min(88vh, 720px); min-height: 500px; }
  .wwd__media { width: 66%; transform: translate(-50%, -48%); }
  .wwd__word { font-size: clamp(40px, 15vw, 96px); }
  .wwd__meta { top: 92px; left: 20px; }
  .wwd__tags { left: 20px; bottom: 11%; font-size: 11px; }
  .wwd__view { right: 20px; bottom: 9%; }
  .wwd__view span:first-child { display: none; }
  .wwd__arrow { width: 44px; height: 44px; }
}

/* ==========================================================================
   Palette placements — aligned to the Tvastra logo (blue)
   ========================================================================== */
.title-card { background: var(--clay); }                 /* brand-blue cover */
.title-card__tag { color: #cfe6f2; }                     /* light blue tagline */
.site-footer { background: var(--navy); }                /* deep navy-blue footer */
.hero .eyebrow { color: #bfe0f2; }                       /* light blue on hero */
.hero .eyebrow::before { background: #bfe0f2; }
.wwd { background: #14212e; }                            /* deep blue-charcoal slider */

/* Dark bands: deep blue-charcoal with light text */
.section--ink { background: var(--bg-deep); color: #eef3f6; }
.section--ink .muted, .section--ink .stat .l { color: #aebfc9; }
.section--ink .stats { border-color: rgba(255,255,255,.14); }

/* ==========================================================================
   Recognition list + empty-discipline panel
   ========================================================================== */
.rec-list { border-top: 1px solid var(--line); }
.rec-item { display: grid; grid-template-columns: 150px 1fr auto; gap: clamp(20px, 4vw, 50px); align-items: start; padding-block: clamp(30px, 4vw, 50px); border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.rec-item:hover { padding-left: 8px; }
.rec-item__year { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(40px, 5vw, 64px); color: var(--clay); line-height: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rec-item__seal { width: clamp(72px, 8vw, 100px); height: auto; }
.rec-item__seal--adc { width: clamp(76px, 8.5vw, 108px); }
.rec-item__seal--apsda { width: clamp(64px, 7vw, 88px); }
.rec-item__seal--id { width: clamp(104px, 12vw, 140px); }
.rec-item__title { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); font-weight: 500; }
.rec-item__where { color: var(--clay); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 8px 0 14px; }
.rec-item__tag { align-self: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-dk); border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; white-space: nowrap; }
.rec-item__tag--link { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.rec-item__tag--link svg { width: 13px; height: 13px; }
.rec-item__tag--link:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
@media (max-width: 720px) { .rec-item { grid-template-columns: 1fr; gap: 10px; } .rec-item__tag { justify-self: start; } }

.disc-empty { border: 1px dashed var(--line); border-radius: 3px; padding: clamp(40px, 7vw, 88px) 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--stone-dk); }
.disc-empty span { font-size: 14px; letter-spacing: .03em; }

/* ==========================================================================
   Discipline page — dark section, ghosted heading, tall numbered columns
   ========================================================================== */
.dsec { background: var(--bg-deep); color: #fff; padding-top: clamp(120px, 16vh, 200px); padding-bottom: 0; overflow: hidden; }
.dsec .lead { color: #b9c4cc; }

.whead { position: relative; display: inline-block; padding-top: clamp(30px, 5vw, 64px); }
.whead__ghost { position: absolute; left: -4px; top: 0; z-index: 0; font-family: var(--sans); font-weight: 600;
  font-size: clamp(72px, 13vw, 210px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07);
  text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.whead .eyebrow { position: relative; z-index: 1; color: var(--clay-soft); }
.whead .eyebrow::before { background: var(--clay-soft); }
.whead__title { position: relative; z-index: 1; }

.dcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: clamp(40px, 6vw, 84px); }
.dcol { position: relative; overflow: hidden; height: min(76vh, 760px); display: block; color: #fff; }
.dcol__img { position: absolute; inset: 0; }
.dcol__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: transform 1s var(--ease), filter .5s var(--ease); }
.dcol:hover .dcol__img img { transform: scale(1.06); filter: brightness(.5); }
/* Discipline page columns: soft black & white at rest, sharp colour on hover */
.dcols .dcol__img img { filter: grayscale(1) brightness(.8) blur(3px); transform: scale(1.05); }
.dcols .dcol:hover .dcol__img img { filter: grayscale(0) brightness(.68) blur(0); transform: scale(1.08); }
.dcol::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,14,20,.5) 0%, rgba(8,14,20,.05) 30%, rgba(8,14,20,.6) 100%); }
.dcol__top { position: absolute; top: 32px; left: 30px; z-index: 3; }
.dcol__num { display: block; font-family: var(--sans); font-size: 20px; color: var(--clay-soft); letter-spacing: .06em; margin-bottom: 6px; }
.dcol__title { font-family: var(--sans); font-weight: 500; font-size: clamp(22px, 2vw, 30px); }
.dcol__side { position: absolute; bottom: 34px; left: 34px; z-index: 3; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.dcol__plus { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; opacity: 0; transition: opacity .35s var(--ease); }
.dcol__plus > span { width: 62px; height: 62px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.15); }
.dcol__plus svg { width: 22px; height: 22px; }
.dcol:hover .dcol__plus { opacity: 1; }
@media (max-width: 820px) { .dcols { grid-template-columns: 1fr; gap: 2px; } .dcol { height: 56vh; min-height: 360px; } }

/* Projects page — discipline groups of numbered project columns */
.pgrp { padding-top: clamp(56px, 8vw, 104px); }
.pgrp:first-of-type { padding-top: clamp(34px, 5vw, 64px); }
.pgrp__head { display: flex; align-items: baseline; gap: 18px; border-top: 1px solid rgba(255,255,255,.14); padding-top: clamp(22px, 2.4vw, 34px); color: inherit; text-decoration: none; }
a.pgrp__head .pgrp__title { transition: color .3s var(--ease); }
a.pgrp__head:hover .pgrp__title { color: var(--clay-soft); }
.crumb { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.crumb:hover { opacity: .75; }
.pgrp__note { text-align: center; margin-top: clamp(30px, 4vw, 54px); color: #aebfc9; font-size: 14px; letter-spacing: .02em; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.pgrp__num { font-family: var(--sans); font-size: 18px; color: var(--clay-soft); letter-spacing: .08em; }
.pgrp__title { font-family: var(--sans); font-weight: 500; font-size: clamp(26px, 3.4vw, 44px); line-height: 1; flex: 1; }
.pgrp__count { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); white-space: nowrap; }
.pcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2px; margin-top: clamp(26px, 3vw, 44px); }
.dsec .link-arrow, .pgrp__note .link-arrow, .disc-empty--dark .link-arrow { color: var(--clay-soft); }
.pcols .dcol { height: min(50vh, 480px); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
/* Project images: softly blurred at rest, sharp and popped-out on hover. */
.pcols .dcol__img img { filter: brightness(.72) blur(5px); transform: scale(1.06); transition: transform .9s var(--ease), filter .45s var(--ease); }
.pcols .dcol:hover { transform: scale(1.035); z-index: 5; box-shadow: 0 30px 60px -22px rgba(0,0,0,.65); }
.pcols .dcol:hover .dcol__img img { filter: brightness(.92) blur(0); transform: scale(1.01); }
.disc-empty--dark { border-color: rgba(255,255,255,.2); color: #aebfc9; margin-top: clamp(24px, 3vw, 40px); }
/* Product-category cards */
.pcols--trio { grid-template-columns: repeat(3, 1fr); margin-top: 2px; }
@media (max-width: 720px) { .pcols--trio { grid-template-columns: 1fr; } }
.dcol--soon { background: linear-gradient(150deg, #1b2a38 0%, #0e1720 100%); }
.dcol__img--soon { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, rgba(255,255,255,0) 14px 28px); }
.dcol--soon::after { background: linear-gradient(180deg, rgba(8,14,20,.35) 0%, rgba(8,14,20,.1) 40%, rgba(8,14,20,.55) 100%); }
.dcol--soon .dcol__side { color: var(--clay-soft); }
@media (max-width: 720px) { .pcols { grid-template-columns: 1fr; } .pcols .dcol { height: 56vh; min-height: 340px; } }

/* ---------- Project detail — premium layout ---------- */
.pd-hero--tall { height: 96svh; }
.pd-hero--tall .pd-hero__cap { padding-bottom: clamp(38px, 6vw, 76px); background: linear-gradient(0deg, rgba(14,20,26,.82), rgba(14,20,26,.15) 46%, transparent); }
/* Individual project title card: frost the LEFT side where the title sits,
   fading to a crisp image on the right — like the founder's-portfolio band. */
.pd-hero--tall:not(.fmind-hero)::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 58%; z-index: 1;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 44%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0%, #000 44%, transparent 100%);
  pointer-events: none;
}
.pd-hero--tall:not(.fmind-hero) .pd-hero__cap { z-index: 2; }
.pd-hero__sub { margin-top: 14px; font-size: clamp(15px, 1.6vw, 19px); color: rgba(255,255,255,.82); letter-spacing: .01em; max-width: 30ch; }
/* Longer hero titles (e.g. Inside the Founder's Mind) — smaller and wrap-friendly so they never crowd the edge */
.fmind-hero .pd-hero__cap h1 { font-size: clamp(30px, 4.6vw, 66px); line-height: 1.08; max-width: 16ch; text-wrap: balance; }
/* Wide, left-extended photo: keep the figure anchored right and the top pinned, so
   resizing only reveals/crops the fog on the left — the composition never changes. */
.fmind-hero img { object-position: right top; }
.pd-intro { padding-top: clamp(70px, 9vw, 130px); }
.pd-sec-head { margin-bottom: clamp(32px, 4vw, 52px); }

/* Founder portfolio — full-bleed B&W image band, text overlaid on the blurred side.
   The whole band is a link to the portfolio page. */
.fpband { position: relative; display: block; width: 100%; min-height: clamp(440px, 64vh, 700px); overflow: hidden; background: #0e1216; isolation: isolate; }
.fpband__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; filter: grayscale(1) contrast(1.05); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.fpband:hover .fpband__img { transform: scale(1.03); }
/* Stronger blur on the right (text) side, fading to a clear left. */
.fpband__blur { position: absolute; inset: 0; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 30%, transparent 62%);
          mask-image: linear-gradient(to left, #000 0%, #000 30%, transparent 62%); }
.fpband__shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(8,12,15,.9) 0%, rgba(8,12,15,.72) 30%, rgba(8,12,15,.26) 60%, rgba(8,12,15,.06) 100%); }
.fpband__inner { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: flex-end; padding: clamp(40px, 6vw, 92px) clamp(22px, 6vw, 110px); }
.fpband__text { max-width: 460px; }
.fpband__text .eyebrow { color: #cfe3ef; margin-bottom: 16px; }
.fpband__title { font-family: var(--serif); font-weight: 500; color: #fff; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 16px; }
.fpband__lead { color: #d5dee4; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; margin-bottom: 24px; }
.fpband .link-arrow { color: #bfe0f2; }
.fpband:hover .link-arrow { opacity: .82; }
@media (max-width: 720px) {
  .fpband { min-height: clamp(420px, 78vh, 560px); }
  .fpband__inner { justify-content: center; text-align: center; padding: clamp(28px, 8vw, 54px); }
  .fpband__text { max-width: 100%; }
  .fpband__text .eyebrow { justify-content: center; }
  .fpband__shade { background: linear-gradient(to top, rgba(8,12,15,.92) 0%, rgba(8,12,15,.6) 52%, rgba(8,12,15,.35) 100%); }
  .fpband__blur { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 46%, transparent 84%);
                          mask-image: linear-gradient(to top, #000 0%, #000 46%, transparent 84%); }
}

/* Design-approach list */
.approach { list-style: none; columns: 2; column-gap: clamp(24px, 4vw, 56px); }
.approach li { display: flex; align-items: flex-start; gap: 14px; break-inside: avoid; padding: 15px 0; border-top: 1px solid var(--line); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.5; color: var(--ink); }
.approach li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-top: calc(0.75em - 4px); border: 1px solid var(--clay); border-radius: 50%; }
@media (max-width: 560px) { .approach { columns: 1; } }
/* Founder certifications list */
.certs { list-style: none; margin: 0; padding: 0; }
.cert { display: grid; grid-template-columns: 56px 1fr auto; gap: clamp(14px, 2vw, 26px); align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.cert:last-child { border-bottom: 1px solid var(--line); }
.cert__yr { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; color: var(--clay); align-self: center; }
.cert__title { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.8vw, 22px); color: var(--ink); line-height: 1.25; }
.cert__by { color: var(--stone-dk); font-size: 14px; margin-top: 4px; }
.cert__thumb { display: block; width: clamp(122px, 15vw, 168px); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.cert__thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; display: block; background: #fff; }
.cert__thumb:hover { border-color: var(--clay); transform: translateY(-2px); }
@media (max-width: 620px) { .cert { grid-template-columns: 52px 1fr; } .cert__thumb { grid-column: 1 / -1; width: 100%; max-width: 300px; margin-top: 4px; } }
.section--ink .approach li { color: #eef3f6; border-top-color: rgba(255,255,255,.16); }

/* Accommodation / program */
.program { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.program__floor { border-top: 1px solid var(--line); padding-top: 18px; }
.program__lvl { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); color: var(--clay); margin-bottom: 14px; }
.program__floor ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.program__floor li { font-size: 14.5px; color: var(--stone-dk); letter-spacing: .01em; }

/* Concept sketches — shown whole (uncropped) */
.pd-sketch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.pd-sketch-fig { margin: 0; }
.pd-sketch-fig img { width: 100%; height: auto; display: block; background: #fff; border: 1px solid var(--line); border-radius: 2px; }
.pd-sketch-note { text-align: center; margin-top: clamp(22px, 3vw, 34px); font-size: 14px; letter-spacing: .01em; }
@media (max-width: 640px) { .pd-sketch-grid { grid-template-columns: 1fr; } }

/* Slideshow */
.pd-showcase { padding-block: clamp(64px, 9vw, 130px); }
.slideshow { position: relative; background: var(--bg-deep); }
.slideshow__viewport { position: relative; width: 100%; height: min(80vh, 840px); overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); transition: transform 6s var(--ease); }
.slide.is-active img { transform: scale(1); }
/* Interior slideshows: fixed 16:9 frame, filled edge-to-edge (images are pre-cropped to 16:9). */
.slideshow--fit .slideshow__viewport { height: auto; aspect-ratio: 16 / 9; background: #0e1216; }
.slideshow--fit .slide img { object-fit: cover; transform: none; }
.slideshow--fit .slide.is-active img { transform: none; }
@media (max-width: 720px) { .slideshow--fit .slideshow__viewport { height: auto; } }
.slideshow__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: clamp(46px, 4vw, 58px); height: clamp(46px, 4vw, 58px); border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(10,16,22,.28); backdrop-filter: blur(4px); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: .78; transition: opacity .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.slideshow__nav:hover { opacity: 1; background: rgba(10,16,22,.5); border-color: #fff; }
.slideshow__nav svg { width: 22px; height: 22px; }
.slideshow__nav--prev { left: clamp(14px, 2.5vw, 34px); }
.slideshow__nav--next { right: clamp(14px, 2.5vw, 34px); }
.slideshow__bar { background: var(--bg-deep); color: #fff; padding-block: clamp(18px, 2vw, 26px); }
.slideshow__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.slideshow__cap { font-size: 13.5px; letter-spacing: .015em; color: rgba(255,255,255,.72); flex: 1; min-width: 0; }
.slideshow__dots { display: flex; gap: 10px; }
.slideshow__dots .dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease); }
.slideshow__dots .dot.is-active { background: #fff; transform: scale(1.15); }
.slideshow__counter { font-family: var(--serif); font-size: 15px; letter-spacing: .06em; color: rgba(255,255,255,.85); white-space: nowrap; }
.slideshow__counter .cur { color: var(--clay-soft); }
@media (max-width: 640px) {
  .slideshow__viewport { height: 62vh; }
  .slideshow__cap { display: none; }
  .slideshow__bar-inner { justify-content: center; gap: 26px; }
}

/* Founder section (home) */
.founder__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.founder__media img { width: 100%; height: auto; display: block; border-radius: 2px; }
.founder__body .h-lg { margin: 14px 0 18px; }
.founder__body .lead { color: #cfd9e0; }
.founder__spec { margin: clamp(26px, 3.4vw, 38px) 0 clamp(22px, 2.6vw, 30px); }
.founder__spec .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 14px; }
.founder__spec ul { list-style: none; display: flex; flex-wrap: wrap; }
.founder__spec li { font-family: var(--serif); font-size: clamp(16px, 1.8vw, 21px); color: #eef3f6; }
.founder__spec li:not(:last-child)::after { content: "·"; margin: 0 clamp(10px, 1.4vw, 16px); color: var(--clay-soft); }
.section--ink .link-arrow { color: #bfe0f2; }
@media (max-width: 760px) { .founder__grid { grid-template-columns: 1fr; } }

/* Trusted by our clients (home) */
.trust { background: var(--paper-2); }
.trust__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.trust__inner .eyebrow { margin-bottom: 16px; }
.trust__cta { margin-top: clamp(28px, 4vw, 40px); }
/* Client logos — monochrome, elegant, evenly spaced */
.clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(26px, 4vw, 60px); margin-top: clamp(34px, 4.5vw, 54px); }
.clients img { width: auto; height: auto; max-height: clamp(38px, 4vw, 50px); max-width: clamp(96px, 12vw, 150px); object-fit: contain; opacity: .62; filter: grayscale(1); transition: opacity .3s var(--ease); }
.clients img:hover { opacity: 1; }
/* Member of */
.members__inner { text-align: center; }
.members__inner .eyebrow { margin-bottom: clamp(24px, 3vw, 34px); }
.members__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(30px, 5vw, 64px); }
.members__logos img { width: auto; height: auto; max-height: clamp(96px, 12vw, 132px); max-width: clamp(120px, 16vw, 168px); object-fit: contain; }
@media (max-width: 600px) { .clients { gap: 28px 34px; } .clients img { max-height: 34px; max-width: 108px; } }

/* Careers — perks grid */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(22px, 3vw, 38px) clamp(28px, 4vw, 56px); }
.perk { border-top: 1px solid var(--line); padding-top: 18px; }
.perk__t { font-family: var(--serif); font-size: clamp(17px, 1.9vw, 21px); margin-bottom: 8px; color: var(--ink); }
.perk p { color: var(--stone-dk); font-size: 15px; line-height: 1.55; margin: 0; }

/* Gospels — full-bleed B&W band with text on the blurred side (as the portfolio band) */
.gband { position: relative; width: 100%; min-height: clamp(440px, 66vh, 660px); overflow: hidden; background: #0e1216; isolation: isolate; }
.gband__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% center; filter: grayscale(1) contrast(1.06); }
/* Blur strongest on the right (text) side, fading to a sharp left where the founder sits. */
.gband__blur { position: absolute; inset: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 32%, transparent 64%);
          mask-image: linear-gradient(to left, #000 0%, #000 32%, transparent 64%); }
.gband__shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(8,12,15,.92) 0%, rgba(8,12,15,.74) 32%, rgba(8,12,15,.3) 60%, rgba(8,12,15,.05) 100%); }
.gband__inner { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: flex-end; padding: clamp(96px, 13vh, 150px) clamp(22px, 6vw, 110px) clamp(44px, 6vw, 72px); }
.gband__text { max-width: 500px; }
.gband__text .eyebrow { color: #cfe3ef; margin-bottom: 16px; }
.gband__title { font-family: var(--serif); font-weight: 500; color: #fff; font-size: clamp(46px, 7.5vw, 96px); line-height: 1; letter-spacing: -0.01em; margin-bottom: 18px; }
.gband__lead { color: #d5dee4; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; }
@media (max-width: 720px) {
  .gband__inner { justify-content: center; text-align: center; padding-top: clamp(96px, 15vh, 140px); }
  .gband__text { max-width: 100%; }
  .gband__text .eyebrow { justify-content: center; }
  .gband__shade { background: linear-gradient(to top, rgba(8,12,15,.92) 0%, rgba(8,12,15,.58) 55%, rgba(8,12,15,.34) 100%); }
  .gband__blur { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 46%, transparent 86%);
                          mask-image: linear-gradient(to top, #000 0%, #000 46%, transparent 86%); }
}

/* Gospels — the founder's video library (inline players, all the same 9:16 size) */
.gvid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px) clamp(16px, 2vw, 26px); margin-top: clamp(28px, 4vw, 46px); }
@media (max-width: 900px) { .gvid-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gvid-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.gclip { margin: 0; }
.gclip__video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #0e1216; border-radius: 3px; }
.gclip__body { display: block; padding-top: 16px; }
.gcard__tag { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.gcard__title { display: block; font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); font-weight: 500; margin: 8px 0 8px; line-height: 1.2; color: var(--ink); }
.gcard__desc { display: block; color: var(--stone-dk); font-size: 15px; line-height: 1.55; }

/* Careers — role listings (native accordion) */
.roles__group { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin: 0 0 4px; }
.role { border-bottom: 1px solid var(--line); }
.role__head { display: flex; align-items: center; gap: 20px; padding: clamp(20px, 2.4vw, 28px) 0; cursor: pointer; list-style: none; }
.role__head::-webkit-details-marker { display: none; }
.role__head::marker { content: ""; }
.role__title { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 2.1vw, 26px); flex: 1; }
.role__exp { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.role__toggle { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); flex-shrink: 0; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.role__toggle svg { width: 16px; height: 16px; }
.role:hover .role__toggle { background: var(--paper-2); }
details[open] > .role__head .role__toggle { transform: rotate(45deg); background: var(--clay); border-color: var(--clay); color: #fff; }
.role__body { padding: 0 0 clamp(24px, 3vw, 34px); max-width: 820px; }
.role__overview { color: var(--stone-dk); }
.role__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 28px; margin: 18px 0 20px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.role__meta > div { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--ink); }
.role__k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.role__points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; }
.role__points li { position: relative; padding-left: 22px; font-size: 15px; color: var(--stone-dk); }
.role__points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border: 1px solid var(--clay); border-radius: 50%; }
@media (max-width: 560px) { .role__exp { display: none; } }

/* The name — brand-story section (About) */
.namesec { text-align: center; }
.namesec__inner { max-width: 780px; margin: 0 auto; }
.namesec__logo { width: min(340px, 66vw); height: auto; margin: 0 auto clamp(30px, 4vw, 46px); }
.namesec .eyebrow { margin-bottom: 16px; }
.namesec__title { max-width: 18ch; margin: 0 auto 22px; }
.namesec__title em { font-style: italic; color: var(--clay); }
.namesec__lead { max-width: 60ch; margin: 0 auto 16px; }
.namesec__body { max-width: 66ch; margin: 0 auto; }

/* Leadership */
.ldr { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.ldr__photo { margin: 0; }
.ldr__photo img { width: 100%; height: auto; display: block; border-radius: 3px; filter: grayscale(100%); }
.ldr__photo figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.ldr__bios { display: grid; gap: clamp(26px, 3vw, 38px); }
.ldr__bio { border-top: 2px solid var(--clay); padding-top: 18px; }
.ldr__name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; color: var(--ink); }
.ldr__role { font-family: var(--serif); color: var(--clay); font-size: 16px; margin: 2px 0 14px; }
.ldr__bio .muted { margin-bottom: 12px; }
.ldr__bio .muted:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .ldr { grid-template-columns: 1fr; } .ldr__photo { max-width: 460px; } }

/* Colour-psychology grid */
.cpsych { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px) clamp(24px, 4vw, 48px); }
.cpsych__item { border-top: 1px solid var(--line); padding-top: 16px; }
.cpsych__k { font-family: var(--serif); font-size: clamp(18px, 2vw, 23px); color: var(--clay); margin-bottom: 8px; }
.cpsych__item p { font-size: 14.5px; color: var(--stone-dk); line-height: 1.5; }
@media (max-width: 520px) { .cpsych { grid-template-columns: 1fr; } }
/* Materials strip */
.matstrip { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--line); }
.matstrip span { font-family: var(--serif); font-size: clamp(17px, 2vw, 24px); color: var(--ink); letter-spacing: .01em; position: relative; }
.matstrip span:not(:last-child)::after { content: "·"; position: absolute; right: calc(-1 * clamp(9px, 1.5vw, 21px)); color: var(--clay-soft); }
/* Detail render grid (portraits, shown whole) */
.pd-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.pd-detail { margin: 0; overflow: hidden; border-radius: 2px; aspect-ratio: 3 / 2; background: var(--paper); }
.pd-detail img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 820px) { .pd-details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pd-details { grid-template-columns: 1fr; } }
/* Uniform 3x2 moments grid — every tile the same shape so all six align */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.mgrid__cell { margin: 0; overflow: hidden; border-radius: 2px; }
.mgrid__cell img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (max-width: 820px) { .mgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mgrid { grid-template-columns: 1fr; } }

/* Full uncropped 3D-elevation renders — three side by side */
.pd-showcase__sub { margin-top: clamp(58px, 7vw, 104px); }
.pd-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.5vw, 20px); }
/* Uniform, edge-to-edge tiles — same filled style as the Juneberry Moments grid. */
.pd-full { margin: 0; overflow: hidden; border-radius: 2px; }
.pd-full img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
/* 3D Elevation grids: show each render in full (no crop) inside uniform tiles,
   so the row stays symmetrical and the letterboxing blends into the page. */
.pd-full-grid--elev .pd-full { background: var(--paper); }
.pd-full-grid--elev .pd-full img { object-fit: contain; }
/* Four-up portrait gallery (Pyramid Palacia): uniform tall tiles with a caption. */
.pd-full-grid--quad { grid-template-columns: repeat(4, 1fr); }
.pd-full-grid--tall .pd-full img { aspect-ratio: 3 / 4; }
.pd-full-grid--tall .pd-full { position: relative; }
.pd-full__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-size: 12px; letter-spacing: .01em; color: #fff; background: linear-gradient(0deg, rgba(14,20,26,.78), transparent); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pd-full:hover .pd-full__cap { opacity: 1; transform: none; }
@media (max-width: 900px) { .pd-full-grid--quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .pd-full-grid { grid-template-columns: 1fr; } .pd-full-grid--quad { grid-template-columns: repeat(2, 1fr); } }

/* Smooth image reveal — fade lazy images in as they load instead of a hard pop-in */
img.img-fade { opacity: 0; transition: opacity .55s var(--ease, ease); }
img.img-fade.img-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { img.img-fade { transition: none; opacity: 1; } }

/* Wide panorama hero (e.g. a storefront facade) — show the whole image, in colour, on a dark field */
.pd-hero--pano { height: 72svh; background: var(--bg-deep); }
.pd-hero--pano img { object-fit: contain; filter: none; background: var(--bg-deep); }
.pd-hero--pano .pd-hero__cap { z-index: 2; background: linear-gradient(0deg, rgba(14,20,26,.94), rgba(14,20,26,.4) 42%, transparent); }
