/* NaN Consulting
   Fluid, full width layout. Nothing here uses a fixed content width:
   the root font size scales with the viewport and every block sizes off
   grid fractions, percentages and rem. Flat colour, hairline rules, no
   decorative effects. */

@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf8f1;
  --paper-2: #f3eee1;
  --white: #ffffff;
  --ink: #14110b;
  --text: #1b1810;
  --muted: #5f5848;
  --on-ink: #f6f1e3;
  --on-ink-muted: #bdb4a0;
  --rule: rgba(20, 17, 11, 0.16);
  --rule-strong: rgba(20, 17, 11, 0.55);
  --rule-ink: rgba(246, 241, 227, 0.2);
  --gold: #eeb71e;
  --gold-deep: #8a6508;
  --gold-tint: rgba(238, 183, 30, 0.16);

  --gutter: clamp(1.25rem, 4vw, 9rem);
  --section-y: clamp(4.5rem, 9vw, 13rem);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  /* Root size grows with the screen so the whole layout scales together. */
  font-size: clamp(16px, 0.6vw + 10.4px, 28px);
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold); }

.skip {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  transform: translateY(-250%);
}
.skip:focus { transform: none; }

/* ---------- shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 1.6rem;
  height: 2px;
  background: var(--gold);
}
.eyebrow span { color: var(--ink); font-variant-numeric: tabular-nums; }

.h-section {
  font-size: clamp(2rem, 3.8vw, 7.5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(1.05rem, 0.9vw + 0.65rem, 1.9rem);
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95em 1.55em;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--on-ink); border-color: var(--on-ink); }
.btn-sm { padding: 0.8em 1.25em; font-size: 0.88rem; }

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: var(--ink); }
.link::after { content: " \2192"; }

/* ---------- header ---------- */

.topbar {
  display: none;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.55rem var(--gutter);
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}
.topbar a:hover { color: var(--gold); }
.topbar-right { display: flex; gap: 2rem; }
@media (min-width: 48rem) { .topbar { display: flex; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img { width: 2.5rem; height: 2.5rem; }

.nav-links { display: none; align-items: center; gap: clamp(1.2rem, 2.2vw, 3.2rem); }
.nav-links a:not(.btn) {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.menu-toggle {
  padding: 0.7em 1.1em;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  padding: 5.5rem var(--gutter) 2rem;
  background: var(--paper);
  overflow-y: auto;
}
.menu-open .mobile-menu { display: flex; }
.menu-open { overflow: hidden; }
.mobile-menu a:not(.btn) {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 6.5vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu .btn { margin-top: 1.8rem; align-self: flex-start; }

@media (min-width: 62rem) {
  .nav-links { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------- hero ---------- */

.hero { padding: clamp(3rem, 6vw, 9rem) var(--gutter) clamp(2.5rem, 4vw, 6rem); }
.hero-main { display: grid; gap: clamp(2.2rem, 4vw, 8rem); align-items: start; }
@media (min-width: 62rem) {
  .hero-main { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
.hero-copy { display: grid; gap: clamp(1.4rem, 2.2vw, 3.2rem); }
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 10rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero .lead { font-size: clamp(1.1rem, 1.05vw + 0.65rem, 2.2rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.panel {
  padding: clamp(1.4rem, 2.4vw, 3.6rem);
  background: var(--ink);
  color: var(--on-ink);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.panel-head p {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.panel-head img { width: clamp(3.4rem, 4.4vw, 7rem); height: auto; }
.ledger a {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.4rem;
  padding: clamp(0.8rem, 1.1vw, 1.5rem) 0;
  border-top: 1px solid var(--rule-ink);
  transition: color 0.2s;
}
.ledger a:hover { color: var(--gold); }
.ledger .n { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold); font-variant-numeric: tabular-nums; }
.ledger .t { font-family: var(--serif); font-size: clamp(1.1rem, 1.35vw, 2.4rem); font-weight: 500; line-height: 1.25; }
.ledger a::after { content: "\2192"; color: var(--on-ink-muted); transition: transform 0.2s, color 0.2s; }
.ledger a:hover::after { color: var(--gold); transform: translateX(0.2rem); }
.panel-foot { margin-top: 0.4rem; padding-top: 1.1rem; border-top: 1px solid var(--rule-ink); font-size: 0.9rem; color: var(--on-ink-muted); }
.panel-foot a { color: var(--on-ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 7rem);
  padding-top: 1.3rem;
  border-top: 2px solid var(--ink);
  font-size: 0.95rem;
}
.facts b {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.facts a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }

/* ---------- statement ---------- */

.statement {
  padding: var(--section-y) var(--gutter);
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
}
.statement-grid { display: grid; gap: 1.6rem clamp(2rem, 4vw, 8rem); }
@media (min-width: 62rem) {
  .statement-grid { grid-template-columns: minmax(0, 0.4fr) minmax(0, 1.6fr); }
}
.statement-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.3vw, 6.4rem);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- sections ---------- */

.section { padding: var(--section-y) var(--gutter); }
.section-head {
  display: grid;
  gap: clamp(1.2rem, 2vw, 3rem);
  margin-bottom: clamp(2.2rem, 4.5vw, 7rem);
}
.section-head .h-section { margin-top: 1.1rem; }
@media (min-width: 62rem) {
  .section-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
}

/* service rows */

.rows { border-top: 2px solid var(--ink); }
.row {
  display: grid;
  gap: 0.7rem 2rem;
  padding: clamp(1.4rem, 2.4vw, 3.4rem) 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.2s;
}
.row:hover { background: var(--gold-tint); }
@media (min-width: 52rem) {
  .row { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.5fr); padding-inline: 0.2rem; }
}
.row-num { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.row h3 { font-size: clamp(1.5rem, 2.2vw, 3.8rem); line-height: 1.12; }
.row-body { display: grid; gap: 0.9rem; align-content: start; }
.row-body p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; font-size: 0.82rem; font-weight: 600; color: var(--text); }
.tags li + li::before { content: "/"; margin-inline: 0.7em; color: var(--gold-deep); font-weight: 400; }
.row-body .link { justify-self: start; font-size: 0.92rem; }

/* ---------- business consulting areas ---------- */

.consulting { background: var(--paper-2); border-block: 1px solid var(--rule); }
.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.6rem, 3vw, 4.5rem) clamp(1.4rem, 2.6vw, 4rem);
}
.area { padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.area h3 { margin-bottom: 0.6rem; font-size: clamp(1.35rem, 1.8vw, 3rem); }
.area p { color: var(--muted); }
.area-cta { margin-top: clamp(2rem, 4vw, 6rem); }

/* ---------- fractional band ---------- */

.band {
  padding: var(--section-y) var(--gutter);
  background: var(--gold);
  color: var(--ink);
}
.band .eyebrow, .band .eyebrow span { color: var(--ink); }
.band .eyebrow::before { background: var(--ink); }
.band .lead { color: rgba(20, 17, 11, 0.85); }
.band-grid { display: grid; gap: clamp(2rem, 4vw, 7rem); }
@media (min-width: 62rem) {
  .band-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
}
.band-intro { display: grid; gap: 1.5rem; }
@media (min-width: 62rem) { .band-intro { position: sticky; top: 6.5rem; } }
.models { margin-top: 0.6rem; border-top: 2px solid var(--ink); }
.models li {
  display: grid;
  grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr);
  gap: 0.2rem 1.2rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(20, 17, 11, 0.35);
}
.models b { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.models span { color: rgba(20, 17, 11, 0.85); }
.band .btn-primary:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.seats { display: grid; gap: clamp(0.8rem, 1.2vw, 1.6rem); }
.seat { padding: clamp(1.4rem, 2.2vw, 3.2rem); background: var(--ink); color: var(--on-ink); }
.seat-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.7rem; }
.seat-title h3 { font-size: clamp(2.4rem, 4vw, 7rem); font-weight: 500; letter-spacing: -0.02em; color: var(--gold); }
.seat-title span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-ink-muted); text-align: right; }
.seat p { color: var(--on-ink-muted); }
.seat ul { display: grid; margin-top: 1.1rem; }
.seat li { position: relative; padding: 0.6rem 0 0.6rem 1.4rem; border-top: 1px solid var(--rule-ink); font-size: 0.95rem; }
.seat li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 0.42rem; height: 0.42rem; background: var(--gold); }

/* ---------- systems ---------- */

.systems { background: var(--paper-2); border-block: 1px solid var(--rule); }
.systems-grid { display: grid; gap: clamp(2.5rem, 6vw, 10rem); }
@media (min-width: 62rem) {
  .systems-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
}
.systems-copy { display: grid; gap: 1.5rem; }
.check-steps { margin-top: 1rem; border-top: 2px solid var(--ink); counter-reset: s; }
.check-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.check-steps li::before {
  content: counter(s, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.check-steps b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.check-steps span { color: var(--muted); }

.flow {
  padding: clamp(1.4rem, 2.6vw, 4rem);
  background: var(--white);
  border: 1px solid var(--rule-strong);
}
@media (min-width: 62rem) { .flow { position: sticky; top: 6.5rem; } }
.flow-title { margin-bottom: 1.4rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.flow ol { position: relative; display: grid; gap: clamp(1rem, 2vw, 2.6rem); }
.flow ol::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 1px;
  background: var(--rule-strong);
}
.flow li { position: relative; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: center; gap: 1.2rem; }
.flow li i {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.flow li:last-child i { background: var(--gold); }
.flow li b { display: block; font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 2.4rem); font-weight: 500; color: var(--ink); line-height: 1.2; }
.flow li small { display: block; font-size: 0.86rem; color: var(--muted); }

/* ---------- process ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: clamp(1.4rem, 2.6vw, 4rem); }
.step { padding-top: 1.3rem; border-top: 2px solid var(--ink); }
.step-num { display: block; margin-bottom: 0.8rem; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 7rem); font-weight: 400; line-height: 1; color: var(--gold-deep); font-variant-numeric: lining-nums; }
.step h3 { margin-bottom: 0.6rem; font-size: clamp(1.4rem, 1.8vw, 3rem); }
.step p { color: var(--muted); }
.step-note {
  margin-top: clamp(2.2rem, 4.5vw, 6.5rem);
  padding: clamp(1.2rem, 2vw, 3rem) clamp(1.4rem, 2.4vw, 3.6rem);
  border-left: 4px solid var(--gold);
  background: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 3.4rem);
  line-height: 1.3;
  color: var(--ink);
}

/* ---------- expert letters and documents ---------- */

.documents { padding: var(--section-y) var(--gutter); background: var(--ink); color: var(--on-ink); }
.documents .eyebrow { color: var(--gold); }
.documents .eyebrow span { color: var(--on-ink); }
.documents .h-section { color: var(--on-ink); }
.documents .lead { color: var(--on-ink-muted); }
.doc-grid { display: grid; gap: clamp(1rem, 2vw, 3rem); }
@media (min-width: 56rem) { .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doc-panel { padding: clamp(1.4rem, 2.6vw, 4rem); border: 1px solid var(--rule-ink); }
.doc-panel h3 { margin-bottom: 0.7rem; font-size: clamp(1.6rem, 2.3vw, 4rem); color: var(--on-ink); }
.doc-panel > p { color: var(--on-ink-muted); }
.doc-panel ul { margin-top: 1.4rem; }
.doc-panel li { position: relative; padding: 0.85rem 0 0.85rem 1.5rem; border-top: 1px solid var(--rule-ink); }
.doc-panel li::before { content: ""; position: absolute; left: 0; top: 1.5em; width: 0.42rem; height: 0.42rem; background: var(--gold); }
.disclaimer {
  margin-top: clamp(1rem, 2vw, 3rem);
  padding: 1.2rem 1.6rem;
  border-left: 4px solid var(--gold);
  background: rgba(246, 241, 227, 0.07);
  color: var(--on-ink);
}
.doc-cta { margin-top: clamp(1.4rem, 2.4vw, 3.4rem); }

/* ---------- about ---------- */

.about-grid { display: grid; gap: clamp(2rem, 5vw, 9rem); }
@media (min-width: 62rem) { .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.about-copy { display: grid; gap: 1.5rem; }
.people { display: grid; gap: clamp(1.4rem, 2.4vw, 3.4rem); }
.person { padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.person h3 { font-size: clamp(1.6rem, 2.4vw, 4rem); }
.person small { display: block; margin: 0.35rem 0 0.7rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.person p { color: var(--muted); }

/* ---------- faq ---------- */

.faq { background: var(--paper-2); border-block: 1px solid var(--rule); }
.faq-grid { display: grid; gap: clamp(2rem, 5vw, 9rem); }
@media (min-width: 62rem) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); align-items: start; }
  .faq-head { position: sticky; top: 7rem; }
}
.faq-head { display: grid; gap: 1.4rem; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.1rem, 1.7vw, 2.3rem) 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-deep); }
.faq-list summary::after { content: "+"; flex-shrink: 0; font-family: var(--sans); font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--gold-deep); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > div { padding: 0 3rem clamp(1.1rem, 1.7vw, 2.3rem) 0; color: var(--muted); }

/* ---------- contact ---------- */

.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 9rem); }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.contact-copy { display: grid; gap: 1.5rem; }
.contact-list { margin-top: 0.6rem; border-top: 2px solid var(--ink); }
.contact-list li { display: grid; gap: 0.1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.contact-list b { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.contact-list a, .contact-list span { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 3.2rem); font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.contact-list a:hover { text-decoration-color: var(--ink); }

.form-card { padding: clamp(1.4rem, 2.6vw, 4rem); background: var(--white); border: 1px solid var(--rule-strong); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field label i { color: var(--gold-deep); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: var(--paper);
}
.field select { appearance: none; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 0.95rem) 55%; background-size: 0.42rem 0.42rem; background-repeat: no-repeat; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--ink); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #7a7260; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.4rem; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status { min-height: 1.4em; margin-top: 1rem; font-size: 0.92rem; font-weight: 600; color: var(--gold-deep); }
@media (max-width: 34rem) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */

.site-footer { padding: clamp(3rem, 6vw, 9rem) var(--gutter) 1.6rem; background: var(--ink); color: var(--on-ink); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 2.4rem; align-items: start; }
.footer-brand { display: grid; gap: 1rem; }
.footer-brand img { width: clamp(6rem, 9vw, 13rem); height: auto; }
.footer-brand p { color: var(--on-ink-muted); }
.footer-title { margin-bottom: 1rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { display: grid; gap: 0.55rem; color: var(--on-ink-muted); }
.footer-col a { overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold); }
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 6rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule-ink);
  font-size: 0.85rem;
  color: var(--on-ink-muted);
}
.footer-bar a:hover { color: var(--gold); }

/* ---------- 404 ---------- */

.lost { display: grid; gap: 1.4rem; justify-items: start; align-content: center; min-height: 100vh; padding: 2rem var(--gutter); }
.lost h1 { font-size: clamp(5rem, 20vw, 28rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.03em; }

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