/* Commercial Property Alliance — site styles. Mobile first. Self-hosted fonts, no CDNs. */
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-italic.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --black: #07080b;
  --ink: #0c1017;
  --ink-2: #121821;
  --ink-3: #1a2230;
  --navy: #0b1624;
  --paper: #f5efe4;
  --paper-2: #ece4d5;
  --text: #17191e;
  --muted: #5b5850;
  --muted-light: #b9b2a5;
  --line: rgba(255, 255, 255, .1);
  --line-dark: rgba(23, 25, 30, .14);
  --gold: #d9ab6f;
  --gold-soft: #f0d7a0;
  --gold-deep: #8e5f35;
  --gold-ink: #7d5228;
  --red: #c8102e;
  --gold-grad: linear-gradient(100deg, #fff4cf 0%, #f0d7a0 24%, #d6a46b 52%, #b47c47 78%, #e9c88e 100%);
  --red-grad: linear-gradient(90deg, rgba(200, 16, 46, 0) 0%, #a3000f 18%, #e3262f 55%, #f15a53 70%, #c8102e 85%, rgba(200, 16, 46, 0) 100%);
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.75; color: var(--text); background: var(--black); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1.1rem; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
::selection { background: var(--gold-soft); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 200; padding: .7rem 1.1rem; background: var(--gold-soft); color: var(--black); font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }

/* Type */
.display, .display-lg, .display-md { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.02; }
.display { font-size: clamp(3rem, 5.7vw, 5.3rem); }
.display .line { display: block; }
:lang(fr) .display { font-size: clamp(2.7rem, 5vw, 4.6rem); }
.display-lg { font-size: clamp(2.6rem, 6.6vw, 5rem); line-height: 1.04; }
.display-md { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.06; }
.display em, .display-lg em, .display-md em { font-style: italic; font-weight: 500; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.paper .display-md em, .cream-2 .display-md em { color: var(--gold-ink); }
.kicker { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem; font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); }
.kicker-dark { color: var(--gold-ink); }
.kicker-rule { flex: none; width: 2.6rem; height: 2px; background: linear-gradient(90deg, #a3000f, #e3262f 60%, #f15a53); border-radius: 2px; }
.muted { color: var(--muted-light); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.actions-center { justify-content: center; }
.btn { position: relative; max-width: 100%; text-align: center; display: inline-flex; align-items: center; justify-content: center; min-height: 3.35rem; padding: .95rem 1.7rem; border: 1px solid transparent; border-radius: 0; font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s; }
.btn-gold { color: #1a1206; background: var(--gold-grad); background-size: 160% 100%; box-shadow: 0 10px 30px -12px rgba(217, 171, 111, .55); }
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(217, 171, 111, .7); }
.btn-line { color: #fff; border-color: rgba(240, 215, 160, .45); }
.btn-line:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-dark { color: #fff; background: var(--black); margin-top: 1.5rem; }
.btn-dark:hover { background: var(--ink-3); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2rem; font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--gold-soft); }
.link-arrow::after { content: ""; width: 2.2rem; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.link-arrow:hover::after { width: 3.4rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.site-header.is-solid, .site-header.nav-open { background: rgba(7, 8, 11, .9); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(10px)) { .site-header.is-solid { background: rgba(7, 8, 11, .72); backdrop-filter: blur(14px) saturate(1.3); } }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; position: relative; z-index: 2; }
.brand-mark { width: 3.6rem; height: auto; }
@media (max-width: 400px) { .brand-mark { width: 3rem; } .brand-top { font-size: .82rem; letter-spacing: .26em; } .brand-bottom { font-size: .5rem; letter-spacing: .26em; } .nav-toggle-label { display: none; } }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-top { font-size: .95rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-bottom { white-space: nowrap; font-size: .58rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: #ecebe7; margin-top: .25rem; }
.nav-toggle { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .7rem; height: 2.9rem; padding: 0 1rem; border: 1px solid rgba(240, 215, 160, .35); background: rgba(7, 8, 11, .35); color: #fff; font: 600 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.1rem; height: 1px; background: currentColor; transition: transform .3s var(--ease), background-color .3s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }
.site-nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--pad) 3rem; background: radial-gradient(120% 80% at 80% 0%, #1b2433 0%, var(--black) 60%); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.site-nav.is-open { opacity: 1; visibility: visible; }
.site-nav ul { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.site-nav li a { display: block; padding: .5rem 0; font-family: var(--serif); font-size: clamp(2.4rem, 10vw, 3.4rem); font-weight: 500; line-height: 1.15; text-decoration: none; color: #fff; }
.site-nav li a[aria-current="page"] { font-style: italic; color: var(--gold-soft); }
.lang-switch { align-self: flex-start; margin-bottom: 1.2rem; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-decoration: none; color: var(--muted-light); border-bottom: 1px solid rgba(240, 215, 160, .35); padding-bottom: .2rem; }
.lang-switch:hover { color: var(--gold-soft); }
.nav-phone { align-self: flex-start; display: inline-flex; gap: .6rem; padding: 1rem 1.4rem; border: 1px solid rgba(240, 215, 160, .45); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-decoration: none; color: var(--gold-soft); }
.nav-phone-label { color: var(--muted-light); }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; inset: auto; flex-direction: row; align-items: center; gap: 2.4rem; padding: 0; background: none; opacity: 1; visibility: visible; transition: none; }
  .site-nav ul { display: flex; gap: 2.2rem; margin: 0; }
  .site-nav li a { position: relative; padding: .4rem 0; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #e8e4dc; }
  .site-nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold-soft); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .site-nav li a:hover::after, .site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav li a[aria-current="page"] { font-style: normal; color: var(--gold-soft); }
  .nav-phone { align-self: center; padding: .8rem 1.1rem; font-size: .72rem; }
  .lang-switch { align-self: center; margin: 0; padding: .4rem 0 .4rem 1.6rem; border: 0; border-left: 1px solid rgba(255, 255, 255, .18); font-size: .72rem; color: #e8e4dc; }
  .nav-phone:hover { background: rgba(240, 215, 160, .08); }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 8, 11, .55) 0%, rgba(7, 8, 11, .15) 30%, rgba(7, 8, 11, .55) 62%, rgba(7, 8, 11, .96) 100%), linear-gradient(90deg, rgba(7, 8, 11, .85) 0%, rgba(7, 8, 11, .35) 55%, rgba(7, 8, 11, 0) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding: 8rem 0 5.5rem; align-items: end; }
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero-copy > :nth-child(4) { animation-delay: .36s; }
.hero h1 { max-width: none; }
.hero-lede { max-width: 36rem; margin-top: 1.8rem; font-size: clamp(1rem, 1.5vw, 1.12rem); color: #ddd8ce; }
@media (min-width: 1100px) { .hero-inner { grid-template-columns: minmax(0, 1fr) 22rem; gap: 3.5rem; padding-bottom: 6.5rem; } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Lease watch card */
.watch { position: relative; padding: 1.4rem 1.4rem 1.1rem; background: linear-gradient(160deg, rgba(26, 34, 48, .72), rgba(7, 8, 11, .78)); border: 1px solid rgba(240, 215, 160, .22); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); animation: rise 1s .5s var(--ease) both; }
@supports (backdrop-filter: blur(10px)) { .watch { backdrop-filter: blur(16px) saturate(1.2); } }
.watch::before { content: ""; position: absolute; inset: -1px -1px auto; height: 2px; background: var(--gold-grad); }
.watch-head { display: flex; align-items: center; gap: .7rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.watch-pulse { width: .55rem; height: .55rem; border-radius: 50%; background: #3fd28a; box-shadow: 0 0 0 0 rgba(63, 210, 138, .6); animation: pulse 2.2s infinite; }
.watch-title { font: 600 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.watch-meta { margin-left: auto; font-size: .7rem; color: var(--muted-light); letter-spacing: .04em; }
.watch-list { list-style: none; margin: 0; padding: 0; }
.watch-list li { display: grid; grid-template-columns: 3.6rem 1fr auto; align-items: center; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .84rem; animation: rise .7s var(--ease) both; }
.watch-list li:nth-child(1) { animation-delay: .8s; } .watch-list li:nth-child(2) { animation-delay: .95s; } .watch-list li:nth-child(3) { animation-delay: 1.1s; } .watch-list li:nth-child(4) { animation-delay: 1.25s; }
.watch-date { font-size: .74rem; font-weight: 600; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.watch-text { color: #ebe7df; line-height: 1.35; }
.tag { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .32rem .55rem; white-space: nowrap; }
.tag-done { color: #7fe3b1; background: rgba(63, 210, 138, .12); }
.tag-watch { color: var(--gold-soft); background: rgba(240, 215, 160, .12); }
.watch-foot { display: flex; align-items: baseline; justify-content: space-between; padding-top: 1rem; }
.watch-foot span { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-light); }
.watch-foot strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.watch-note { margin: .6rem 0 0; font-size: .66rem; color: #8b8679; letter-spacing: .04em; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(63, 210, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 210, 138, 0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; width: 1px; height: 3rem; transform: translateX(-50%); overflow: hidden; background: rgba(255, 255, 255, .15); }
.scroll-cue span { position: absolute; inset: 0; background: var(--gold-soft); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 1099px) { .scroll-cue { display: none; } }

/* Marquee */
.marquee { overflow: hidden; background: var(--black); border-block: 1px solid rgba(240, 215, 160, .14); padding: 1.15rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-style: italic; font-weight: 500; color: var(--gold-soft); white-space: nowrap; }
.marquee span::after { content: ""; width: .42rem; height: .42rem; transform: rotate(45deg); background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: var(--space) 0; }
.paper { background: var(--paper); color: var(--text); }
.cream-2 { background: var(--paper-2); color: var(--text); }
.dark { background: var(--ink); color: #fff; }
.dark p { color: var(--muted-light); }
.section-top { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-top p:not(.kicker) { margin-top: 1.3rem; font-size: 1.05rem; }
.split-top { max-width: none; display: grid; gap: 1.5rem; align-items: end; }
.split-top > p { color: var(--muted); max-width: 26rem; }
@media (min-width: 900px) { .split-top { grid-template-columns: 1.4fr 1fr; } .split-top > p { justify-self: end; } }

/* What we catch */
.catch { display: grid; gap: 3rem; }
.catch-intro p:not(.kicker) { margin-top: 1.6rem; color: var(--muted); font-size: 1.05rem; max-width: 34rem; }
@media (min-width: 1000px) { .catch { grid-template-columns: .95fr 1.05fr; gap: 6rem; align-items: start; } .catch-intro { position: sticky; top: 8rem; } }
.ledger-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.ledger-list li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line-dark); transition: background-color .4s; }
.ledger-list .num { font-family: var(--serif); font-size: 2.6rem; font-style: italic; font-weight: 500; line-height: .9; color: var(--gold-deep); }
.ledger-list h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.1; margin-bottom: .6rem; }
.ledger-list p { margin: 0; color: var(--muted); }

/* Year timeline */
.year { position: relative; overflow: hidden; background: radial-gradient(90% 70% at 85% 0%, #1a2433 0%, var(--ink) 55%); }
.year-track { position: relative; margin-top: 1rem; }
.year-line { position: absolute; left: .45rem; top: 0; bottom: 0; width: 1px; background: rgba(240, 215, 160, .18); }
.year-fill { position: absolute; inset: 0; background: linear-gradient(180deg, #f0d7a0, #b47c47); transform: scaleY(0); transform-origin: top; transition: transform 2.2s var(--ease); }
.year-track.is-in .year-fill { transform: scaleY(1); }
.year-events { list-style: none; margin: 0; padding: 0 0 0 2.2rem; display: grid; gap: 1.6rem; }
.ev { position: relative; display: grid; gap: .2rem; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.year-track.is-in .ev { opacity: 1; transform: none; }
.year-track.is-in .ev:nth-child(2) { transition-delay: .25s; } .year-track.is-in .ev:nth-child(3) { transition-delay: .5s; } .year-track.is-in .ev:nth-child(4) { transition-delay: .75s; } .year-track.is-in .ev:nth-child(5) { transition-delay: 1s; } .year-track.is-in .ev:nth-child(6) { transition-delay: 1.25s; }
.ev-dot { position: absolute; left: -2.2rem; top: .45rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); box-shadow: 0 0 0 5px rgba(217, 171, 111, .12); }
.ev-dot-red { border-color: #e3262f; box-shadow: 0 0 0 5px rgba(227, 38, 47, .14); }
.ev-when { font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
.ev-what { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; color: #fff; }
.year-months { display: none; }
.year-foot { margin: 3rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); color: #e6e1d7 !important; }
.year-foot strong { color: var(--gold-soft); font-weight: 600; }
@media (min-width: 1000px) {
  .year-track { height: 20rem; margin-top: 1rem; }
  .year-line { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; }
  .year-fill { transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #b47c47, #f0d7a0 50%, #b47c47); }
  .year-track.is-in .year-fill { transform: scaleX(1); }
  .year-events { position: absolute; inset: 0; padding: 0; display: block; }
  .ev { position: absolute; width: 11.5rem; left: calc(var(--x) * 1%); }
  .ev[data-m="0"] { --x: 2; } .ev[data-m="2"] { --x: 18.6; } .ev[data-m="5"] { --x: 43.6; } .ev[data-m="5.5"] { --x: 47.7; } .ev[data-m="8"] { --x: 68.4; } .ev[data-m="10"] { --x: 85; }
  .ev-up { bottom: calc(50% + 1.6rem); }
  .ev-down { top: calc(50% + 1.6rem); }
  .ev-dot { left: 0; }
  .ev-up .ev-dot { top: auto; bottom: -2.05rem; }
  .ev-down .ev-dot { top: -2.05rem; }
  .ev::before { content: ""; position: absolute; left: .4rem; width: 1px; height: 1.2rem; background: rgba(240, 215, 160, .35); }
  .ev-up::before { bottom: -1.25rem; }
  .ev-down::before { top: -1.25rem; }
  .ev-what { font-size: 1.22rem; }
  .ev[data-m="10"] { left: auto; right: 0; text-align: right; }
  .ev[data-m="10"] .ev-dot { left: auto; right: 0; }
  .ev[data-m="10"]::before { left: auto; right: .4rem; }
  .year-months { display: none; }
}

/* Property types */
.types { list-style: none; margin: 0; padding: 0 0 .5rem; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.type { position: relative; overflow: hidden; aspect-ratio: 3 / 4.3; scroll-snap-align: start; background: var(--ink); color: #fff; }
.type img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.type::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 11, 0) 40%, rgba(7, 8, 11, .9) 100%); }
.type::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0; z-index: 2; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.type:hover img { transform: scale(1.06); }
.type:hover::before { transform: scaleX(1); }
.type-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.6rem 1.5rem 1.7rem; }
.type h3 { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1; margin-bottom: .45rem; }
.type p { margin: 0; font-size: .88rem; color: #ddd7cb; line-height: 1.5; }
@media (min-width: 640px) { .types { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .types { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 1.25rem; } .type:nth-child(even) { margin-top: 3rem; } }

/* System */
.system { background: var(--black); }
.system-grid { display: grid; gap: 3rem; align-items: center; }
.system-media { position: relative; margin: 0; }
.system-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.system-media::after { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; z-index: -1; border: 1px solid rgba(240, 215, 160, .3); }
.system-media { isolation: isolate; }
@media (min-width: 980px) { .system-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-bottom: 1.6rem; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 1.05rem; top: 2.4rem; bottom: .2rem; width: 1px; background: linear-gradient(180deg, rgba(240, 215, 160, .5), rgba(240, 215, 160, .05)); }
.step-num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid rgba(240, 215, 160, .5); font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--gold-soft); }
.steps h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: #fff; margin: .2rem 0 .25rem; }
.steps p { margin: 0; font-size: .92rem; }

/* Services list */
.svc { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .svc { grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: start; } .svc-intro { position: sticky; top: 8rem; } }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.svc-list a { position: relative; display: grid; gap: .25rem; padding: 1.6rem 3rem 1.6rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: padding-left .4s var(--ease); }
.svc-list a::after { content: "→"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--gold-ink); transition: transform .4s var(--ease); }
.svc-list a:hover { padding-left: .8rem; }
.svc-list a:hover::after { transform: translate(.4rem, -50%); }
.svc-name { font-family: var(--serif); font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.1; }
.svc-desc { font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 6rem; } }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq details:first-child { border-top: 1px solid var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-weight: 600; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .8rem; height: .8rem; border-right: 1.5px solid var(--gold-ink); border-bottom: 1.5px solid var(--gold-ink); transform: rotate(45deg) translate(-25%, -25%); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0; padding: 0 2rem 1.6rem 0; color: var(--muted); max-width: 44rem; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding: clamp(6rem, 14vw, 11rem) 0; background: var(--black); }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(7, 8, 11, .62) 0%, rgba(7, 8, 11, .9) 100%); }
.cta-inner { max-width: 54rem; }
.cta-inner p { margin: 1.5rem auto 0; max-width: 36rem; color: #ddd8ce; font-size: 1.05rem; }

/* Footer */
.site-footer { position: relative; background: var(--black); color: var(--muted-light); padding: 0 0 2rem; font-size: .92rem; }
.ruby-rule { height: 2px; background: var(--red-grad); }
.footer-grid { display: grid; gap: 2.5rem; padding: 4.5rem 0 3rem; }
.footer-logo { width: 13rem; }
.footer-lead { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.25; color: #f3efe7; max-width: 26rem; }
.footer-contact, .footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-contact a, .footer-nav a { text-decoration: none; }
.footer-contact a:hover, .footer-nav a:hover { color: var(--gold-soft); }
.footer-h { font: 600 .7rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 15rem 1fr auto; gap: 4rem; align-items: start; } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .04em; }
.footer-base p { margin: 0; }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); padding: clamp(9rem, 18vw, 13rem) 0 clamp(4rem, 8vw, 6.5rem); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s var(--ease) forwards; transform: scale(1.05); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 8, 11, .92) 0%, rgba(7, 8, 11, .6) 60%, rgba(7, 8, 11, .35) 100%), linear-gradient(0deg, rgba(7, 8, 11, .8), rgba(7, 8, 11, 0) 50%); }
.page-hero .display-lg { max-width: 15ch; }
.page-hero .hero-lede { max-width: 38rem; }
.page-hero > .wrap > * { animation: rise 1s var(--ease) both; }
.page-hero > .wrap > :nth-child(2) { animation-delay: .12s; }
.page-hero > .wrap > :nth-child(3) { animation-delay: .24s; }
.page-hero-plain { background: radial-gradient(90% 90% at 80% 0%, #1b2433 0%, var(--black) 60%); }
.page-hero-plain::before { display: none; }

/* Services page */
.jump-wrap { background: var(--black); border-bottom: 1px solid var(--line); position: sticky; top: 5rem; z-index: 50; }
.jump { display: flex; gap: 2rem; overflow-x: auto; padding: 1.1rem 0; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--muted-light); white-space: nowrap; }
.jump a:hover { color: var(--gold-soft); }
.service { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.service-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .service-grid { grid-template-columns: 1fr 1.25fr; gap: 6rem; } .service-head { position: sticky; top: 10rem; align-self: start; } }
.service-n { font-family: var(--serif); font-size: 4.5rem; font-style: italic; font-weight: 500; line-height: .8; color: var(--gold-deep); margin-bottom: 1rem; }
.dark .service-n { color: var(--gold); }
.service-head p:not(.service-n) { margin-top: 1.2rem; font-size: 1.05rem; color: var(--muted); max-width: 30rem; }
.dark .service-head p:not(.service-n) { color: var(--muted-light); }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.dark .checks { border-color: var(--line); }
.checks li { position: relative; padding: 1.2rem 0 1.2rem 2.4rem; border-bottom: 1px solid var(--line-dark); }
.dark .checks li { border-color: var(--line); color: #e6e1d7; }
.checks li::before { content: ""; position: absolute; left: .2rem; top: 1.75rem; width: .95rem; height: .5rem; border-left: 1.5px solid var(--gold-ink); border-bottom: 1.5px solid var(--gold-ink); transform: rotate(-45deg); }
.dark .checks li::before { border-color: var(--gold); }

/* Technology page */
.tech-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tech-steps li { padding: 2.2rem 1.8rem; background: var(--ink); }
.tech-steps .num { display: block; font-family: var(--serif); font-size: 3rem; font-style: italic; font-weight: 500; line-height: 1; margin-bottom: 1.2rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tech-steps h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; color: #fff; margin-bottom: .7rem; }
.tech-steps p { margin: 0; font-size: .95rem; }
@media (min-width: 760px) { .tech-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .tech-steps { grid-template-columns: repeat(5, 1fr); } }
.catches { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.catches li { padding: 1.8rem 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: .5rem; }
.catches h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.catches p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .catches { grid-template-columns: 1fr 1fr; column-gap: 4rem; } .catches li { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .about-grid { grid-template-columns: 1.1fr .9fr; gap: 6rem; align-items: start; } }
.about-grid .lead { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; line-height: 1.25; color: var(--text); }
.about-grid p { color: var(--muted); font-size: 1.05rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.values li { padding: 1.5rem 0; border-bottom: 1px solid var(--line-dark); }
.values strong { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1.1; margin-bottom: .35rem; }
.values span { color: var(--muted); }
.promise { text-align: center; }
.promise .display-lg { max-width: 20ch; margin: 0 auto; }
.promise p { margin-top: 1.6rem; }
.promise .kicker { justify-content: center; }

/* Contact */
.contact-wrap { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact-wrap { grid-template-columns: 1.35fr .85fr; gap: 5rem; align-items: start; } }
.form { background: #fffdf9; padding: clamp(1.5rem, 4vw, 3rem); border-top: 2px solid var(--gold); box-shadow: 0 30px 70px -40px rgba(23, 25, 30, .45); }
.form-title { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; margin-bottom: 1.8rem; }
.field-row { display: grid; gap: 0 1.5rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.4rem; }
.field label { display: block; margin-bottom: .45rem; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #3d3b36; }
.req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; min-height: 3.2rem; padding: .8rem .2rem; border: 0; border-bottom: 1px solid #b9b2a3; border-radius: 0; background: transparent; color: var(--text); font: 400 1rem/1.4 var(--sans); transition: border-color .3s; }
.field select { padding-right: 1.5rem; appearance: none; background: linear-gradient(45deg, transparent 50%, #7d5228 50%) right .5rem center / .4rem .4rem no-repeat, linear-gradient(-45deg, transparent 50%, #7d5228 50%) right .1rem center / .4rem .4rem no-repeat; }
.field textarea { min-height: 8rem; resize: vertical; border: 1px solid #b9b2a3; padding: .8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 1px 0 var(--gold-ink); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { display: block; margin-top: .4rem; color: #a50d25; font-size: .85rem; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { margin-bottom: 1.5rem; padding: 1rem 1.2rem; font-weight: 600; font-size: .95rem; }
.form-status.is-ok { background: #e6f4ec; color: #0d5a37; border-left: 3px solid #1f9d63; }
.form-status.is-error { background: #fbeceb; color: #8a0d1f; border-left: 3px solid var(--red); }
.contact-side { display: grid; gap: 1.2rem; }
.contact-card { padding: 1.8rem; background: var(--black); color: #fff; }
.contact-card h2 { font: 600 .68rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .9rem; }
.contact-big { display: inline-block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.1; text-decoration: none; overflow-wrap: anywhere; }
.contact-big:hover { color: var(--gold-soft); }
.contact-card p { margin: 0; color: var(--muted-light); }
.contact-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Simple centered pages (thanks, 404, form error) */
.center-page { min-height: 80svh; display: grid; place-items: center; text-align: center; color: #fff; background: radial-gradient(80% 80% at 50% 0%, #1b2433 0%, var(--black) 65%); padding: 9rem 0 5rem; }
.center-page .kicker { justify-content: center; }
.center-page p:not(.kicker) { color: #ddd8ce; max-width: 34rem; margin: 1.5rem auto 0; }
.center-page a:not(.btn) { color: var(--gold-soft); }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
