/* M&L Habitat — Residence Malak
   Brand: brown #331A1A + gold #D4AF37 (from brand/logo/primary-card-de.svg).
   Audience: Moroccans living in Europe buying at home. European restraint is the promise;
   the one Moroccan gesture is the Arabic name plate. */

/* Fonts, self-hosted (no requests to Google). Subsets latin, latin-ext, arabic (Amiri only)
   from Google Fonts, SIL Open Font License — see assets/fonts/README.md. */
/* Amiri arabic */
@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/amiri-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Cormorant Garamond latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brown: #331A1A;
  --brown-deep: #241212;
  --brown-soft: #4a2a27;
  --gold: #D4AF37;
  --gold-soft: #e6cd7a;
  --gold-ink: #8a6d14;          /* gold that holds 4.5:1 on light grounds */
  --cream: #F4EEE4;
  --paper: #FBF8F3;
  --sold: #f0eae0;
  --ink: #2a1716;
  --muted: #6b5753;
  --line: rgba(51, 26, 26, .14);
  --line-light: rgba(246, 241, 232, .18);
  --on-dark: rgba(246, 241, 232, .82);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Amiri", "Geeza Pro", "Noto Naskh Arabic", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; font-feature-settings: "lnum" 1; }  /* lining figures (font-feature-settings survives the font shorthand; font-variant-numeric does not) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "lnum" 1;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
svg { width: 1em; height: 1em; flex: none; }
.sprite { position: absolute; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--brown); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Focus: brown on light grounds, gold on dark ones. */
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .progress-sec :focus-visible, .q-away :focus-visible,
.contact :focus-visible, .site-footer :focus-visible, .zoom :focus-visible, .wa-float:focus-visible,
.video:focus-visible { outline-color: var(--gold); }

/* Open facts — visible on purpose. build.py --release refuses while any remain. */
mark.todo {
  display: inline-block;
  font: 600 11px/1.4 var(--sans);
  letter-spacing: .02em;
  text-transform: none;
  color: #7a1f00;
  background: #fff3c4;
  border: 1px dashed #c98a00;
  border-radius: 3px;
  padding: 2px 6px;
  margin: 2px 0;
  vertical-align: middle;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
}
.lead { font-size: 1.08rem; line-height: 1.6; color: var(--on-dark); max-width: 48ch; }
.lead.dark { color: var(--muted); }
.note { font-size: .875rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 14px/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; border-radius: 999px; border: 0; cursor: pointer;
  padding: 15px 24px; min-height: 48px;
  transition: background .2s ease, color .2s ease, transform 160ms var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 18px 30px; font-size: 15px; min-height: 56px; }
.btn-gold { background: var(--gold); color: var(--brown-deep); }
.btn-dark { background: var(--brown); color: var(--paper); }
.btn-dark svg { color: var(--gold); }
.btn-pill { background: var(--paper); color: var(--brown); padding: 10px 16px; min-height: 40px; font-size: 13px; }
.btn-pill svg { color: #1f9e55; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; color: var(--brown);
  padding: 8px 0; border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow.light { color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--paper);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid { background: rgba(36, 18, 18, .97); box-shadow: 0 1px 0 var(--line-light); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 26px; height: 29px; color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 600 15px/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.brand-tag { font: 500 11px/1.4 var(--sans); letter-spacing: .08em; color: var(--gold); margin-top: 3px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 13.5px; font-weight: 500; text-decoration: none; opacity: .86; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.lang a { text-decoration: none; padding: 13px 7px; opacity: .6; }
.lang a[aria-current] { opacity: 1; color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .3s var(--ease); }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--paper); background: var(--brown-deep); overflow: hidden;
}
.hero-slides, .hero-slides img { position: absolute; inset: 0; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: 0; transform: scale(1.04); transition: opacity 1.4s var(--ease), transform 7s linear; }
.hero-slides img.is-active { opacity: 1; transform: scale(1); }
.hero-slides img.is-photo { object-position: 50% 35%; }
.slide-cap {
  position: absolute; z-index: 2; right: var(--gutter); top: 96px; margin: 0;
  font-size: 12.5px; font-weight: 600; color: var(--paper); background: rgba(36,18,18,.82);
  padding: 7px 13px; border-radius: 999px; opacity: 0; transform: translateY(-4px);
  transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none;
}
.hero[data-slide="2"] .slide-cap { opacity: 1; transform: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36,18,18,.94) 0%, rgba(36,18,18,.78) 36%, rgba(36,18,18,.15) 70%, rgba(36,18,18,0) 100%),
    linear-gradient(0deg, rgba(36,18,18,.85) 0%, rgba(36,18,18,0) 38%),
    linear-gradient(180deg, rgba(36,18,18,.55) 0%, rgba(36,18,18,0) 22%);
}
.hero-content { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 36px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); max-width: 13ch; line-height: 1; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-lead { max-width: 44ch; font-size: 1.1rem; color: var(--on-dark); margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.hero-foot {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 32px;
  padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-light);
}
.nameplate { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.np-latin { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.np-ar { font: 400 1.9rem/1 var(--arabic); color: var(--gold); transform: translateY(4px); }
.np-place { font-size: 13px; color: var(--on-dark); }
.hero-proof { margin: 0 0 0 auto; font-size: 13px; color: var(--on-dark); display: flex; align-items: baseline; gap: 10px; }
.hero-proof strong { font: 500 1.6rem/1 var(--serif); color: var(--gold); }
.slide-ctrl { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 6px; }
.dots span { width: 18px; height: 2px; background: var(--line-light); transition: background .4s var(--ease), width .4s var(--ease); }
.dots span.is-active { background: var(--gold); width: 32px; }
.pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; display: grid; place-items: center; cursor: pointer; }
.pause svg { width: 14px; height: 14px; }
.pause .ic-play, .pause[aria-pressed="true"] .ic-pause { display: none; }
.pause[aria-pressed="true"] .ic-play { display: block; }

/* ---------- Key facts ---------- */
.facts { background: var(--cream); border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-auto-flow: column; grid-auto-columns: auto; justify-content: space-between; align-items: end; gap: 24px; margin: 0 auto; padding-top: 30px; padding-bottom: 30px; }
.facts-row div { display: flex; flex-direction: column-reverse; gap: 4px; }
.facts-row dt { font-size: 12.5px; color: var(--muted); }
.facts-row dd { margin: 0; font: 500 1.35rem/1.15 var(--serif); color: var(--brown); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; }

/* ---------- Apartments ---------- */
.apt-head { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.apt-head h2 { margin-bottom: 24px; }
.apt-head .lead { margin-bottom: 16px; }

.matrix { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.matrix figcaption { font: 600 13px/1.3 var(--sans); margin-bottom: 16px; }
.matrix-grid { display: grid; grid-template-columns: 36px repeat(4, 1fr); gap: 6px; }
.m-floor { align-self: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.m-unit {
  display: flex; transition: transform 160ms var(--ease); flex-direction: column; gap: 2px; padding: 10px 10px 9px; border-radius: 3px;
  background: var(--sold); color: var(--muted); text-decoration: none; min-height: 56px;
}
.m-unit b { font-size: 13px; font-weight: 600; }
.m-unit span { font-size: 12px; }
.m-unit.is-free { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold-ink); transition: background .2s ease, color .2s ease, transform 160ms var(--ease); }
.m-unit.is-free span { color: var(--gold-ink); font-weight: 500; }
.m-ground { grid-column: 2 / 6; padding: 10px; border-radius: 3px; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); text-align: center; }
.matrix-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.matrix-legend span { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.lg-free { background: var(--paper); box-shadow: inset 0 0 0 2px var(--gold-ink); }
.lg-sold { background: var(--sold); margin-left: 12px; }

.types { display: grid; gap: 28px; }
.type { display: grid; grid-template-columns: 1.35fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.type-plan {
  position: relative; border: 0; border-right: 1px solid var(--line); background: #fff; padding: clamp(20px, 3vw, 40px);
  cursor: zoom-in; display: grid; place-items: center;
}
.type-plan img { width: 100%; height: auto; max-height: 520px; object-fit: contain; transition: transform .6s var(--ease); }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--brown); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.zoom-hint svg { width: 14px; height: 14px; }
.type-body { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; align-self: center; }
.type h3 { font: 500 2.1rem/1 var(--serif); display: flex; align-items: baseline; gap: 14px; }
.type h3 span { font: 600 14px/1 var(--sans); color: var(--muted); }
.type-flag { align-self: flex-start; margin: 0; font-size: 12px; font-weight: 600; color: var(--brown); background: var(--cream); border-radius: 999px; padding: 6px 12px; }
.type-flag.is-last { background: var(--gold); color: var(--brown-deep); }
.type-body > p:not(.type-flag) { color: var(--muted); margin: 0; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; }
.specs li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg) translateY(-2px); margin-right: 8px; }
.type-body > .floors { margin: 0; font-size: 13.5px; color: var(--muted); }
.floors b { color: var(--ink); font-weight: 600; }
.type .btn { align-self: flex-start; margin-top: 6px; }
/* Sold-out type (B): plan stays visible for comparison, greyed out; no enquiry button. Text keeps full contrast. */
.type.is-sold .type-plan img { filter: grayscale(1); opacity: .5; }
.type.is-sold h3 { color: var(--muted); }
.type-flag.is-sold { background: var(--brown); color: var(--paper); }
.sold-stamp { position: absolute; left: 14px; top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); background: var(--brown); border-radius: 999px; padding: 7px 12px; }

/* ---------- Construction progress ---------- */
.progress-sec { background: var(--brown-deep); color: var(--paper); padding: clamp(80px, 10vw, 136px) 0; }
.prog-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.prog-head h2 { max-width: 14ch; }
.prog-stamp { margin-top: 16px; font-size: 13px; color: var(--gold); }
.prog-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.prog-now { position: relative; border-radius: var(--radius); overflow: hidden; }
.prog-now img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.prog-now figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 13px; background: linear-gradient(0deg, rgba(20,10,10,.9), rgba(20,10,10,0)); }
.prog-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.prog-steps li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-light); }
.prog-steps li:last-child { border-bottom: 1px solid var(--line-light); }
.prog-steps figure { border-radius: 3px; overflow: hidden; }
.prog-steps img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prog-steps h3 { font: 500 1.45rem/1.15 var(--serif); margin-bottom: 6px; }
.prog-steps p { font-size: 14px; color: var(--on-dark); }
.prog-cta { margin-top: 36px; }

/* ---------- Quality ---------- */
.quality { background: var(--cream); }
.q-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.q-head h2 { margin-bottom: 20px; }
.q-group h3 { font: 500 1.75rem/1.1 var(--serif); margin-bottom: 18px; }
.q-list { list-style: none; margin: 0; padding: 0; }
.q-list li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); line-height: 1.6; }
.q-list li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.q-proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.q-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.q-photos figure { border-radius: 3px; overflow: hidden; }
.q-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.q-cap { grid-column: 1 / -1; margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.q-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.q-away { background: var(--brown); color: var(--paper); padding: clamp(26px, 3.5vw, 44px); border-radius: var(--radius); }
.q-away .q-list li { border-color: var(--line-light); color: var(--on-dark); }
.q-away .q-list li b { color: var(--gold-soft); }

/* ---------- Residence: video + data sheet ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.about-media { position: relative; min-height: 600px; background: var(--brown-deep); }
.video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--brown-deep); color: var(--paper); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s var(--ease), transform .8s var(--ease); }
.video .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 80px; height: 80px; border-radius: 50%; background: rgba(36,18,18,.78); border: 1px solid var(--gold); display: grid; place-items: center; transition: transform .3s var(--ease); }
.video .play svg { width: 26px; height: 26px; color: var(--gold); margin-left: 3px; }
.video-caption { position: absolute; left: 50%; top: calc(50% + 56px); translate: -50% 0; font-size: 13px; font-weight: 600; background: rgba(36,18,18,.82); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-consent { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 16px; font-size: 12px; color: var(--paper); text-align: center; background: rgba(36,18,18,.88); pointer-events: none; }
.about-body { padding: clamp(56px, 7vw, 100px) clamp(24px, 5vw, 80px); align-self: center; }
.about-body h2 { margin-bottom: 22px; }
.about-body > p { color: var(--muted); max-width: 48ch; margin-bottom: 32px; }
.datasheet { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--line); }
.datasheet div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.datasheet dt { font-size: 13px; color: var(--muted); }
.datasheet dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; background: var(--brown-deep); height: clamp(420px, 66vw, 780px); position: relative; }
.gallery figure { overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-a { grid-row: 1 / 3; }
.g-c img { object-position: 20% 50%; }
.g-note { position: absolute; left: 0; bottom: 0; margin: 0; padding: 8px 14px; font-size: 12px; color: var(--paper); background: rgba(36,18,18,.82); }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.location h2 { margin-bottom: 26px; }
.location p { color: var(--muted); max-width: 50ch; }
.loc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.loc-list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.loc-list b { font-weight: 500; color: var(--muted); font-size: 14px; text-align: right; }
.loc-list .loc-map { display: block; font-size: 13px; color: var(--muted); }

/* ---------- Payment ---------- */
.pay { background: var(--cream); }
.pay-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); transform-origin: left; }
.steps li:nth-child(1)::after { transform: scaleX(.25); }
.steps li:nth-child(2)::after { transform: scaleX(.5); }
.pct { display: block; font: 500 3.2rem/1 var(--serif); color: var(--brown); margin-bottom: 16px; }
.steps h3 { font: 600 15px/1.3 var(--sans); margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--muted); }
.pay-cta { margin-top: 24px; }

/* ---------- Contact ---------- */
.contact { background: var(--brown); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact h2 { margin-bottom: 22px; max-width: 15ch; }
.contact .lead { margin-bottom: 32px; }
.c-alt { margin-top: 18px; font-size: 14px; color: var(--on-dark); }
.c-alt a { color: var(--gold-soft); }
.contact-list { margin: 0; border-top: 1px solid var(--line-light); }
.contact-list div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.contact-list dt { font-size: 13px; color: var(--on-dark); padding-top: 1px; }
.contact-list dd { margin: 0; font-size: 15px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line-light); }

.c-visit-link { display: inline-block; margin-top: 6px; padding: 10px 0; color: var(--gold-soft); }

/* ---------- Next project ---------- */
.next { background: var(--cream); color: var(--ink); padding: 44px 0; }
.next-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.next-mark { width: 40px; height: 45px; color: var(--gold); }
.next h2 { font: 500 1.6rem/1.15 var(--serif); margin-bottom: 4px; }
.next p { font-size: 14px; color: var(--muted); max-width: 60ch; }
.next h2 { color: var(--brown); }
.next .link-arrow.light { color: var(--brown); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: var(--paper); padding: 56px 0 28px; border-top: 1px solid var(--line-light); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid var(--line-light); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13.5px; }
.footer-nav a { text-decoration: none; opacity: .85; padding: 12px 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 12.5px; color: rgba(246,241,232,.68); }
.footer-bottom p { max-width: 70ch; }
.footer-bottom a { text-decoration: none; }

/* ---------- Floating WhatsApp (mobile) ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--brown-deep); display: none; place-items: center; box-shadow: 0 10px 28px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float { transition: transform 160ms var(--ease), opacity .25s ease; }
body.hero-in-view .wa-float { opacity: 0; transform: translateY(12px) scale(.96); pointer-events: none; }

/* ---------- Plan zoom ---------- */
.zoom { border: 0; padding: 0; background: #fff; border-radius: var(--radius); max-width: min(1200px, 94vw); max-height: 90vh; overflow: auto; }
.zoom::backdrop { background: rgba(20, 10, 10, .82); }
.zoom img { display: block; width: 100%; height: auto; max-height: 88vh; object-fit: contain; padding: clamp(12px, 3vw, 32px); }
.zoom-close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brown); color: var(--paper); display: grid; place-items: center; cursor: pointer; z-index: 1; }
.zoom-close svg { width: 18px; height: 18px; }

/* ---------- Press feedback ---------- */
.m-unit.is-free:active, .pause:active, .wa-float:active { transform: scale(.97); }
.type-plan { transition: transform 160ms var(--ease); }
.type-plan:active { transform: scale(.985); }   /* large surface: smaller scale reads the same */
.pause { transition: transform 160ms var(--ease), border-color .2s ease; }

/* ---------- Plan zoom motion ---------- */
.zoom {
  opacity: 1; transform: scale(1);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease),
              overlay 220ms allow-discrete, display 220ms allow-discrete;
}
.zoom:not([open]) { opacity: 0; transform: scale(.96); transition-duration: 150ms; }
@starting-style { .zoom[open] { opacity: 0; transform: scale(.96); } }
.zoom::backdrop { transition: background-color 220ms ease, overlay 220ms allow-discrete, display 220ms allow-discrete; }
.zoom:not([open])::backdrop { background-color: rgba(20, 10, 10, 0); transition-duration: 150ms; }
@starting-style { .zoom[open]::backdrop { background-color: rgba(20, 10, 10, 0); } }

/* ---------- Hover: only on devices with a real pointer (taps would leave hover stuck) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: var(--gold-soft); }
  .btn-dark:hover { background: var(--brown-soft); }
  .btn-pill:hover { background: #fff; }
  .link-arrow:hover svg { transform: translateX(4px); }
  .nav a:hover { opacity: 1; }
  .nav a:hover::after { right: 0; }
  .lang a:hover { opacity: 1; }
  .pause:hover { border-color: var(--gold); }
  .m-unit.is-free:hover { background: var(--brown); color: var(--paper); }
  .m-unit.is-free:hover span { color: var(--gold); }
  .type-plan:hover img { transform: scale(1.02); }
  .video:hover img { opacity: .95; transform: scale(1.02); }
  .video:hover .play { transform: scale(1.06); }
  .gallery figure:hover img { transform: scale(1.03); }
.contact-list a:hover { border-color: var(--gold); color: var(--gold-soft); }
  .footer-nav a:hover { opacity: 1; color: var(--gold); }
  .footer-bottom a:hover { color: var(--gold); }
}

/* ---------- Responsive ---------- */
@media (min-width: 1100px) {
  /* Keep the building clear of the headline on wide screens. */
  .hero-slides { left: 26%; }
  .hero::after { background:
    linear-gradient(90deg, var(--brown-deep) 0%, var(--brown-deep) 26%, rgba(36,18,18,.55) 40%, rgba(36,18,18,0) 62%),
    linear-gradient(0deg, rgba(36,18,18,.8) 0%, rgba(36,18,18,0) 32%),
    linear-gradient(180deg, rgba(36,18,18,.55) 0%, rgba(36,18,18,0) 22%); }
}

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .facts-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .datasheet { grid-template-columns: 1fr; }
  .prog-steps li { grid-template-columns: 150px 1fr; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-actions .btn-pill { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0;
    background: var(--brown-deep); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--line-light); }
  .nav a::after { display: none; }
  .site-header.menu-open { background: var(--brown-deep); }

  .apt-head, .prog-head, .prog-grid, .q-proof, .q-cols, .location, .pay-head, .contact-inner { grid-template-columns: 1fr; }
  .type { grid-template-columns: 1fr; }
  .type-plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .about-media { min-height: 0; aspect-ratio: 4 / 3; }
  .prog-now img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; }
  .g-a { grid-row: auto; grid-column: 1 / 3; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .hero-foot { flex-wrap: wrap; gap: 14px 24px; }
  .hero-proof { margin-left: 0; }
  .slide-ctrl { margin-left: auto; }
  .wa-float { display: grid; }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  .header-inner { gap: 10px; height: 68px; }
  .nav { inset: 68px 0 auto; }
  .brand-tag { display: none; }
  .header-actions { gap: 2px; margin-left: auto; }
  .lang a { padding: 10px 5px; }
  .hero-content { padding-top: 112px; }
  .slide-cap { top: 80px; }
  .hero::after { background: linear-gradient(0deg, rgba(36,18,18,.96) 0%, rgba(36,18,18,.78) 55%, rgba(36,18,18,.35) 100%); }
  .hero-cta { gap: 18px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .nameplate { flex-wrap: wrap; row-gap: 4px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .matrix { padding: 16px 12px; }
  .matrix-grid { grid-template-columns: 28px repeat(4, 1fr); gap: 4px; }
  .m-unit { padding: 8px 6px; min-height: 52px; }
  .m-unit b { font-size: 12px; }
  .m-unit span { font-size: 11px; }
  .type h3 { font-size: 1.8rem; }
  .type .btn { align-self: stretch; justify-content: center; }
  .prog-steps li { grid-template-columns: 1fr; gap: 12px; }
  .q-photos { grid-template-columns: 1fr 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .next-inner { grid-template-columns: 1fr; }
  .next-mark { display: none; }
}

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

/* Lining figures everywhere. Cormorant Garamond defaults to old-style ("16" reads as "I6"), and the
   font shorthand used on many elements resets feature settings, hence !important. */
*, *::before, *::after { font-feature-settings: "lnum" 1 !important; }

/* Legal pages (Impressum, Datenschutz) */
.legal-page .site-header { position: sticky; top: 0; }
.legal-back { margin-left: auto; font-size: 13.5px; font-weight: 500; text-decoration: none; padding: 12px 0; opacity: .86; }
.legal-body { max-width: 760px; padding-top: 56px; padding-bottom: 88px; }
.legal-body h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; margin-bottom: 12px; }
.legal-body h2 { font: 600 13px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin: 40px 0 12px; }
.legal-body ul { margin: 0 0 1em; padding-left: 1.2em; }
.legal-body li { margin-bottom: .35em; }
.legal-body a { color: var(--gold-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-lead { font-size: 1.1rem; color: var(--muted); }
.legal-date { margin-top: 40px; font-size: 14px; color: var(--muted); }
@media (hover: hover) { .legal-back:hover { opacity: 1; color: var(--gold); } }

/* Payment-fraud warning in the payment section */
.pay-safe { max-width: 62ch; margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--gold-ink); background: rgba(212, 175, 55, .1); font-size: .9375rem; }
.pay-safe strong { font-weight: 600; }

/* FAQ — native <details>, works without JS */
.faq-list { max-width: 820px; margin-top: 36px; border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; font: 600 1.0625rem/1.45 var(--sans); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--serif); color: var(--gold-ink); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 68ch; padding: 0 0 22px; color: var(--muted); }
@media (hover: hover) { .faq-list summary:hover { color: var(--gold-ink); } }

/* Location map — click-to-load Google Maps behind a self-hosted placeholder */
.map-box { position: relative; margin-top: clamp(40px, 6vw, 64px); aspect-ratio: 21 / 9; overflow: hidden; border: 1px solid var(--line);
  background-color: var(--cream);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(32deg, transparent 47%, rgba(51, 26, 26, .07) 47%, rgba(51, 26, 26, .07) 53%, transparent 53%),
    linear-gradient(-58deg, transparent 48.5%, rgba(51, 26, 26, .06) 48.5%, rgba(51, 26, 26, .06) 51.5%, transparent 51.5%);
  background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%; }
.map-load { position: absolute; inset: 0; width: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; border: 0; padding: 24px; background: transparent; cursor: pointer; color: var(--ink); text-align: center; }
.map-pin { width: 44px; height: 44px; color: var(--gold-ink); }
.map-addr { font-size: 15px; line-height: 1.5; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { margin-top: 10px; }
@media (max-width: 760px) { .map-box { aspect-ratio: 4 / 3; } }

/* Motion — quiet, once-per-visit. Everything below only runs without a reduced-motion preference;
   with it, content is simply there (nothing is hidden first). One curve for the whole site: --ease. */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: headline, lead and actions come into focus once on load (pure CSS, no JS needed). */
  @keyframes rise-in { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
  .hero-content > *, .hero-foot { animation: rise-in .9s var(--ease) both; }
  .hero-content > :nth-child(1) { animation-delay: .12s; }
  .hero-content > :nth-child(2) { animation-delay: .22s; }
  .hero-content > :nth-child(3) { animation-delay: .32s; }
  .hero-foot { animation-delay: .45s; }

  /* Sections: blocks below the fold settle in once as they scroll into view (main.js adds/removes .is-pending). */
  .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.is-pending { opacity: 0; transform: translateY(14px); }
  .reveal h2 { transition: filter .8s var(--ease); }
  .reveal.is-pending h2 { filter: blur(4px); }
  .types > :nth-child(2), .q-cols > :nth-child(2), .location > :nth-child(2) { transition-delay: .08s; }
  .types > :nth-child(3) { transition-delay: .16s; }

  /* Payment plan: the cards follow each other, then each bar fills to its share (25 → 50 → 100 %). */
  .steps li { transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .steps li::after { transition: transform 1.1s var(--ease); }
  .steps.is-pending li { opacity: 0; transform: translateY(14px); }
  .steps.is-pending li::after { transform: scaleX(0); }
  .steps li:nth-child(2) { transition-delay: .09s; }
  .steps li:nth-child(3) { transition-delay: .18s; }
  .steps li:nth-child(1)::after { transition-delay: .35s; }
  .steps li:nth-child(2)::after { transition-delay: .5s; }
  .steps li:nth-child(3)::after { transition-delay: .65s; }

  /* FAQ: the answer settles in under its question instead of popping. */
  @keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } }
  .faq-list details[open] p { animation: answer-in .35s var(--ease) both; }

  /* Video and map: fade in once the embed has loaded, instead of flashing white. */
  .video iframe, .map-box iframe { transition: opacity .5s var(--ease); }
  .video iframe:not(.is-loaded), .map-box iframe:not(.is-loaded) { opacity: 0; }
}

/* ---------- Next-project teaser (src/next.html) ----------
   Renders are 1280 px wide, so they sit in the grid, never full-bleed. Every render carries its
   "visualisation · subject to change" caption on the image itself. No JS on this page. */
.np-page .site-header { position: sticky; top: 0; }
.np-actions { margin-left: auto; }
.np-back { font-size: 13.5px; font-weight: 500; text-decoration: none; padding: 12px 0; margin-right: 8px; opacity: .86; }

.np-hero { background: var(--brown-deep); color: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.np-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.np-eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.np-hero h1 { font-size: clamp(2.5rem, 4.3vw, 4rem); line-height: 1.02; }
.np-hero h1 em { font-style: italic; color: var(--gold-soft); }

.np-render { position: relative; }
.np-render img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--brown-soft); }
.np-render figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--paper);
  background: rgba(36, 18, 18, .84); padding: 6px 12px; border-radius: 999px;
}
.np-wide .np-render figcaption { left: calc(var(--gutter) + 12px); }
.np-wide { background: var(--paper); padding-bottom: clamp(24px, 4vw, 48px); }
.np-wide .np-render { max-width: 1160px; }

.np-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.np-two h2 { margin-bottom: 24px; }
.np-two .lead { margin-bottom: 16px; }
.np-muted { color: var(--muted); max-width: 50ch; }

.np-diagram { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); }
.np-diagram svg { width: 100%; height: auto; display: block; }
.np-diagram figcaption { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.d-street { fill: rgba(51, 26, 26, .08); }
.d-centre { stroke: var(--paper); stroke-width: 2; stroke-dasharray: 10 9; }
.d-malak { fill: var(--brown); }
.d-mark { color: var(--gold); }
.d-new { fill: rgba(212, 175, 55, .1); stroke: var(--gold-ink); stroke-width: 1.5; stroke-dasharray: 7 6; }
.d-street-label { font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; fill: var(--muted); }
.d-name { font: 600 16px var(--sans); letter-spacing: .04em; fill: var(--paper); }
.d-sub { font: 500 13px var(--sans); fill: var(--gold-soft); }
.d-name-new { fill: var(--brown); }
.d-sub-new { fill: var(--gold-ink); }

.np-status { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.np-status-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.np-status-list li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.np-status-list b { flex: none; font: 600 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.np-status-list b.is-soon { color: var(--brown-deep); background: var(--gold); border-color: var(--gold); }

.np-proof { background: var(--brown); color: var(--paper); }
.np-proof :focus-visible, .np-hero :focus-visible { outline-color: var(--gold); }
.np-photo { position: relative; max-width: 420px; }
.np-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); }
.np-photo figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: var(--paper); background: rgba(36, 18, 18, .84); padding: 6px 12px; border-radius: 999px; }
.np-proof-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 30px; }

.np-signup-inner { max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.np-signup-mark { width: 40px; height: 45px; color: var(--gold); margin-bottom: 26px; }
.np-signup h2 { margin-bottom: 20px; }
.np-signup .lead { margin-bottom: 32px; }
.np-signup .note { margin-top: 18px; }
.np-signup .note a { color: var(--gold-ink); text-underline-offset: 3px; }

@media (hover: hover) {
  .np-back:hover { opacity: 1; color: var(--gold); }
  .np-proof-links .link-arrow:hover svg, .np-hero .link-arrow:hover svg { transform: translateX(4px); }
}
@media (max-width: 960px) {
  .np-hero-inner, .np-two { grid-template-columns: 1fr; }
  .np-render-hero { order: -1; }
  .np-photo { max-width: none; }
  .np-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .np-back { display: none; }
  .np-hero .hero-cta .btn { width: 100%; justify-content: center; }
  .np-render figcaption, .np-photo figcaption { position: static; display: block; margin-top: 10px; padding: 0; background: none; color: inherit; font-weight: 500; opacity: .8; border-radius: 0; }
  .np-wide .np-render figcaption { color: var(--muted); }
}
