/* =========================================================
   FMR Group — Luxury Corporate website
   Brand: Navy #1b293c · Burgundy #7c1b26 · Gold #c6ae71
   ========================================================= */
:root {
  --navy-900: #0b131f;
  --navy-800: #0e1826;
  --navy-700: #142133;
  --navy: #1b293c;
  --navy-500: #2a3d57;
  --burgundy: #7c1b26;
  --burgundy-deep: #4a0d18;
  --burgundy-lite: #992334;
  --gold: #c6ae71;
  --gold-lite: #e2d3a6;
  --gold-deep: #7a6432;
  --ivory: #f7f3ec;
  --ivory-2: #efe8dc;
  --sand: #e4dacb;
  --ink: #1b293c;
  --ink-soft: #4b5563;
  --white: #ffffff;

  --serif: "Noto Serif Display", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--navy-900); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 8.4vw, 124px) 0; }
.section--dark { background: var(--navy-800); color: var(--ivory); }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,3%); }
  40% { transform: translate(3%,-6%); } 60% { transform: translate(-7%,5%); } 80% { transform: translate(6%,-2%); }
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--navy-900);
  transition: clip-path 1.2s var(--ease-in-out) .1s;
  clip-path: inset(0 0 0 0);
}
.loader__inner { text-align: center; }
.loader__mark { width: 74px; margin: 0 auto 28px; opacity: 0; transform: translateY(14px); animation: fadeUp 1s var(--ease) .15s forwards; }
.loader__line { width: 180px; height: 1px; background: rgba(198,174,113,.18); margin: 0 auto; overflow: hidden; }
.loader__line span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: loadbar 1.4s var(--ease-in-out) .3s forwards; }
.loader__tag { margin-top: 22px; color: var(--gold); letter-spacing: .5em; font-size: 12px; font-weight: 400; opacity: 0; animation: fadeUp 1s var(--ease) .5s forwards; }
body.is-loaded .loader { clip-path: inset(0 0 100% 0); }
@keyframes loadbar { to { transform: scaleX(1); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(198,174,113,.6);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cursor__ring em { font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy-900); opacity: 0; transition: opacity .3s; font-weight: 500; }
.cursor.is-view .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view .cursor__ring em { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-link .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--gold); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.eyebrow__line { width: 42px; height: 1px; background: currentColor; display: inline-block; }

.section__head { margin-bottom: clamp(56px, 7vw, 104px); }
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section__title {
  font-family: var(--serif); font-weight: 300; line-height: 1; letter-spacing: -.015em;
  font-size: clamp(46px, 7vw, 108px); margin-top: 26px;
}
.section__title em { color: var(--burgundy); font-weight: 300; }
.section--dark .section__title em { color: var(--gold); }
.section__lead { max-width: 440px; color: var(--ink-soft); font-size: 17.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 6px; position: relative; color: inherit;
}
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow svg, .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 58px; padding: 0 34px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%);
  transition: transform .6s var(--ease); border-radius: 0;
}
.btn:hover::before { transform: none; }
.btn:hover svg { transform: translateX(5px); }
.btn--sm { height: 46px; padding: 0 24px; font-size: 12.5px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold::before { background: var(--ivory); }
.btn--ghost { border-color: rgba(247,243,236,.4); color: var(--ivory); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--navy-900); border-color: var(--ivory); }
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy::before { background: var(--burgundy); }

/* ---------- Header ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--ivory);
  transition: background .6s var(--ease), height .6s var(--ease), color .4s, transform .6s var(--ease), box-shadow .6s;
}
.nav::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: rgba(247,243,236,.14); transition: opacity .4s; }
.nav.is-scrolled { height: 72px; background: rgba(14,24,38,.82); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.nav.is-scrolled::after { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { position: relative; height: 46px; flex: none; transition: height .5s var(--ease); }
.nav.is-scrolled .nav__logo { height: 38px; }
.nav__logo img { height: 100%; width: auto; }
.nav__logo .logo-dark { display: none; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a { position: relative; font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; opacity: .85; transition: opacity .3s; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 22px; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .08em; font-weight: 400; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }
.nav__burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(247,243,236,.3); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 19px; } .nav__burger span:nth-child(2) { top: 26px; }
body.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 99; pointer-events: none; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; }
.menu__bg { position: absolute; inset: 0; background: var(--navy-900); clip-path: circle(0% at calc(100% - 48px) 44px); transition: clip-path .9s var(--ease-in-out); }
.menu__links { position: relative; display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--serif); font-size: clamp(38px, 10vw, 64px); line-height: 1.15; color: var(--ivory); opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease); display: flex; align-items: baseline; gap: 18px; }
.menu__links a i { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--gold); letter-spacing: .2em; }
.menu__foot { position: relative; margin-top: 40px; color: var(--gold); letter-spacing: .4em; font-size: 12px; opacity: 0; transition: opacity .6s .5s; }
body.menu-open .menu { pointer-events: auto; }
body.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 48px) 44px); }
body.menu-open .menu__links a { opacity: 1; transform: none; }
body.menu-open .menu__foot { opacity: 1; }
body.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; } body.menu-open .menu__links a:nth-child(2) { transition-delay: .3s; }
body.menu-open .menu__links a:nth-child(3) { transition-delay: .35s; } body.menu-open .menu__links a:nth-child(4) { transition-delay: .4s; }
body.menu-open .menu__links a:nth-child(5) { transition-delay: .45s; } body.menu-open .menu__links a:nth-child(6) { transition-delay: .5s; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; color: var(--ivory); overflow: hidden; background: var(--navy-900); display: flex; flex-direction: column; justify-content: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: -4%; background: var(--navy-700) var(--img) center/cover no-repeat;
  opacity: 0; transform: scale(1.12); transition: opacity 1.8s var(--ease), transform 9s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,19,31,.72) 0%, rgba(11,19,31,.15) 32%, rgba(11,19,31,.35) 60%, rgba(11,19,31,.94) 100%),
    linear-gradient(90deg, rgba(11,19,31,.75) 0%, rgba(11,19,31,0) 65%),
    radial-gradient(120% 80% at 100% 100%, rgba(124,27,38,.35), transparent 60%);
}
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__lines path { fill: none; stroke: rgba(198,174,113,.35); stroke-width: 1; stroke-dasharray: 2200; stroke-dashoffset: 2200; }
body.is-loaded .hero__lines path { animation: draw 3.2s var(--ease-in-out) 1.4s forwards; }
body.is-loaded .hero__lines path + path { animation-delay: 1.7s; stroke: rgba(198,174,113,.18); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__content { position: relative; z-index: 2; padding-bottom: clamp(110px, 14vh, 150px); }
.hero__eyebrow { opacity: 0; transform: translateY(20px); transition: all 1.2s var(--ease) 1.2s; }
.hero__title {
  font-family: var(--serif); font-weight: 300; line-height: .95; letter-spacing: -.02em;
  font-size: clamp(54px, 10.4vw, 172px); margin: 28px 0 44px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.hero__title .line:nth-child(1) > span { transition-delay: 1.25s; }
.hero__title .line:nth-child(2) > span { transition-delay: 1.38s; padding-left: clamp(40px, 9vw, 160px); }
.hero__title .line:nth-child(3) > span { transition-delay: 1.51s; }
.hero__title em { color: var(--gold); font-weight: 300; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; opacity: 0; transform: translateY(24px); transition: all 1.2s var(--ease) 1.8s; }
.hero__lead { max-width: 480px; font-size: clamp(15px, 1.25vw, 18px); color: rgba(247,243,236,.82); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
body.is-loaded .hero__eyebrow, body.is-loaded .hero__bottom { opacity: 1; transform: none; }
body.is-loaded .hero__title .line > span { transform: none; }

.hero__meta { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 24px; opacity: 0; transition: opacity 1s 2.2s; }
body.is-loaded .hero__meta { opacity: 1; }
.hero__counter { font-size: 13px; letter-spacing: .2em; color: rgba(247,243,236,.76); display: flex; gap: 8px; }
.hero__counter b { color: var(--gold); font-weight: 500; }
.hero__progress { flex: 1; max-width: 240px; height: 1px; background: rgba(247,243,236,.2); overflow: hidden; }
.hero__progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.hero__progress span.run { animation: progress 6s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__cap { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,243,236,.7); transition: color .3s; }
.hero__cap:hover { color: var(--gold); }
.hero__scroll { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(247,243,236,.82); }
.hero__scroll i { width: 1px; height: 46px; background: rgba(247,243,236,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--gold); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--burgundy-deep); background-image: linear-gradient(90deg, var(--burgundy-deep), var(--burgundy) 50%, var(--burgundy-deep)); color: var(--gold-lite); overflow: hidden; padding: 26px 0; border-top: 1px solid rgba(198,174,113,.25); border-bottom: 1px solid rgba(198,174,113,.25); }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.6vw, 52px); font-weight: 300; white-space: nowrap; }
.marquee__track b { color: var(--gold); font-size: 17px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--ivory); }
.about__grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(40px, 7vw, 120px); }
.about__seal { position: relative; width: 200px; height: 200px; margin-top: 56px; }
.seal-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal-text text { font-family: var(--sans); font-size: 12.5px; letter-spacing: .16em; fill: var(--gold-deep); font-weight: 500; }
.about__seal img { position: absolute; width: 74px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@keyframes spin { to { transform: rotate(360deg); } }
.manifesto { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 58px); line-height: 1.18; letter-spacing: -.01em; color: var(--ink); }
.manifesto em { color: var(--burgundy); }
.manifesto .w { display: inline-block; opacity: .14; transition: opacity .5s; }
.manifesto .w.on { opacity: 1; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin: clamp(56px, 7vw, 96px) 0 48px; padding-top: 44px; border-top: 1px solid var(--sand); }
.about__cols h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.about__cols p { color: var(--ink-soft); }

/* ---------- Pillars ---------- */
.pillars { overflow: hidden; background: radial-gradient(80% 60% at 0% 0%, rgba(124,27,38,.28), transparent 60%), var(--navy-800); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(198,174,113,.22); }
.pillar { position: relative; padding: 56px clamp(24px, 3vw, 52px) 64px; border-right: 1px solid rgba(198,174,113,.22); overflow: hidden; transition: background .8s var(--ease); min-height: 480px; display: flex; flex-direction: column; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(198,174,113,.05); }
.pillar__letter { position: absolute; right: -10px; bottom: -70px; font-family: var(--serif); font-size: 340px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(198,174,113,.22); transition: transform 1.2s var(--ease), -webkit-text-stroke-color .6s; pointer-events: none; }
.pillar:hover .pillar__letter { transform: translateY(-24px); -webkit-text-stroke-color: rgba(198,174,113,.5); }
.pillar__num { font-size: 13px; letter-spacing: .24em; color: var(--gold); }
.pillar h3 { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 68px); font-weight: 300; margin: auto 0 22px; padding-top: 100px; line-height: 1; }
.pillar h3 small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 14px; }
.pillar p { color: rgba(247,243,236,.82); max-width: 360px; position: relative; }

/* ---------- Projects ---------- */
.projects { background: var(--ivory); }
.project__media { position: relative; display: block; overflow: hidden; background: var(--navy-700); }
.project__img { position: absolute; inset: -8% 0; background: linear-gradient(135deg, var(--navy-500), var(--navy-900)) ; background-image: var(--img), linear-gradient(135deg, var(--navy-500), var(--navy-900)); background-size: cover; background-position: center; transform: scale(1.06); transition: transform 1.6s var(--ease); will-change: transform; }
.project__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,19,31,.45)); }
.project:hover .project__img { transform: scale(1.12); }
.project__badge { position: absolute; z-index: 2; top: 24px; left: 24px; padding: 9px 16px; background: rgba(247,243,236,.92); backdrop-filter: blur(8px); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.project__idx { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-deep); }
.project__loc { font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 10px; }
.project__name { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.6vw, 76px); line-height: 1; margin-bottom: 22px; }
.project__desc { color: var(--ink-soft); max-width: 460px; margin-bottom: 28px; }
.project__tags { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.project__tags li { border: 1px solid var(--sand); padding: 7px 14px; font-size: 13px; letter-spacing: .06em; }
.project--feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; margin-bottom: clamp(80px, 10vw, 150px); }
.project--feature .project__media { aspect-ratio: 16/11; }
.projects__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); }
.projects__row .project:nth-child(2) { margin-top: clamp(0px, 12vw, 180px); }
.projects__row .project__media { aspect-ratio: 4/5; margin-bottom: 34px; }
.projects__row .project__name { font-size: clamp(34px, 3.4vw, 54px); }

/* ---------- Statement ---------- */
.statement { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; color: var(--ivory); text-align: center; }
.statement__bg { position: absolute; inset: -20% 0; background: var(--navy-700) var(--img) center/cover no-repeat; will-change: transform; }
.statement__veil { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(11,19,31,.55), rgba(11,19,31,.88)); }
.statement__inner { position: relative; padding-top: 120px; padding-bottom: 120px; }
.statement__mark { width: 54px; margin: 0 auto 48px; }
.statement__quote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 5.4vw, 86px); line-height: 1.1; letter-spacing: -.01em; }
.statement__quote em { color: var(--gold); }
.statement__by { margin-top: 40px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* ---------- Services ---------- */
.services { background: var(--ivory-2); }
.services__list { border-top: 1px solid var(--sand); }
.service {
  position: relative; display: grid; grid-template-columns: 90px 1.2fr 1fr 70px; align-items: center; gap: 24px;
  padding: clamp(30px, 3.6vw, 52px) 0; border-bottom: 1px solid var(--sand); isolation: isolate;
}
.service::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--navy-800); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.service:hover::before { transform: scaleY(1); transform-origin: top; }
.service__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-deep); transition: color .5s; }
.service__title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.8vw, 62px); line-height: 1.05; transition: color .5s, transform .7s var(--ease); }
.service__desc { color: var(--ink-soft); max-width: 380px; transition: color .5s; }
.service__arrow { width: 60px; height: 60px; border: 1px solid var(--sand); border-radius: 50%; display: grid; place-items: center; justify-self: end; transition: all .6s var(--ease); }
.service__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.service:hover .service__title { color: var(--ivory); transform: translateX(16px); }
.service:hover .service__num { color: var(--gold); }
.service:hover .service__desc { color: rgba(247,243,236,.84); }
.service:hover .service__arrow { background: var(--gold); border-color: var(--gold); color: var(--navy-900); transform: rotate(45deg); }
.service__img { position: absolute; z-index: 2; width: 300px; aspect-ratio: 4/5; right: 22%; top: 50%; pointer-events: none; background: var(--navy-700) var(--img) center/cover; opacity: 0; transform: translate(0, -50%) scale(.85) rotate(-3deg); transition: opacity .5s, transform .8s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
@media (hover: hover) { .service:hover .service__img { opacity: 1; transform: translate(0, -50%) scale(1) rotate(2deg); } }

/* ---------- Journey ---------- */
.journey { background: var(--navy-900); overflow: hidden; }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 64px 28px 0 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold); background: var(--navy-900); transform: translateY(-6px); transition: background .5s; z-index: 1; }
.step.is-in::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(198,174,113,.12); transition-delay: .6s; }
.step__n { font-family: var(--serif); font-size: 78px; line-height: 1; font-weight: 300; color: transparent; -webkit-text-stroke: 1px rgba(198,174,113,.55); display: block; margin-bottom: 26px; }
.step h3 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin-bottom: 14px; }
.step p { color: rgba(247,243,236,.76); font-size: 16px; }
.journey__rail { position: relative; height: 1px; background: rgba(198,174,113,.2); margin-top: calc(-1 * var(--rail-offset, 0px)); }
.journey .container { position: relative; }
.journey__steps::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(198,174,113,.2); }
.journey__steps::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.journey__rail { display: none; }

/* ---------- Founder ---------- */
.founder { background: var(--ivory); overflow: hidden; }
.founder__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 8vw, 140px); align-items: center; }
.founder__visual { position: relative; }
.founder__frame { position: relative; aspect-ratio: 4/5; padding: 18px; border: 1px solid var(--gold); }
.founder__frame::before { content: ""; position: absolute; inset: -1px; border: 1px solid var(--gold); transform: translate(22px, 22px); opacity: .45; pointer-events: none; }
.founder__portrait {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background:
    radial-gradient(90% 70% at 30% 20%, rgba(153,35,52,.55), transparent 60%),
    radial-gradient(80% 60% at 80% 100%, rgba(198,174,113,.22), transparent 60%),
    linear-gradient(160deg, var(--navy-500), var(--navy-900));
  background-size: cover; background-position: center;
  color: rgba(247,243,236,.7); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-align: center; line-height: 2;
}
.founder__portrait img { width: 96px; opacity: .9; }
.founder__portrait.has-photo { background-image: var(--photo); }
.founder__portrait.has-photo > * { display: none; }
.founder__sign { position: absolute; right: -10px; bottom: -36px; font-family: var(--serif); font-style: italic; font-size: clamp(54px, 6vw, 92px); color: var(--burgundy); line-height: 1; transform: rotate(-6deg); }
.founder__quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.35; margin: 40px 0 28px; padding-left: 28px; border-left: 1px solid var(--gold); }
.founder__text { color: var(--ink-soft); max-width: 560px; }
.founder__actions { display: flex; align-items: center; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.socials a { width: 48px; height: 48px; border: 1px solid var(--sand); border-radius: 50%; display: grid; place-items: center; transition: all .5s var(--ease); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); transform: translateY(-4px); }

/* ---------- Insights ---------- */
.insights { background: var(--ivory-2); }
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.post__img { aspect-ratio: 4/3; background: var(--navy-700) var(--img) center/cover; margin-bottom: 26px; transition: transform 1.2s var(--ease), filter 1s; filter: saturate(.85); }
.post { display: block; overflow: hidden; }
.post:hover .post__img { transform: scale(1.04); filter: saturate(1); }
.post__meta { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.post__meta span { color: var(--burgundy); font-weight: 500; margin-right: 6px; }
.post h3 { font-family: var(--serif); font-size: clamp(24px, 2.1vw, 31px); line-height: 1.2; font-weight: 400; transition: color .4s; }
.post:hover h3 { color: var(--burgundy); }
.insights__grid .post:nth-child(2) { margin-top: 64px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; background: var(--navy-800); }
.contact__glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(circle, rgba(124,27,38,.45), transparent 62%); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); }
.contact__lead { color: rgba(247,243,236,.84); max-width: 470px; margin: 34px 0 52px; }
.contact__info { list-style: none; padding: 0; margin: 0; }
.contact__info li { display: grid; grid-template-columns: 120px 1fr; padding: 20px 0; border-top: 1px solid rgba(198,174,113,.2); align-items: baseline; }
.contact__info li:last-child { border-bottom: 1px solid rgba(198,174,113,.2); }
.contact__info span { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.contact__info a, .contact__info p { font-family: var(--serif); font-size: 26px; }
.contact__info a:hover { color: var(--gold); }

.form { background: rgba(247,243,236,.035); border: 1px solid rgba(198,174,113,.22); padding: clamp(28px, 4vw, 60px); backdrop-filter: blur(6px); align-self: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { position: relative; display: block; margin-bottom: 28px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(247,243,236,.25); color: var(--ivory);
  font-family: var(--sans); font-size: 17px; font-weight: 400; padding: 26px 0 10px; outline: none; border-radius: 0; resize: vertical;
  transition: border-color .4s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ae71' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 bottom 12px; background-size: 16px; }
.field select option { background: var(--navy-800); color: var(--ivory); }
.field > span { position: absolute; left: 0; top: 26px; font-size: 16px; color: rgba(247,243,236,.66); pointer-events: none; transition: all .4s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--gold); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field > span.is-static { top: 0; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.field.is-error input { border-bottom-color: #e0707f; }
.chips { border: 0; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border: 1px solid rgba(247,243,236,.22); font-size: 14.5px; transition: all .4s var(--ease); }
.chips label:hover span { border-color: var(--gold); }
.chips input:checked + span { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.chips input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(247,243,236,.76); margin: 4px 0 30px; cursor: pointer; line-height: 1.6; }
.consent input { accent-color: var(--gold); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.consent.is-error { color: #f0a0aa; }
.form__msg { margin-top: 18px; font-size: 15px; min-height: 1.5em; color: var(--gold-lite); }
.form__msg.is-error { color: #f0a0aa; }
.form.is-sent { text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(247,243,236,.82); padding: clamp(60px, 8vw, 120px) 0 36px; overflow: hidden; }
.footer__big { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 9.2vw, 160px); line-height: .9; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(198,174,113,.35); margin-bottom: clamp(56px, 7vw, 100px); text-align: center; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(198,174,113,.18); }
.footer__brand img { height: 56px; width: auto; margin-bottom: 26px; }
.footer__brand p { max-width: 320px; font-size: 15.5px; }
.footer h4 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 22px; }
.footer__grid a, .footer__grid div > p { display: block; font-size: 15.5px; margin-bottom: 10px; transition: color .3s; }
.footer__grid a:hover { color: var(--gold); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; padding-right: 76px; font-size: 13.5px; flex-wrap: wrap; }
.footer__note { color: rgba(247,243,236,.45); }
.totop { width: 48px; height: 48px; border: 1px solid rgba(198,174,113,.4); border-radius: 50%; display: grid; place-items: center; transition: all .5s var(--ease); }
.totop svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.totop:hover { background: var(--gold); transform: translateY(-4px); }
.totop:hover svg { stroke: var(--navy-900); }

/* ---------- Floating contact ---------- */
.float { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(20px); transition: all .6s var(--ease); pointer-events: none; }
.float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(11,19,31,.35); transition: transform .4s var(--ease); }
.float__btn:hover { transform: scale(1.08); }
.float__zalo { background: var(--ivory); color: #0068ff; font-size: 13px; font-weight: 700; }
.float__msg { background: var(--ivory); color: #0866ff; }
.float__msg svg { width: 26px; height: 26px; fill: currentColor; }
.float__call { background: var(--burgundy); color: var(--ivory); position: relative; }
.float__call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--burgundy); animation: ring 2s infinite; }
.float__call svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(44px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .journey__steps { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .journey__steps::before, .journey__steps::after { display: none; }
  .step { border-top: 1px solid rgba(198,174,113,.25); }
}
@media (max-width: 960px) {
  :root { --nav-h: 76px; }
  .nav__phone { display: none; }
  .about__grid, .project--feature, .founder__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__seal { width: 150px; height: 150px; margin-top: 32px; }
  .about__seal img { width: 56px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid rgba(198,174,113,.22); min-height: 360px; }
  .pillar h3 { padding-top: 60px; }
  .service { grid-template-columns: 50px 1fr 52px; }
  .service__desc { grid-column: 2 / 3; grid-row: 2; }
  .service__arrow { grid-row: 1 / 3; grid-column: 3; width: 50px; height: 50px; }
  .service__img { display: none; }
  .insights__grid { grid-template-columns: 1fr 1fr; }
  .insights__grid .post:nth-child(2) { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .founder__visual { max-width: 460px; }
}
@media (max-width: 640px) {
  .nav .btn--sm { display: none; }
  .nav__logo { height: 38px; }
  .hero { min-height: 600px; }
  .hero__title .line:nth-child(2) > span { padding-left: 28px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__progress { display: none; }
  .hero__scroll span { display: none; }
  .hero__cap { font-size: 10px; letter-spacing: .1em; }
  .btn { height: 54px; padding: 0 24px; }
  .about__cols, .projects__row, .form__row, .insights__grid { grid-template-columns: 1fr; }
  .projects__row .project:nth-child(2) { margin-top: 24px; }
  .projects__row .project__media { aspect-ratio: 4/3.6; }
  .journey__steps { grid-template-columns: 1fr; }
  .step { padding-top: 40px; }
  .step__n { font-size: 60px; }
  .contact__info li { grid-template-columns: 1fr; gap: 4px; }
  .contact__info a, .contact__info p { font-size: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__big { white-space: normal; font-size: 18vw; }
  .founder__sign { right: 0; }
  .float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Shared components added for multi-page site
   ========================================================= */
.consent a, .footer__note a { color: var(--gold); border-bottom: 1px solid rgba(198,174,113,.4); }
.consent a:hover, .footer__note a:hover { border-color: var(--gold); }
.sent__mark { width: 60px; margin: 10px auto 28px; }
.sent__title { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 48px); font-weight: 300; line-height: 1.1; margin-bottom: 18px; }
.sent__text { color: rgba(247,243,236,.84); max-width: 380px; margin: 0 auto; }
.sent__text b { color: var(--gold); font-weight: 500; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--navy-900); color: var(--ivory); border: 1px solid rgba(198,174,113,.35); padding: 14px 22px; font-size: 15px;
  box-shadow: 0 20px 50px rgba(11,19,31,.35); transition: all .5s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11,19,31,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--navy-800); color: var(--ivory);
  border: 1px solid rgba(198,174,113,.3); padding: clamp(28px, 5vw, 52px); opacity: 0; transform: translateY(30px) scale(.98); transition: all .6s var(--ease); }
.modal.is-open { visibility: visible; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 1px solid rgba(198,174,113,.3); background: transparent; color: var(--ivory); cursor: pointer; font-size: 22px; line-height: 1; transition: all .4s; }
.modal__close:hover { background: var(--gold); color: var(--navy-900); }
.modal__title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin: 18px 0 12px; }
.modal__title em { color: var(--gold); }
.modal__lead { color: rgba(247,243,236,.8); font-size: 16px; margin-bottom: 26px; }
.modal .form { background: none; border: 0; padding: 0; backdrop-filter: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 145; background: rgba(11,19,31,.96); display: none; }
.lightbox.is-open { display: block; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__img { position: absolute; inset: 80px clamp(16px, 8vw, 120px); background: center/contain no-repeat; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(198,174,113,.4); border-radius: 50%; background: transparent; color: var(--ivory); cursor: pointer; display: grid; place-items: center; transition: all .4s; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--gold); color: var(--navy-900); }
.lightbox svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--gold); font-size: 13px; letter-spacing: .24em; }

/* Subpage nav: always solid */
.nav--solid { background: rgba(14,24,38,.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav--solid::after { opacity: 0; }

/* =========================================================
   Project detail page
   ========================================================= */
.phero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ivory); overflow: hidden; background: var(--navy-900); }
.phero__bg { position: absolute; inset: -12% 0; background: var(--navy-700) var(--img) center/cover no-repeat; animation: pheroZoom 2.4s var(--ease) both; }
@keyframes pheroZoom { from { transform: scale(1.15); opacity: .3; } }
.phero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,19,31,.6) 0%, rgba(11,19,31,.1) 35%, rgba(11,19,31,.92) 100%), linear-gradient(90deg, rgba(11,19,31,.6), transparent 60%); }
.phero__content { position: relative; padding-top: 140px; padding-bottom: 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,243,236,.78); margin-bottom: 34px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }
.phero__status { display: inline-block; padding: 8px 16px; border: 1px solid var(--gold); color: var(--gold); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; }
.phero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 12vw, 200px); line-height: .9; letter-spacing: -.02em; }
.phero__title em { color: var(--gold); }
.phero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); color: rgba(247,243,236,.85); margin-top: 18px; }
.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr) auto; border-top: 1px solid rgba(198,174,113,.3); margin-top: 56px; }
.fact { padding: 26px 24px 4px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid rgba(198,174,113,.18); }
.fact span { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.fact b { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); }
.facts .btn { align-self: end; margin-left: 24px; }

.overview { background: var(--ivory); }
.overview__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.overview__text p { color: var(--ink-soft); margin-bottom: 20px; font-size: 17.5px; }
.overview__text p.lead { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; color: var(--ink); font-weight: 300; }
.overview__note { margin-top: 32px; padding: 20px 24px; border-left: 2px solid var(--gold); background: var(--ivory-2); font-size: 15px; color: var(--ink-soft); }

.gallery { background: var(--navy-900); color: var(--ivory); }
.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 14vw, 220px); gap: 12px; }
.shot { position: relative; overflow: hidden; display: block; background: var(--navy-700); }
.shot__img { position: absolute; inset: 0; background: var(--img) center/cover; transition: transform 1.4s var(--ease); }
.shot::after { content: ""; position: absolute; inset: 0; background: rgba(11,19,31,.25); transition: background .5s; }
.shot:hover .shot__img { transform: scale(1.07); }
.shot:hover::after { background: rgba(11,19,31,0); }
.shot:nth-child(1) { grid-column: span 7; grid-row: span 3; }
.shot:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.shot:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.shot:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.shot:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.shot:nth-child(6) { grid-column: span 4; grid-row: span 2; }
.shot:nth-child(7) { grid-column: span 6; grid-row: span 2; }
.shot:nth-child(8) { grid-column: span 6; grid-row: span 2; }

.docs { background: var(--ivory-2); }
.docs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--sand); border: 1px solid var(--sand); }
.doc { position: relative; background: var(--ivory); padding: 40px 30px 34px; text-align: left; border: 0; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; min-height: 300px; transition: background .6s var(--ease), color .5s; overflow: hidden; }
.doc:hover { background: var(--navy-800); color: var(--ivory); }
.doc__icon { width: 54px; height: 54px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); transition: all .5s; }
.doc:hover .doc__icon { background: var(--gold); color: var(--navy-900); }
.doc__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.doc h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: auto 0 10px; padding-top: 60px; line-height: 1.1; }
.doc p { font-size: 15px; color: var(--ink-soft); transition: color .5s; }
.doc:hover p { color: rgba(247,243,236,.78); }
.doc__lock { position: absolute; top: 40px; right: 30px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); display: flex; align-items: center; gap: 8px; }
.doc__lock svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.location { background: var(--ivory); }
.location__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.location__map { position: relative; aspect-ratio: 4/3; border: 1px solid var(--sand); padding: 12px; background: var(--ivory-2); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.15) contrast(1.05); }
.location__list { list-style: none; padding: 0; margin: 36px 0 0; }
.location__list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--sand); color: var(--ink-soft); }
.location__list li b { font-weight: 400; color: var(--ink); font-family: var(--serif); font-size: 22px; }

.why { background: var(--navy-800); color: var(--ivory); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.why__item { border-top: 1px solid rgba(198,174,113,.3); padding-top: 30px; }
.why__item span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.why__item h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 16px 0 12px; }
.why__item p { color: rgba(247,243,236,.78); }

.more { background: var(--ivory); }
.more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); }
.more__card { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; color: var(--ivory); background: var(--navy-700); }
.more__card .shot__img { transition: transform 1.6s var(--ease); }
.more__card:hover .shot__img { transform: scale(1.06); }
.more__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,19,31,.88)); }
.more__info { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 28px; }
.more__info p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.more__info h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.4vw, 52px); line-height: 1; }

/* Sticky mobile CTA on project pages */
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: none; gap: 1px; background: rgba(198,174,113,.3); transform: translateY(100%); transition: transform .5s var(--ease); }
.pbar.is-visible { transform: none; }
.pbar a { flex: 1; display: grid; place-items: center; height: 58px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.pbar a:first-child { background: var(--navy-900); color: var(--ivory); }
.pbar a:last-child { background: var(--gold); color: var(--navy-900); }

/* =========================================================
   Legal page + 404
   ========================================================= */
.page-head { background: var(--navy-900); color: var(--ivory); padding: 180px 0 90px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; background: radial-gradient(circle, rgba(124,27,38,.4), transparent 62%); }
.page-head .section__title { position: relative; z-index: 1; }
.page-head__meta { position: relative; z-index: 1; margin-top: 26px; color: rgba(247,243,236,.76); font-size: 15px; }
.prose { max-width: 780px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); margin: 56px 0 16px; line-height: 1.15; }
.prose h2 span { color: var(--gold-deep); font-style: italic; margin-right: 10px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 14px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li::marker { color: var(--gold-deep); }
.prose a { color: var(--burgundy); border-bottom: 1px solid rgba(124,27,38,.3); }
.placeholder, .prose .placeholder { background: var(--gold-lite); color: var(--ink); padding: 1px 6px; }
.legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.toc { position: sticky; top: 110px; border-top: 1px solid var(--sand); }
.toc a { display: block; padding: 12px 0; border-bottom: 1px solid var(--sand); font-size: 14.5px; color: var(--ink-soft); transition: color .3s, padding .4s var(--ease); }
.toc a:hover { color: var(--burgundy); padding-left: 8px; }

.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: var(--ivory); position: relative; overflow: hidden; padding: 120px 16px 60px; }
.notfound__num { font-family: var(--serif); font-weight: 300; font-size: clamp(140px, 30vw, 380px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(198,174,113,.5); }
.notfound h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 54px); margin: 20px 0 14px; }
.notfound h1 em { color: var(--gold); }
.notfound p { color: rgba(247,243,236,.78); max-width: 440px; margin: 0 auto 36px; }

@media (max-width: 1180px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts .btn { grid-column: 1 / -1; margin: 28px 0 0; }
  .docs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .overview__grid, .location__grid, .legal__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .shot:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .shot:nth-child(8):last-child { grid-column: span 2; }
  .pbar { display: flex; }
  .page--project .float { display: none; }
}
@media (max-width: 640px) {
  .docs__grid, .more__grid { grid-template-columns: 1fr; }
  .doc { min-height: 220px; }
  .phero__content { padding-bottom: 36px; }
  .fact b { font-size: 19px; }
  .more__info { left: 20px; right: 20px; bottom: 20px; }
  .lightbox__img { inset: 80px 8px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .page-head { padding: 140px 0 64px; }
  .page--project .footer { padding-bottom: 90px; }
}
.gallery .section__title em, .why .section__title em, .page-head .section__title em { color: var(--gold); }
.gallery .eyebrow, .why .eyebrow, .page-head .eyebrow { color: var(--gold); }

/* Homepage — other projects being advised */
.pmore { margin-top: clamp(80px, 10vw, 150px); }
.pmore__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--sand); }
.pmore__item { position: relative; display: flex; flex-direction: column; padding: 40px clamp(20px, 2.6vw, 40px) 40px 0; isolation: isolate; }
.pmore__item + .pmore__item { padding-left: clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--sand); }
.pmore__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory-2); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.pmore__item:hover::before { transform: scaleY(1); }
.pmore__idx { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-deep); }
.pmore__loc { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 8px; }
.pmore__item h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.05; margin-bottom: 16px; transition: color .4s; }
.pmore__item:hover h3 { color: var(--burgundy); }
.pmore__item > p:not(.pmore__loc) { color: var(--ink-soft); font-size: 16px; margin-bottom: 28px; flex: 1; }
.pmore__item .link-arrow { align-self: flex-start; }
@media (max-width: 960px) {
  .pmore__grid { grid-template-columns: 1fr; }
  .pmore__item, .pmore__item + .pmore__item { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--sand); }
}

/* Founder portrait (real photo) */
.founder__portrait--photo { padding: 0; background: #ecebe9; overflow: hidden; }
.founder__portrait--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: 1; transition: transform 1.6s var(--ease); }
.founder__frame:hover .founder__portrait--photo img { transform: scale(1.03); }

/* ===== Content from fmr.vn (2026-11) ===== */
.pillar__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; position: relative; }
.pillar__tags li { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft, #e2d3a6); padding: 7px 12px; border: 1px solid rgba(198,174,113,.32); }

.founder__motto { margin-top: 26px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.founder__motto span { color: var(--burgundy); margin: 0 6px; }

.eco { background: var(--ivory-2); }
.eco__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--sand); border-left: 1px solid var(--sand); }
.eco__item { position: relative; padding: 44px clamp(22px, 2.4vw, 36px) 48px; border-right: 1px solid var(--sand); border-bottom: 1px solid var(--sand); min-height: 280px; display: flex; flex-direction: column; overflow: hidden; transition: color .6s var(--ease); isolation: isolate; }
.eco__item::before { content: ""; position: absolute; inset: 0; background: var(--navy-800); transform: translateY(101%); transition: transform .8s var(--ease); z-index: -1; }
.eco__item:hover::before { transform: translateY(0); }
.eco__item:hover { color: var(--ivory); }
.eco__num { font-size: 13px; letter-spacing: .24em; color: var(--gold-deep); }
.eco__item h3 { margin-top: auto; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 2.8vw, 44px); line-height: 1.05; }
.eco__item h3 em { color: var(--burgundy); transition: color .6s; }
.eco__item:hover h3 em { color: var(--gold); }
.eco__item p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; transition: color .6s; }
.eco__item:hover p { color: rgba(247,243,236,.82); }

.reach { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; align-items: end; margin-top: clamp(64px, 8vw, 110px); }
.reach__title { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.reach__title span { font-style: italic; color: var(--burgundy); }
.reach__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.reach__list li { padding: 0 20px; border-left: 1px solid var(--sand); }
.reach__list b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 5vw, 84px); line-height: 1; color: var(--navy); }
.reach__list sup { font-size: .4em; color: var(--gold-deep); vertical-align: top; margin-left: 2px; }
.reach__list span { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

.careers { background: var(--ivory); }
.perks { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--sand); margin-bottom: clamp(56px, 7vw, 96px); }
.perks li { padding: 30px 28px 0 0; }
.perks h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 8px; }
.perks p { color: var(--ink-soft); font-size: 16px; }
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.job { background: #fff; border: 1px solid var(--sand); padding: 32px clamp(22px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 24px; transition: border-color .5s, transform .6s var(--ease), box-shadow .6s; }
.job:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(27,41,60,.35); }
.job__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.job__head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 30px); line-height: 1.15; }
.job__tag { flex: none; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); border: 1px solid rgba(124,27,38,.3); padding: 6px 10px; }
.job__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 40px; margin: 0; }
.job__meta dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.job__meta dd { margin: 4px 0 0; font-weight: 500; color: var(--navy); }
.ladder { margin-top: clamp(56px, 7vw, 96px); }
.ladder__title { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 24px; }
.ladder ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: lv; border-top: 1px solid var(--navy); }
.ladder li { counter-increment: lv; position: relative; padding: 26px 16px 0 0; }
.ladder li::before { content: "0" counter(lv); position: absolute; top: -6px; left: 0; background: var(--ivory); padding-right: 10px; font-size: 12px; letter-spacing: .2em; color: var(--burgundy); line-height: 12px; }
.ladder b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.ladder span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 15px; }

@media (max-width: 960px) {
  .eco__grid { grid-template-columns: 1fr 1fr; }
  .eco__item { min-height: 220px; }
  .reach { grid-template-columns: 1fr; }
  .reach__list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .perks { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .jobs { grid-template-columns: 1fr; }
  .ladder ol { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--navy); }
  .ladder li { padding: 0 0 22px 28px; }
  .ladder li::before { top: 4px; left: -6px; padding: 4px 0; background: var(--ivory); }
}
@media (max-width: 560px) {
  .eco__grid { grid-template-columns: 1fr; }
  .reach__list { grid-template-columns: 1fr 1fr; }
  .reach__list li { padding: 0 14px; }
  .perks { grid-template-columns: 1fr; }
  .job__meta { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
}
.reach__list b, .eco__num { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.job .link-arrow { align-self: flex-start; }
.reach__list, .perks, .ladder ol, .pillar__tags { padding: 0; margin-left: 0; }
.pmore__item:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.pmore__item:nth-child(n+4) { border-top: 1px solid var(--sand); }
@media (max-width: 960px) { .pmore__item:nth-child(n+4) { border-top: 0; } }
/* Logo 2026-11-18: horizontal no-tagline min 48px tall; with tagline min 110px */
.nav__logo { height: 52px; }
.nav.is-scrolled .nav__logo { height: 48px; }
.footer__brand img { height: 116px; }
@media (max-width: 640px) { .nav__logo, .nav.is-scrolled .nav__logo { height: 48px; } .footer__brand img { height: 110px; } }

/* ===== Type scale tuned for Noto Serif Display (wider, taller than Cormorant) ===== */
.hero__title { font-size: clamp(42px, 8vw, 132px); line-height: 1.08; letter-spacing: -.015em; }
.hero__title .line { padding-top: .1em; padding-bottom: .14em; margin-top: -.1em; }
.section__title, h2.section__title { line-height: 1.1; font-size: clamp(34px, 4.9vw, 76px); }
.manifesto { font-size: clamp(26px, 3vw, 48px); line-height: 1.3; }
.pillar h3 { font-size: clamp(38px, 3.6vw, 56px); line-height: 1.08; }
.project__name { font-size: clamp(34px, 3.8vw, 62px); line-height: 1.08; }
.statement__quote { font-size: clamp(32px, 4.6vw, 72px); line-height: 1.15; }
.service__title { font-size: clamp(28px, 3.1vw, 50px); line-height: 1.12; }
.founder__quote { font-size: clamp(21px, 2vw, 28px); line-height: 1.5; }
.founder__sign { font-size: clamp(44px, 4.8vw, 74px); }
.post h3 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.32; }
.footer__big { font-size: clamp(34px, 7.4vw, 128px); line-height: 1.05; }
.phero__title { font-size: clamp(52px, 9.6vw, 160px); line-height: 1.02; }
.menu__links a { font-size: clamp(32px, 8vw, 52px); line-height: 1.25; }
.eco__item h3 { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.12; }
.pmore__item h3 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.12; }
.job__head h3, .perks h3, .ladder b { line-height: 1.25; }
.job__head h3 { font-size: clamp(21px, 1.7vw, 26px); }
.perks h3, .ladder b { font-size: 21px; }
.reach__list b { font-size: clamp(46px, 4.2vw, 70px); }
.step__n { font-size: 64px; }
.pillar__letter { font-size: 280px; }
.modal__title, .sent__title { line-height: 1.15; }
.pillar p { flex-grow: 1; }

/* Mobile: smaller background images (set via --img-m) */
@media (max-width: 768px) {
  .hero__slide, .statement__bg, .phero__bg { background-image: var(--img-m, var(--img)); }
  .project__img { background-image: var(--img-m, var(--img)), linear-gradient(135deg, var(--navy-500), var(--navy-900)); }
}
.contact__info li { grid-template-columns: 168px 1fr; gap: 16px; padding: 18px 0; }
.contact__info span { letter-spacing: .22em; }
.contact__info a, .contact__info p { font-size: 23px; line-height: 1.35; }
.contact__info p { font-size: 19px; }
@media (max-width: 960px) { .contact__info li { grid-template-columns: 1fr; gap: 4px; } .contact__info a { font-size: 21px; } .contact__info p { font-size: 18px; } }
/* Larger tap areas on touch screens (≥44px) without changing the look */
@media (max-width: 960px) {
  .link-arrow::before { content: ""; position: absolute; inset: -9px -6px; }
  .contact__info a { display: inline-block; padding: 8px 0; }
  .footer__grid a { display: block; padding: 7px 0; margin: 0; }
  .consent a { padding: 6px 0; }
}

/* ===== Project list page (du-an.html) ===== */
.plist { background: var(--ivory); padding-top: clamp(56px, 7vw, 96px); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; padding-bottom: 28px; margin-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--sand); }
.filters__group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filters__group[hidden] { display: none; }
.filters__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; letter-spacing: .04em; padding: 10px 18px; min-height: 42px; border: 1px solid var(--sand); background: transparent; color: var(--ink); cursor: pointer; transition: all .4s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.filters__count { margin: 0 0 0 auto; font-size: 14px; color: var(--ink-soft); }
.filters__count b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy); margin-right: 4px; font-feature-settings: "lnum" 1; }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.pcard[hidden] { display: none; }
.pcard { display: flex; flex-direction: column; }
.pcard__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-800); }
.pcard__img { position: absolute; inset: 0; background: var(--navy-700) var(--img) center/cover no-repeat; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard__img { transform: scale(1.05); }
.pcard__media--mono { display: grid; place-items: center; background: radial-gradient(90% 80% at 20% 10%, rgba(153,35,52,.45), transparent 60%), linear-gradient(160deg, var(--navy-500), var(--navy-900)); }
.pcard__mono { font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 10vw, 160px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(198,174,113,.55); transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__mono { transform: translateY(-8px); }
.pcard__soon { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,243,236,.45); }
.pcard__status { position: absolute; top: 16px; left: 16px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; background: rgba(11,19,31,.6); color: var(--ivory); border: 1px solid rgba(198,174,113,.4); backdrop-filter: blur(6px); }
.pcard__status.is-live { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding-top: 24px; }
.pcard__loc { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.pcard__name { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.12; margin: 0 0 14px; }
.pcard__name a:hover { color: var(--burgundy); }
.pcard__desc { color: var(--ink-soft); font-size: 16px; margin: 0 0 18px; flex: 1; }
.pcard__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; }
.pcard__tags li { font-size: 12.5px; padding: 6px 10px; border: 1px solid var(--sand); color: var(--ink); }
.pcard__tags li.is-muted { color: var(--ink-soft); border-style: dashed; }
.pcard .link-arrow { align-self: flex-start; background: none; border: 0; cursor: pointer; font-family: inherit; color: var(--ink); padding-left: 0; padding-right: 0; }
.plist__empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }
.plist__empty button { font: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--burgundy); cursor: pointer; }

.pcta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.pcta__side p { color: rgba(247,243,236,.84); margin: 0 0 30px; max-width: 460px; }

@media (max-width: 1080px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .pgrid { grid-template-columns: 1fr; }
  .filters { gap: 16px; }
  .filters__group { width: 100%; }
  .filters__count { margin-left: 0; }
  .pcta__inner { grid-template-columns: 1fr; }
}
.projects__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 440px; }

/* ===== Loader: the F draws itself in gold, fills with brand colour, then a light sweep ===== */
.loader { background: var(--ivory); }
.loader__mark { position: relative; width: 92px; margin: 0 auto 30px; opacity: 1; transform: none; animation: none; }
.loader__svg { display: block; width: 100%; height: auto; overflow: visible; }
.ld-p { fill-opacity: 0; stroke: var(--gold-deep); stroke-width: 1.3px; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: ldDraw 1s cubic-bezier(.65,0,.35,1) .15s forwards, ldFill .6s var(--ease) .95s forwards; }
.ld-p:nth-of-type(2) { animation-delay: .3s, 1.05s; }
.ld-p:nth-of-type(3) { animation-delay: .45s, 1.15s; }
@keyframes ldDraw { to { stroke-dashoffset: 0; } }
@keyframes ldFill { to { fill-opacity: 1; stroke-opacity: 0; } }
.loader__shine { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("assets/brand/fmr-mark.svg?v=2") center / contain no-repeat; mask: url("assets/brand/fmr-mark.svg?v=2") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255,236,190,.9) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 120% 0;
  animation: ldShine .9s var(--ease) 1.45s forwards; }
@keyframes ldShine { to { background-position: -20% 0; } }
.loader__line { background: rgba(27,41,60,.1); }
.loader__line span { background: var(--gold-deep); }
.loader__tag { color: var(--gold-deep); }
/* Second visit in the same session: show the finished mark, no replay */
.intro-seen .ld-p { animation: none; fill-opacity: 1; stroke-opacity: 0; }
.intro-seen .loader__shine { animation: none; }
@media (prefers-reduced-motion: reduce) { .ld-p { animation: none; fill-opacity: 1; stroke-opacity: 0; } .loader__shine { display: none; } }

/* ===== Header turns ivory on scroll and shows the full-colour logo ===== */
.nav.is-scrolled { background: rgba(247,243,236,.92); color: var(--navy); box-shadow: 0 1px 0 rgba(27,41,60,.08), 0 10px 30px -18px rgba(27,41,60,.25); }
.nav.is-scrolled .nav__logo .logo-light { display: none; }
.nav.is-scrolled .nav__logo .logo-dark { display: block; }
.nav.is-scrolled .nav__links a, .nav.is-scrolled .nav__phone { color: var(--navy); opacity: 1; }
.nav.is-scrolled .nav__links a::after { background: var(--burgundy); }
.nav.is-scrolled .nav__burger { border-color: rgba(27,41,60,.25); }
.nav.is-scrolled .nav__burger span { background: var(--navy); }
.nav__logo img { transition: opacity .4s; }
/* Mobile menu is dark: keep the light header while it is open */
body.menu-open .nav.is-scrolled { background: transparent; box-shadow: none; color: var(--ivory); }
body.menu-open .nav.is-scrolled .nav__logo .logo-light { display: block; }
body.menu-open .nav.is-scrolled .nav__logo .logo-dark { display: none; }
body.menu-open .nav.is-scrolled .nav__burger { border-color: rgba(247,243,236,.3); }
body.menu-open .nav.is-scrolled .nav__burger span { background: var(--ivory); }

/* ===== Project page: real-content sections (The Camellia) ===== */
.phero__bg--right { background-position: 0% 45%; }
.phero__bg--right + .phero__veil { background: linear-gradient(180deg, rgba(11,19,31,.55) 0%, rgba(11,19,31,0) 30%, rgba(11,19,31,.88) 100%), linear-gradient(90deg, rgba(11,19,31,.7), transparent 55%); }
.overview__figure { margin: clamp(56px, 7vw, 100px) 0 0; }
.overview__figure img { width: 100%; height: auto; display: block; aspect-ratio: 1800/1004; object-fit: cover; }
.overview__figure figcaption, .gallery__note { margin-top: 14px; font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }
.gallery__note { color: rgba(247,243,236,.66); }

.hl { background: radial-gradient(70% 60% at 100% 0%, rgba(153,35,52,.28), transparent 60%), var(--navy-800); }
.hl__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(198,174,113,.22); }
.hl__item { padding: 40px clamp(18px, 2vw, 32px) 8px 0; }
.hl__item + .hl__item { padding-left: clamp(18px, 2vw, 32px); border-left: 1px solid rgba(198,174,113,.22); }
.hl__item span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); font-feature-settings: "lnum" 1; }
.hl__item h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.22; margin: 22px 0 14px; }
.hl__item p { color: rgba(247,243,236,.8); font-size: 16px; }

.amen { background: var(--ivory); }
.amen__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.amen__img { margin: 0; overflow: hidden; }
.amen__img img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.6s var(--ease); }
.amen__img:hover img { transform: scale(1.04); }
.amen__lead { color: var(--ink-soft); margin: 28px 0 30px; max-width: 440px; }
.amen__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sand); }
.amen__list li { font-family: var(--serif); font-size: 21px; padding: 14px 0; border-bottom: 1px solid var(--sand); display: flex; align-items: center; gap: 12px; }
.amen__list li::before { content: ""; width: 6px; height: 6px; background: var(--burgundy); transform: rotate(45deg); flex: none; }
.amen__note { margin-top: 24px; font-size: 15px; color: var(--ink-soft); }

.spec { background: var(--ivory-2); }
.spec__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--sand); border: 1px solid var(--sand); }
.spec__item { background: var(--ivory-2); padding: 30px clamp(18px, 2vw, 28px) 34px; transition: background .5s; }
.spec__item:hover { background: var(--ivory); }
.spec__item h3 { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; }
.spec__item p { font-family: var(--serif); font-size: 19px; line-height: 1.4; margin: 0; color: var(--ink); }

.legal { background: var(--navy-900); }
.legal2__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.legal2__lead { color: rgba(247,243,236,.8); margin: 28px 0 34px; max-width: 440px; }
.legal2__meta { margin: 0; border-top: 1px solid rgba(198,174,113,.22); }
.legal2__meta div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(198,174,113,.22); }
.legal2__meta dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.legal2__meta dd { margin: 0; font-family: var(--serif); font-size: 19px; }
.legal2__list { list-style: none; padding: 0; margin: 0; counter-reset: lg; }
.legal2__list li { counter-increment: lg; position: relative; padding: 22px 0 22px 64px; border-bottom: 1px solid rgba(198,174,113,.2); }
.legal2__list li:first-child { border-top: 1px solid rgba(198,174,113,.2); }
.legal2__list li::before { content: counter(lg, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); font-feature-settings: "lnum" 1; }
.legal2__list b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; }
.legal2__list span { display: block; margin-top: 6px; font-size: 15px; color: rgba(247,243,236,.76); }

.location__visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.location__aerial { display: block; overflow: hidden; aspect-ratio: 1; }
.location__aerial img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.6s var(--ease); }
.location__aerial:hover img { transform: scale(1.05); }
.location__visual .location__map { aspect-ratio: 1; }
.location__list span { text-align: right; max-width: 60%; }

@media (max-width: 1080px) {
  .hl__grid, .spec__grid { grid-template-columns: 1fr 1fr; }
  .hl__item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .amen__grid, .legal2__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hl__grid, .spec__grid, .location__visual { grid-template-columns: 1fr; }
  .hl__item, .hl__item + .hl__item { padding-left: 0; border-left: 0; border-bottom: 1px solid rgba(198,174,113,.22); padding-bottom: 28px; }
  .amen__list li { font-size: 18px; }
  .legal2__meta div { grid-template-columns: 1fr; gap: 4px; }
  .location__list span { max-width: none; text-align: left; }
}
@media (max-width: 768px) { .phero__bg--right { background-position: 46% 40%; } }

/* ===== Project template (tools/build.py) ===== */
.phero__bg--set { background-position: var(--pos, center); }
.phero__bg--set + .phero__veil { background: linear-gradient(180deg, rgba(11,19,31,.55) 0%, rgba(11,19,31,0) 30%, rgba(11,19,31,.88) 100%), linear-gradient(90deg, rgba(11,19,31,.7), transparent 55%); }
@media (max-width: 768px) { .phero__bg--set { background-position: var(--pos-m, var(--pos, center)); } }
.phero__affil { display: inline-block; margin: 0 0 22px 12px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,243,236,.86); }
.amen__grid--solo { grid-template-columns: 1fr; max-width: 760px; }

/* Units: tabs per apartment / product type */
.units { background: var(--ivory); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab { font: inherit; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 22px; min-height: 44px; border: 1px solid var(--sand); background: transparent; color: var(--ink); cursor: pointer; transition: all .4s var(--ease); }
.tab:hover { border-color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.unit { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.unit[hidden] { display: none; }
.unit__img { display: block; background: #fff; border: 1px solid var(--sand); aspect-ratio: 4/3; overflow: hidden; }
.unit__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.unit__img--empty { display: grid; place-items: center; background: var(--ivory-2); color: var(--ink-soft); font-size: 14px; letter-spacing: .1em; }
.unit__name { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.1; margin: 0 0 14px; }
.unit__desc { color: var(--ink-soft); margin: 0 0 22px; }
.unit__specs { margin: 0 0 30px; border-top: 1px solid var(--sand); }
.unit__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--sand); }
.unit__specs dt { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.unit__specs dd { margin: 0; font-family: var(--serif); font-size: 20px; }

/* Progress: monthly site photos */
.progress { background: var(--ivory-2); }
.prog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prog { display: block; }
.prog__img { aspect-ratio: 4/3; background: var(--navy-700) var(--img) center/cover no-repeat; transition: transform 1.2s var(--ease); }
.prog:hover .prog__img { transform: scale(1.03); }
.prog__date { margin: 14px 0 4px; font-family: var(--serif); font-size: 22px; font-feature-settings: "lnum" 1; }
.prog__cap { margin: 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 960px) { .unit { grid-template-columns: 1fr; } .prog__grid { grid-template-columns: 1fr 1fr; } }

/* ===== Site pages: Về FMR (company info), Tuyển dụng (culture) ===== */
.company { background: var(--ivory-2); }
.company__grid, .culture__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.company__list { margin: 0; border-top: 1px solid var(--sand); }
.company__list div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--sand); }
.company__list dt { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); padding-top: 4px; }
.company__list dd { margin: 0; font-family: var(--serif); font-size: 22px; }
.culture__text .lead { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.35; margin: 0 0 34px; }
.culture__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(198,174,113,.22); }
.culture__list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(198,174,113,.22); align-items: baseline; }
.culture__list b { font-family: var(--serif); font-weight: 300; font-size: 30px; color: var(--gold); }
.culture__list span { color: rgba(247,243,236,.86); letter-spacing: .04em; }
.office { background: var(--ivory); }
.page-head + .contact { padding-top: clamp(72px, 9vw, 130px); }
@media (max-width: 860px) {
  .company__grid, .culture__grid { grid-template-columns: 1fr; }
  .company__list div, .culture__list li { grid-template-columns: 1fr; gap: 4px; }
}
.contact--top { padding-top: calc(var(--nav-h, 96px) + clamp(56px, 7vw, 100px)); }

/* ===== Project standard extras: specs, costs, FAQ, trust note ===== */
.pspec { background: var(--ivory); }
.pspec__grid { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sand); border-left: 1px solid var(--sand); }
.pspec__item { padding: 26px clamp(18px, 2vw, 30px) 28px; border-right: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.pspec__item dt { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.pspec__item dd { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.35; }

.cost { background: var(--ivory); }
.cost__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.cost__lead { color: var(--ink-soft); margin: 26px 0 0; max-width: 420px; }
.cost__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand); counter-reset: cs; }
.cost__list li { counter-increment: cs; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--sand); }
.cost__list li::before { content: counter(cs, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-deep); font-feature-settings: "lnum" 1; }
.cost__list b { font-family: var(--serif); font-weight: 400; font-size: 21px; }
.cost__list span { color: var(--ink-soft); font-size: 16px; margin-top: 4px; }
.cost__note { grid-column: 2; margin: 18px 0 0; font-size: 14px; color: var(--ink-soft); }

.faq { background: var(--ivory-2); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__lead { color: var(--ink-soft); margin-top: 26px; max-width: 400px; }
.faq__lead a { color: var(--burgundy); border-bottom: 1px solid currentColor; }
.faq__list { border-top: 1px solid var(--sand); }
.faq__item { border-bottom: 1px solid var(--sand); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 34px; height: 34px; border: 1px solid var(--sand); display: grid; place-items: center; font-family: var(--sans); font-size: 18px; color: var(--gold-deep); transition: transform .4s var(--ease), background .4s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.faq__item p { margin: 0 0 24px; color: var(--ink-soft); max-width: 640px; }
.form__trust { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: rgba(247,243,236,.66); }

/* ===== Story blocks (per-project) — accent = --accent, falls back to brand gold ===== */
.st-banner { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; color: var(--ivory); }
.st-banner__bg { position: absolute; inset: -10% 0; background: var(--navy-700) var(--img) center/cover no-repeat; will-change: transform; }
.st-banner__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,19,31,.05) 30%, rgba(11,19,31,.85) 100%); }
.st-banner__inner { position: relative; padding-top: 120px; padding-bottom: clamp(56px, 8vw, 110px); }
.st-banner__eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent, var(--gold)); margin: 0 0 18px; }
.st-banner__title { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5.6vw, 88px); line-height: 1.08; margin: 0; max-width: 14ch; }
.st-banner__title em { color: var(--accent, var(--gold)); }
.st-banner__sub { margin: 22px 0 0; max-width: 520px; color: rgba(247,243,236,.8); font-size: 17px; }

.st-split { background: var(--ivory); }
.st-split__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.st-split--rev .st-split__img { order: 2; }
.st-split__img { margin: 0; overflow: hidden; }
.st-split__img img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.st-split__text p { color: var(--ink-soft); }
.st-split__text .section__title { margin-bottom: 26px; }

.st-stats { background: var(--navy-900); color: var(--ivory); padding: clamp(56px, 7vw, 96px) 0; }
.st-stats__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.st-stats__list li { padding: 8px clamp(16px, 2vw, 32px); border-left: 1px solid rgba(198,174,113,.25); }
.st-stats__list li:first-child { border-left: 0; padding-left: 0; }
.st-stats__list b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.8vw, 60px); line-height: 1.05; color: var(--accent, var(--gold)); font-feature-settings: "lnum" 1; }
.st-stats__list span { display: block; margin-top: 10px; font-size: 14px; letter-spacing: .08em; color: rgba(247,243,236,.84); }

.st-compare { background: var(--ivory-2); }
.st-compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--sand); border: 1px solid var(--sand); }
.st-compare__col { background: var(--ivory); padding: clamp(28px, 3.4vw, 52px); }
.st-compare__col h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); margin: 0 0 22px; }
.st-compare__col ul { list-style: none; padding: 0; margin: 0; }
.st-compare__col li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--sand); color: var(--ink-soft); }
.st-compare__col li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; background: var(--accent, var(--burgundy)); transform: rotate(45deg); }

.st-tl { background: var(--ivory); }
.st-tl__list { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--navy); }
.st-tl__list li { position: relative; padding: 30px 18px 0 0; }
.st-tl__list li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); }
.st-tl__list li.is-future::before { background: var(--ivory); border: 1px solid var(--navy); }
.st-tl__date { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent, var(--burgundy)); margin-bottom: 8px; font-feature-settings: "lnum" 1; }
.st-tl__list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.3; }
.st-tl__list p { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); }

.st-quote { text-align: center; }
.st-quote__text { margin: 0 auto; max-width: 980px; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.3; }
.st-quote__text em { color: var(--accent, var(--gold)); }
.st-quote__by { margin-top: 30px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent, var(--gold)); }

@media (max-width: 960px) {
  .pspec__grid { grid-template-columns: 1fr 1fr; }
  .cost__grid, .faq__grid, .st-split__grid { grid-template-columns: 1fr; }
  .cost__note { grid-column: 1; }
  .st-split--rev .st-split__img { order: 0; }
  .st-stats__list { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .st-stats__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .st-tl__list { grid-auto-flow: row; border-top: 0; border-left: 1px solid var(--navy); }
  .st-tl__list li { padding: 0 0 26px 26px; }
  .st-tl__list li::before { top: 4px; left: -6px; }
}
@media (max-width: 600px) {
  .pspec__grid, .st-compare__grid { grid-template-columns: 1fr; }
  .st-banner { min-height: 64vh; }
}
@media (max-width: 768px) { .st-banner__bg { background-image: var(--img-m, var(--img)); } }

/* ===== Spacing rhythm: two neighbouring sections on the same background share one gap + hairline ===== */
:is(.overview, .pspec, .amen, .cost, .st-tl, .location, .more, .units, .st-split, .about, .founder, .careers, .projects, .office, .plist)
  + :is(.overview, .pspec, .amen, .cost, .st-tl, .location, .more, .units, .st-split, .about, .founder, .careers, .projects, .office, .plist),
:is(.spec, .st-compare, .docs, .faq, .progress, .eco, .services, .insights, .company)
  + :is(.spec, .st-compare, .docs, .faq, .progress, .eco, .services, .insights, .company),
:is(.hl, .gallery, .legal, .why, .contact, .st-quote, .journey, .pillars, .pcta, .culture)
  + :is(.hl, .gallery, .legal, .why, .contact, .st-quote, .journey, .pillars, .pcta, .culture) {
  padding-top: clamp(36px, 3.6vw, 56px);
}
:is(.overview, .pspec, .amen, .cost, .st-tl, .location, .more, .units, .st-split, .about, .founder, .careers, .projects, .office, .plist, .spec, .st-compare, .docs, .faq, .progress, .eco, .services, .insights, .company)
  + :is(.overview, .pspec, .amen, .cost, .st-tl, .location, .more, .units, .st-split, .about, .founder, .careers, .projects, .office, .plist, .spec, .st-compare, .docs, .faq, .progress, .eco, .services, .insights, .company)::before,
:is(.hl, .gallery, .legal, .why, .contact, .st-quote, .journey, .pillars, .pcta, .culture)
  + :is(.hl, .gallery, .legal, .why, .contact, .st-quote, .journey, .pillars, .pcta, .culture)::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(198,174,113,.32);
}

/* ===== Readability (2026-11-19): body 17px/400, mobile 16px ===== */
@media (max-width: 640px) { body { font-size: 16px; } }

/* ===================== Section rail (desktop table of contents) ===================== */
.rail { position: fixed; right: clamp(14px, 1.5vw, 26px); top: 50%; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  color: var(--navy); --bg: var(--ivory); --cl: var(--gold-deep);
  opacity: 0; visibility: hidden; transform: translate(10px, -50%); transition: opacity .5s, visibility .5s, transform .6s var(--ease), color .5s; }
.rail.is-on { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.rail.on-dark { color: var(--ivory); --bg: var(--navy-900); --cl: var(--gold); }
.rail::before { content: ""; position: absolute; right: 3.5px; top: 30px; bottom: 11px; width: 1px; background: currentColor; opacity: .18; }
.rail__count { font-family: var(--serif); font-size: 13px; font-weight: 400; letter-spacing: .06em; color: var(--cl); margin: 0 -3px 8px 0; font-feature-settings: "lnum"; transition: color .5s; }
.rail a { position: relative; display: flex; align-items: center; gap: 12px; height: 22px; color: inherit; text-decoration: none; }
.rail a i { position: relative; display: block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; background: var(--bg); opacity: .5; transition: all .4s var(--ease); }
.rail a span { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding: 3px 10px; background: var(--bg);
  opacity: 0; transform: translateX(8px); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
.rail:hover a span, .rail a:focus-visible span { opacity: .85; transform: none; }
.rail a:hover span, .rail:hover a.is-active span { color: var(--cl); opacity: 1; }
.rail a:hover i { opacity: 1; }
.rail a.is-active i { background: var(--cl); border-color: var(--cl); opacity: 1; transform: scale(1.25); }
@media (max-width: 1099px) { .rail { display: none; } }

/* ===================== Brand watermark (outlined giant words) ===================== */
.wm { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; user-select: none; z-index: 0; line-height: .78; }
.wm span { display: block; white-space: nowrap; text-align: center; font-family: var(--serif); font-weight: 400; letter-spacing: .02em;
  font-size: clamp(56px, calc(124vw / var(--n, 10)), 230px); color: transparent;
  -webkit-text-stroke: 1px rgba(122,100,50,.2); transform: translateY(16%); }
.section--dark .wm span { -webkit-text-stroke-color: rgba(198,174,113,.16); }
.wm ~ * { position: relative; z-index: 1; }
@supports not (-webkit-text-stroke: 1px black) { .wm { display: none; } }

/* ===================== Project hero media: background video, film, 360° ===================== */
.phero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.phero__video.is-playing { opacity: 1; }
.phero__media { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mbtn { display: inline-flex; align-items: center; gap: 12px; padding: 7px 22px 7px 7px; border: 1px solid rgba(198,174,113,.5); border-radius: 999px;
  background: rgba(11,19,31,.38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ivory);
  font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .4s, border-color .4s; }
.mbtn svg { width: 36px; height: 36px; padding: 10px; border-radius: 50%; background: var(--gold); fill: var(--navy-900); transition: transform .5s var(--ease); }
.mbtn svg.o { fill: none; stroke: var(--navy-900); stroke-width: 1.7; padding: 8px; }
.mbtn:hover { background: rgba(198,174,113,.18); border-color: var(--gold); }
.mbtn:hover svg { transform: scale(1.08); }
.film { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 72px clamp(16px, 5vw, 80px); background: rgba(11,19,31,.95); animation: fadeIn .4s var(--ease); }
.film__box { width: min(1200px, 100%); aspect-ratio: 16 / 9; max-height: 100%; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.film__box iframe { display: block; width: 100%; height: 100%; border: 0; }
.film__close { position: absolute; top: 16px; right: 16px; width: 52px; height: 52px; border: 1px solid rgba(198,174,113,.4); border-radius: 50%; background: transparent; color: var(--ivory); cursor: pointer; display: grid; place-items: center; transition: all .4s; }
.film__close:hover { background: var(--gold); color: var(--navy-900); }
.film__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ===================== Project partners ===================== */
.partners__grid { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid rgba(27,41,60,.14); }
.partner { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 36px; border-bottom: 1px solid rgba(27,41,60,.14); }
.partner:first-child { padding-left: 0; }
.partner + .partner { border-left: 1px solid rgba(27,41,60,.14); }
.partner > span { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.partner b { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.22; color: var(--navy); }
.partner img { height: 56px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.partner small { font-size: 14px; color: var(--ink-soft); }
.partners__note { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) { .partner { padding: 26px 0; } .partner + .partner { border-left: 0; } }
.section:has(> .wm) { padding-bottom: calc(clamp(72px, 8.4vw, 124px) + clamp(24px, 3.4vw, 56px)); }

/* ===================== News: list, cards, article ===================== */
.news { background: var(--ivory); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.news-grid .post--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.news-grid .post--lead .post__img { margin-bottom: 0; aspect-ratio: 16 / 10; }
.news-grid .post--lead h3 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; }
.news-grid .post[hidden] { display: none; }
.post__excerpt { margin-top: 12px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__img--mono { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-700) 60%, var(--burgundy-deep)); }
.post__img--mono span { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 44px); color: var(--gold); }
.news-empty { max-width: 640px; padding: clamp(24px, 4vw, 48px) 0; }
.news-empty__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; color: var(--navy); margin-bottom: 14px; }
.news-empty p { color: var(--ink-soft); margin-bottom: 26px; }
@media (max-width: 960px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .post--lead { grid-template-columns: 1fr; }
  .news-grid .post--lead .post__img { margin-bottom: 4px; }
}
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

.draft-flag { position: fixed; left: 50%; bottom: 18px; z-index: 95; transform: translateX(-50%); padding: 10px 18px; background: var(--burgundy); color: var(--ivory); font-size: 13px; letter-spacing: .04em; box-shadow: 0 12px 30px rgba(0,0,0,.25); width: max-content; max-width: calc(100vw - 32px); text-align: center; }
@media (max-width: 1023px) { .draft-flag { bottom: 76px; } }

.post-head { background: var(--navy-900); color: var(--ivory); padding: clamp(130px, 14vw, 180px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.post-head::after { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(124,27,38,.38), transparent 62%); pointer-events: none; }
.post-head .container { position: relative; z-index: 1; max-width: calc(980px + 2 * var(--gutter)); }
.post-head__cat { display: inline-block; padding: 7px 14px; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; }
.post-head__title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.01em; }
.post-head__lead { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: rgba(247,243,236,.84); max-width: 760px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(198,174,113,.25); }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(198,174,113,.5); }
.byline b { display: block; font-weight: 500; font-size: 16px; }
.byline span { display: block; font-size: 13.5px; color: rgba(247,243,236,.72); margin-top: 2px; }
.byline p { margin-left: auto; font-size: 14px; color: rgba(247,243,236,.76); font-feature-settings: "lnum"; }
@media (max-width: 640px) { .byline p { margin-left: 0; width: 100%; } }

.post-cover { margin-top: clamp(-40px, -3vw, -24px); position: relative; z-index: 2; }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.post-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; gap: clamp(32px, 5vw, 80px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 7vw, 104px); }
.post-layout:not(:has(.post-toc)) { grid-template-columns: minmax(0, 760px); }
.post-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; font-size: 14.5px; }
.post-toc p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.post-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--sand); counter-reset: toc; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: block; padding: 8px 0 8px 16px; color: var(--ink-soft); line-height: 1.45; transition: color .3s; }
.post-toc a::before { content: counter(toc, decimal-leading-zero) " "; color: var(--gold-deep); font-feature-settings: "lnum"; }
.post-toc a:hover { color: var(--burgundy); }
@media (max-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr); } .post-toc { position: static; } }

.post-body { max-width: 760px; }
.post-body > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .86; padding: 6px 12px 0 0; color: var(--burgundy); }
.post-body p, .post-body li { font-size: 18px; line-height: 1.78; color: #2f3a48; }
.post-body h2 { scroll-margin-top: calc(var(--nav-h) + 20px); }
.post-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 27px); margin: 34px 0 12px; color: var(--navy); }
.post-body ol { padding-left: 22px; margin: 0 0 18px; }
.post-body strong { color: var(--navy); font-weight: 600; }
.post-body a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { margin: 34px 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--gold); }
.post-body blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.45; color: var(--navy); }
.post-body figure { margin: 34px 0; }
.post-body figure img { width: 100%; display: block; }
.post-body figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.post-sources { margin-top: 44px; padding: 22px 26px; background: var(--ivory-2); }
.post-sources p { font-size: 12px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep) !important; margin-bottom: 10px; }
.post-sources ul { margin: 0; padding-left: 18px; }
.post-sources li { font-size: 15px !important; line-height: 1.6 !important; margin-bottom: 6px; }
.post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--sand); }
.share { font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 13px 18px; border: 1px solid var(--sand); background: transparent; color: var(--navy); cursor: pointer; transition: all .35s var(--ease); text-decoration: none !important; }
.share:hover { border-color: var(--navy); background: var(--navy); color: var(--ivory); }
.post-actions .link-arrow { margin-left: auto; }
.post-cta { margin-top: 44px; padding: clamp(26px, 3vw, 40px); background: var(--navy-900); color: var(--ivory); }
.post-cta p { color: rgba(247,243,236,.8) !important; font-size: 16px !important; margin-bottom: 22px; }
.post-cta .post-cta__title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px) !important; line-height: 1.25; color: var(--ivory) !important; margin-bottom: 10px; }
.more-posts { background: var(--ivory-2); }
.insights__grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .insights__grid--2 { grid-template-columns: 1fr; } }

/* Homepage hero: never let the headline slide under the header on short windows
   (Chrome with bookmarks bar / laptop screens). Hero grows instead of clipping, and the
   headline also scales with the window height. */
.hero { height: auto; min-height: max(680px, 100vh); min-height: max(680px, 100svh); padding-top: calc(var(--nav-h) + 28px); }
.hero__title { font-size: min(clamp(42px, 8vw, 132px), 12.5vh); }
@media (max-width: 640px) { .hero { min-height: max(600px, 100svh); } .hero__title { font-size: clamp(42px, 11.5vw, 64px); } }

/* ===================== Loan calculator ===================== */
.loan { background: var(--ivory-2); }
.loan__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.loan__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.loan__lead { margin-top: 22px; color: var(--ink-soft); max-width: 480px; }
.loan__note { margin-top: 20px; max-width: 480px; padding-left: 16px; border-left: 1px solid var(--gold); font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.loan__calc { background: var(--white); padding: clamp(24px, 3.4vw, 52px); box-shadow: 0 40px 80px -40px rgba(11,19,31,.22); }
.lf { display: block; margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.lf__k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 0; margin-bottom: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.lf output { font-size: 16px; letter-spacing: .02em; text-transform: none; color: var(--navy); font-weight: 500; font-feature-settings: "lnum"; }
.lf__in { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--sand); transition: border-color .3s; }
.lf__in:focus-within { border-color: var(--navy); }
.lf__in input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; padding: 2px 0 10px; font: 400 clamp(26px, 2.3vw, 32px)/1.25 var(--serif); color: var(--navy); font-feature-settings: "lnum"; }
.lf__in input::placeholder { color: #b5ab9a; }
.lf__in i { font-style: normal; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.lf input[type=range] { width: 100%; margin: 6px 0 0; accent-color: var(--burgundy); cursor: pointer; }
.lf--seg { display: flex; flex-wrap: wrap; gap: 10px; }
.lf--seg label { position: relative; }
.lf--seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lf--seg span { display: inline-block; padding: 12px 18px; border: 1px solid var(--sand); font-size: 14.5px; color: var(--navy); transition: all .3s var(--ease); }
.lf--seg input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.lf--seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.loan__out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 6px 0 30px; background: var(--sand); border: 1px solid var(--sand); }
.loan__out > div { background: var(--white); padding: 18px 20px; min-width: 0; }
.loan__out dt { font-size: 13.5px; color: var(--ink-soft); }
.loan__out dd { margin: 6px 0 0; font: 400 clamp(24px, 2.1vw, 30px)/1.2 var(--serif); color: var(--navy); font-feature-settings: "lnum"; overflow-wrap: anywhere; }
.loan__out small { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.5; }
.loan__out .is-key { background: var(--navy-900); }
.loan__out .is-key dt, .loan__out .is-key small { color: rgba(247,243,236,.74); }
.loan__out .is-key dd { color: var(--gold); }
.loan__grid > *, .nl__grid > * { min-width: 0; }
@media (max-width: 960px) { .loan__grid { grid-template-columns: minmax(0, 1fr); } .loan__intro { position: static; } }
@media (max-width: 440px) { .loan__out { grid-template-columns: 1fr; } }

/* ===================== Newsletter ===================== */
.nl { background: var(--navy-900); color: var(--ivory); overflow: hidden; }
.nl::before { content: ""; position: absolute; width: 760px; height: 760px; left: -280px; bottom: -420px; background: radial-gradient(circle, rgba(124,27,38,.4), transparent 62%); pointer-events: none; }
.nl__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 112px); align-items: end; }
.nl__lead { margin-top: 22px; max-width: 520px; color: rgba(247,243,236,.8); }
.nl__form .consent { margin-bottom: 26px; }
.nl__form .form__msg { margin-top: 16px; }
.nl__form.is-sent { padding: 20px 0; }
.nl__form.is-sent .sent__text { margin: 0; max-width: 440px; }
@media (max-width: 960px) { .nl__grid { grid-template-columns: 1fr; align-items: start; } }

/* ===================== Home: stats + partner logos (data/home.json) ===================== */
.hstats { background: var(--navy-900); color: var(--ivory); }
.hstats__list { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hstats__list li { padding: 6px clamp(16px, 2.2vw, 36px); border-left: 1px solid rgba(198,174,113,.25); }
.hstats__list li:first-child { border-left: 0; padding-left: 0; }
.hstats__list b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 4.6vw, 76px); line-height: 1; color: var(--gold); font-feature-settings: "lnum" 1; white-space: nowrap; }
.hstats__label { display: block; margin-top: 14px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: rgba(247,243,236,.86); }
.hstats__list small { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(247,243,236,.6); }
.hstats__note { margin-top: clamp(32px, 4vw, 48px); font-size: 13px; color: rgba(247,243,236,.55); }
@media (max-width: 860px) {
  .hstats__list { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .hstats__list li:nth-child(3) { border-left: 0; padding-left: 0; }
}
.hpartners { background: var(--ivory); }
.hpartners__list { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--sand); border-left: 1px solid var(--sand); }
.hpartners__list li { flex: 1 1 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 150px; padding: 24px; border-right: 1px solid var(--sand); border-bottom: 1px solid var(--sand); text-align: center; }
.hpartners__list img { max-width: 132px; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(.72) contrast(1.25); opacity: .78; transition: filter .5s var(--ease), opacity .5s var(--ease); }
.hpartners__list li:hover img { filter: none; opacity: 1; }
.hpartners__list small { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
@media (max-width: 1100px) { .hpartners__list li { flex-basis: 24%; } }
@media (max-width: 520px) { .hpartners__list li { flex-basis: 50%; min-height: 120px; padding: 18px 12px; } }
