/* Locowin NL — fascia.css */

:root {
  --color-primary: #d84723;
  --color-accent: #f6c61c;
  --color-bg: #2a1c68;
  --color-bg-elevated: #352179;
  --color-accent-pressed: #d9ae08;
  --color-gradient-light: #fae08e;
  --color-gradient-mid: #f6d748;
  --color-text: #ffffff;
  --color-text-muted: #c1c1c1;
  --color-rg-banner: #dc2626;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  /* TYPO-03 */
  --fs-h1: 80px; --fs-h2: 48px; --fs-h3: 30px; --fs-h4: 22px; --fs-h5: 16px;
  --fs-h6: 13px; --fs-body: 15px; --fs-small: 13px; --fs-micro: 11px;
  --lh-tight: 0.95; --lh-normal: 1.45; --lh-loose: 1.65;
  --ls-tight: -0.04em; --ls-normal: 0; --ls-wide: 0.08em;
  --fw-regular: 400; --fw-medium: 700; --fw-bold: 900;

  /* SPACE-07 */
  --space-2xs: 3px; --space-xs: 8px; --space-sm: 13px; --space-md: 21px;
  --space-lg: 34px; --space-xl: 55px; --space-2xl: 89px; --space-3xl: 144px;

  /* CONT-03 */
  --container-site: 1140px;
  --container-readable: 710px;
  --container-padding-desktop: 24px;
  --container-padding-tablet: 32px;
  --container-padding-mobile: 16px;

  /* BP-01 */
  --bp-sm: 480px; --bp-md: 760px; --bp-lg: 1080px; --bp-xl: 1480px;

  /* GEO-07 */
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-pill: 9999px; --radius-circle: 50%;
  --shadow-sm: none; --shadow-md: none; --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
  --border-thin: 1px; --border-medium: 2px; --border-thick: 3px;

  /* MOTION-02 */
  --dur-fast: 150ms; --dur-base: 200ms; --dur-slow: 300ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1.0);
  --ease-in: cubic-bezier(0.55, 0.06, 0.68, 0.19);

  --header-height-desktop: 96px;
  --header-height-mobile: 68px;
  --rg-height: 30px;
  --content-width: calc(var(--container-site) + 2 * var(--container-padding-desktop));
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  padding-top: calc(var(--header-height-desktop) + var(--rg-height));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-pressed); }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }

/* ---------- a11y ---------- */
.skip-link {
  position: fixed; left: var(--space-md); top: -200px; z-index: 200;
  background: var(--color-accent); color: var(--color-bg);
  padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: var(--fw-bold);
}
.skip-link:not(:focus) { top: -200px !important; }
.skip-link:focus { top: calc(var(--rg-height) + 8px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- RG banner (fixed above fixed header) ---------- */
.rg-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  min-height: var(--rg-height);
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 0; padding: 4px var(--space-md);
  background: var(--color-rg-banner); color: #fff;
  font-size: var(--fs-micro); letter-spacing: var(--ls-wide); text-align: center;
}
.rg-banner a { color: #fff; text-decoration: underline; }
.rg-banner a:hover { color: #fff; }

/* ---------- header (HEAD-04 sticky transparent, NAV-03 two-row, STICKY-04) ---------- */
.foyer {
  position: fixed; top: var(--rg-height); left: 0; right: 0; z-index: 100;
  background: var(--color-bg);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.foyer.is-hidden { transform: translateY(calc(-1 * (var(--header-height-desktop) + var(--rg-height)))); }
.foyer--over-hero { background: transparent; }
.foyer--over-hero.is-scrolled { background: rgba(42,28,104,0.92); backdrop-filter: blur(10px); }
.foyer-inner {
  max-width: var(--content-width);
  margin-inline: auto;
  min-height: var(--header-height-desktop);
  padding-inline: var(--container-padding-desktop);
  display: flex; align-items: center; gap: var(--space-md);
}
.foyer-logo { flex-shrink: 0; display: inline-flex; }
.foyer-logo-pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; padding: 6px 12px; border-radius: var(--radius-md);
}
.foyer-logo-img { height: 60px; width: auto; flex-shrink: 0; }
.foyer-nav { margin-left: auto; display: flex; flex-direction: column; gap: var(--space-2xs); }
.foyer-nav-list {
  display: flex; flex-wrap: nowrap; gap: var(--space-sm);
  list-style: none; margin: 0; padding: 0; justify-content: flex-end;
}
.foyer-nav-list--top { justify-content: flex-end; }
.foyer-nav-list--bottom { padding-top: var(--space-2xs); border-top: 1px solid rgba(255,255,255,0.10); }
.foyer-nav-item { display: inline-flex; }
.foyer-link {
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: var(--fs-small); color: var(--color-text-muted);
  white-space: nowrap; padding-block: var(--space-2xs);
  transition: color var(--dur-fast) var(--ease-out);
}
.foyer-link:hover { color: var(--color-text); }
.foyer-link[aria-current="page"] { color: var(--color-accent); }
.foyer--over-hero .foyer-link { color: rgba(255,255,255,0.85); }
.foyer--over-hero .foyer-link:hover { color: #fff; }

.foyer-auth { display: flex; gap: var(--space-sm); flex-shrink: 0; }
.foyer-auth-btn {
  display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0;
  height: 40px; padding-inline: var(--space-md);
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide);
  border-radius: var(--radius-md); border: 1px solid var(--color-accent);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.foyer-auth-btn--login { background: transparent; border-color: var(--color-text); color: var(--color-text); }
.foyer-auth-btn--login:hover { background: var(--color-text); color: var(--color-bg); }
.foyer-auth-btn--register { background: var(--color-accent); color: var(--color-bg); }
.foyer-auth-btn--register:hover { background: var(--color-accent-pressed); color: var(--color-bg); }

.foyer-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.foyer-burger, .foyer-burger::before, .foyer-burger::after {
  content: ""; display: block; width: 24px; height: 2px;
  background: var(--color-text); position: relative; transition: transform var(--dur-base) var(--ease-out);
}
.foyer-burger::before { position: absolute; top: -7px; left: 0; }
.foyer-burger::after { position: absolute; top: 7px; left: 0; }
.foyer-toggle[aria-expanded="true"] .foyer-burger { background: transparent; }
.foyer-toggle[aria-expanded="true"] .foyer-burger::before { transform: translateY(7px) rotate(45deg); }
.foyer-toggle[aria-expanded="true"] .foyer-burger::after { transform: translateY(-7px) rotate(-45deg); }

.foyer-drawer {
  position: fixed; top: calc(var(--header-height-mobile) + var(--rg-height));
  left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--color-bg); padding: var(--space-md);
  overflow-y: auto;
}
.foyer-drawer[hidden] { display: none; }
.foyer-drawer.is-open { display: block; }
.foyer-drawer-list { list-style: none; margin: 0 0 var(--space-md); padding: 0; }
.foyer-drawer-list .foyer-link {
  display: block; font-size: var(--fs-h6); text-transform: uppercase;
  padding: var(--space-md) 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--color-text);
}
.foyer-drawer-auth { display: flex; gap: var(--space-sm); }
.foyer-drawer-auth .foyer-auth-btn { flex: 1; justify-content: center; height: 48px; }

/* ---------- hero (HERO-08 magazine cover) ---------- */
.dormer {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  margin-top: calc(-1 * (var(--header-height-desktop) + var(--rg-height)));
  padding: calc(var(--header-height-desktop) + var(--rg-height)) var(--container-padding-desktop) var(--space-2xl);
}
.dormer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.dormer-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0.40)); }
.dormer-cover { position: relative; z-index: 2; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.dormer-eyebrow {
  font-family: var(--font-body); font-size: var(--fs-micro); text-transform: uppercase;
  letter-spacing: var(--ls-wide); color: rgba(255,255,255,0.75);
}
.dormer-title {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: clamp(29px, 7vw, var(--fs-h1)); line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight); color: #fff; text-transform: uppercase; overflow-wrap: anywhere; max-width: 100%; }
.dormer-deck { max-width: 600px; font-size: var(--fs-h5); color: rgba(255,255,255,0.85); line-height: var(--lh-normal); }
.dormer-meta { display: flex; gap: var(--space-md); font-size: var(--fs-small); color: rgba(255,255,255,0.7); }
.dormer-meta span + span { border-left: 1px solid rgba(255,255,255,0.4); padding-left: var(--space-md); }

/* ---------- page-header (PHEAD-06 subtle editorial) ---------- */
.portal { padding-block: var(--space-2xl); background: var(--color-bg); }
.portal-inner { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--container-padding-desktop); }
.portal-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(29px, 6vw, var(--fs-h1)); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); text-transform: uppercase; overflow-wrap: anywhere; max-width: 100%; }
.portal-desc {
  position: relative; margin-top: var(--space-lg); padding-top: var(--space-md);
  font-family: var(--font-body); font-style: italic; font-size: var(--fs-h5);
  color: var(--color-text-muted); max-width: 640px;
}
.portal-desc::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 1px; background: rgba(255,255,255,0.2); }

/* ---------- breadcrumbs (BREAD-04 numbered) ---------- */
.nave { padding-block: var(--space-md); background: var(--color-bg); }
.nave-list { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--container-padding-desktop);
  display: flex; align-items: center; gap: var(--space-sm); list-style: none; }
.nave-item { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.nave-num { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h6); color: var(--color-accent); }
.nave-link, .nave-current { font-family: var(--font-body); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.nave-link { color: var(--color-text-muted); }
.nave-link:hover { color: var(--color-text); }
.nave-current { color: var(--color-text); }
.nave-sep { color: rgba(255,255,255,0.4); margin-inline: var(--space-sm); }

/* ---------- shared section frame ---------- */
.antechamber, .grotto, .lobby, .mosaic, .arbor, .veranda, .slab, .crochet, .column, .figrow { background: var(--color-bg); }
.grotto-inner, .lobby-inner, .mosaic-inner, .arbor-inner, .veranda-inner, .figrow-inner {
  max-width: var(--content-width); margin-inline: auto; padding-inline: var(--container-padding-desktop);
}
/* Prose/legal/form are intentionally readable width (START.md §8.5 exception) */
.antechamber-readable, .slab-readable, .crochet-readable {
  max-width: var(--container-readable); margin-inline: auto; padding-inline: var(--container-padding-desktop);
}

/* ---------- prose (PROSE-06 centered quiet) ---------- */
.antechamber { padding-block: var(--space-xl); }
.antechamber-readable { text-align: center; }
.antechamber-h2 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); margin-top: var(--space-2xl); margin-bottom: var(--space-md); overflow-wrap: anywhere; max-width: 100%; }
.antechamber-readable > .antechamber-h2:first-child { margin-top: 0; }
.antechamber p { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--color-text-muted); margin-bottom: var(--space-md); }
.antechamber ul { text-align: left; margin: 0 auto var(--space-md); padding-left: var(--space-lg); color: var(--color-text-muted); line-height: var(--lh-loose); }
.antechamber a { color: var(--color-accent); text-decoration: underline; }
.antechamber a:hover { color: var(--color-accent-pressed); }

/* ---------- items-grid (GRID-04 icon-decorated) ---------- */
.grotto { padding-block: var(--space-xl); }
.grotto-heading { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: var(--ls-tight); margin-bottom: var(--space-lg); overflow-wrap: anywhere; max-width: 100%; }
.grotto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grotto-card { padding: var(--space-lg); border: 1px dashed rgba(255,255,255,0.25); border-radius: var(--radius-md); background: var(--color-bg-elevated); }
.grotto-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-circle); background: var(--color-accent); color: var(--color-bg); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); margin-bottom: var(--space-md); }
.grotto-card-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); margin-bottom: var(--space-sm); }
.grotto-card-text { font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--color-text-muted); }

/* ---------- data-table (TABLE-02 borderless editorial) ---------- */
.lobby { padding-block: var(--space-xl); }
.lobby-table { width: 100%; border-collapse: collapse; }
.lobby-table th { text-align: left; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-text); padding-block: var(--space-md); border-bottom: 2px solid var(--color-accent); }
.lobby-table td { padding: var(--space-md); font-size: var(--fs-body); color: var(--color-text-muted); border-bottom: 1px solid rgba(255,255,255,0.08); }
.lobby-table td:first-child { color: var(--color-text); font-weight: var(--fw-medium); }
.lobby-table tbody tr:last-child td { border-bottom: none; }

/* ---------- reviews (REV-04 featured + list) ---------- */
.mosaic { padding-block: var(--space-xl); }
.mosaic-heading { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: var(--ls-tight); margin-bottom: var(--space-lg); overflow-wrap: anywhere; max-width: 100%; }
.mosaic-featured { margin: 0 0 var(--space-2xl); padding: var(--space-2xl); background: rgba(216,71,35,0.10); border-radius: var(--radius-lg); }
.mosaic-featured-stars { color: var(--color-accent); font-size: 28px; line-height: 1; margin-bottom: var(--space-md); }
.mosaic-featured-text { font-size: var(--fs-h4); font-style: italic; line-height: var(--lh-normal); margin: 0 0 var(--space-md); }
.mosaic-featured-cite { font-size: var(--fs-small); color: var(--color-text-muted); }
.mosaic-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.mosaic-item { padding: var(--space-md) 0; border-top: 1px solid rgba(255,255,255,0.10); }
.mosaic-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-xs); }
.mosaic-item-author { font-family: var(--font-display); font-weight: var(--fw-bold); }
.mosaic-item-stars { color: var(--color-accent); }
.mosaic-item-text { font-size: var(--fs-small); color: var(--color-text-muted); line-height: var(--lh-normal); }

/* ---------- faq (FAQ-10 sidebar two-column, always open) ---------- */
.arbor { padding-block: var(--space-xl); }
.arbor-inner { display: grid; grid-template-columns: 40% 60%; gap: var(--space-xl); }
.arbor-aside { position: sticky; top: calc(var(--header-height-desktop) + var(--space-lg)); align-self: start; padding: var(--space-lg) 0; }
.arbor-heading { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: var(--ls-tight); margin-bottom: var(--space-md); overflow-wrap: anywhere; max-width: 100%; }
.arbor-sub { font-size: var(--fs-body); color: var(--color-text-muted); line-height: var(--lh-loose); }
.arbor-list { display: flex; flex-direction: column; gap: var(--space-xl); }
.arbor-item { display: block; }
.arbor-q { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); margin-bottom: var(--space-sm); }
.arbor-a { font-size: var(--fs-body); color: var(--color-text-muted); line-height: var(--lh-loose); }

/* ---------- cta (CTA-03 split visual) ---------- */
.veranda { padding-block: var(--space-xl); }
.veranda-inner { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px dashed rgba(255,255,255,0.25); }
.veranda-content { padding: var(--space-2xl); background: var(--color-bg); }
.veranda-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: var(--ls-tight); line-height: var(--lh-tight); margin-bottom: var(--space-md); overflow-wrap: anywhere; max-width: 100%; }
.veranda-text { font-size: var(--fs-body); color: var(--color-text-muted); line-height: var(--lh-loose); margin-bottom: var(--space-lg); }
.veranda-btn { display: inline-flex; align-items: center; height: 52px; padding-inline: var(--space-xl); background: var(--color-accent); color: var(--color-bg); font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); border-radius: var(--radius-md); transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.veranda-btn:hover { background: var(--color-accent-pressed); color: var(--color-bg); transform: translateY(-1px); }
.veranda-visual { min-height: 400px; display: flex; align-items: center; justify-content: center; background-color: var(--color-accent); background-image: linear-gradient(135deg, var(--color-accent), var(--color-primary)); }
.veranda-visual-deco { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(29px, 8vw, 96px); color: var(--color-bg); text-align: center; overflow-wrap: anywhere; max-width: 100%; }

/* ---------- per-page images ---------- */
.figrow { padding-block: var(--space-lg); }
.figrow-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-md); }
.figrow-fig { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.figrow-fig img { width: 100%; height: auto; }

/* ---------- byline (BYLINE-07 expertise tags) ---------- */
.trefoil { padding-block: var(--space-lg); }
.trefoil-card { max-width: var(--content-width); margin-inline: auto; padding: var(--space-lg); background: var(--color-bg-elevated); border-radius: var(--radius-md); border: 1px dashed rgba(255,255,255,0.20); }
.trefoil-head { display: flex; gap: var(--space-sm); align-items: center; margin-bottom: var(--space-md); }
.trefoil-portrait { width: 72px; height: 72px; border-radius: var(--radius-circle); object-fit: cover; object-position: center top; flex-shrink: 0; }
.trefoil-name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); }
.trefoil-name a { color: var(--color-text); }
.trefoil-name a:hover { color: var(--color-accent); }
.trefoil-role { font-size: var(--fs-small); color: var(--color-text-muted); }
.trefoil-bio { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--color-text-muted); margin-bottom: var(--space-md); }
.trefoil-expertise { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-md); }
.trefoil-tag { padding: var(--space-2xs) var(--space-sm); background: var(--color-primary); color: var(--color-text); border-radius: var(--radius-pill); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.trefoil-link { color: var(--color-accent); text-decoration: underline; }
.trefoil-link:hover { color: var(--color-accent-pressed); }

/* ---------- author-card (AUTH-01) ---------- */
.column { padding-block: var(--space-xl); }
.column-card { max-width: var(--content-width); margin-inline: auto; display: grid; grid-template-columns: 160px 1fr; gap: var(--space-xl); background: var(--color-bg-elevated); padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-lg); border: 1px dashed rgba(255,255,255,0.20); }
.column-portrait { width: 160px; height: 160px; border-radius: var(--radius-circle); overflow: hidden; }
.column-portrait img { width: 160px; height: 160px; object-fit: cover; object-position: center top; }
.column-body { display: flex; flex-direction: column; gap: var(--space-md); }
.column-jobtitle { font-family: var(--font-body); font-weight: var(--fw-medium); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-accent); }
.column-name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); overflow-wrap: anywhere; max-width: 100%; }
.column-bio { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--color-text-muted); }
.column-expertise { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.column-tag { padding: var(--space-2xs) var(--space-sm); background: var(--color-primary); color: var(--color-text); border-radius: var(--radius-pill); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.column-articles { padding-block: var(--space-lg); max-width: var(--content-width); margin-inline: auto; padding-inline: var(--container-padding-desktop); }
.column-articles-heading { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h4); margin-bottom: var(--space-md); }
.column-articles-list { display: flex; flex-direction: column; gap: var(--space-xs); list-style: none; padding: 0; margin: 0; }
.column-articles-item { font-size: var(--fs-body); line-height: var(--lh-normal); }
.column-articles-item a { color: var(--color-accent); text-decoration: underline; }
.column-articles-item a:hover { color: var(--color-accent-pressed); }

/* ---------- contact-form (FORM-01) ---------- */
.slab { padding-block: var(--space-2xl); }
.slab-intro { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.slab-success { display: none; padding: var(--space-md); background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35); border-radius: var(--radius-md); margin-bottom: var(--space-md); }
.slab-success.is-visible { display: block; }
.slab-form { display: flex; flex-direction: column; gap: var(--space-md); background: var(--color-bg-elevated); padding: var(--space-lg); border-radius: var(--radius-md); }
.slab-field { display: flex; flex-direction: column; gap: var(--space-xs); }
.slab-label { font-family: var(--font-body); font-weight: var(--fw-medium); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-text); }
.slab-input { font-family: var(--font-body); font-size: var(--fs-body); color: var(--color-text); background: var(--color-bg); border: 0; border-bottom: 2px dashed rgba(255,255,255,0.25); border-radius: 0; padding: var(--space-sm) var(--space-md); height: 48px; }
.slab-input:focus { outline: none; border-bottom-color: var(--color-accent); }
.slab-textarea { min-height: 120px; height: auto; resize: vertical; }
.slab-submit { align-self: flex-start; height: 48px; padding-inline: var(--space-xl); background: var(--color-accent); color: var(--color-bg); border: 0; font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); border-radius: var(--radius-md); cursor: pointer; transition: background var(--dur-base) var(--ease-out); }
.slab-submit:hover { background: var(--color-accent-pressed); color: var(--color-bg); }

/* ---------- legal (LEGAL-01) ---------- */
.crochet { padding-block: var(--space-2xl); }
.crochet-intro { font-size: var(--fs-h5); line-height: var(--lh-normal); color: var(--color-text); margin-bottom: var(--space-lg); }
.crochet-updated { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-text-muted); margin-bottom: var(--space-xl); }
.crochet-section { border-top: 1px solid rgba(255,255,255,0.08); }
.crochet-section:first-of-type { border-top: none; }
.crochet-h { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h3); margin-top: var(--space-xl); margin-bottom: var(--space-md); overflow-wrap: anywhere; max-width: 100%; }
.crochet-p { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--color-text-muted); margin-bottom: var(--space-md); }
.crochet-contacts { background: var(--color-bg-elevated); padding: var(--space-lg); border-radius: var(--radius-md); margin-top: var(--space-xl); }
.crochet-contacts ul { margin: var(--space-md) 0 0; padding-left: var(--space-lg); color: var(--color-text-muted); line-height: var(--lh-loose); }
.crochet-disclaimer { padding: var(--space-md); background: rgba(220,38,38,0.10); border-left: 3px solid #dc2626; border-radius: var(--radius-xs); font-size: var(--fs-small); color: var(--color-text); margin-top: var(--space-xl); }

/* ---------- error (ERR-01) ---------- */
.rafter { padding-block: var(--space-3xl); text-align: center; }
.rafter-inner { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--container-padding-desktop); display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.rafter-code { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(29px, 18vw, 200px); line-height: var(--lh-tight); color: var(--color-accent); overflow-wrap: anywhere; max-width: 100%; }
.rafter-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(29px, 6vw, var(--fs-h1)); max-width: 720px; text-transform: uppercase; overflow-wrap: anywhere; max-width: 100%; }
.rafter-text { font-size: var(--fs-h5); color: var(--color-text-muted); max-width: 600px; }
.rafter-btn { display: inline-flex; align-items: center; height: 52px; padding-inline: var(--space-xl); background: var(--color-accent); color: var(--color-bg); font-family: var(--font-display); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wide); border-radius: var(--radius-md); }
.rafter-btn:hover { background: var(--color-accent-pressed); color: var(--color-bg); }

/* ---------- footer (FOOT-03 massive centered) ---------- */
.belfry { padding-block: var(--space-3xl); background: var(--color-bg); border-top: 1px solid rgba(255,255,255,0.08); }
.belfry-inner { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--container-padding-desktop); display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center; }
.belfry-logo { display: inline-flex; }
.belfry-logo-pill { display: inline-flex; align-items: center; justify-content: center; background: #fff; padding: 8px 16px; border-radius: var(--radius-md); }
.belfry-logo-pill img { height: 72px; width: auto; }
.belfry-nav { display: flex; justify-content: center; }
.belfry-nav-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.belfry-nav-list a { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-body); color: var(--color-text-muted); }
.belfry-nav-list a:hover { color: var(--color-text); }
.belfry-tagline { font-size: var(--fs-small); color: var(--color-text-muted); max-width: 480px; line-height: var(--lh-loose); }
.belfry-rg { font-size: var(--fs-small); color: var(--color-text-muted); }
.belfry-legal-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
.belfry-legal-row a { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--color-text-muted); }
.belfry-legal-row a:hover { color: var(--color-text); }
.belfry-copyright { font-size: var(--fs-micro); color: var(--color-text-muted); }

/* ---------- cookie (COOK-01 bottom floating pill) ---------- */
.transom { position: fixed; inset-block-end: var(--space-md); inset-inline: var(--space-md); max-width: 720px; margin-inline: auto; z-index: 90; display: none; }
.transom.is-visible { display: block; }
.transom-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); background: var(--color-bg-elevated); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: var(--space-md); }
.transom-message { flex: 1 1 280px; font-size: var(--fs-small); line-height: var(--lh-normal); color: var(--color-text-muted); }
.transom-actions { display: flex; gap: var(--space-sm); }
.transom-button { height: 36px; padding-inline: var(--space-md); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-wide); border-radius: var(--radius-md); cursor: pointer; border: 1px solid transparent; }
.transom-accept { background: var(--color-accent); color: var(--color-bg); }
.transom-accept:hover { background: var(--color-accent-pressed); color: var(--color-bg); }
.transom-decline { background: transparent; border-color: rgba(255,255,255,0.20); color: var(--color-text); }
.transom-decline:hover { background: rgba(255,255,255,0.06); color: var(--color-text); }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .foyer-nav, .foyer-auth { display: none; }
  .foyer-toggle { display: inline-flex; }
  .foyer-inner { min-height: var(--header-height-mobile); }
  body { padding-top: calc(var(--header-height-mobile) + var(--rg-height)); }
  .foyer.is-hidden { transform: translateY(calc(-1 * (var(--header-height-mobile) + var(--rg-height)))); }
  .dormer { margin-top: calc(-1 * (var(--header-height-mobile) + var(--rg-height))); padding-top: calc(var(--header-height-mobile) + var(--rg-height)); }
  .foyer-logo-img { height: 48px; }
  .arbor-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .arbor-aside { position: static; }
  .grotto-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .grotto-grid, .mosaic-list { grid-template-columns: 1fr; }
  .veranda-inner { grid-template-columns: 1fr; }
  .veranda-content { padding: var(--space-lg); }
  .veranda-visual { min-height: 200px; }
  .column-card { grid-template-columns: 1fr; text-align: center; }
  .column-portrait { margin-inline: auto; width: 120px; height: 120px; }
  .column-portrait img { width: 120px; height: 120px; }
  .column-expertise { justify-content: center; }
  .dormer-meta { flex-direction: column; gap: var(--space-2xs); }
  .dormer-meta span + span { border-left: 0; padding-left: 0; }
}

@media (max-width: 720px) {
  .transom, .transom-inner { padding: 12px 14px !important; gap: 8px !important; }
  .transom-message { font-size: 13px !important; line-height: 1.35 !important; }
  .transom-button { padding: 8px 14px !important; font-size: 12px !important; min-height: 36px !important; }
}

[class*='-fig'] img, main figure img, article figure img { width: 100%; max-height: 58vh; object-fit: cover; object-position: center; }
