/* =========================================================
   The 10 Floors of Clarity — site styles
   Layout idea: a building lobby. A calm cream entrance, the cover
   as the façade, and a navy directory board listing the ten floors.
   One stylesheet for every page. Change a colour here and it
   changes everywhere.
   ========================================================= */

:root {
  /* Colour — taken from the cover */
  --paper: #efe9dc;        /* cream page */
  --paper-deep: #e5ddcb;   /* slightly darker cream for bands */
  --ink: #1b2849;          /* main text, navy-black */
  --ink-soft: #3f4a68;     /* secondary text */
  --navy: #16254b;         /* the big "10" */
  --navy-raised: #22325e;  /* lighter navy for panels */
  --brass: #94703a;        /* handrail gold, for small details on cream */
  --brass-light: #d6b67c;  /* handrail gold, on navy */
  --on-navy: #f3ede0;      /* cream text on navy */
  --on-navy-soft: #c3c8d8;
  --line: #cfc5b0;         /* hairlines on cream */
  --tbc: #fff2c4;          /* highlight for text still to be confirmed */

  /* Type */
  --display: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Verdana, Arial, sans-serif;
  --script: "Cormorant Garamond", Garamond, "Times New Roman", serif;

  /* Type scale (fluid) */
  --step--1: 0.95rem;
  --step-0: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --step-1: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.4rem + 1.3vw, 2.3rem);
  --step-3: clamp(2.3rem, 1.7rem + 2.8vw, 3.8rem);
  --step-4: clamp(2.9rem, 1.9rem + 4.6vw, 5.6rem);

  --measure: 36rem;
  --pill: 999px;
  --radius: 12px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper) url("../img/paper.jpg") repeat;
  background-size: 700px;
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--brass); }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible { outline-color: var(--brass-light); }
p { margin: 0; max-width: var(--measure); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; line-height: 1.1; }
ul, ol { margin: 0; padding-left: 1.2em; }
strong { font-weight: 700; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--navy); color: var(--on-navy); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Side gutter lives on one wrapper per band */
.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: 46rem; }

/* Text still to be confirmed by the author. Delete this rule (or the class) once final. */
.tbc { background: var(--tbc); box-shadow: 0 0 0 2px var(--tbc); border-radius: 2px; }
.on-navy .tbc { background: transparent; box-shadow: none; border-bottom: 2px dotted var(--brass-light); }
.draft-note {
  font-size: var(--step--1); color: var(--ink-soft);
  border-left: 3px solid var(--brass); padding: .2rem 0 .2rem .8rem;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--body); font-size: var(--step--1); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--brass);
}
.on-navy .eyebrow { color: var(--brass-light); }
.display {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .025em; line-height: 1.02;
}
.script {
  font-family: var(--script); font-style: italic; font-weight: 500;
  letter-spacing: .08em;
}
.h2 { font-family: var(--display); font-weight: 500; font-size: var(--step-3); text-transform: uppercase; letter-spacing: .02em; line-height: 1.04; }
.h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-1); text-transform: uppercase; letter-spacing: .05em; }
.lede { font-size: var(--step-1); line-height: 1.45; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack--lg { gap: 2rem; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem 1.5rem; padding-block: .9rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--display); font-weight: 500; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1; }
.site-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.site-nav a {
  display: inline-block; padding: .45rem 0; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--brass); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--navy); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.4rem; padding: .7rem 1.5rem;
  font-family: var(--display); font-weight: 400; font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--pill); border: 2px solid var(--navy);
  background: var(--navy); color: var(--on-navy);
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--navy-raised); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--on-navy); }
.on-navy .btn { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
.on-navy .btn:hover { background: var(--brass-light); border-color: var(--brass-light); }
.btn--block { width: 100%; }
.btn small { font-family: var(--body); font-size: .85rem; text-transform: none; letter-spacing: 0; opacity: .85; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.section--tint { background: rgba(236, 222, 211, .65); }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy a { color: var(--on-navy); text-decoration-color: var(--brass-light); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */
.hero .wrap {
  display: grid; gap: 2.5rem; align-items: center;
  padding-block: clamp(2.2rem, 1.5rem + 4vw, 5rem);
}
.hero-text { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.hero h1 { font-size: var(--step-2); color: var(--navy); letter-spacing: .05em; }
.hero .tagline { font-family: var(--script); font-style: italic; font-weight: 500; font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem); letter-spacing: .01em; line-height: 1.04; color: var(--navy); }
.hero .tagline span { display: block; }
.hero .note { font-size: var(--step--1); color: var(--ink-soft); }
.hero-cover { justify-self: center; width: min(75%, 20rem); }
.hero-cover img {
  width: 100%; aspect-ratio: 2 / 3; border-radius: 2px 6px 6px 2px;
  box-shadow: -6px 0 0 -2px rgba(22,37,75,.12), 0 2px 6px rgba(22,37,75,.12), 0 28px 56px -16px rgba(22,37,75,.35);
}
@media (min-width: 52rem) {
  .hero .wrap { grid-template-columns: 1.25fr 1fr; gap: 4rem; }
  .hero-cover { width: min(100%, 25rem); }
}

/* ---------- The contract (big quote) ---------- */
.contract .wrap { display: grid; gap: 1.5rem; }
.contract blockquote { margin: 0; }
.contract blockquote p { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: var(--step-3); line-height: 1.02; max-width: 18ch; }
.contract blockquote p span { display: block; margin-top: .3em; font-family: var(--script); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: .02em; font-size: 1.05em; color: var(--brass-light); }
.contract .contract-body { display: flex; flex-direction: column; gap: 1rem; color: var(--on-navy-soft); }
.contract .contract-body p { color: var(--on-navy); }
@media (min-width: 52rem) { .contract .wrap { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 4rem; } }

/* ---------- Who it's for ---------- */
.three { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .three { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.who { display: flex; flex-direction: column; gap: .7rem; padding-top: 1.1rem; border-top: 2px solid var(--navy); min-width: 0; }
.who p { font-size: 1.08rem; }
.not-for { display: grid; gap: .5rem; padding: 1.2rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); max-width: 46rem; }
.not-for p { font-size: 1.05rem; }

/* ---------- Directory board (the ten floors) ---------- */
.blueprint {
  background:
    linear-gradient(rgba(239,233,220,.55), rgba(239,233,220,.55)),
    url("../img/blueprint.webp") center / cover no-repeat;
}
.directory-layout { display: grid; gap: 2.2rem; align-items: start; }
.directory-intro { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
@media (min-width: 60rem) {
  .directory-layout { grid-template-columns: 1fr 1.35fr; gap: 3.5rem; }
  .directory-intro { position: sticky; top: 2rem; }
}
.board {
  background: var(--navy); color: var(--on-navy);
  border: 8px solid #101d40; outline: 1px solid var(--brass); outline-offset: -14px;
  border-radius: 18px; padding: clamp(1.4rem, 1rem + 2vw, 2.6rem);
  box-shadow: 0 30px 60px -24px rgba(22,37,75,.45);
  max-width: 50rem;
}
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid rgba(214,182,124,.45); }
.board-head h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .28em; font-size: 1.05rem; color: var(--brass-light); }
.board-head p { font-size: .9rem; color: var(--on-navy-soft); letter-spacing: .08em; text-transform: uppercase; }
.stage { padding-top: 1.2rem; }
.stage-name { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--brass-light); margin-bottom: .2rem; }
.floors { list-style: none; padding: 0; margin: 0; }
.floor {
  display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 1rem; align-items: baseline;
  padding: .7rem 0; border-bottom: 1px dotted rgba(195,200,216,.3);
}
.floor-num { font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--brass-light); font-variant-numeric: tabular-nums; text-align: right; }
.floor-text { min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.floor-name { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: 1.35rem; line-height: 1.15; }
.floor-q { font-size: 1rem; color: var(--on-navy-soft); }
.floor--ground { border-bottom: 0; padding-top: 1.1rem; }
.floor--ground .floor-num { color: var(--on-navy); }
.floor--ground .floor-name { color: var(--brass-light); letter-spacing: .14em; font-size: 1.05rem; }
.board-foot { margin-top: 1.4rem; font-family: var(--script); font-style: italic; font-size: 1.35rem; letter-spacing: .04em; color: var(--on-navy); }

/* ---------- Author teaser ---------- */
.author { display: grid; gap: 2rem; align-items: start; }
.author-mark { width: 8rem; opacity: .95; }
@media (min-width: 48rem) { .author { grid-template-columns: 9rem 1fr; gap: 3rem; } }

/* ---------- CTA band ---------- */
.cta .wrap { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.cta h2 { font-size: var(--step-3); max-width: 20ch; }

/* ---------- Page header (inner pages) ---------- */
.page-head .wrap { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.page-head h1 { font-family: var(--display); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; font-size: var(--step-4); color: var(--navy); line-height: .98; }

/* ---------- Prose (About, Privacy) ---------- */
.prose { display: flex; flex-direction: column; gap: 1.1rem; }
.prose h2 { font-family: var(--display); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; font-size: var(--step-2); margin-top: 1.6rem; color: var(--navy); }
.prose h3 { font-family: var(--display); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; font-size: var(--step-1); margin-top: .6rem; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: .5rem; max-width: var(--measure); }
.pull { font-family: var(--script); font-style: italic; font-size: var(--step-2); line-height: 1.25; color: var(--navy); border-left: 3px solid var(--brass); padding-left: 1rem; max-width: 30rem; }

.gains { list-style: none; padding: 0; display: grid; gap: 1rem; max-width: none; }
@media (min-width: 40rem) { .gains { grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; } }
.gains li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .6rem; align-items: baseline; }
.gains .n { font-family: var(--display); font-size: 1.5rem; color: var(--brass); font-variant-numeric: tabular-nums; }
.gains strong { display: block; }

/* ---------- Licensing ---------- */
.tiers { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 60rem) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  display: flex; flex-direction: column; gap: 1.1rem; min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
}
.tier h2 { font-family: var(--display); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; font-size: var(--step-2); color: var(--navy); }
.tier .for { font-size: 1.05rem; color: var(--ink-soft); }
.price { font-family: var(--display); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--navy); }
.price small { font-family: var(--body); font-size: 1rem; color: var(--ink-soft); font-weight: 400; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; font-size: 1.02rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.list-title { font-weight: 700; font-size: 1.02rem; margin-bottom: .3rem; }
.ticks, .crosses { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .35rem; font-size: 1.02rem; }
.ticks li, .crosses li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .4rem; }
.ticks li::before { content: "✓"; color: #2e6b3a; font-weight: 700; }
.crosses li::before { content: "✕"; color: #9a3324; font-weight: 700; }
.tier .btn { margin-top: auto; }
.enterprise { display: grid; gap: .8rem; padding: 1.6rem 1.4rem; border: 1px dashed var(--brass); border-radius: var(--radius); }
.soon {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline;
  padding: 1rem 1.2rem; background: var(--paper-deep); border-radius: var(--radius);
}
.soon .badge { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--navy); color: var(--on-navy); padding: .2rem .7rem; border-radius: var(--pill); }

.steps { list-style: none; padding: 0; display: grid; gap: 1.4rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: .4rem; padding-top: .9rem; border-top: 2px solid var(--navy); }
.steps li::before { content: "Step " counter(step); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.steps strong { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 1.3rem; letter-spacing: .02em; }

/* ---------- FAQ ---------- */
.faq-group { display: flex; flex-direction: column; gap: .2rem; }
.faq-group > h2 { font-family: var(--display); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; font-size: var(--step-2); color: var(--navy); margin-bottom: .8rem; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 700; font-size: 1.15rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 1.8rem; color: var(--brass); line-height: 1;
}
details[open] summary::after { content: "–"; }
details .answer { padding-bottom: 1.3rem; display: flex; flex-direction: column; gap: .8rem; }

/* ---------- Contact ---------- */
.email-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); background: var(--navy); color: var(--on-navy); border-radius: var(--radius);
}
.email-address { font-family: var(--display); font-weight: 500; font-size: var(--step-2); letter-spacing: .02em; overflow-wrap: anywhere; user-select: all; }
.topic-links { list-style: none; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 40rem) { .topic-links { grid-template-columns: repeat(3, 1fr); } }
.topic-links a {
  display: flex; flex-direction: column; gap: .2rem; height: 100%;
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); text-decoration: none;
}
.topic-links a:hover { border-color: var(--navy); }
.topic-links strong { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; }
.topic-links span { font-size: .98rem; color: var(--ink-soft); }
.copy-btn { align-self: flex-start; font: inherit; font-size: .95rem; font-weight: 700; background: transparent; color: var(--on-navy); border: 1px solid var(--brass-light); border-radius: var(--pill); padding: .45rem 1.1rem; cursor: pointer; }
.copy-btn:hover { background: rgba(214,182,124,.15); }

.help-box { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--navy); background: var(--paper-deep); border-radius: 0 var(--radius) var(--radius) 0; }
.help-box p { font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-soft); font-size: 1rem; }
.site-footer .wrap { display: grid; gap: 1.6rem; padding-block: 2.8rem calc(2.8rem + env(safe-area-inset-bottom, 0px)); }
.site-footer a { color: var(--on-navy); text-decoration-color: var(--brass-light); }
.footer-top { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: .3rem; }
.footer-brand strong { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: 1.3rem; color: var(--on-navy); }
.footer-brand em { font-family: var(--script); font-size: 1.2rem; letter-spacing: .05em; }
.footer-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-small { font-size: .9rem; border-top: 1px solid rgba(195,200,216,.25); padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }

/* ---------- Hidden download pages (workbook + licence) ---------- */
.dl-page { min-height: 100vh; display: flex; flex-direction: column; }
.dl-page main { flex: 1; }
.dl-head .wrap { padding-block: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dl-hero .wrap { padding-block: 1.5rem 2rem; display: flex; flex-direction: column; gap: .8rem; }
.dl-floor { font-family: var(--display); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); line-height: .95; }
.dl-floor .num { display: block; font-size: clamp(4.5rem, 3rem + 8vw, 7rem); color: var(--navy); }
.dl-floor .name { display: block; font-size: var(--step-3); }
.dl-idea { font-family: var(--script); font-style: italic; font-size: var(--step-1); line-height: 1.3; letter-spacing: .02em; max-width: 30rem; }
.downloads { list-style: none; padding: 0; display: grid; gap: .9rem; max-width: 32rem; }
.download {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem;
  padding: 1.1rem 1.2rem; min-height: 4.4rem;
  background: var(--navy); color: var(--on-navy); border-radius: var(--radius); text-decoration: none;
}
.download:hover { background: var(--navy-raised); }
.download strong { display: block; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 1.3rem; line-height: 1.15; }
.download span { display: block; font-size: .95rem; color: var(--on-navy-soft); }
.download .arrow { font-family: var(--display); font-size: 1.6rem; color: var(--brass-light); }
.sheet-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .3rem; font-size: 1.02rem; }
.sheet-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem; }
.sheet-list b { color: var(--brass); font-variant-numeric: tabular-nums; }
.owners-note { font-size: 1rem; color: var(--ink-soft); max-width: 32rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Contact form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 1.3rem; max-width: 34rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 700; }
.field .hint { font-size: .95rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.1rem; color: var(--ink);
  background: #fbf8f2; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .8rem .9rem; width: 100%; min-height: 3.2rem;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(148,112,58,.35); outline-offset: 1px; }
.contact-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Worksheet lift panel + floor navigation ---------- */
.lift {
  background: var(--navy); color: var(--on-navy);
  border: 8px solid #101d40; outline: 1px solid var(--brass); outline-offset: -14px;
  border-radius: 18px; padding: clamp(1.2rem, 1rem + 1.5vw, 2rem);
  max-width: 34rem; box-shadow: 0 24px 50px -24px rgba(22,37,75,.45);
}
.lift ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .8rem; }
.lift a {
  display: flex; align-items: center; gap: .7rem; min-height: 3.4rem;
  padding: .4rem .8rem .4rem .45rem; border-radius: var(--pill);
  color: var(--on-navy); text-decoration: none; transition: background-color .15s;
}
.lift a:hover { background: rgba(214,182,124,.14); }
.lift .n {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 2px solid var(--brass-light); display: grid; place-items: center;
  font-family: var(--display); font-size: 1.25rem; color: var(--brass-light); font-variant-numeric: tabular-nums;
}
.lift .nm { min-width: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; line-height: 1.15; }
.back-link { align-self: flex-start; font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--ink-soft); }
.back-link:hover { color: var(--ink); }
.floor-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: 32rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; font-size: 1rem; }
.floor-nav a { text-decoration: none; }
@media (max-width: 30rem) {
  .lift { padding: .9rem .7rem; border-width: 6px; outline-offset: -11px; }
  .lift ul { gap: .35rem .4rem; }
  .lift a { gap: .5rem; padding: .35rem .4rem .35rem .25rem; }
  .lift .n { width: 2.3rem; height: 2.3rem; font-size: 1.1rem; }
  .lift .nm { font-size: .92rem; letter-spacing: .02em; }
}
.lift .nm { overflow-wrap: anywhere; hyphens: auto; }
