/* SpiroClinic — Madrid cabinet, limestone and sage */
:root {
  --paper: #ece8e1;
  --white: #f6f3ee;
  --slate: #24282d;
  --slate-2: #3a4048;
  --ink: #24282d;
  --ink-2: #4d535b;
  --ink-3: #7a8088;
  --sage: #5b7a62;
  --sage-deep: #3f5645;
  --line: rgba(36, 40, 45, 0.12);
  --line-strong: rgba(36, 40, 45, 0.28);
  --line-inv: rgba(236, 232, 225, 0.14);
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Sora", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gut: clamp(18px, 3.6vw, 36px);
  --r: 0;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: inherit; }

.container { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

.label { display: block; font-size: 0.86rem; font-weight: 500; color: var(--sage-deep); margin: 0 0 0.85rem; }
.label::before { display: none; }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.muted { color: var(--ink-3); }
.small { font-size: 0.84rem; }
.serif { font-family: var(--serif); }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--slate); color: var(--paper); padding: 0.55rem 0.9rem; z-index: 100; }
.skip:focus { top: 0.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.4rem;
  border: 0; background: var(--sage); color: #fff;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
}
.btn::after { display: none; }
.btn:hover { background: var(--sage-deep); }
.btn-line { background: transparent; color: var(--slate); border: 1px solid var(--slate); }
.btn-line:hover { background: var(--slate); color: var(--paper); }
.btn-light { background: var(--white); color: var(--slate); }
.btn-light:hover { background: var(--paper); }
.btn-gold { background: var(--sage); color: #fff; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }

.link {
  display: inline-flex; font-size: 0.88rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px; color: var(--sage-deep);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.link::after { content: none; }
.link-light { color: var(--paper); }

.topline { background: var(--slate); color: rgba(236, 232, 225, 0.78); font-size: 0.76rem; }
.topline .container { padding: 0.45rem var(--gut); }
.topline p { margin: 0; }
.topline a { color: #fff; }
.topline .topline-meta { display: none; }

/* Single-row header: wordmark left, links right */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0 var(--gut);
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}
.header-bar { display: contents; }
.header-note { display: none; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--slate); grid-column: 1; }
.brand svg { width: 28px; height: 28px; }
.brand-name { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.03em; }
.brand-name b { font-weight: 600; font-style: normal; }
.header-tools { grid-column: 3; display: flex; align-items: center; gap: 0.6rem; }
.cart-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 600; text-decoration: none; padding: 0.35rem 0;
}
.cart-link [data-cart-count] { color: var(--sage-deep); }
.main-nav { grid-column: 2; grid-row: 1; border: 0; }
.nav-inner { display: flex; justify-content: flex-end; gap: 1.15rem; padding: 0; }
.main-nav a { font-size: 0.8rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.main-nav a::after { display: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--slate); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; width: 42px; height: 42px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--slate); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }

@media (max-width: 1000px) {
  .site-header { display: flex; flex-wrap: wrap; padding: 0; }
  .header-bar { display: flex; align-items: center; width: 100%; min-height: 64px; padding: 0 var(--gut); }
  .brand { margin-right: auto; }
  .burger { display: block; }
  .main-nav { width: 100%; background: var(--slate); max-height: 0; overflow: hidden; visibility: hidden; }
  .nav-inner { flex-direction: column; gap: 0; padding: 0.5rem var(--gut) 1.2rem; justify-content: flex-start; }
  .main-nav a { font-size: 1.2rem; color: var(--paper); padding: 0.55rem 0; border-bottom: 1px solid var(--line-inv); }
  .nav-toggle:checked ~ .main-nav { max-height: 90vh; overflow-y: auto; visibility: visible; }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 520px) { .cart-link .cart-word { display: none; } }

/* Photo first, type below — no overlay on the headline */
.hero { display: flex; flex-direction: column; background: var(--white); color: var(--ink); }
.hero-bg { position: relative; height: min(68vh, 640px); order: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { display: none; }
.hero-inner { order: 1; min-height: 0; padding: clamp(2.2rem, 5vw, 3.8rem) 0 1.2rem; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem; align-items: end; }
.hero-copy { max-width: 38rem; }
.hero .label { color: var(--sage-deep); }
.hero h1 { color: var(--slate); margin-bottom: 1rem; }
.hero .lede { color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.6rem; }
.hero-note { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); }
.hero > .container:last-child { order: 2; padding-bottom: 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.fact { padding: 0; min-width: 8rem; }
.fact + .fact::before { display: none; }
.fact strong { display: block; font-family: var(--sans); font-weight: 600; font-size: 1.35rem; color: var(--slate); }
.fact span { font-size: 0.8rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .hero-bg { height: 48vh; }
  .hero-inner { grid-template-columns: 1fr; gap: 1rem; }
}

.section { padding: clamp(3.6rem, 8vw, 6.4rem) 0; }
.section.tint { background: var(--white); }
.section.dark { background: var(--slate); color: var(--paper); }
.sec-head { max-width: 40rem; margin: 0 0 2.2rem; text-align: left; }
.sec-head .sec-no { margin: 0 0 0.5rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--sage-deep); }
.sec-head .sec-no::before, .sec-head .sec-no::after { display: none; }
.sec-head h2 { margin: 0 0 0.5rem; }
.sec-head p { margin: 0; color: var(--ink-2); }
.dark .sec-head .sec-no, .dark .sec-head p { color: rgba(236, 232, 225, 0.65); }

/* Cabinet: two columns of still-lifes */
.index-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.index-row {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white); padding: 0; border: 0; gap: 0;
}
.index-thumb { width: 100%; aspect-ratio: 1; overflow: hidden; display: block; }
.index-thumb img { width: 100%; height: 100%; object-fit: cover; }
.index-main { padding: 1.1rem 1.2rem 1.3rem; }
.index-line { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; }
.index-line h3 { margin: 0; font-size: 1.25rem; font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; }
.index-line h3 a { text-decoration: none; }
.index-line h3 a::after { content: ""; position: absolute; inset: 0; }
.dots { display: none; }
.index-price { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; }
.index-meta { margin: 0.25rem 0 0; font-size: 0.86rem; color: var(--ink-2); }
.index-format { margin: 0.15rem 0 0; font-size: 0.76rem; color: var(--ink-3); }
.index-add {
  position: absolute; z-index: 2; right: 0.8rem; top: 0.8rem;
  width: 36px; height: 36px; border: 0; background: var(--slate); color: var(--paper);
  cursor: pointer; font-size: 1.15rem;
}
.index-add:hover, .index-add.is-added { background: var(--sage); }
@media (max-width: 700px) { .index-list { grid-template-columns: 1fr; } }

.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3.5rem); align-items: start; }
.chapter + .chapter { margin-top: clamp(3rem, 7vw, 5.5rem); }
.chapter.flip .chapter-media { order: 2; }
.chapter-media { margin: 0; }
.chapter-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.chapter-media::after { display: none; }
.chapter-no { display: none; }
.chapter-copy p { color: var(--ink-2); }
.chapter-copy .fine { font-size: 0.88rem; background: var(--white); padding: 0.85rem 1rem; }
@media (max-width: 860px) {
  .chapter, .chapter.flip { grid-template-columns: 1fr; }
  .chapter.flip .chapter-media { order: 0; }
}

.statement { padding: clamp(3.8rem, 8vw, 6rem) 0; background: var(--slate); color: var(--paper); }
.statement::before { display: none; }
.statement .mark { display: none; }
.statement p { font-family: var(--serif); font-size: clamp(1.55rem, 3.2vw, 2.4rem); line-height: 1.2; max-width: 22ch; margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 42rem; }
.timeline li { padding: 1.5rem 0 1.5rem 1.4rem; border-left: 2px solid var(--line-inv); }
.timeline .step-no { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(236, 232, 225, 0.55); margin-bottom: 0.3rem; }
.timeline h3 { font-size: 1.55rem; margin: 0 0 0.35rem; }
.timeline p { color: rgba(236, 232, 225, 0.72); margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature p { color: var(--ink-2); }
.feature .actions { margin-top: 1.4rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

.quotes { display: grid; grid-template-columns: 1fr; max-width: 46rem; }
.quote { margin: 0; padding: 1.6rem 0 1.6rem 1.4rem; border-left: 3px solid var(--sage); border-top: 0; display: block; }
.quote::before { display: none; }
.quote blockquote { margin: 0 0 0.8rem; font-family: var(--serif); font-size: 1.28rem; line-height: 1.35; }
.quote figcaption { font-size: 0.8rem; font-weight: 600; }
.quote figcaption span { display: inline; font-weight: 400; color: var(--ink-3); margin-left: 0.4rem; }

.notice { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem; background: var(--slate); color: var(--paper); padding: 2.4rem var(--gut); }
.notice::after { display: none; }
.notice p { color: rgba(236, 232, 225, 0.78); }
.notice .btn-line { color: var(--paper); border-color: var(--paper); }
@media (max-width: 860px) { .notice { grid-template-columns: 1fr; } }

.fineprint { font-size: 0.82rem; color: var(--ink-3); margin: 1.6rem 0 0; max-width: 76ch; }
.callout { background: var(--white); padding: 1rem 1.1rem; margin: 1.5rem 0; font-size: 0.92rem; color: var(--ink-2); }
.callout::before { display: none; }
.callout p:last-child { margin: 0; }

.faq-wrap { display: grid; grid-template-columns: 1fr; max-width: 48rem; }
.faq-wrap .aside { position: static; margin-bottom: 1.6rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.2rem; padding: 1.1rem 0; font-family: var(--serif); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; }
.faq[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 0 1.2rem; color: var(--ink-2); }

.page-head { background: var(--white); color: var(--ink); padding: clamp(2rem, 4.5vw, 3.6rem) 0; border-bottom: 1px solid var(--line); }
.page-head::after { display: none; }
.crumbs { font-size: 0.78rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs span { margin: 0 0.4rem; }
.page-head .label { color: var(--sage-deep); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; }
.page-head h1 { margin: 0; color: var(--slate); }
.page-head .lede { margin: 0; }
.page-nav { display: flex; gap: 1rem; margin-top: 1.5rem; }
.page-nav a { font-size: 0.84rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: 1fr; } }
.section > .container > .crumbs { color: var(--ink-3); }

.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(1.6rem, 5vw, 4rem); }
.toc { position: sticky; top: 90px; background: var(--white); padding: 1.2rem; }
.toc p { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.4rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 0.4rem 0; font-size: 0.88rem; text-decoration: none; border-top: 1px solid var(--line); color: var(--ink-2); }
.toc a::before { display: none; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin: 2.4rem 0 0.9rem; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--sage-deep); }

.data-list { margin: 0 0 1.4rem; }
.data-list div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.data-list dt { font-size: 0.78rem; font-weight: 600; color: var(--ink-3); }
.data-list dd { margin: 0; }
@media (max-width: 560px) { .data-list div { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.4rem, 4vw, 3.5rem); }
.story figure { margin: 0; position: sticky; top: 90px; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story figcaption { font-size: 0.86rem; color: var(--ink-3); margin-top: 0.6rem; }
.story .prose p:first-child { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; color: var(--ink); }
.milestones { display: grid; gap: 0; margin-top: 2rem; }
.milestones div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.milestones strong { display: block; font-family: var(--sans); font-size: 0.95rem; margin-bottom: 0.25rem; }
.milestones div::before { display: none; }
.milestones span { font-size: 0.88rem; color: var(--ink-2); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story figure { position: static; } }

.banner-img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; margin-bottom: 2.4rem; }
.glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; }
.gloss { padding: 1.2rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 3rem 1fr; gap: 0.6rem; }
.gloss .g-no { font-size: 0.78rem; color: var(--sage-deep); }
.gloss h3 { margin: 0 0 0.25rem; font-size: 1.15rem; font-family: var(--sans); }
.gloss p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.gloss .g-tag { display: block; font-size: 0.74rem; color: var(--ink-3); }
@media (max-width: 700px) { .glossary { grid-template-columns: 1fr; } .banner-img { aspect-ratio: 4 / 3; } }

.principles { list-style: none !important; margin: 0 0 1.3rem; padding: 0 !important; }
.principles li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; padding: 0.8rem 0 !important; border-bottom: 1px solid var(--line); }
.principles li::marker { content: none; }
.principles li span { font-size: 0.8rem; color: var(--sage-deep); }

.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: start; padding-bottom: 2.4rem; }
.product-media { margin: 0; position: sticky; top: 90px; background: var(--white); }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.product-info .tagline { font-family: var(--serif); font-style: italic; margin-bottom: 1.2rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.price-row .price { font-family: var(--sans); font-size: 1.8rem; font-weight: 600; }
.price-row .vat { font-size: 0.76rem; color: var(--ink-3); }
.buy { display: grid; gap: 0.6rem; margin-bottom: 1.4rem; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.perks li { font-size: 0.84rem; color: var(--ink-2); padding: 0.6rem 0; border-top: 1px solid var(--line); }
.perks svg { width: 18px; height: 18px; color: var(--sage); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-media { position: static; } }

.dossier { display: grid; gap: 0; }
.dossier-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 1.6rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.dossier-row > h2 { font-size: 1.3rem; margin: 0; }
.dossier-row ol { list-style: decimal; padding-left: 1.2rem; }
.dossier-row ol li::before { display: none; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.spec th { width: 36%; font-size: 0.76rem; font-weight: 600; color: var(--ink-3); }
@media (max-width: 760px) { .dossier-row { grid-template-columns: 1fr; } }

.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 88px; height: 88px; object-fit: cover; background: var(--white); }
.cart-line h2 { font-size: 1.2rem; font-family: var(--sans); margin: 0 0 0.2rem; }
.cart-line .unit { font-size: 0.82rem; color: var(--ink-3); margin: 0 0 0.4rem; }
.qty { display: inline-flex; border: 1px solid var(--slate); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; }
.qty span { min-width: 1.8rem; text-align: center; font-weight: 600; }
.remove { background: none; border: 0; font-size: 0.8rem; color: var(--ink-3); cursor: pointer; text-decoration: underline; }
.line-total { font-weight: 600; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem; }
.summary { background: var(--white); padding: 1.4rem; position: sticky; top: 90px; }
.summary h2 { font-size: 1.4rem; font-family: var(--sans); }
.sum-lines { list-style: none; margin: 0 0 0.8rem; padding: 0; }
.sum-lines li, .sum-row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.sum-total strong { font-size: 1.4rem; }
.empty { padding: 2.6rem 1.4rem; background: var(--white); }
.empty p { font-family: var(--serif); font-size: 1.5rem; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.3rem; }
.field > span { font-size: 0.78rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; background: var(--white); color: var(--ink);
  border: 1px solid var(--slate); border-radius: 0; padding: 0.7rem 0.85rem;
}
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.check { display: flex; gap: 0.7rem; font-size: 0.86rem; color: var(--ink-2); }
.check input { width: 16px; height: 16px; margin-top: 0.2rem; accent-color: var(--sage); flex: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.4rem; }
.contact-panel { background: var(--slate); color: var(--paper); padding: 2rem; }
.contact-panel::after { display: none; }
.contact-panel h2 { font-size: 1.7rem; font-family: var(--sans); }
.contact-panel .label { color: rgba(236, 232, 225, 0.6) !important; }
.contact-panel .data-list div { border-color: var(--line-inv); grid-template-columns: 1fr; }
.contact-panel .data-list dt { color: rgba(236, 232, 225, 0.5); }
.contact-panel .data-list dd, .contact-panel a { color: var(--paper); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; background: rgba(36, 40, 45, 0.55); }
.modal[hidden] { display: none; }
.modal-box { background: var(--paper); max-width: 500px; width: 100%; padding: 2rem; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: var(--slate); color: var(--paper); }
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem var(--gut); }
.cookie-bar p { margin: 0; font-size: 0.86rem; }
.cookie-bar strong { display: block; font-family: var(--sans); font-size: 1rem; }
.cookie-bar a { color: #fff; }
.cookie-actions { display: flex; gap: 0.45rem; }
@media (max-width: 760px) { .cookie-bar .container { flex-direction: column; align-items: stretch; } }

.site-footer { background: var(--slate); color: rgba(236, 232, 225, 0.7); font-size: 0.86rem; }
.tile-strip { display: none; }
.site-footer > .container { padding-top: 3.2rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { color: var(--paper) !important; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 1.8rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-inv); }
.footer-top h2 { font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(236, 232, 225, 0.45); margin-bottom: 0.7rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 0.4rem; }
.footer-intro .serif { font-family: var(--serif); font-size: 1.35rem; color: var(--paper); line-height: 1.25; }
.footer-contact { display: grid; gap: 0.2rem; margin-top: 1rem; }
.footer-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; padding: 1.5rem 0; font-size: 0.8rem; border-bottom: 1px solid var(--line-inv); }
.footer-legal p { margin: 0; }
.footer-legal h2 { font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(236, 232, 225, 0.45); margin-bottom: 0.4rem; }
.wordmark { font-family: var(--sans); font-weight: 600; font-size: clamp(2.8rem, 12vw, 9rem); letter-spacing: -0.06em; line-height: 0.9; color: rgba(236, 232, 225, 0.07); margin: 1.4rem 0 0; overflow: hidden; user-select: none; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 1.4rem; font-size: 0.76rem; color: rgba(236, 232, 225, 0.45); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-intro { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-legal, .footer-base { grid-template-columns: 1fr; flex-direction: column; } }

.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.field-error { display: block; font-size: 0.8rem; font-weight: 600; color: #9a4a32; }
.field-error-wide { grid-column: 1 / -1; }
.field-error-fix { font: inherit; color: var(--sage-deep); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #9a4a32; }
.thanks-box h2 { margin: 0.8rem 0 0.5rem; }
.thanks-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--white); }
.thanks-icon::after { content: ""; width: 18px; height: 10px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); margin-top: -4px; }
.thanks-actions { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
