/* Le Mont des Ormes — site.css */
:root {
  --forest: #1f3324;
  --forest-2: #2a4430;
  --moss: #4d6a4f;
  --brick: #9b3f2a;
  --brick-2: #7f3120;
  --tomette: #b35a3c;
  --lime: #f3ede3;      /* limewash wall */
  --lime-2: #e9e0d1;
  --gold: #c9a46a;
  --gold-soft: #d9bf93;
  --ink: #221d17;
  --ink-2: #4b4339;
  --on-forest: #f1ebdf;
  --on-forest-2: #c8cfbd;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --text: "Jost", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --space: clamp(4rem, 9vw, 8rem);
  --radius: 2px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
p { margin: 0 0 1em; }
sup { font-size: .55em; vertical-align: .9em; line-height: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.22em; }
.icon-inline { width: 1em; height: 1em; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.hero :focus-visible, .l-hero :focus-visible, .garden :focus-visible, .access :focus-visible, .nf-hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold-soft); color: var(--ink); }
html { scrollbar-color: var(--moss) var(--lime-2); accent-color: var(--brick); caret-color: var(--brick); }

.preprod { background: var(--brick); color: #fff; text-align: center; font-size: .8rem; letter-spacing: .04em; padding: .35rem 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--brick); color: #fff; border: 0; border-radius: var(--radius);
  font: 500 1rem/1 var(--text); letter-spacing: .02em; text-decoration: none;
  padding: 1.05rem 1.6rem; cursor: pointer; min-height: 3.2rem;
  box-shadow: 0 6px 16px -8px rgba(80, 25, 10, .55);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--brick-2); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(80, 25, 10, .6); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-small { padding: .7rem 1.1rem; min-height: 2.6rem; font-size: .92rem; }
.link-arrow { display: inline-flex; gap: .5em; align-items: center; font-weight: 500; color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: .25em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .8rem var(--gutter);
  background: rgba(243, 237, 227, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(34, 29, 23, .08);
}
.wordmark { font: 500 1.55rem/1 var(--display); text-decoration: none; letter-spacing: .01em; margin-right: auto; white-space: nowrap; }
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); position: relative; padding: .4rem 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brick); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; row-gap: .2rem; }
  .wordmark { font-size: 1.35rem; }
  .site-nav { order: 3; width: 100%; gap: 1.2rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .1rem; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: .9rem; white-space: nowrap; }
}

/* Hero (home) */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - 4rem); background: var(--forest); color: var(--on-forest); }
.hero-text { padding: clamp(2.5rem, 6vw, 6rem) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: #fbf6ec; max-width: 15ch; }
.hero-place { color: var(--on-forest-2); display: flex; gap: .5rem; align-items: baseline; max-width: 46ch; }
.hero-place .icon { color: var(--gold); }
.hero-price { margin: 1.4rem 0 1.4rem; color: var(--on-forest-2); max-width: 46ch; }
.price-big { font: 500 2.4rem/1 var(--display); color: var(--gold-soft); margin-right: .25rem; }
.hero-call { margin: 1.2rem 0 0; color: var(--on-forest-2); font-size: .95rem; }
.hero-call a { color: #fbf6ec; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; white-space: nowrap; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; position: absolute; inset: 0; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 16 / 9; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .hero-price { margin: 1rem 0; }
  .hero-text { padding-top: 2.2rem; padding-bottom: 2.8rem; }
}

/* Booking bar */
.bookbar {
  display: grid; grid-template-columns: 1.5fr .8fr .9fr auto; gap: 1px;
  background: rgba(201, 164, 106, .45); border: 1px solid rgba(201, 164, 106, .45);
  max-width: 44rem; border-radius: var(--radius);
}
.bookbar .field { display: flex; flex-direction: column; justify-content: center; gap: .15rem; background: var(--forest-2); padding: .6rem .9rem; }
.bookbar .field span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); }
.bookbar input, .bookbar select {
  font: 400 1rem/1.3 var(--text); color: #fbf6ec; background: transparent; border: 0; padding: .15rem 0; width: 100%;
  color-scheme: dark; appearance: none; -webkit-appearance: none;
}
.bookbar select { background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%); background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.2rem; }
.bookbar select option { color: var(--ink); }
.bookbar .btn { border-radius: 0; box-shadow: none; height: 100%; }
.bookbar.is-invalid input[type=date] { outline: 2px solid var(--tomette); outline-offset: -2px; }
@media (max-width: 640px) {
  .bookbar { grid-template-columns: 1fr 1fr; }
  .bookbar .field:first-of-type { grid-column: 1 / -1; }
  .bookbar .btn { grid-column: 1 / -1; }
}
/* booking bar on light ground */
.l-book .bookbar, .rates .bookbar { margin: 0 auto 2.5rem; }

/* Reasons */
.reasons { padding: var(--space) var(--gutter) calc(var(--space) * .8); }
.reasons-list { list-style: none; margin: 0 auto; padding: 0; max-width: 78rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.5rem 2rem; }
.reason-word { font: 500 clamp(1.8rem, 2.6vw, 2.4rem)/1.05 var(--display); color: var(--brick); margin-bottom: .6rem; display: flex; gap: .35rem; align-items: baseline; }
.reasons-list li > p:last-child { color: var(--ink-2); font-size: 1rem; }
.reasons-list li { border-top: 1px solid var(--gold); padding-top: 1.2rem; }
@media (max-width: 1000px) { .reasons-list { grid-template-columns: repeat(2, 1fr); } .reasons-list li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .reasons-list { grid-template-columns: 1fr; } }

/* Section heads */
.section-head { max-width: 78rem; margin: 0 auto 2.8rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 4rem; align-items: end; }
.section-head h2 { margin: 0; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; margin: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* Studio */
.studio { padding: 0 var(--gutter) var(--space); }
.gallery { max-width: 78rem; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr .7fr; grid-template-rows: 22rem 18rem; gap: .9rem; }
.gallery figure { overflow: hidden; background: var(--lime-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.025); }
.g-a { grid-row: 1 / 3; }
.g-b { grid-column: 2; grid-row: 1; }
.g-c { grid-column: 3; grid-row: 1; }
.g-d { grid-column: 2; grid-row: 2; }
.g-e { grid-column: 3; grid-row: 2; position: relative; background: #f7f2e8 !important; }
.plan img { object-fit: contain; padding: .8rem .8rem 2rem; }
.plan:hover img { transform: none; }
.plan figcaption { position: absolute; bottom: .6rem; left: 0; right: 0; text-align: center; font-size: .8rem; color: var(--ink-2); letter-spacing: .04em; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery figure { aspect-ratio: 3 / 4; }
  .g-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.6 !important; }
  .g-b, .g-c, .g-d, .g-e { grid-column: auto; grid-row: auto; }
}
.facts { list-style: none; padding: 0; margin: 2.8rem auto 0; max-width: 78rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem 2rem; }
.facts li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; color: var(--ink-2); }
.facts .icon { color: var(--moss); width: 1.5rem; height: 1.5rem; margin-top: .05rem; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Garden (committed green field) */
.garden { background: var(--forest); color: var(--on-forest); padding-bottom: var(--space); }
.garden-wide { height: clamp(18rem, 52vw, 40rem); overflow: hidden; }
.garden-wide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.garden-text { max-width: 78rem; margin: -6rem auto 0; position: relative; z-index: 1; background: var(--forest); padding: 3rem var(--gutter) 2.6rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem 4rem; }
@media (min-width: 1400px) { .garden-text { padding-left: 3.5rem; padding-right: 3.5rem; } }
.garden-text h2 { color: #fbf6ec; }
.garden-text p { color: var(--on-forest-2); font-size: 1.15rem; max-width: 56ch; align-self: end; }
.garden-strip { max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.garden-strip figure { aspect-ratio: 3 / 4; overflow: hidden; }
.garden-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .garden-text { grid-template-columns: 1fr; margin-top: -3rem; padding-top: 2rem; }
  .garden-strip { grid-template-columns: 1fr 1fr; }
}

/* Rates */
.rates { padding: var(--space) var(--gutter); }
.rate-table { width: 100%; max-width: 78rem; margin: 0 auto; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rate-table th, .rate-table td { text-align: left; padding: 1.3rem 1rem; border-bottom: 1px solid rgba(34, 29, 23, .14); vertical-align: top; }
.rate-table thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; border-bottom-color: var(--gold); }
.rate-table tbody th { font: 500 1.5rem/1.2 var(--display); }
.rate-table tbody th small { display: block; font: 400 .9rem/1.4 var(--text); color: var(--ink-2); margin-top: .3rem; }
.rate-table td { font: 500 2rem/1 var(--display); color: var(--brick); white-space: nowrap; }
.rate-notes { list-style: none; padding: 0; margin: 1.6rem auto 0; max-width: 78rem; display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; color: var(--ink-2); font-size: .98rem; }
.rate-notes li::before { content: "·"; color: var(--gold); margin-right: .6rem; font-weight: 700; }
.rates-cta { max-width: 78rem; margin: 2.2rem auto 0; }
@media (max-width: 620px) {
  .rate-table thead { display: none; }
  .rate-table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(34, 29, 23, .14); padding: 1rem 0; }
  .rate-table th, .rate-table td { border: 0; padding: .3rem 0; }
  .rate-table tbody th { grid-column: 1 / -1; }
  .rate-table td::before { display: block; font: 400 .78rem/1.4 var(--text); color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .25rem; }
  .rate-table td:nth-of-type(1)::before { content: "Dim. → jeu."; }
  .rate-table td:nth-of-type(2)::before { content: "Ven. et sam."; }
}

/* Stays list */
.stays { background: var(--lime-2); padding: var(--space) var(--gutter); }
.stays h2 { max-width: 78rem; margin: 0 auto 1.6rem; }
.stay-list { list-style: none; padding: 0; margin: 0 auto; max-width: 78rem; }
.stay-list a { display: grid; grid-template-columns: 1fr auto 2rem; gap: 1rem; align-items: baseline; padding: 1.4rem 0; border-top: 1px solid rgba(34, 29, 23, .16); text-decoration: none; transition: color .3s; }
.stay-list li:last-child a { border-bottom: 1px solid rgba(34, 29, 23, .16); }
.stay-name { font: 500 clamp(1.5rem, 2.8vw, 2.2rem)/1.15 var(--display); }
.stay-meta { color: var(--ink-2); font-size: .95rem; }
.stay-list .icon { color: var(--brick); transition: transform .4s var(--ease); }
.stay-name { transition: transform .4s var(--ease); }
.stay-list a:hover { color: var(--brick-2); }
.stay-list a:hover .stay-name { transform: translateX(.6rem); }
.stay-list a:hover .icon { transform: translateX(4px); }
@media (max-width: 640px) { .stay-list a { grid-template-columns: 1fr 1.5rem; } .stay-meta { grid-column: 1; grid-row: 2; } .stay-list .icon { grid-row: 1 / 3; grid-column: 2; align-self: center; } }

/* Around */
.around { padding: var(--space) var(--gutter); }
.around-list { max-width: 78rem; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 4rem; }
.around-list > div { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.3rem 0; border-top: 1px solid rgba(34, 29, 23, .14); }
.around-list dt { font: 500 1.45rem/1.2 var(--display); }
.around-list dd { margin: 0; color: var(--ink-2); grid-column: 1 / -1; font-size: .98rem; max-width: 52ch; }
.around-list dd.dist { grid-column: 2; grid-row: 1; color: var(--brick); font-size: .9rem; white-space: nowrap; align-self: baseline; }
@media (max-width: 760px) { .around-list { grid-template-columns: 1fr; } }

/* Access */
.access { display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); color: var(--on-forest); }
.access-text { padding: var(--space) var(--gutter); max-width: 40rem; justify-self: end; }
.access-text h2 { color: #fbf6ec; }
.access-text p { color: var(--on-forest-2); }
.access-text strong { color: #fbf6ec; font-weight: 500; }
.access-text .icon { color: var(--gold); margin-right: .3rem; }
.access .link-arrow { color: var(--gold-soft); }
.access-photo { min-height: 22rem; overflow: hidden; }
.access-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } .access-text { justify-self: stretch; } }

/* FAQ */
.faq { max-width: 52rem; margin: 0 auto; padding: var(--space) var(--gutter) calc(var(--space) * .6); }
.faq details { border-top: 1px solid rgba(34, 29, 23, .14); }
.faq details:last-of-type { border-bottom: 1px solid rgba(34, 29, 23, .14); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font: 500 1.35rem/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; border-right: 1.5px solid var(--brick); border-bottom: 1.5px solid var(--brick); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.2rem; max-width: 62ch; margin: 0; }

/* Contact */
.contact, .l-book { text-align: center; padding: calc(var(--space) * .8) var(--gutter) var(--space); }
.contact .lede, .l-book .lede { margin: 0 auto 2.4rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; max-width: 60rem; margin: 0 auto; }
.contact-link { display: flex; align-items: center; gap: 1rem; text-align: left; text-decoration: none; padding: 1.1rem 1.4rem; background: #fbf7f0; border: 1px solid rgba(201, 164, 106, .55); border-radius: var(--radius); min-width: 16rem; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.contact-link:hover { border-color: var(--brick); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(34, 29, 23, .45); }
.contact-link .icon { width: 1.6rem; height: 1.6rem; color: var(--brick); }
.contact-link span { display: flex; flex-direction: column; font-size: .95rem; color: var(--ink-2); }
.contact-link strong { font-weight: 500; color: var(--ink); font-size: 1rem; }

/* Footer */
.site-footer { background: #17261b; color: var(--on-forest-2); padding: 4rem var(--gutter) 2rem; font-size: .95rem; }
.footer-grid { max-width: 78rem; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-mark { font: 500 1.8rem/1 var(--display); color: #fbf6ec; }
.footer-title { color: var(--gold-soft); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fbf6ec; text-decoration: underline; text-underline-offset: .2em; }
.footer-legal { max-width: 78rem; margin: 3rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(201, 164, 106, .25); font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Landing pages */
.l-hero { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--forest); color: var(--on-forest); }
.l-hero-text { padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter); }
.l-hero h1 { color: #fbf6ec; max-width: 18ch; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.l-intro { color: var(--on-forest-2); font-size: 1.15rem; max-width: 56ch; }
.crumbs { display: block; font-size: .88rem; color: var(--on-forest-2); margin-bottom: 1.6rem; }
.crumbs a { color: var(--gold-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.l-hero-photo { position: relative; min-height: 22rem; overflow: hidden; }
.l-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .l-hero { grid-template-columns: 1fr; } .l-hero-photo { order: -1; aspect-ratio: 4 / 3; min-height: 0; } }
.l-body { padding: var(--space) var(--gutter) 0; }
.l-body > section, .l-body > dl { max-width: 62rem; margin: 0 auto var(--space); }
.prose p, .prose li { max-width: 66ch; color: var(--ink-2); }
.prose h2 { margin-bottom: .6em; }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check li { padding-left: 1.6rem; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .38rem; border-left: 1.5px solid var(--brick); border-bottom: 1.5px solid var(--brick); transform: rotate(-45deg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 72rem !important; }
.split figure { aspect-ratio: 4 / 3; overflow: hidden; }
.split img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 1.6rem; } }
.timeline { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.2rem; }
.timeline li { border-top: 1px solid var(--gold); padding-top: 1rem; }
.timeline .when { font: 500 1.45rem/1.1 var(--display); color: var(--brick); margin-bottom: .4rem; }
.timeline li p:last-child { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 860px) { .timeline { grid-auto-flow: row; } .timeline li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; } }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }
.l-body .faq { padding: 0; }
.l-book { background: var(--lime-2); }
.l-book .bookbar { text-align: left; }
.legal { max-width: 52rem; margin: 0 auto; padding: var(--space) var(--gutter); }
.legal h2 { font-size: 1.7rem; margin-top: 2rem; }

/* Motion: one orchestrated reveal of the home hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: settle 1.6s var(--ease) both; }
  .hero-text > * { animation: rise .9s var(--ease) both; }
  .hero-text > *:nth-child(2) { animation-delay: .08s; }
  .hero-text > *:nth-child(3) { animation-delay: .16s; }
  .hero-text > *:nth-child(4) { animation-delay: .24s; }
  .hero-text > *:nth-child(5) { animation-delay: .32s; }
}
@keyframes settle { from { transform: scale(1.06); filter: saturate(.7); } to { transform: none; filter: none; } }
@keyframes rise { from { opacity: .001; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* 404 */
.nf-hero { background: var(--forest); color: var(--on-forest); padding: clamp(3rem, 9vw, 8rem) var(--gutter); position: relative; overflow: hidden; }
.nf-hero > * { position: relative; max-width: 46rem; }
.nf-hero h1 { color: #fbf6ec; }
.nf-code { position: absolute !important; right: -1rem; bottom: -3.5rem; margin: 0; font: 500 clamp(9rem, 30vw, 24rem)/1 var(--display); color: rgba(201, 164, 106, .14); max-width: none !important; pointer-events: none; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-top: 2rem; }
.nf-light { color: var(--gold-soft); }
.nf-sites { padding: var(--space) var(--gutter); max-width: 78rem; margin: 0 auto; }
.nf-sites .lede { margin-bottom: 2rem; }

/* Consent banner */
.consent { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-left: auto; background: var(--forest); color: var(--on-forest); padding: 1.1rem 1.2rem; border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); font-size: .92rem; }
.consent p { margin: 0 0 .8rem; color: var(--on-forest-2); }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent .btn { min-height: 2.6rem; padding: .7rem 1.1rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--on-forest); border: 1px solid rgba(201,164,106,.6); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.consent[hidden] { display: none; }
