/* =========================================================
   STUDIO ANASA — Editorial Design System
   Official palette sampled from brand reference:
   Burgundy #994D5F · Navy #3A4859 · Cream #E3DBD0 · Accent #9C8074
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter+Tight:wght@300;400;500;600;700&display=swap');

:root {
  /* Official Anasa brand palette — sampled directly from logo reference */
  --burgundy: #994D5F;         /* Burgundy body — logo fill */
  --burgundy-deep: #792339;    /* Burgundy deep — logo shadow */
  --burgundy-bright: #B06778;  /* Burgundy highlight for accents on dark */
  --navy: #3A4859;             /* Navy — wordmark color */
  --navy-deep: #2A3542;        /* Navy deep — darker sections */
  --cream: #E3DBD0;            /* Cream — official background */
  --cream-deep: #D7CDBF;       /* Cream deep — layered surfaces */
  --accent-brown: #9C8074;     /* Accent brown — underline bar */

  --ink: #2A3542;              /* Deepest ink — strong text */
  --ink-soft: #3A4859;         /* Soft ink — body text */
  --ink-muted: #6B7785;        /* Muted ink — captions, labels */
  --rule: rgba(58, 72, 89, 0.15);
  --rule-soft: rgba(58, 72, 89, 0.08);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', -apple-system, sans-serif;

  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* --- Typography ---------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 500; }

p { color: var(--ink-soft); max-width: 62ch; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--navy); max-width: 60ch; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule {
  height: 1px;
  background: var(--rule);
  border: none;
}

/* --- Header --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(227, 219, 208, 0.96);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 42px;
}

.brand-mark {
  height: 100%;
  width: auto;
  display: block;
}

/* Legacy text spans — hide since logo image contains the wordmark */
.brand-text { display: none; }

nav.primary {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

nav.primary a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

nav.primary a:hover { color: var(--burgundy); }

nav.primary a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--burgundy);
}

/* The header CTA button keeps its own styling — overrides nav.primary a color */
nav.primary a.cta-btn {
  color: var(--cream);
  padding: 0.65rem 1.3rem;
}
nav.primary a.cta-btn:hover { color: var(--cream); }
nav.primary a.cta-btn::after { display: none; }

.cta-btn {
  padding: 0.65rem 1.3rem;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.cta-btn:hover { background: var(--burgundy); }

.cta-btn.outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.cta-btn.outline:hover {
  background: var(--navy);
  color: var(--cream);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

@media (max-width: 860px) {
  nav.primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 1.5rem var(--gutter); gap: 1.2rem; border-bottom: 1px solid var(--rule); align-items: flex-start; }
  nav.primary.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

/* --- Hero ----------------------------------------------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  color: var(--navy);
  margin: 1.5rem 0 1.5rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--burgundy);
}

.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-meta .item .label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.4rem; }
.hero-meta .item .value { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); font-weight: 500; }

.hero-cta-row { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  aspect-ratio: 4/5;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* --- Sections ------------------------------------------- */
section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-bottom: 1px solid var(--rule);
}

section.dark {
  background: var(--navy);
  color: var(--cream);
}

section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: var(--cream); }
section.dark p { color: rgba(227, 219, 208, 0.75); }
section.dark .eyebrow { color: #C48897; }
section.dark .rule { background: rgba(227, 219, 208, 0.15); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}

@media (max-width: 768px) { .section-head { grid-template-columns: 1fr; } }

.section-head .eyebrow { margin-bottom: 1rem; display: block; }
.section-head h2 { max-width: 18ch; }
.section-head .intro { font-size: 1.05rem; }

/* --- Grids ---------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Capability cards ---------------------------------- */
.cap-card {
  padding: 2rem;
  background: var(--cream-deep);
  border-top: 2px solid var(--burgundy);
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.cap-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--burgundy);
  margin-bottom: 2rem;
}

.cap-card h3 { margin-bottom: 0.75rem; }

.cap-card p { font-size: 0.95rem; }

/* --- Project tiles ------------------------------------- */
.project-tile {
  display: block;
  position: relative;
  background: var(--cream-deep);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.project-tile:hover { transform: translateY(-4px); }

.project-tile .thumb {
  aspect-ratio: 4/3;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.project-tile .meta {
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
}

.project-tile .meta h4 { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--navy); }
.project-tile .meta .loc { font-size: 0.75rem; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* --- Numbered rows ------------------------------------- */
.process-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.process-row:last-child { border-bottom: 1px solid var(--rule); }

@media (max-width: 768px) {
  .process-row { grid-template-columns: 60px 1fr; }
  .process-row .p-desc { grid-column: 1 / -1; padding-left: 60px; }
}

.process-row .p-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--burgundy);
  line-height: 1;
}

.process-row h3 { margin-bottom: 0.5rem; }
.process-row .p-meta { font-size: 0.8rem; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; }

/* --- Stats band ---------------------------------------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 700px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

.stats-band .stat {
  background: var(--cream);
  padding: 2rem 1.5rem;
}

.stats-band .stat .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1;
}

.stats-band .stat .num em { font-style: italic; color: var(--burgundy); font-weight: 400; }

.stats-band .stat .lbl {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.7rem;
}

/* --- Quote / Manifesto --------------------------------- */
.manifesto {
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--rule);
}

.manifesto blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: var(--navy);
  max-width: 24ch;
  margin: 0 auto;
  font-style: italic;
}

.manifesto blockquote strong { font-style: normal; font-weight: 500; color: var(--burgundy); }

/* --- Differentiators list ------------------------------ */
.diff-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (max-width: 700px) { .diff-list { grid-template-columns: 1fr; } }

.diff-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.diff-list li:nth-child(odd) { padding-right: 2rem; }
.diff-list li:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--rule-soft); }

@media (max-width: 700px) {
  .diff-list li:nth-child(even) { padding-left: 0; border-left: none; }
  .diff-list li:nth-child(odd) { padding-right: 0; }
}

.diff-list .mark {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--burgundy);
  display: grid; place-items: center;
  color: var(--burgundy);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 2px;
}

.diff-list h4 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--navy); }
.diff-list p { font-size: 0.92rem; }

/* --- Sector card --------------------------------------- */
.sector-card {
  background: var(--cream-deep);
  padding: 2rem;
  border-left: 2px solid var(--burgundy);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

a.sector-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, border-left-width 0.25s ease;
}

a.sector-card:hover {
  transform: translateY(-3px);
  border-left-width: 4px;
}

.sector-card .count {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--burgundy);
  font-weight: 300;
}

.sector-card h3 { margin: 0.5rem 0 1rem; }

.sector-card ul { list-style: none; margin-top: auto; }
.sector-card li { font-size: 0.88rem; color: var(--ink-soft); padding: 0.35rem 0; border-top: 1px solid var(--rule-soft); }
.sector-card li:first-child { border-top: 0; padding-top: 0; }

/* --- Client logo grid ---------------------------------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 700px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

.logo-cell {
  background: var(--cream);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  text-align: center;
}

.logo-cell .name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.logo-cell .props {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* --- Case study block --------------------------------- */
.case-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.case-block:first-of-type { border-top: none; padding-top: 0; }

@media (max-width: 860px) { .case-block { grid-template-columns: 1fr; } }

.case-img {
  aspect-ratio: 5/4;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.case-txt .eyebrow { display: block; margin-bottom: 0.8rem; }
.case-txt h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.case-txt .cclient { font-size: 0.85rem; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.2rem; }

.case-txt dl {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.6rem 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
}

.case-txt dt { font-size: 0.75rem; color: var(--burgundy); letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.case-txt dd { font-size: 0.92rem; color: var(--navy); }

/* --- CTA Band ------------------------------------------ */
.cta-band {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}

.cta-band h2 { color: var(--cream); max-width: 24ch; margin: 0 auto 1rem; }
.cta-band p { color: rgba(227, 219, 208, 0.75); margin: 0 auto 2rem; max-width: 52ch; }

.cta-band .cta-btn {
  background: var(--cream);
  color: var(--navy);
}
.cta-band .cta-btn:hover { background: var(--burgundy); color: var(--cream); }

/* --- Footer -------------------------------------------- */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(227, 219, 208, 0.7);
  padding: 4rem 0 2rem;
  font-size: 0.88rem;
}

footer.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 760px) { footer.site-footer .container { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } }

footer.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}

footer.site-footer ul { list-style: none; }
footer.site-footer li { padding: 0.3rem 0; }
footer.site-footer a:hover { color: #C48897; }

footer.site-footer .brand-block .brand-name { color: var(--cream); }
footer.site-footer .brand-block .brand-studio { color: rgba(227, 219, 208, 0.55); }
footer.site-footer .brand-block .brand-text .brand-name,
footer.site-footer .brand-block .brand-text .brand-studio { color: inherit; }
footer.site-footer .brand-block .brand { color: var(--cream); }
footer.site-footer .brand-block p { color: rgba(227, 219, 208, 0.55); margin-top: 0.8rem; font-size: 0.85rem; max-width: 32ch; }

footer.site-footer .bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(227, 219, 208, 0.15);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(227, 219, 208, 0.45);
}

footer.site-footer .footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

footer.site-footer .footer-legal a {
  color: rgba(227, 219, 208, 0.55);
  transition: color 0.2s;
}

footer.site-footer .footer-legal a:hover { color: #C48897; }

footer.site-footer .legal-sep { color: rgba(227, 219, 208, 0.3); }

@media (max-width: 600px) {
  footer.site-footer .bottom { flex-direction: column; gap: 0.8rem; align-items: flex-start; }
}

/* --- Page header (inner pages) ------------------------ */
.page-head {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  border-bottom: 1px solid var(--rule);
}

.page-head .eyebrow { margin-bottom: 1.2rem; display: block; }
.page-head h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.page-head .lead { max-width: 60ch; }

/* --- Two column text block ----------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin: 2rem 0;
}

@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.two-col h3 { margin-bottom: 1rem; }
.two-col p + p { margin-top: 1rem; }

/* --- Contact ------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  padding: 2.5rem;
  background: var(--cream-deep);
  border-top: 2px solid var(--burgundy);
}

.contact-card .eyebrow { margin-bottom: 0.8rem; display: block; }
.contact-card h3 { margin-bottom: 1.5rem; }
.contact-card .line { padding: 0.8rem 0; border-top: 1px solid var(--rule); font-size: 0.95rem; }
.contact-card .line:first-of-type { border-top: none; }
.contact-card .line .lbl { color: var(--ink-muted); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 0.2rem; }
.contact-card .line a { color: var(--navy); font-weight: 500; }
.contact-card .line a:hover { color: var(--burgundy); }

/* --- Simple form --------------------------------------- */
.contact-form {
  display: grid;
  gap: 1.2rem;
  padding: 2.5rem;
  background: var(--cream-deep);
}

.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }

.contact-form label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-bottom-color: var(--burgundy);
}

.contact-form textarea { resize: vertical; min-height: 90px; }

/* --- Asymmetric intro ---------------------------------- */
.intro-asym {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 800px) { .intro-asym { grid-template-columns: 1fr; } }

.intro-asym .img-block { aspect-ratio: 1/1; background: var(--navy); }

/* --- Entrance animation ------------------------------- */
/* Progressive enhancement: content visible by default. JS adds .js-reveals 
   to <body> which activates the initial hidden state. This way, if JS fails
   or is slow, users always see the content. */
.js-reveals .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-reveals .reveal.in { opacity: 1; transform: none; }

/* --- Project Detail Page ------------------------------ */
.breadcrumb {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.breadcrumb a { color: var(--ink-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--burgundy); }
.breadcrumb .sep { margin: 0 0.7rem; color: var(--rule); }
.breadcrumb .here { color: var(--navy); }

.project-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}

.project-hero .hero-title-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .project-hero .hero-title-row { grid-template-columns: 1fr; } }

.project-hero .eyebrow { margin-bottom: 1rem; display: block; }
.project-hero h1 { font-weight: 300; margin-bottom: 1rem; }
.project-hero .subtitle { font-size: 1.15rem; color: var(--ink-soft); max-width: 50ch; }

.project-hero .meta-card {
  padding: 1.5rem;
  background: var(--cream-deep);
  border-top: 2px solid var(--burgundy);
}
.project-hero .meta-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.project-hero .meta-card dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}
.project-hero .meta-card dd {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.project-hero .meta-card dd:nth-last-of-type(-n+2) { border-bottom: none; padding-bottom: 0; }

.hero-image {
  aspect-ratio: 21/9;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Section with wide image + text side by side */
.section-narrative {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--rule);
}

.narrative-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .narrative-row { grid-template-columns: 1fr; } }
.narrative-row:last-child { margin-bottom: 0; }

.narrative-row h2 { font-size: 2rem; margin-bottom: 1rem; max-width: 14ch; }
.narrative-row p { font-size: 1rem; line-height: 1.65; }
.narrative-row p + p { margin-top: 1rem; }

.narrative-row.reverse .img-side { order: 2; }
@media (max-width: 800px) {
  .narrative-row.reverse .img-side { order: 0; }
}

.img-side {
  aspect-ratio: 4/5;
  background: var(--navy);
  overflow: hidden;
}

/* Gallery / image grid */
.project-gallery {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--rule);
  background: var(--cream-deep);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-grid > div {
  aspect-ratio: 4/3;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
.gallery-grid > div:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid > div:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
}

/* Specs table */
.specs-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2rem;
}
@media (max-width: 700px) { .specs-table { grid-template-columns: 1fr; } }

.specs-table .spec {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  padding-right: 2rem;
}
.specs-table .spec:nth-child(even) { padding-left: 2rem; padding-right: 0; border-left: 1px solid var(--rule); }
@media (max-width: 700px) {
  .specs-table .spec:nth-child(even) { padding-left: 0; border-left: none; }
}
.specs-table .k {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.3rem;
}
.specs-table .v { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; font-weight: 500; }

/* Quote block */
.pull-quote {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--cream);
  max-width: 34ch;
  margin: 0 auto;
}
.pull-quote cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C48897;
}

/* Related projects */
.related-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 800px) { .related-row { grid-template-columns: 1fr; } }

/* Photo placeholder helper */
.photo-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(227,219,208,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  text-align: center;
  padding: 1rem;
}
.photo-hint em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  color: rgba(227,219,208,0.6);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

/* ================================================================
   AGENCY LAYER — cinematic patterns
   Adds: full-bleed hero, oversized typography, horizontal scroll,
   dark-dominant sections, minimal chrome, progressive reveal.
   Extends the existing system without replacing it.
   ================================================================ */

/* --- Full-bleed hero with video/image placeholder --- */
.hero-full {
  height: 100vh;
  min-height: 640px;
  position: relative;
  background: #2E1E24;
  color: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-full .hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2A3542 0%, #3A4859 50%, #3D2838 100%);
}

.hero-full .hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 40%, rgba(153,77,95,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(58,72,89,0.4) 0%, transparent 50%);
}

.hero-full .hero-media-label {
  position: absolute;
  top: 5rem;
  right: 3rem;
  z-index: 2;
  text-align: right;
  color: rgba(227,219,208,0.3);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  max-width: 260px;
}

.hero-full .hero-media-label .title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(227,219,208,0.45);
  margin-bottom: 0.4rem;
}

.hero-full .hero-overlay {
  position: relative;
  z-index: 3;
  padding: 4rem 3rem;
  background: linear-gradient(to top, rgba(42,53,66,0.85) 0%, rgba(42,53,66,0.3) 70%, transparent 100%);
}

.hero-full .container {
  max-width: 1440px;
  margin: 0 auto;
}

.hero-full .eyebrow {
  color: #C48897;
  margin-bottom: 1.5rem;
  display: block;
}

.hero-full h1 {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--cream);
  margin: 0 0 2rem;
}

.hero-full h1 em {
  font-style: italic;
  color: #C48897;
  font-weight: 300;
}

.hero-full .hero-sub {
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(227,219,208,0.7);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero-full .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-full .hero-actions .cta-btn {
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--cream);
}

.hero-full .hero-actions .cta-btn.outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(227,219,208,0.4);
}

.hero-full .hero-actions .cta-btn:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.hero-full .hero-actions .cta-btn.outline:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

/* Hero scroll cue */
.hero-full .scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(227,219,208,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: var(--font-body);
  text-decoration: none;
}

/* Header override when over full-bleed hero */
.hero-full + *, .page-hero-full ~ main { margin-top: 0; }

body.has-full-hero header.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: none;
  z-index: 100;
}
body.has-full-hero header.site-header .brand-name,
body.has-full-hero header.site-header .brand-studio { color: var(--cream); }
body.has-full-hero header.site-header nav.primary a { color: rgba(227,219,208,0.8); }
body.has-full-hero header.site-header nav.primary a:hover { color: var(--cream); }
body.has-full-hero header.site-header nav.primary a.cta-btn { background: transparent; border: 1px solid rgba(227,219,208,0.4); color: var(--cream); }
body.has-full-hero header.site-header nav.primary a.cta-btn:hover { background: var(--cream); color: var(--navy); }

/* After scroll, header becomes solid cream */
body.has-full-hero.scrolled header.site-header {
  position: fixed;
  background: rgba(227, 219, 208, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  animation: headerDrop 0.3s ease;
}
body.has-full-hero.scrolled header.site-header .brand-name { color: var(--navy); }
body.has-full-hero.scrolled header.site-header .brand-studio { color: var(--ink-muted); }
body.has-full-hero.scrolled header.site-header nav.primary a { color: var(--navy); }
body.has-full-hero.scrolled header.site-header nav.primary a:hover { color: var(--burgundy); }
body.has-full-hero.scrolled header.site-header nav.primary a.cta-btn { background: var(--navy); border: 1px solid var(--navy); color: var(--cream); }

@keyframes headerDrop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* --- Oversized section headings (display-scale) --- */
.display-section {
  padding: 10rem 0 8rem;
}

.display-section .display-h {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 2.5rem;
}

.display-section .display-h em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 300;
}

.display-section .display-sub {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 56ch;
  color: var(--ink-soft);
  margin-bottom: 3rem;
}

.display-section.on-dark {
  background: #2E1E24;
  color: var(--cream);
}

.display-section.on-dark .display-h { color: var(--cream); }
.display-section.on-dark .display-h em { color: #C48897; }
.display-section.on-dark .display-sub { color: rgba(227,219,208,0.65); }
.display-section.on-dark .eyebrow { color: #C48897; }

/* --- Horizontal scrolling project gallery --- */
.h-scroll-band {
  padding: 6rem 0 8rem;
  overflow: hidden;
}

.h-scroll-band .band-head {
  max-width: 1440px;
  margin: 0 auto 3rem;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.h-scroll-band .band-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.h-scroll-band .band-head h2 em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 300;
}

/* --- Homepage project carousel — smooth continuous marquee --- */
.h-scroll-band {
  padding: 4rem 0 5rem;
  overflow: hidden;
  position: relative;
}

.h-scroll-band .band-head {
  max-width: 1440px;
  margin: 0 auto 2.5rem;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.h-scroll-band .band-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.h-scroll-band .band-head h2 em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 300;
}

.h-scroll-band .marquee-viewport {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.h-scroll-band .scroller {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: project-marquee 60s linear infinite;
  padding: 0.5rem 0;
  will-change: transform;
}

.h-scroll-band:hover .scroller {
  animation-play-state: paused;
}

@keyframes project-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.75rem)); }
}

.h-scroll-band .card-big {
  flex: 0 0 320px;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: transform 0.35s ease;
}

.h-scroll-band .card-big:hover {
  transform: translateY(-6px);
}

.h-scroll-band .card-big .media {
  aspect-ratio: 4/5;
  background: #2E1E24;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-left: 2px solid var(--burgundy);
  transition: border-left-width 0.3s ease;
}

.h-scroll-band .card-big:hover .media {
  border-left-width: 4px;
}

.h-scroll-band .card-big .media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(153,77,95,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(46,30,36,0.7) 0%, transparent 55%);
}

.h-scroll-band .card-big .media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(46, 30, 36, 0.85) 100%);
}

.h-scroll-band .card-big .media .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.5rem 1.3rem;
  z-index: 2;
  color: var(--cream);
}

.h-scroll-band .card-big .media .placeholder-label .title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--burgundy-bright);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.h-scroll-band .card-big .meta-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0 0.25rem;
  margin-bottom: 0.4rem;
}

.h-scroll-band .card-big h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.3rem 0.25rem;
}

.h-scroll-band .card-big .scope {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 0 0.25rem;
}

/* --- Full-width image band with overlaid text --- */
.image-band {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background: #2E1E24;
  color: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.image-band .bg-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2A3542 0%, #3A4859 50%, #3D2838 100%);
}

.image-band .bg-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(153,77,95,0.3) 0%, transparent 60%);
}

.image-band .bg-placeholder::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(227,219,208,0.2);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.image-band .overlay-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
}

.image-band h2 {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 0 1.5rem;
  color: var(--cream);
}

.image-band h2 em {
  font-style: italic;
  color: #C48897;
  font-weight: 300;
}

.image-band p {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(227,219,208,0.8);
  max-width: 52ch;
}

/* --- Stats with oversized numbers --- */
.stats-cinematic {
  padding: 4rem 0;
  background: var(--cream);
}

.stats-cinematic .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.stats-cinematic .eyebrow {
  margin-bottom: 2rem;
  display: block;
}

.stats-cinematic .stat-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}

.stats-cinematic .stat-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.stats-cinematic .stat-row .big-num {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.stats-cinematic .stat-row .big-num em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 300;
}

.stats-cinematic .stat-row .desc h3 {
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.stats-cinematic .stat-row .desc p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* --- Full-bleed dark section for capability blocks --- */
.capability-band {
  background: #2E1E24;
  color: var(--cream);
  padding: 10rem 0;
}

.capability-band .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
}

.capability-band .eyebrow { color: #C48897; }
.capability-band h2 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 4rem;
  color: var(--cream);
}
.capability-band h2 em { font-style: italic; color: #C48897; font-weight: 300; }

.capability-band .cap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.capability-band .cap-item {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(227,219,208,0.15);
}

.capability-band .cap-item .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(227,219,208,0.4);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.capability-band .cap-item h3 {
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--cream);
}

.capability-band .cap-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(227,219,208,0.7);
  max-width: 42ch;
}

/* --- Mobile --- */
@media (max-width: 900px) {
  .hero-full { height: auto; min-height: 100vh; padding: 0; }
  .hero-full .hero-overlay { padding: 2rem 1.5rem 3rem; }
  .hero-full h1 { font-size: 2.8rem; max-width: 100%; }
  .display-section { padding: 5rem 0 4rem; }
  .stats-cinematic { padding: 4rem 0; }
  .stats-cinematic .stat-row { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
  .capability-band { padding: 5rem 0; }
  .capability-band .cap-list { grid-template-columns: 1fr; gap: 0; }
  .h-scroll-band { padding: 4rem 0; }
  .h-scroll-band .band-head { padding: 0 1.5rem; flex-direction: column; align-items: flex-start; }
  .h-scroll-band .scroller { padding: 0 1.5rem 2rem; }
  .h-scroll-band .card-big { flex: 0 0 80vw; }
  .image-band { height: 70vh; }
  .image-band .overlay-content { padding: 0 1.5rem; }
  .stats-cinematic .container,
  .capability-band .container,
  .display-section .container { padding: 0 1.5rem; }
}

/* --- Inner page hero (smaller than homepage full-hero) --- */
.page-hero {
  min-height: 65vh;
  padding: 10rem 0 6rem;
  background: #2E1E24;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(153,77,95,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(58,72,89,0.3) 0%, transparent 50%);
}

.page-hero > .container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
}

.page-hero .eyebrow {
  color: #C48897;
  display: block;
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 24ch;
  color: var(--cream);
  margin: 0 0 2rem;
}

.page-hero h1 em {
  font-style: italic;
  color: #C48897;
  font-weight: 300;
}

.page-hero .lead {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(227,219,208,0.75);
  max-width: 56ch;
}

.page-hero .media-label {
  position: absolute;
  top: 5rem;
  right: 3rem;
  color: rgba(227,219,208,0.3);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  max-width: 260px;
  text-align: right;
}

.page-hero .media-label .title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(227,219,208,0.45);
  margin-bottom: 0.4rem;
}

@media (max-width: 900px) {
  .page-hero { padding: 6rem 0 4rem; min-height: auto; }
  .page-hero > .container { padding: 0 1.5rem; }
  .page-hero h1 { font-size: 2.5rem; }
  .page-hero .media-label { display: none; }
}

/* Inner pages need compacted header (always visible) */
body.inner-page header.site-header {
  background: rgba(227, 219, 208, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* When inner page has a dark hero, header starts transparent then goes solid */
body.inner-page.has-dark-hero header.site-header {
  background: transparent;
  border-bottom: none;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
body.inner-page.has-dark-hero header.site-header .brand-name,
body.inner-page.has-dark-hero header.site-header .brand-studio { color: var(--cream); }
body.inner-page.has-dark-hero header.site-header nav.primary a { color: rgba(227,219,208,0.8); }
body.inner-page.has-dark-hero header.site-header nav.primary a:hover { color: var(--cream); }
body.inner-page.has-dark-hero header.site-header nav.primary a.cta-btn { background: transparent; border: 1px solid rgba(227,219,208,0.4); color: var(--cream); }

body.inner-page.has-dark-hero.scrolled header.site-header {
  position: fixed;
  background: rgba(227, 219, 208, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  animation: headerDrop 0.3s ease;
}
body.inner-page.has-dark-hero.scrolled header.site-header .brand-name { color: var(--navy); }
body.inner-page.has-dark-hero.scrolled header.site-header .brand-studio { color: var(--ink-muted); }
body.inner-page.has-dark-hero.scrolled header.site-header nav.primary a { color: var(--navy); }
body.inner-page.has-dark-hero.scrolled header.site-header nav.primary a:hover { color: var(--burgundy); }
body.inner-page.has-dark-hero.scrolled header.site-header nav.primary a.cta-btn { background: var(--navy); border: 1px solid var(--navy); color: var(--cream); }

/* --- Cinematic project detail hero --- */
.project-hero-cinematic {
  min-height: 80vh;
  position: relative;
  background: #2E1E24;
  color: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-hero-cinematic .media-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2E1E24 0%, #4A2A35 50%, #6B3544 100%);
}

.project-hero-cinematic .media-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(153,77,95,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(58,72,89,0.4) 0%, transparent 55%);
}

.project-hero-cinematic .media-bg::after {
  content: attr(data-label);
  position: absolute;
  top: 6rem;
  right: 3rem;
  color: rgba(227,219,208,0.3);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  max-width: 320px;
  text-align: right;
  line-height: 1.5;
}

.project-hero-cinematic .hero-inner {
  position: relative;
  z-index: 2;
  padding: 8rem 0 3rem;
}

.project-hero-cinematic .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
}

.project-hero-cinematic h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--cream);
  margin: 0 0 1.5rem;
}

.project-hero-cinematic h1 em {
  font-style: italic;
  color: var(--burgundy-bright);
  font-weight: 300;
}

.project-hero-cinematic .subtitle {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(227,219,208,0.75);
  max-width: 56ch;
}

.project-hero-cinematic .meta-band {
  position: relative;
  z-index: 2;
  background: rgba(42, 53, 66, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(227,219,208,0.1);
  padding: 2rem 0;
}

.project-hero-cinematic .meta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin: 0;
}

.project-hero-cinematic .meta-pair {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-hero-cinematic .meta-pair dt {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(227,219,208,0.5);
  margin: 0;
}

.project-hero-cinematic .meta-pair dd {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1rem;
  color: var(--cream);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .project-hero-cinematic { min-height: auto; }
  .project-hero-cinematic .hero-inner { padding: 6rem 0 2rem; }
  .project-hero-cinematic .container { padding: 0 1.5rem; }
  .project-hero-cinematic h1 { font-size: 2.5rem; }
  .project-hero-cinematic .media-bg::after { display: none; }
  .project-hero-cinematic .meta-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* --- 9-item nav compression --- */
nav.primary {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

nav.primary a {
  font-size: 0.82rem;
  white-space: nowrap;
}

nav.primary a.cta-btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
}

@media (max-width: 1200px) {
  nav.primary { gap: 1.3rem; }
  nav.primary a { font-size: 0.78rem; }
}

@media (max-width: 1050px) {
  nav.primary { display: none; }  /* hide nav, rely on mobile toggle */
}

@media (max-width: 1050px) {
  .nav-toggle { display: block; }
  nav.primary.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--cream);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--rule);
    z-index: 99;
  }
  nav.primary.open a { font-size: 1rem; }
}

/* --- Logo sizing (simplified — just force height, single image source) --- */
header.site-header .brand-mark {
  height: 42px;
  width: auto;
  display: block;
}

/* Footer logo — always on dark background */
footer.site-footer .brand-mark {
  height: 38px;
  width: auto;
  display: block;
}

/* When the header scrolls to solid cream background, swap to the DARK-wordmark
   variant so the navy "STUDIO ANASA" is legible. JS adds .scrolled to body. */
body.scrolled header.site-header .brand-mark {
  content: url('assets/logo-lockup-200.png?v=4');
}

/* --- Slim stats (user feedback: taking too much space) --- */
.stats-cinematic {
  padding: 4rem 0 4rem;   /* was 8rem */
}

.stats-cinematic .stat-row {
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 1.5rem 0;      /* was 3rem */
}

.stats-cinematic .stat-row .big-num {
  font-size: clamp(2.5rem, 5vw, 4rem);  /* was clamp(4rem, 10vw, 9rem) — much smaller */
}

.stats-cinematic .stat-row .desc h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.stats-cinematic .stat-row .desc p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* --- Slim display sections generally --- */
.display-section {
  padding: 5rem 0 4rem;   /* was 10rem 0 8rem */
}

.display-section .display-h {
  font-size: clamp(2rem, 5vw, 4rem);   /* was clamp(3rem, 8vw, 7rem) */
  margin-bottom: 1.5rem;
}

.display-section .display-sub {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* --- Slim capability-band --- */
.capability-band {
  padding: 5rem 0;        /* was 10rem */
}

.capability-band h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);  /* was clamp(2.5rem, 5.5vw, 4.5rem) */
  margin-bottom: 2.5rem;
}

.capability-band .cap-item {
  padding: 1.8rem 0;
}

/* --- Slim h-scroll-band --- */
.h-scroll-band {
  padding: 4rem 0 5rem;
}

.h-scroll-band .band-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* --- Slim image-band (still impactful but not 80vh tall) --- */
.image-band {
  height: 55vh;
  min-height: 420px;
}

.image-band h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

/* --- Slim page-hero --- */
.page-hero {
  min-height: 45vh;
  padding: 8rem 0 4rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

/* --- Full-bleed hero doesn't need 100vh — 85vh feels tighter --- */
.hero-full {
  height: 85vh;
  min-height: 560px;
}

.hero-full h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);  /* was 5.5rem — smaller */
}

/* --- Client brand logos strip --- */
.brands-strip {
  padding: 3rem 0;
  background: var(--cream-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.brands-strip .label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 1.8rem;
  display: block;
}

.brands-strip .brands-row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .brands-strip .brands-row { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.brands-strip .brand-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.3s;
  text-align: center;
  line-height: 1.1;
}

.brands-strip .brand-cell:hover { opacity: 1; }

.brands-strip .brand-cell em {
  font-style: italic;
  font-weight: 300;
  color: var(--burgundy);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-top: 2px;
  text-transform: uppercase;
}

/* --- Process flowchart --- */
/* ========================================
   PROCESS FLOW — organic, flowing, warmer
   ======================================== */
.process-flow {
  padding: 6rem 0 5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Subtle texture behind for warmth */
.process-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(153,77,95,0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 50%, rgba(156,128,116,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.process-flow .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.process-flow .eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--burgundy);
}

.process-flow h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
  max-width: 26ch;
}

.process-flow h2 em { font-style: italic; color: var(--burgundy); font-weight: 300; }

/* The chain becomes a flowing timeline with a drawn line between dots */
.process-chain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  padding-top: 2.5rem;
}

/* The continuous horizontal line behind the dots */
.process-chain::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 8.33%;  /* start at center of first card */
  right: 8.33%; /* end at center of last card */
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--burgundy) 5%,
    var(--burgundy) 95%,
    transparent 100%);
  opacity: 0.35;
  z-index: 1;
}

/* Animated progress line that draws itself, then continuously flows */
.process-chain::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 8.33%;
  right: 8.33%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--burgundy) 20%,
    rgba(176, 103, 120, 0.8) 50%,
    var(--burgundy) 80%,
    transparent 100%);
  background-size: 200% 100%;
  z-index: 2;
  animation: line-flow 6s linear infinite;
}

@keyframes line-flow {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}

@media (max-width: 900px) {
  .process-chain { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 0; }
  .process-chain::before,
  .process-chain::after { display: none; }
}

/* Each step is a softer card — no hard left border, just a dot and content */
.process-step {
  position: relative;
  padding: 0 1rem;
  background: transparent;
  border: none;
  z-index: 3;
  text-align: center;
  margin-top: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: default;
}

.process-step + .process-step {
  margin-left: 0;
}

/* The dot — now with a pulse ring */
.process-step::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 2px solid var(--burgundy);
  margin: 0 auto 2rem;
  position: relative;
  top: -2rem;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

/* An emanating pulse ring behind each dot — cascades across the chain */
.process-step::after {
  content: '';
  position: absolute;
  top: calc(2.5rem - 11px);
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--burgundy);
  transform: translateX(-50%) scale(1);
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  animation: dot-pulse 4s ease-out infinite;
}

.process-step:nth-child(1)::after { animation-delay: 0s; }
.process-step:nth-child(2)::after { animation-delay: 0.6s; }
.process-step:nth-child(3)::after { animation-delay: 1.2s; }
.process-step:nth-child(4)::after { animation-delay: 1.8s; }
.process-step:nth-child(5)::after { animation-delay: 2.4s; }
.process-step:nth-child(6)::after { animation-delay: 3s; }

@keyframes dot-pulse {
  0%   { transform: translateX(-50%) scale(1);   opacity: 0.5; }
  60%  { transform: translateX(-50%) scale(3.5); opacity: 0;   }
  100% { transform: translateX(-50%) scale(3.5); opacity: 0;   }
}

@media (max-width: 900px) {
  .process-step { text-align: left; padding: 1.25rem 1.25rem 1.25rem 2.5rem; background: #fff; }
  .process-step::before {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    margin: 0;
  }
  .process-step::after { display: none; }
}

.process-step .step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--burgundy);
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
  opacity: 0.7;
  transition: opacity 0.4s;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.25;
  transition: color 0.4s;
}

.process-step p {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 22ch;
  margin: 0 auto;
  transition: color 0.4s;
}

@media (max-width: 900px) {
  .process-step p { max-width: 100%; }
}

/* Hover: the step comes alive — dot scales, ring warms, content rises */
.process-step:hover {
  transform: translateY(-6px);
}

.process-step:hover::before {
  background: var(--burgundy-deep);
  box-shadow:
    0 0 0 6px rgba(153, 77, 95, 0.15),
    0 0 0 14px rgba(153, 77, 95, 0.05);
  transform: scale(1.35);
}

.process-step:hover::after {
  animation-play-state: paused;
}

.process-step:hover .step-num {
  opacity: 1;
  color: var(--burgundy);
  letter-spacing: 0.2em;
}

.process-step:hover h3 {
  color: var(--burgundy);
}

.process-step:hover p {
  color: var(--navy);
}

/* Detail reveal — smoother */
.process-step .step-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s 0.1s ease;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-top: 0;
  padding: 0 0.5rem;
}

.process-step:hover .step-detail {
  max-height: 140px;
  opacity: 1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(153, 77, 95, 0.15);
}

/* Scroll-triggered fade-in for each step */
.process-step {
  opacity: 0;
  transform: translateY(12px);
  animation: step-appear 0.6s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.25s; }
.process-step:nth-child(3) { animation-delay: 0.4s; }
.process-step:nth-child(4) { animation-delay: 0.55s; }
.process-step:nth-child(5) { animation-delay: 0.7s; }
.process-step:nth-child(6) { animation-delay: 0.85s; }

@keyframes step-appear {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Slim divider utility --- */
hr.slim-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
  max-width: 100px;
}

/* --- Marquee brand strip --- */
.brands-strip {
  background: var(--cream-deep);
  padding: 2.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.brands-strip .label {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.8rem;
}

.brands-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.brands-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee-left 50s linear infinite;
}

.brands-marquee.reverse .marquee-track {
  animation: marquee-right 55s linear infinite;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.brand-tag {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: 0.08em;
  padding: 0.6rem 1.6rem;
  white-space: nowrap;
  transition: color 0.3s;
  border-left: 1px solid var(--rule);
  flex-shrink: 0;
}

.brand-tag:hover {
  color: var(--burgundy);
}

/* Pause on hover */
.brands-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* (The old interactive process-step rules were removed here — the newer
   "flowing timeline" rules higher up in this file are now authoritative) */

/* (Project carousel now uses the proper marquee setup defined earlier in this file.
   Previous override rules have been removed to avoid conflicts.) */

.h-scroll-band .card-big:hover .media {
  transform: scale(1.02);
}

/* --- Projects page grid (new clean version, no category nav) --- */
.all-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) { .all-projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .all-projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .all-projects-grid { grid-template-columns: 1fr; } }

.project-mini-card {
  text-decoration: none;
  display: block;
  background: var(--cream-deep);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(46, 30, 36, 0.2);
}

.project-mini-card .img-wrap {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: #2E1E24;
}

.project-mini-card .img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(153,77,95,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(46,30,36,0.8) 0%, transparent 55%);
}

.project-mini-card .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(46, 30, 36, 0.9) 100%);
}

.project-mini-card .placeholder-note {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(227, 219, 208, 0.4);
  z-index: 2;
  text-align: right;
  line-height: 1.3;
}

.project-mini-card .overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.4rem 1.1rem;
  z-index: 3;
  color: var(--cream);
}

.project-mini-card .overlay-text .brand-grp {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy-bright);
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-style: italic;
}

.project-mini-card .overlay-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin: 0 0 0.2rem;
}

.project-mini-card .overlay-text .loc {
  font-size: 0.72rem;
  color: rgba(227, 219, 208, 0.7);
}

.project-mini-card .status-dot {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 3px 9px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(227, 219, 208, 0.9);
  color: var(--burgundy);
  z-index: 4;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.project-mini-card .status-dot.ongoing { background: rgba(156, 128, 116, 0.95); color: #fff; }
.project-mini-card .status-dot.mockup { background: rgba(176, 103, 120, 0.95); color: #fff; }

/* --- Brand tag images (real logos when PNG present) --- */
.brand-tag {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  position: relative;
}

.brand-tag img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
  /* De-saturate and gently tint so mismatched logos feel cohesive */
  filter: grayscale(0.2);
}

.brand-tag img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* Text fallback hidden by default — revealed by onerror JS when img 404s */
.brand-text-fallback {
  display: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Brands disclaimer */
.brands-disclaimer {
  text-align: center;
  font-size: 0.7rem;
  color: var(--ink-muted);
  margin: 0.25rem 0 1.5rem;
  padding: 0 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  font-style: italic;
}

/* --- Project gallery grid --- */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}

@media (max-width: 900px) { .project-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .project-gallery { grid-template-columns: 1fr; } }

.gallery-tile {
  aspect-ratio: 4/3;
  background: #2E1E24;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -10px rgba(46, 30, 36, 0.3);
}

.gallery-tile.gallery-lg {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

@media (max-width: 500px) { .gallery-tile.gallery-lg { grid-column: span 1; grid-row: span 1; } }

.gallery-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(153,77,95,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(46,30,36,0.8) 0%, transparent 55%);
}

.gallery-tile::after {
  content: attr(data-label);
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: rgba(227, 219, 208, 0.7);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  z-index: 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* When an img is loaded into the tile, fade the ::after label out */
.gallery-tile:has(img)::after { display: none; }
.gallery-tile:has(img)::before { display: none; }

/* --- Project details strip --- */
.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

@media (max-width: 700px) { .project-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.detail-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.detail-block .detail-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 0.6rem;
}

.detail-block p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 56ch;
}

/* --- Project lightbox --- */
.project-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 26, 0.95);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-lightbox.show { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 85vh;
}

.lightbox-image {
  aspect-ratio: 16/10;
  background: #2E1E24;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 2px solid var(--burgundy);
}

.lightbox-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(153,77,95,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(46,30,36,0.7) 0%, transparent 55%);
}

.lightbox-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.lightbox-placeholder {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 2rem;
}

.lightbox-placeholder .title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--burgundy-bright);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.lightbox-placeholder .subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(227, 219, 208, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  background: rgba(46, 30, 36, 0.8);
  border: 1px solid rgba(227, 219, 208, 0.3);
  color: var(--cream);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(46, 30, 36, 0.6);
  border: 1px solid rgba(227, 219, 208, 0.3);
  color: var(--cream);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-family: var(--font-display);
  line-height: 1;
}

.lightbox-nav:hover { background: var(--burgundy); }
.lightbox-nav.prev { left: -1rem; }
.lightbox-nav.next { right: -1rem; }

@media (max-width: 700px) {
  .lightbox-nav.prev { left: 0.25rem; }
  .lightbox-nav.next { right: 0.25rem; }
}

.lightbox-counter {
  position: absolute;
  bottom: -2rem;
  left: 0;
  color: rgba(227, 219, 208, 0.6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* --- Fix header logo visibility: use dark lockup when on light backgrounds --- */
/* The image itself is swapped via srcset in HTML, not via filter.
   Filter approach killed brand color — reverted. */

/* --- Separator between sections --- */
.section-divider {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.section-divider hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 0;
}
.section-divider .divider-ornament {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: -14px 0;
  position: relative;
  z-index: 1;
  background: var(--cream);
  line-height: 28px;
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.2em;
}

/* (scrolled dark-hero brand-mark rule removed — use proper dark logo variant instead) */

/* --- Logo variant handling ---
   Brand colors are preserved in both variants:
   - logo-lockup-200.png      → burgundy A + navy text (for light bg)
   - logo-lockup-light-200.png → burgundy A + cream text (for dark bg)
   The HTML swaps the src via JS so no filter is needed. */
/* No filter rules — brand colors stay intact. */

/* --- Single-line stats strip (replaces bulky stats-cinematic) --- */
.stats-strip {
  padding: 2.5rem 0;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-strip .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.stats-strip .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}
.stats-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}
.stats-inline .stat-cell {
  text-align: center;
  padding: 0 0.5rem;
  border-left: 1px solid var(--rule);
}
.stats-inline .stat-cell:first-child { border-left: none; }
.stats-inline .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.stats-inline .num em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 300;
}
.stats-inline .label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-family: var(--font-display);
}
@media (max-width: 720px) {
  .stats-inline { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .stats-inline .stat-cell:nth-child(3) { border-left: none; }
}

/* --- Artistic text-only brands strip (replaces image marquee) --- */
.brands-strip-v2 {
  background: var(--cream);
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.brands-strip-v2 .brands-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.2rem;
  padding: 0 2rem;
}
.brands-strip-v2 .eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  text-align: center;
}
.brands-strip-v2 .brands-note {
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.5;
  font-style: italic;
  margin: 0 auto;
  text-align: center;
  max-width: 540px;
}
.brands-marquee-v2 {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  padding: 0.35rem 0;
}
.brands-marquee-v2 + .brands-marquee-v2 {
  margin-top: 0.25rem;
}
.marquee-track-v2 {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marqueeSlide 90s linear infinite;
  will-change: transform;
}
.brands-marquee-v2.reverse .marquee-track-v2 {
  animation: marqueeSlideReverse 100s linear infinite;
}
.brands-marquee-v2:hover .marquee-track-v2 {
  animation-play-state: paused;
}
.brands-strip-v2 .b-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--navy);
  text-transform: uppercase;
  padding: 0 0.4rem;
  transition: color 0.3s;
}
.brands-strip-v2 .b-name:hover {
  color: var(--burgundy);
  font-style: italic;
}
.brands-strip-v2 .b-sep {
  color: var(--burgundy);
  font-size: 0.7rem;
  opacity: 0.5;
  transform: translateY(-2px);
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marqueeSlideReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* --- Dual-variant logo visibility (no filters, preserves brand colors) --- */
/* Default (inner pages, cream header): show dark variant only */
header.site-header .brand-mark-light { display: none; }
header.site-header .brand-mark-dark { display: block; }

/* Homepage hero (not scrolled): header floats over dark hero → show light variant */
body.has-full-hero:not(.scrolled) header.site-header .brand-mark-dark { display: none; }
body.has-full-hero:not(.scrolled) header.site-header .brand-mark-light { display: block; }

/* Inner pages with dark hero (not scrolled): same */
body.inner-page.has-dark-hero:not(.scrolled) header.site-header .brand-mark-dark { display: none; }
body.inner-page.has-dark-hero:not(.scrolled) header.site-header .brand-mark-light { display: block; }

/* Footer is on dark navy bg → always use light variant */
footer.site-footer .brand-mark-dark { display: none; }
footer.site-footer .brand-mark-light { display: block; }
