/* MARVERA — marverasardinia.com
   One stylesheet. Mobile first. No third-party resources. */

/* ------------------------------------------------------------------ fonts (self-hosted, SIL OFL 1.1) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/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;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/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;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/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;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/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;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/schibsted-grotesk-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;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/schibsted-grotesk-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;
}

/* ------------------------------------------------------------------ tokens */
:root {
  --paper: #F6F3EC;
  --paper-hi: #FCFAF5;
  --sand: #EDE8DC;
  --ink: #182619;
  --ink-deep: #14201A;
  --ink-2: #4F594E;          /* secondary text on paper: 6.4:1 */
  --gold: #8F6D2B;
  --gold-text: #7A5C24;      /* small gold text on paper / sand: >= 5:1 */
  --gold-light: #C9A24B;
  --on-dark: #F6F3EC;
  --on-dark-2: #B7B9AF;      /* secondary text on deep green: 8:1 */
  --rule: rgba(24, 38, 25, .16);
  --rule-strong: rgba(24, 38, 25, .32);
  --rule-dark: rgba(246, 243, 236, .18);
  --error: #A3341F;
  --error-bg: #FBEEE8;
  --focus: #8F6D2B;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 11vw, 152px);
  --header-h: 68px;

  --fs-display: clamp(2.6rem, 1.5rem + 4vw, 4.9rem);
  --fs-display-2: clamp(2.4rem, 1.55rem + 3.6vw, 4.6rem);
  --fs-h2: clamp(2.05rem, 1.45rem + 2.5vw, 3.55rem);
  --fs-lead: clamp(1.1rem, 1rem + .45vw, 1.32rem);
  --fs-body-l: clamp(1.075rem, 1rem + .3vw, 1.22rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-caption: .8125rem;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--gold); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 600; }
.display, .display-2, .h2, .phase-n, .phase-name, .phase-units-v, .fact-v, .num, .stage-h, .door-h, .item-h-serif, .thanks-h, .menu-panel a, .ledger dt {
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
abbr[title] { text-decoration: none; }
::selection { background: rgba(143, 109, 43, .24); }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
.tone-dark { --focus: var(--gold-light); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--paper); }

/* ------------------------------------------------------------------ type */
.eyebrow, .label, .label-h, .mini-label {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--gold-text);
  margin: 0 0 20px;
}
.mini-label { font-size: .6875rem; letter-spacing: .16em; color: var(--ink-2); margin: 0 0 6px; }
.tone-dark .eyebrow, .tone-dark .label { color: var(--gold-light); }
.tone-dark .mini-label { color: var(--on-dark-2); }

.display, .display-2, .h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.012em;
}
.display { font-size: var(--fs-display); line-height: 1.02; }
.display-2 { font-size: var(--fs-display-2); line-height: 1.04; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; margin-bottom: 28px; }
.display em, .display-2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.tone-dark .display em, .tone-dark .display-2 em { color: var(--gold-light); }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.body-l { font-size: var(--fs-body-l); line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
.body-m { font-size: var(--fs-body); line-height: 1.72; color: var(--ink-2); max-width: 62ch; }
.note { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-2); max-width: 78ch; margin: 32px 0 0; }
.tone-dark { background: var(--ink-deep); color: var(--on-dark); }
.tone-dark .lead, .tone-dark .body-l, .tone-dark .body-m, .tone-dark .note, .tone-dark p { color: var(--on-dark-2); }
.tone-sand { background: var(--sand); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, .96);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(246, 243, 236, .88); backdrop-filter: saturate(1.2) blur(10px); }
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 10px 0; min-width: 0; max-width: 156px; }
.brand:hover { color: inherit; }
.brand-word { width: 128px; height: auto; }
.brand-tag span { display: block; }
.brand-tag .tag-sep { display: none; }
.brand-tag { font-size: .5625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); line-height: 1.45; }
@media (min-width: 560px) {
  .brand { max-width: none; }
  .brand-tag { font-size: .625rem; letter-spacing: .2em; white-space: nowrap; }
  .brand-tag span, .brand-tag .tag-sep { display: inline; }
}

.nav-main { display: none; }
.nav-main ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav-main a, .menu-panel a { text-decoration: none; }
.nav-main a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .875rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 8px;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { text-decoration-color: currentColor; }

.header-tools { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.lang-switch { display: inline-flex; align-items: center; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; }
.lang-switch a, .lang-current { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; padding: 0 4px; text-decoration: none; }
.lang-switch a { color: var(--ink-2); }
.lang-switch a:hover { color: var(--gold); }
.lang-current { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lang-sep { color: var(--ink-2); padding: 0 1px; }

/* mobile menu: <details>, panel overlays the page (no layout shift) */
.menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; margin-left: 4px;
  border: 1px solid var(--rule-strong); border-radius: 2px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
@media (max-width: 399px) {
  .menu summary { width: 44px; padding: 0; justify-content: center; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
.menu-bars { position: relative; width: 18px; height: 10px; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.menu-bars::before { top: 0; }
.menu-bars::after { top: 8.5px; }
.menu[open] .menu-bars::before { top: 4.25px; transform: rotate(45deg); }
.menu[open] .menu-bars::after { top: 4.25px; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  padding: 8px var(--gutter) 28px;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.menu-panel li { border-bottom: 1px solid var(--rule); }
.menu-panel a {
  display: flex; align-items: center; min-height: 60px;
  font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1;
}
.menu-panel a[aria-current="page"] { color: var(--gold); }

@media (min-width: 400px) { .brand-word { width: 140px; } }
@media (min-width: 1000px) {
  :root { --header-h: 78px; }
  .brand-word { width: 156px; }
  .nav-main { display: block; }
  .menu { display: none; }
  .header-tools { gap: 0; padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--rule); }
  .header-bar { gap: 32px; }
  .nav-main { margin-left: auto; }
}

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: .03em;
  text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-solid:hover { background: #2A3B2D; border-color: #2A3B2D; color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(246, 243, 236, .5); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn[disabled] { opacity: .62; cursor: progress; }

.link-arrow {
  display: inline-block; padding: 11px 0;
  font-weight: 600; font-size: .9375rem; letter-spacing: .02em;
  text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 7px;
}
.link-arrow:hover { text-decoration-color: currentColor; }
.more { margin: 28px 0 0; }

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.section-tight-top { padding-top: 0; }
.rule-top { border-top: 1px solid var(--rule); padding-top: clamp(56px, 8vw, 104px); }

.section-head { display: grid; gap: 8px 64px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .h2 { margin-bottom: 0; }
.section-head > p { margin: 0; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; }
}

/* ------------------------------------------------------------------ hero (home) */
.hero { padding: clamp(44px, 5.4vw, 76px) 0 clamp(56px, 6.4vw, 88px); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: clamp(168px, 15vw, 212px); margin: 0 auto clamp(30px, 3.4vw, 44px); }
.hero .display { max-width: 21ch; margin: 0 auto 26px; }
.hero .lead { margin: 0 auto 32px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 40px; }
.chips li {
  font-size: .8125rem; line-height: 1.3; letter-spacing: .02em; color: var(--on-dark);
  border: 1px solid var(--rule-dark); border-radius: 2px; padding: 9px 14px;
}
.chip-k { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-right: 6px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.actions .btn { min-width: 220px; }
@media (max-width: 479px) { .actions { width: 100%; flex-direction: column; } .actions .btn { width: 100%; } }

/* ------------------------------------------------------------------ figures */
.fig { margin: 0; min-width: 0; }
.fig-media { position: relative; overflow: hidden; background: #E4DED0; }
.fig-media img { width: 100%; }
.caption { margin: 14px 0 0; font-size: var(--fs-caption); line-height: 1.55; color: var(--ink-2); max-width: 74ch; }
.tone-dark .caption { color: var(--on-dark-2); }

.hero-media .fig-media, .band .fig-media { height: clamp(280px, 56vw, 780px); }
.band .fig-media { height: clamp(260px, 44vw, 640px); }
.hero-media .fig-media img, .band .fig-media img { height: 100%; object-fit: cover; }
.hero-media .caption, .band .caption {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
}
.fig-wide .fig-media { aspect-ratio: 16 / 10; }
.fig-wide .fig-media img { height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ split layouts */
.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split-media-left .fig { grid-column: 1 / span 6; }
  .split-media-left .split-text { grid-column: 8 / span 5; }
  .split-media-right .split-text { grid-column: 1 / span 6; }
  .split-media-right .fig { grid-column: 8 / span 5; }
}

/* ------------------------------------------------------------------ facts */
.facts { margin-top: clamp(72px, 10vw, 136px); }
.facts-grid { display: grid; gap: 0 clamp(24px, 3vw, 48px); grid-template-columns: 1fr; }
.fact { display: flex; flex-direction: column; border-top: 1px solid var(--rule-strong); padding: 22px 0 28px; }
.fact dt { order: 2; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 10px 0 6px; }
.fact-v { order: 1; font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3.1rem); line-height: 1.05; }
.fact-d { order: 3; font-size: var(--fs-small); line-height: 1.55; color: var(--ink-2); max-width: 32ch; }
@media (min-width: 560px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts .note { margin-top: 8px; }

/* ------------------------------------------------------------------ phases */
.phases { border-bottom: 1px solid var(--rule-dark); }
.phase {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px;
  padding: 32px 0; border-top: 1px solid var(--rule-dark);
}
.phase-n { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--gold-light); }
.phase-name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); line-height: 1.12; margin: 2px 0 12px; }
.phase-main p { margin: 0; font-size: var(--fs-body); line-height: 1.68; max-width: 56ch; }
.phase .tag {
  display: inline-block; margin: 0 0 14px; padding: 5px 10px;
  border: 1px solid var(--gold-light); border-radius: 2px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
  color: var(--gold-light) !important;
}
.phase-units { grid-column: 2; margin-top: 18px; }
.phase-units p { margin: 0; }
.phase-units-v { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1; color: var(--on-dark) !important; }
.phase-units-d { font-size: .875rem; }
@media (min-width: 760px) {
  .phase { grid-template-columns: 112px minmax(0, 1fr) 220px; gap: 0 clamp(24px, 4vw, 64px); padding: 40px 0; }
  .phase-n { font-size: 3.6rem; }
  .phase-units { grid-column: 3; margin-top: 6px; padding-left: 24px; border-left: 1px solid var(--rule-dark); }
}
.phases-growth { margin: 28px 0 0; }
.pair { display: grid; gap: clamp(32px, 3vw, 32px) clamp(20px, 2.4vw, 32px); margin-top: clamp(56px, 8vw, 104px); }
@media (min-width: 760px) { .pair { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ item lists */
.items { display: grid; gap: 0 clamp(28px, 3.4vw, 56px); }
.items li { border-top: 1px solid var(--rule-strong); padding: 24px 0 32px; }
.tone-dark .items li { border-top-color: var(--rule-dark); }
.item-h { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; margin: 0 0 10px; }
.item-h-serif { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 1.35rem + .8vw, 2rem); line-height: 1.12; }
.items p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.68; }
.tone-dark .items p { color: var(--on-dark-2); }
.num { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--gold-text); margin-bottom: 14px; line-height: 1; }
.tone-dark .num { color: var(--gold-light); }
@media (min-width: 640px) { .items-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .items-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .items-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ stages */
.stages { display: grid; gap: 0 clamp(28px, 3.4vw, 56px); margin-top: 8px; counter-reset: none; }
.stages li { border-top: 1px solid var(--rule-strong); padding: 22px 0 30px; }
.stage-h { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 1.35rem + .9vw, 2.1rem); line-height: 1.1; margin: 0 0 10px; }
.stages p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.65; max-width: 38ch; }
@media (min-width: 640px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ closing */
.closing .display-2 { max-width: 20ch; margin: 0 0 clamp(48px, 7vw, 88px); }
.doors { display: grid; gap: 48px clamp(32px, 6vw, 96px); }
.door { border-top: 1px solid var(--rule-dark); padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.door-h { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 1.45rem + 1vw, 2.3rem); line-height: 1.1; margin: 0 0 14px; }
.door p { max-width: 48ch; margin: 0 0 28px; }
@media (min-width: 860px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .door .btn { width: 100%; } }

/* ------------------------------------------------------------------ inner pages */
.page-hero { padding: clamp(56px, 9vw, 128px) 0 clamp(48px, 7vw, 88px); }
.page-hero .display-2 { max-width: 22ch; margin: 0 0 28px; }
.page-hero .lead { margin: 0; }
.page-hero-plain { padding-bottom: clamp(40px, 6vw, 72px); }
.label-h { margin-bottom: 28px; }
.label-h.rule-top { padding-top: clamp(56px, 8vw, 96px); }

.ledger { border-bottom: 1px solid var(--rule); }
.ledger-row { display: grid; gap: 6px 48px; border-top: 1px solid var(--rule); padding: 22px 0 24px; }
.ledger dt { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.ledger dd { color: var(--ink-2); font-size: var(--fs-body); line-height: 1.68; max-width: 64ch; }
@media (min-width: 860px) {
  .ledger-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 26px 0 28px; }
  .ledger dt { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; }
}

.ask .h2 { margin-bottom: 24px; }
.ask .body-l { max-width: 58ch; margin: 0; }
@media (min-width: 900px) {
  .ask { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}

.legal-block { border-top: 1px solid var(--rule); padding: 48px 0 clamp(56px, 7vw, 88px); }
.legal-block p { font-size: .875rem; line-height: 1.7; color: var(--ink-2); max-width: 100ch; margin: 0; }

.notfound { min-height: 52vh; }
.notfound-links ul { display: flex; flex-wrap: wrap; gap: 4px 36px; margin-top: 12px; }

/* ------------------------------------------------------------------ forms */
.form-layout { display: grid; gap: 40px clamp(40px, 6vw, 96px); }
@media (min-width: 960px) {
  .form-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .form-aside { position: sticky; top: calc(var(--header-h) + 40px); }
}
.enquiry { background: var(--paper-hi); border: 1px solid var(--rule); padding: clamp(24px, 4.4vw, 56px); position: relative; }
.form-note, .form-noscript { font-size: .875rem; color: var(--ink-2); margin: 0 0 28px; }
.form-noscript { border: 1px solid var(--rule-strong); padding: 12px 14px; color: var(--ink); }
.field-grid { display: grid; gap: 24px 24px; }
@media (min-width: 640px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}
.field { min-width: 0; }
.field label { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
.req { font-weight: 400; font-size: .8125rem; color: var(--ink-2); letter-spacing: .01em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  display: block; width: 100%; min-height: 52px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #FFFFFF; border: 1px solid #8A9087; border-radius: 2px;
  padding: 13px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--ink);
}
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; padding: 12px 15px; }
.field [aria-invalid="true"]:focus-visible { outline-color: var(--error); }
.select { position: relative; }
.select select { padding-right: 48px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.field-error { margin: 8px 0 0; font-size: .875rem; font-weight: 500; line-height: 1.45; color: var(--error); }
.field-error[hidden] { display: none; }

.consent { margin-top: 28px; }
.consent-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.consent input[type="checkbox"] { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.consent label { font-weight: 400; font-size: .9375rem; line-height: 1.55; margin: 0; cursor: pointer; }
.consent .field-error { margin-left: 36px; }

.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-alert:empty { display: none; }
.form-alert {
  margin: 28px 0 0; padding: 14px 18px;
  border: 1px solid var(--error); border-left-width: 3px; background: var(--error-bg);
  color: #7A2414; font-size: .9375rem; line-height: 1.55;
}
.form-actions { margin-top: 32px; }
.form-actions .btn { min-width: 260px; }
@media (max-width: 479px) { .form-actions .btn { width: 100%; min-width: 0; } }

.form-thanks { padding: clamp(8px, 2vw, 16px) 0; }
.form-thanks:focus { outline: none; }
.thanks-h { font-family: var(--serif); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem); font-weight: 500; line-height: 1.05; margin: 0 0 14px; }
.form-thanks p:last-child { color: var(--ink-2); margin: 0; max-width: 44ch; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--rule); padding: clamp(48px, 6vw, 72px) 0 40px; background: var(--paper); }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; }
.footer-word { width: 132px; margin-bottom: 10px; }
.footer-brand p { margin: 0; }
.footer-inregnum { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; text-decoration-color: var(--rule-strong); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: .8125rem; line-height: 1.7; color: var(--ink-2); max-width: 110ch; }
.footer-copy { margin: 20px 0 0; font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 759px) { .footer-top { flex-direction: column; gap: 12px; } .footer-nav ul { flex-direction: column; } .site-footer .lang-switch { margin-left: -6px; } }

/* ------------------------------------------------------------------ motion (only when allowed) */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .d1 { animation-delay: .08s; }
  .d2 { animation-delay: .16s; }
  .d3 { animation-delay: .24s; }
  .d4 { animation-delay: .32s; }
  .hero-media img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .nav-main a { transition: text-decoration-color .2s ease, color .2s ease; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: .001; transform: scale(1.025); } to { opacity: 1; transform: none; } }

@media print {
  .site-header, .menu, .enquiry, .skip { display: none !important; }
  .tone-dark { background: none; color: #000; }
}
