/* MARTUS — warm light glass. Photographic ground, frosted panes, dark type. */

:root {
  color-scheme: light;
  --ink: #241c16;
  --ink-soft: #46382d;
  --brass: #6e4519;
  --amber: #c4843a;
  --amber-ink: #2a1a0c;
  --line: rgba(80, 52, 30, 0.16);
  --line-strong: rgba(110, 69, 25, 0.34);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sheet: 80rem;
  --page-pad: clamp(0.7rem, 1.6vw, 1.15rem);
  --seam: clamp(0.8rem, 1.5vw, 1.15rem);
  --inset: clamp(1.15rem, 2.5vw, 2.5rem);
  --radius: 28px;
  --glass: rgba(255, 250, 244, 0.46);
  --glass-warm: rgba(255, 243, 226, 0.38);
  --shadow: 0 22px 50px rgba(92, 58, 28, 0.1), 0 2px 8px rgba(92, 58, 28, 0.05);
  --sheen: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  --focus: #6e4519;
  --ground: #e9d4bb;
  /* Gemini's raised sample cards, within Grok's glass panels. */
  --card-glass: linear-gradient(150deg, rgba(255, 253, 250, 0.86), rgba(251, 245, 236, 0.74));
  --card-shadow: 0 12px 28px -8px rgba(54, 36, 16, 0.11), 0 2px 6px rgba(54, 36, 16, 0.04), 0 0 0 1px rgba(112, 78, 32, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  background: var(--ground);
}
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Fixed photograph, not background-attachment, so phones don't paint a hard seam. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--ground) url("img/ground.webp") center / cover no-repeat;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
figure, p, ul, ol, dl { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; color: var(--ink); }
[hidden] { display: none !important; }
::selection { background: #efd3ae; color: var(--ink); }

.wrap { width: min(calc(100% - 2 * var(--inset)), var(--sheet)); margin-inline: auto; }
.hero .wrap, .band .wrap, .page-head .wrap, .doc .wrap { width: 100%; }
.wrap > *, .cols > *, .doc-section > * { min-width: 0; }

.skip {
  position: absolute;
  z-index: 40;
  left: 1rem;
  top: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--amber-ink);
  text-decoration: none;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
#main:focus { outline: none; }

/* Gemini's floating header; Grok's footer is retained. */
.site-footer { background: #f3ebe3; }
.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 2 * var(--page-pad)), var(--sheet));
  margin: clamp(0.75rem, 1.5vw, 1.25rem) auto 1rem;
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-top-color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 249, 240, 0.5);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(254, 250, 244, 0.8), rgba(248, 240, 228, 0.68));
  -webkit-backdrop-filter: blur(24px) saturate(1.22);
  backdrop-filter: blur(24px) saturate(1.22);
  box-shadow: 0 22px 54px -14px rgba(54, 36, 16, 0.15), 0 4px 14px -2px rgba(54, 36, 16, 0.06), 0 0 0 1px rgba(96, 68, 34, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.nav {
  --nav-inset: clamp(1.25rem, 3.2vw, 2.75rem);
  width: 100%;
  min-height: 4.5rem;
  margin-inline: auto;
  padding-inline: var(--nav-inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  text-decoration: none;
  font: 500 1.7rem/1 var(--serif);
  letter-spacing: 0.28em;
}
.nav .brand { margin-right: auto; font-size: 1.625rem; font-weight: 600; }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.875rem);
}
.nav a:not(.brand):not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:not(.brand):not(.btn):hover,
.nav a[aria-current="page"]:not(.brand):not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.45em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.875rem/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}
.btn-solid { color: var(--amber-ink); background: var(--amber); }
.btn-solid:hover { background: #d39648; }
.btn-line {
  color: var(--ink);
  background: rgba(255, 252, 248, 0.4);
  border-color: rgba(110, 69, 25, 0.34);
}
.btn-line:hover, .btn-line[aria-current="page"] {
  background: rgba(255, 252, 248, 0.78);
  border-color: var(--brass);
}
.nav .btn {
  min-height: 2.625rem;
  padding: 0.5625rem 1.125rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  background: rgba(255, 253, 248, 0.66);
  box-shadow: 0 2px 8px rgba(54, 36, 16, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.nav .btn:hover, .nav .btn[aria-current="page"] { background: rgba(255, 249, 238, 0.92); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--brass);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(110, 69, 25, 0.4);
  text-underline-offset: 0.35em;
}
.link-arrow:hover { color: var(--ink); text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.35rem; }

/* Shared frosted pane. */
.hero, .band, .page-head, .doc {
  position: relative;
  width: min(calc(100% - 2 * var(--page-pad)), var(--sheet));
  margin: 0 auto var(--seam);
  padding-inline: var(--inset);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background-color: var(--glass);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.05) 28%, rgba(255, 255, 255, 0) 62%);
  box-shadow: var(--shadow), var(--sheen);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  backdrop-filter: blur(22px) saturate(1.45);
}
.hero::after, .band::after, .page-head::after, .doc::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}
.band.dark, .band.dark.lit {
  background-color: var(--glass-warm);
}
.hero { padding-block: clamp(1.75rem, 3vw, 2.75rem); }
.band { padding-block: clamp(2.75rem, 4.6vw, 4.25rem); }

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(16rem, 0.88fr);
  grid-template-areas: "intro media" "detail media";
  column-gap: clamp(1.75rem, 3.5vw, 3.75rem);
  row-gap: 1.15rem;
  align-items: center;
}
.hero-intro { grid-area: intro; }
.hero-detail { grid-area: detail; }
.hero-media {
  grid-area: media;
  position: relative;
  margin: 0;
  aspect-ratio: 780 / 660;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 40px rgba(72, 44, 18, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.hero-art {
  /* Paint the supplied photo directly, inside Grok's original glass rim. */
  position: absolute;
  inset: 0.45rem;
  width: calc(100% - 0.9rem);
  height: calc(100% - 0.9rem);
  object-fit: cover;
  border-radius: 16px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--brass);
  font: 500 0.75rem/1.5 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 11em;
  margin: 0;
  font: 500 clamp(2.85rem, 4.7vw, 4.35rem)/0.98 var(--serif);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero .lede {
  max-width: 38rem;
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.65;
}
.hero .strong {
  max-width: 28rem;
  margin: 0 0 0.85rem;
  padding-left: 1rem;
  border-left: 2px solid var(--amber);
  color: var(--ink);
  font: 500 1.4rem/1.35 var(--serif);
}
.hero .market { margin: 0 0 1.35rem; color: var(--brass); font-size: 0.975rem; font-weight: 500; }

/* Numbered chapters on a brass rail. */
.band .wrap {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0.5rem 1.75rem;
}
.numeral {
  align-self: start;
  padding: 0.15rem 1rem 0 0;
  border-right: 1px solid var(--line-strong);
  color: var(--brass);
  font: 400 2.35rem/1 var(--serif);
  text-align: right;
}
.band h2 {
  max-width: 18em;
  margin: 0 0 1.6rem;
  font: 500 clamp(2.15rem, 3.3vw, 3.05rem)/1.08 var(--serif);
  letter-spacing: -0.02em;
}
.band h2.big {
  max-width: 12em;
  margin-bottom: 0.35rem;
  font-size: clamp(2.7rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.75rem);
  align-items: start;
}
.prose p { max-width: 62ch; margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose > :last-child { margin-bottom: 0; }
.prose p.example {
  margin-block: 1.35rem;
  padding: 0.1rem 0 0.1rem 1.15rem;
  border-left: 2px solid var(--brass);
  color: var(--ink);
  font: 500 1.45rem/1.4 var(--serif);
}

.roles-wrap { border-top: 1px solid var(--line-strong); }
.roles-head {
  padding-block: 0.85rem 0.35rem;
  color: var(--brass);
  font: 500 0.75rem/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.roles { padding: 0; list-style: none; }
.roles li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.55rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: 500 1.55rem/1.2 var(--serif);
}
.roles li::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: 1.4rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--brass);
  transform: rotate(45deg);
}
.roles li:last-child { color: var(--brass); }
.roles li:last-child::before { background: transparent; border: 1px solid var(--brass); }

/* Shared Gemini treatment covers every sample, exhibit and capability card. */
.card, .exhibits > div, .exhibits.offers > li {
  background: var(--card-glass);
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-top-color: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}
.card { padding: 1.75rem; }
.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem 1rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--line);
}
.card-head h3 { margin: 0; font: 500 1.625rem/1.15 var(--serif); text-wrap: pretty; }
.tag, .pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(122, 84, 26, 0.28);
  border-radius: 999px;
  color: #56380b;
  background: rgba(132, 90, 28, 0.09);
}
.tag {
  max-width: 100%;
  padding: 0.28rem 0.625rem;
  font: 500 0.6875rem/1.3 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.rows { padding: 0; list-style: none; color: var(--ink-soft); font: 400 0.875rem/1.5 var(--mono); }
.rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-block: 0.8125rem;
  border-bottom: 1px solid var(--line);
}
.rows li:last-child { border-bottom: 0; padding-bottom: 0.25rem; }
.rows li > span { color: #514232; font-weight: 500; }
.rows .ok { color: #56380b; font-weight: 600; }
.prepared .rows .ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(214, 160, 80, 0.22);
  border: 1px solid rgba(138, 92, 24, 0.3);
  font-size: 0.875rem;
}
.pill {
  padding: 0.22rem 0.625rem;
  border-color: rgba(122, 84, 26, 0.34);
  font: 500 0.75rem/1.3 var(--mono);
  white-space: nowrap;
}
.rows .pill { color: #56380b; }
.pill.fill, .choices .first {
  color: #1e1305;
  background: linear-gradient(180deg, #e7bb73, #d49c48);
  border-color: rgba(132, 84, 16, 0.44);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 250, 238, 0.65);
}
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin-top: 1.125rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.choices span {
  padding: 0.6875rem 0.625rem;
  border: 1px solid rgba(116, 82, 34, 0.26);
  border-radius: 12px;
  color: var(--ink-soft);
  background: rgba(255, 252, 246, 0.72);
  font: 500 0.875rem/1.3 var(--sans);
  text-align: center;
}

.photo-frame {
  position: relative;
  margin: 0;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 40px rgba(72, 44, 18, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
.photo-frame .photo { position: absolute; inset: 0.45rem; width: calc(100% - 0.9rem); height: calc(100% - 0.9rem); object-fit: cover; border-radius: 16px; }
.file-photo { aspect-ratio: 880 / 672; }

.steps, .months {
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
  padding: 0;
  margin: 1.75rem 0 2rem;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.months { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; margin-bottom: 0; }
.steps li, .months > div { position: relative; padding-top: 1.4rem; color: var(--ink-soft); }
.steps li::before, .months > div::before {
  content: "";
  position: absolute;
  top: -0.32rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--brass);
  transform: rotate(45deg);
}
.months h3 { margin: 0 0 0.45rem; color: var(--ink); font: 500 1.7rem/1.2 var(--serif); }
.months p { color: var(--ink-soft); }
.statement { max-width: 40ch; margin: 0; color: var(--ink); font: 500 1.7rem/1.35 var(--serif); }
.statement + .statement { max-width: 68ch; margin-top: 0.85rem; color: var(--ink-soft); font: 400 1.0625rem/1.7 var(--sans); }

.exhibits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.75rem; }
.exhibits > div, .exhibits.offers > li { padding: 1.1rem 1.15rem 1.15rem; }
.exhibits small {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--brass);
  font: 500 0.72rem/1.35 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.exhibits b { color: var(--ink); font: 500 1.3rem/1.25 var(--serif); }
.exhibits.offers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}
.exhibits.offers > li { padding: 0; }
.exhibits.offers a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.2rem 1.2rem;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}
.exhibits.offers a:hover { background: rgba(255, 255, 255, 0.28); }
.exhibits.offers p { margin: 0.7rem 0 0; color: var(--ink-soft); font-size: 0.975rem; line-height: 1.55; }
.exhibits.offers .offer-ask { margin-top: auto; padding-top: 1rem; color: var(--brass); font-size: 0.9375rem; font-weight: 500; }

.faq { border-top: 1px solid var(--line-strong); }
.faq > div {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem 3rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.faq dt { color: var(--ink); font: 500 1.45rem/1.3 var(--serif); }
.faq dd { margin: 0; color: var(--ink-soft); }

.benefits { margin: 1.35rem 0 1.6rem; padding: 0.1rem 0 0.1rem 1.1rem; border-left: 2px solid var(--amber); }
.benefits b { display: block; margin-bottom: 0.5rem; color: var(--ink); font: 500 1.45rem/1.3 var(--serif); }
.benefits ul { list-style: none; padding: 0; }
.benefits li { position: relative; padding: 0.28rem 0 0.28rem 1.1rem; color: var(--ink-soft); }
.benefits li::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--brass);
  transform: rotate(45deg);
}
.muted { color: var(--ink-soft); }
.muted a, .doc a:not(.btn), .page-head a, .accent-link { color: var(--brass); }
.muted a:hover, .doc a:not(.btn):hover, .page-head a:hover { text-decoration-thickness: 2px; }

/* ChatGPT's interior heading layout, with Grok's colour and glass. */
.page-head { padding-block: clamp(3.5rem, 5.6vw, 5rem); }
.page-head .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 1.5rem 5rem;
}
.page-head .eyebrow { grid-column: 1 / -1; grid-row: 1; }
.page-head h1 {
  grid-column: 1;
  grid-row: 2;
  max-width: 22ch;
  margin: 0;
  font: 500 clamp(3.25rem, 4.7vw, 4.5rem)/1.04 var(--serif);
  letter-spacing: -0.03em;
}
.page-head p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 2;
  max-width: 44ch;
  margin: 0 0 0.25rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.doc { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 3.5vw, 3.25rem); }
.doc-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1.25rem 3rem;
  padding-block: 1.7rem;
  border-bottom: 1px solid var(--line);
}
.doc-section:first-child { padding-top: 0.4rem; }
.doc-section:last-child { padding-bottom: 0.2rem; border-bottom: 0; }
.doc h2 { margin: 0; font: 500 clamp(1.7rem, 2.4vw, 2.15rem)/1.15 var(--serif); text-wrap: pretty; }
.doc p, .doc li { max-width: 66ch; color: var(--ink-soft); }
.doc p { margin: 0 0 1.05rem; }
.doc-copy > :last-child { margin-bottom: 0; }
.doc ul { padding-left: 1.15rem; }
.doc .exhibits { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0.25rem 0 0; }
.doc-section:has(.exhibits) { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.doc-section:has(.exhibits) .exhibits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.35rem; padding-top: 0.35rem; }
.note {
  margin: 0;
  padding: 0.9rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-left: 3px solid var(--brass);
  border-radius: 14px;
  background: rgba(255, 252, 248, 0.5);
  color: var(--ink-soft);
  font-size: 0.975rem;
  line-height: 1.6;
}
.doc .note { margin-top: 0.4rem; }

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem 0.7rem;
  align-items: center;
  max-width: 36rem;
  margin: 1.35rem 0 1rem;
}
.signup-label { grid-column: 1 / -1; color: var(--ink); font: 500 0.875rem/1.4 var(--sans); }
.signup input { width: 100%; min-width: 0; }
.signup button, form.stack .btn { color: var(--amber-ink); background: var(--amber); border-color: transparent; }
.signup button:hover, form.stack .btn:hover { background: #d39648; }
form.stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.625rem 1.5rem;
}
form.stack label { display: grid; align-content: start; gap: 0.625rem; color: var(--ink); font: 500 0.875rem/1.5 var(--sans); }
.field-wide, .form-status, .form-fallback, form noscript { grid-column: 1 / -1; }
form.stack .btn { grid-column: 1 / -1; justify-self: start; min-width: 8rem; min-height: 3.25rem; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 3.15rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(80, 52, 28, 0.32);
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.88);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
input::placeholder, textarea::placeholder { color: #5e4e40; opacity: 1; }
select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%236e4519' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-color: rgba(255, 253, 250, 0.88);
}
select option { color: var(--ink); background: #fffaf4; }
textarea { min-height: 9.5rem; resize: vertical; }
form.stack :is(input, select, textarea) {
  min-height: 3.375rem;
  padding: 0.8125rem 0.9375rem;
  border-color: rgba(110, 69, 25, 0.65);
  border-radius: 0.625rem;
}
form.stack select { padding-right: 2.75rem; background-position: right 1rem center; }
form.stack textarea { min-height: 10rem; }
input:hover, select:hover, textarea:hover,
form.stack :is(input, select, textarea):is(:hover, :focus-visible) { border-color: var(--brass); }
form .form-status, form .form-fallback { max-width: none; margin: 0; }
.form-status:not(:empty) { padding: 0.7rem 0.9rem; border-inline-start: 3px solid var(--brass); background: #f6e8d6; }
.form-status:empty { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
form button:disabled { cursor: default; opacity: 0.75; }

/* The heading and form are sibling panes, as in the selected ChatGPT layout. */
:is(.page-partner, .page-contact) main {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  width: min(calc(100% - 2 * clamp(0.75rem, 2.2vw, 2rem)), 92rem);
  margin: 0 auto var(--seam);
  align-items: start;
}
:is(.page-partner, .page-contact) .page-head,
:is(.page-partner, .page-contact) .doc {
  width: 100%;
  margin: 0;
  padding: clamp(2rem, 4vw, 3.75rem);
}
:is(.page-partner, .page-contact) .page-head .wrap { display: block; }
:is(.page-partner, .page-contact) .page-head .eyebrow { margin-bottom: 1.5rem; }
:is(.page-partner, .page-contact) .page-head h1 { margin-bottom: 2rem; font-size: clamp(3.25rem, 4.6vw, 4.5rem); }
:is(.page-partner, .page-contact) .page-head p:not(.eyebrow) { max-width: 40ch; }

.site-footer {
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
}
.site-footer .wrap {
  width: min(calc(100% - 2 * var(--page-pad)), var(--sheet));
  padding: 1.15rem var(--inset) 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.site-footer .brand { font-size: 1.4rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  text-decoration: none;
}
.site-footer nav a:hover, .site-footer nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
}

:is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--brass); }
.exhibits.offers a:focus-visible { outline-offset: -3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  body::before { background: #f4eadf; }
  .site-header, .site-footer, .hero, .band, .page-head, .doc, .card, .exhibits > div, .exhibits.offers > li {
    background: #f7f1e8;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  :root { --ink: #1a120c; --ink-soft: #33261c; --brass: #5c3812; }
  .hero, .band, .page-head, .doc, .card { background: #fbf6ef; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  body::before { display: none; }
  .site-header, .site-footer, .hero, .band, .page-head, .doc, .card, .photo-frame, .hero-media, .exhibits > div, .exhibits.offers > li, .btn, .note, .tag, .pill, .choices span {
    border: 1px solid CanvasText;
    background: Canvas;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .card-head, .rows li, .choices { border-color: CanvasText; }
  .choices .first, .pill.fill { background: ButtonFace; color: ButtonText; box-shadow: none; }
  .btn-solid { background: ButtonFace; color: ButtonText; }
  select { appearance: auto; background-image: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .site-footer, .hero, .band, .page-head, .doc { background: rgba(247, 241, 232, 0.96); }
  .card, .exhibits > div, .exhibits.offers > li { background: rgba(255, 252, 248, 0.94); }
}

@media (max-width: 1120px) {
  .nav { gap: 1rem; }
  .nav ul { gap: 0.875rem; }
  .nav a:not(.brand):not(.btn) { font-size: 0.8125rem; }
  .nav .brand { font-size: 1.5rem; }
  .card { padding: 1.5rem; }
}

@media (max-width: 1100px) {
  .page-head .wrap { gap: 1.5rem 3rem; }
  :is(.page-partner, .page-contact) main { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  :is(.page-partner, .page-contact) .page-head,
  :is(.page-partner, .page-contact) .doc { padding: 2rem; }
  :is(.page-partner, .page-contact) .page-head h1 { font-size: 3.25rem; }
}

/* Keep the complete partner form in view on shorter desktop screens, too. */
@media (min-width: 901px) and (max-height: 820px) {
  :is(.page-partner, .page-contact) .page-head,
  :is(.page-partner, .page-contact) .doc { padding-block: 2rem; }
  form.stack { row-gap: 1.25rem; }
}

@media (max-width: 980px) {
  .page-head .wrap { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
  .page-head .eyebrow { grid-column: 1; }
  .page-head p:not(.eyebrow) { grid-column: 1; grid-row: 3; max-width: 60ch; }
  .doc-section, .doc-section:has(.exhibits) { grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
  .doc-section:has(.exhibits) .exhibits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Gemini's compact two-line header, keeping Grok's original navigation markup. */
@media (max-width: 900px) {
  .nav { position: relative; display: block; padding-block: 0.75rem 0.5rem; min-height: 0; }
  .nav .brand { margin-right: 0; }
  .nav ul {
    margin-top: 0.5rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--line);
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .nav .keep { position: absolute; right: var(--nav-inset); top: 0.875rem; }
  .nav a:not(.brand):not(.btn) { min-height: 2.5rem; font-size: 0.84375rem; white-space: nowrap; }
  .hero { padding-block: 2.25rem 2.75rem; }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "detail" "media";
    row-gap: 1.5rem;
  }
  .hero-intro, .hero-detail { max-width: 40rem; }
  .hero-media { width: 100%; max-width: 42rem; aspect-ratio: 16 / 10; }
  .hero h1 { max-width: 12em; }
  .band .wrap { grid-template-columns: 3.125rem minmax(0, 1fr); gap: 1.5rem; }
  .numeral { font-size: 1.875rem; padding-right: 0.75rem; }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 2.125rem; }
  .faq > div { grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
  .file-photo { aspect-ratio: 16 / 11; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 2.25rem 1.75rem; }
  .steps li { border-top: 1px solid var(--line-strong); }
  .months {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    margin: 2rem 0 0 0.375rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--line-strong);
    gap: 1.75rem;
  }
  .months > div { padding-top: 0; }
  .months > div::before { left: -1.84375rem; top: 0.45rem; }
  .exhibits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exhibits.offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.page-partner, .page-contact) main { display: block; width: min(calc(100% - 2 * var(--page-pad)), var(--sheet)); }
  :is(.page-partner, .page-contact) .page-head { margin-bottom: var(--seam); }
  :is(.page-partner, .page-contact) .page-head,
  :is(.page-partner, .page-contact) .doc { padding: 2.5rem var(--inset); }
}

@media (max-width: 600px) {
  :root { --page-pad: 0.625rem; --inset: 1.25rem; --radius: 22px; }
  body { font-size: 1rem; }
  .site-header { border-radius: 18px; }
  .nav { --nav-inset: 1rem; }
  .nav .brand { font-size: 1.375rem; letter-spacing: 0.22em; }
  .nav .btn { min-height: 2.5rem; padding: 0.4375rem 0.875rem; font-size: 0.78125rem; }
  .nav a:not(.brand):not(.btn) { font-size: clamp(0.75rem, 3.4vw, 0.84375rem); }
  .hero { padding-block: 1.875rem 2.25rem; }
  .hero-layout { row-gap: 1.25rem; }
  .hero .eyebrow { margin-bottom: 0.875rem; font-size: 0.71875rem; letter-spacing: 0.11em; }
  .hero h1 { font-size: clamp(2.375rem, 10.2vw, 3.25rem); line-height: 1.04; }
  .hero-media { max-width: none; aspect-ratio: 4 / 3; border-radius: 18px; }
  .hero .lede { font-size: 1.02rem; }
  .hero .strong { font-size: 1.3125rem; }
  .hero .actions { align-items: stretch; flex-direction: column; gap: 0.625rem; }
  .hero .actions .link-arrow { justify-content: center; }
  .band { padding-block: 2.625rem; }
  .band .wrap { display: block; position: relative; }
  .numeral {
    position: absolute;
    left: 0;
    top: 0;
    width: 3.375rem;
    min-height: 1.75rem;
    padding: 0 0.625rem 0 0;
    text-align: left;
    font-size: 1.4375rem;
    display: flex;
    align-items: center;
  }
  .band .eyebrow {
    display: flex;
    align-items: center;
    min-height: 1.75rem;
    margin: 0 0 1.125rem;
    padding-left: 4rem;
  }
  .band h2 { font-size: clamp(2rem, 8.5vw, 2.375rem); margin-bottom: 1.5rem; }
  .band h2.big { font-size: clamp(2.125rem, 9.5vw, 2.75rem); margin-bottom: 1.75rem; }
  .prose p.example { font-size: 1.3rem; }
  .roles li { font-size: 1.4rem; }
  .card { padding: 1.25rem; border-radius: 18px; }
  .card-head h3 { font-size: 1.4375rem; }
  .rows { font-size: 0.8125rem; }
  .rows li { gap: 0.625rem; padding-block: 0.75rem; }
  .file-photo { aspect-ratio: 6 / 5; }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin: 1.75rem 0 2rem 0.375rem;
    padding: 0 0 0 1.5rem;
    border: 0;
    border-left: 1px solid var(--line-strong);
  }
  .steps li { padding: 0; border: 0; }
  .steps li::before { left: -1.84375rem; top: 0.48rem; }
  .months h3 { font-size: 1.5rem; }
  .statement { font-size: 1.5rem; }
  .exhibits { gap: 0.75rem; margin-top: 1.625rem; }
  .exhibits.offers, .doc-section:has(.exhibits) .exhibits { grid-template-columns: minmax(0, 1fr); }
  .exhibits > div { padding: 1rem 1.125rem; border-radius: 16px; }
  .exhibits b { font-size: 1.25rem; }
  .faq > div { padding-block: 1.375rem; }
  .faq dt { font-size: 1.4375rem; }
  .signup, form.stack { grid-template-columns: minmax(0, 1fr); }
  form.stack { gap: 1.375rem; }
  form.stack .btn { justify-self: stretch; }
  .signup button { width: 100%; }
  .page-head { padding-block: 2.75rem; }
  .page-head .wrap { gap: 1.25rem; }
  .page-head h1 { font-size: 2.875rem; line-height: 1.07; }
  .page-head p:not(.eyebrow) { font-size: 1rem; }
  :is(.page-partner, .page-contact) .page-head h1 { font-size: 2.875rem; margin-bottom: 1.5rem; }
  .doc { padding-block: 1.25rem 1.6rem; }
  .doc-actions { align-items: stretch; flex-direction: column; gap: 0.35rem; }
  .doc-actions .link-arrow { justify-content: center; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 0.35rem; padding-block: 0.85rem 1rem; }
  .site-footer nav { width: 100%; justify-content: space-between; gap: 0.25rem; }
}

@media (max-width: 369px) {
  /* Keep all four menu links on one line even on a 320px phone. */
  .nav { --nav-inset: 0.75rem; }
  .nav .brand { font-size: 1.25rem; letter-spacing: 0.18em; }
  .nav .btn { padding-inline: 0.625rem; font-size: 0.75rem; }
  .nav ul { gap: 0.375rem; }
  .exhibits, .doc .exhibits, .choices { grid-template-columns: minmax(0, 1fr); }
}

/* ---- hero-blend lighta: the main photo large and faded into the top box ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: rgba(247, 241, 232, 0.96); }
.hero-intro, .hero-detail { position: relative; z-index: 1; }
.hero-media { background: none; border: 0; box-shadow: none; border-radius: 0; }
.hero-art { border-radius: 0; object-position: right center; }
@media (min-width: 901px) {
  .hero { min-height: clamp(34rem, 46vw, 44rem); display: flex; align-items: center; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }
  .hero-media { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 64%; aspect-ratio: auto; }
  .hero-art { inset: 0; width: 100%; height: 100%; object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect; }
}
@media (max-width: 900px) {
  .hero-media { aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--inset)); width: calc(100% + 2 * var(--inset)); max-width: none; }
  .hero-art { inset: 0; width: 100%; height: 100%; object-fit: cover;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%); }
}

/* Warm plaster panes and softly cast afternoon window shadows. */
:root {
  --ground: #e3d0b8;
  --glass: rgba(231, 214, 192, 0.76);
  --glass-warm: rgba(224, 201, 174, 0.72);
  --shadow: 0 20px 48px rgba(74, 49, 29, 0.12), 0 2px 6px rgba(74, 49, 29, 0.05);
  --sheen: inset 0 1px 0 rgba(255, 250, 240, 0.68);
  --card-glass: linear-gradient(150deg, #faf5ec, #f2e7d8);
}
.hero, .band, .page-head, .doc {
  isolation: isolate;
  background-image: linear-gradient(165deg, rgba(255, 248, 233, 0.26), transparent 58%);
  border-color: rgba(255, 247, 232, 0.52);
}
.hero { background: #ead9c2; }
.site-footer { background: #e3d5c4; }

@media not (forced-colors: active) {
  .photo-frame {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .photo-frame .photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
  }
}

body::before {
  background-image: linear-gradient(155deg, rgba(78, 51, 31, 0.21), transparent 72%), url("img/ground.webp");
}
.band::before, .page-head::before, .doc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(126deg,
    transparent 0 39%, rgba(96, 63, 38, 0.1) 43% 48%, transparent 51%,
    rgba(255, 248, 228, 0.44) 54% 59%, rgba(96, 63, 38, 0.13) 62% 70%,
    transparent 75%, rgba(255, 248, 228, 0.38) 79% 85%, rgba(96, 63, 38, 0.14) 90% 100%);
  -webkit-mask-image: radial-gradient(ellipse 67% 104% at 98% 0%, #000, transparent 88%);
  mask-image: radial-gradient(ellipse 67% 104% at 98% 0%, #000, transparent 88%);
}
.band:nth-of-type(even)::before {
  transform: rotate(180deg);
  opacity: 0.72;
}

@media (max-width: 600px) {
  .band::before, .page-head::before, .doc::before {
    background-size: 100% min(100%, 25rem);
    background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(ellipse 98% 18rem at 100% 0%, #000, transparent);
    mask-image: radial-gradient(ellipse 98% 18rem at 100% 0%, #000, transparent);
  }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
  .band::before, .page-head::before, .doc::before { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  body::before { background: #f4eadf; }
  .site-footer { background: #f7f1e8; }
}
@media (forced-colors: active) {
  .site-footer, .hero { background: Canvas; }
}

/* ==== Dark picture boards: sections II and X on a warm near-black (#3b2a1d), light type, window light that shows ==== */
:is(.hero, .band.retained, .band.partners.dark.lit) {
  --ink: #f6ead9;
  --ink-soft: #e6d7c3;
  --brass: #e4b577;
  --line: rgba(246, 226, 196, 0.16);
  --line-strong: rgba(228, 181, 119, 0.45);
  --focus: #e4b577;
  color: var(--ink);
  background: #3b2a1d;
  background-image: none;
  border-color: rgba(255, 232, 198, 0.14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 22px 50px rgba(48, 30, 16, 0.24), 0 2px 8px rgba(48, 30, 16, 0.12), inset 0 1px 0 rgba(255, 232, 198, 0.12);
}
:is(.hero, .band.retained, .band.partners.dark.lit)::after { opacity: 0.28; }
/* Window light falling in from the upper right, above the picture, at the hero's angle. */
:is(.hero, .band.retained, .band.partners.dark.lit)::before {
  transform: none;
  opacity: 1;
  background: linear-gradient(126deg,
    transparent 0 40%, rgba(255, 206, 140, 0.2) 44% 48%, transparent 50.5%,
    rgba(255, 212, 150, 0.32) 54% 59%, transparent 61.5% 70%,
    rgba(255, 212, 150, 0.28) 73% 79%, transparent 81.5% 87%, rgba(255, 212, 150, 0.22) 90% 96%, transparent 98.5%);
  filter: blur(2.5px);
  -webkit-mask-image: radial-gradient(ellipse 66% 11rem at 100% 0%, #000 10%, rgba(0, 0, 0, 0.55) 52%, transparent 92%);
  mask-image: radial-gradient(ellipse 66% 11rem at 100% 0%, #000 10%, rgba(0, 0, 0, 0.55) 52%, transparent 92%);
}
@media not (forced-colors: active) {
  /* The picture's surface is #3b2a1d; its rim fades, so nothing draws a rectangle. */
  .band.retained .photo-frame .photo {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
    mask-composite: intersect;
  }
}
@media (max-width: 600px) {
  :is(.hero, .band.retained, .band.partners.dark.lit)::before {
    background-size: 100% min(100%, 25rem);
    background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(ellipse 98% 16rem at 100% 0%, #000, transparent);
    mask-image: radial-gradient(ellipse 98% 16rem at 100% 0%, #000, transparent);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :is(.hero, .band.retained, .band.partners.dark.lit) { background: #3b2a1d; }
}

/* Hero on the same board: light type; the picture's surface is BOARD, so it needs no lighter panel behind it. */
.hero .link-arrow { text-decoration-color: rgba(228, 181, 119, 0.5); }
.hero .link-arrow:hover { color: var(--ink); }
.hero .strong { border-left-color: var(--amber); }

/* final-1: the dark Section II and Section X boards carry only their picture's light (leaves; small panes). */
:is(.band.retained, .band.partners.dark.lit)::before { display: none; }

/* Reading surfaces and the partnership photograph */
.photo-frame.partner-photo .photo {
  position: static;
  width: 100%;
  height: auto;
}
:is(.band.questions, .page-about .page-head, .page-about .doc, .page-security .page-head, .page-security .doc,
    .page-contact .page-head, .page-partner .page-head, .doc.form-doc) {
  background: #f4e8d9;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
:is(.band.questions, .page-about .page-head, .page-about .doc, .page-security .page-head, .page-security .doc,
    .page-contact .page-head, .page-partner .page-head, .doc.form-doc)::before { display: none; }
.section-intro { color: var(--ink-soft); max-width: 62ch; margin-bottom: 1.5rem; }
.workflow { column-gap: clamp(1rem, 2.5vw, 2rem); }
.prose > h3 { font: 500 1.6rem/1.25 var(--serif); margin-bottom: 0.5rem; }
.retained .readiness { color: #2a2018; --ink: #2a2018; --ink-soft: #4f4135; --line: rgba(80, 52, 30, 0.16); }
.page-accounting .exhibits p { margin: 0.55rem 0 0; }
.faq-actions { margin-top: 1.5rem; }
.updates { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.updates h2 { margin-bottom: 0.5rem; font-size: 1.65rem; }
@media (min-width: 981px) {
  .page-head .head-copy { grid-column: 2; grid-row: 2; }
}
@media (prefers-contrast: more) {
  :is(.band.questions, .page-about .page-head, .page-about .doc, .page-security .page-head, .page-security .doc,
      .page-contact .page-head, .page-partner .page-head, .doc.form-doc) { background: #fbf6ef; }
}
@media (forced-colors: active) {
  :is(.hero, .band.retained, .band.partners.dark.lit, .band.questions, .page-about .page-head, .page-about .doc,
      .page-security .page-head, .page-security .doc, .page-contact .page-head, .page-partner .page-head, .doc.form-doc) {
    --ink: CanvasText;
    --ink-soft: CanvasText;
    --brass: LinkText;
    --focus: Highlight;
    background: Canvas;
    border-color: CanvasText;
    box-shadow: none;
  }
  .form-status:not(:empty) { background: Canvas; border-color: CanvasText; }
}

/* Native HTML board examples */
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
.bw {
  --bw-text: #fffdfa; --bw-muted: #efe2d3; --bw-faint: #d8c4ae; --bw-line: rgba(255, 248, 238, 0.17);
  --bw-well: rgba(31, 22, 17, 0.26); --bw-amber: linear-gradient(168deg, #ffc173, #e89b4b);
  position: relative; font-family: Montserrat, var(--sans); color: var(--bw-text); text-align: left;
  background: linear-gradient(158deg, rgba(104, 77, 58, 0.97), rgba(68, 48, 36, 0.98));
  border-radius: 24px; padding: 1.125rem 1.375rem 1.5rem;
  box-shadow: 0 34px 60px -30px rgba(42, 24, 12, 0.7), 0 3px 10px rgba(42, 24, 12, 0.12),
    inset 0 1px 0 rgba(255, 236, 212, 0.2), 0 0 0 1px rgba(58, 36, 20, 0.4);
}
.bw h3 { font-family: Montserrat, var(--sans); color: var(--bw-text); margin: 0; }
.bw p { margin: 0; }
.bw-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; font-size: 0.8125rem; color: var(--bw-muted);
  padding-bottom: 0.875rem; margin-bottom: 1.125rem; border-bottom: 1px solid var(--bw-line); }
.bw-bar b { color: var(--bw-text); font-weight: 600; }
.bw-m { display: grid; place-items: center; flex: none; width: 1.875rem; height: 1.875rem; border-radius: 9px; font-weight: 700;
  font-size: 0.8125rem; background: rgba(255, 248, 238, 0.12); box-shadow: inset 0 0 0 1px var(--bw-line); margin-right: 0.2rem; }
.bw-sample { flex: 1 0 100%; font-size: 0.75rem; font-weight: 600; line-height: 1.4; color: var(--bw-muted); }
.bw-card { position: relative; z-index: 2; border-radius: 18px; padding: 1.25rem 1.25rem 1.375rem;
  background: rgba(36, 25, 18, 0.62); box-shadow: 0 18px 34px -20px rgba(20, 10, 4, 0.8), inset 0 0 0 1px rgba(255, 248, 238, 0.1); }
.bw-card h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; text-wrap: balance; }
.bw-kicker { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--bw-muted); margin-bottom: 0.875rem !important; }
.bw-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #ffb766; box-shadow: 0 0 0 3px rgba(255, 183, 102, 0.2); }
.bw-meta { font-size: 0.75rem; color: var(--bw-faint); margin-bottom: 0.5rem !important; }
.bw-rows { margin: 1rem 0 1.125rem; display: grid; gap: 0.7rem; }
.bw-rows > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; }
.bw-rows dt { font-size: 0.75rem; color: var(--bw-faint); padding-top: 0.1rem; }
.bw-rows dd { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--bw-text); }
.bw-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.bw-actions span { font-size: 0.8125rem; font-weight: 600; padding: 0.6rem 0.45rem; border-radius: 12px; text-align: center;
  color: var(--bw-text); box-shadow: inset 0 0 0 1px rgba(255, 248, 238, 0.26); }
.bw-actions .bw-go { background: var(--bw-amber); color: #321f12; box-shadow: 0 6px 16px -8px rgba(232, 155, 75, 0.9); }
.bw-list { list-style: none; margin: 0.625rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.bw-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.875rem; border-radius: 14px; background: var(--bw-well); box-shadow: inset 0 0 0 1px var(--bw-line); }
.bw-list b { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--bw-text); }
.bw-list small { display: block; font-size: 0.6875rem; color: var(--bw-faint); margin-top: 0.1rem; }
.bw-ic { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-size: 0.875rem; font-weight: 600;
  color: var(--bw-muted); background: rgba(255, 248, 238, 0.08); box-shadow: inset 0 0 0 1px var(--bw-line); }
.bw-chev { font-size: 1.25rem; color: var(--bw-faint); }
.bw strong { color: var(--bw-text); }
.bw p.bw-result-summary { margin-top: 0.65rem; font-size: 0.9375rem; line-height: 1.5; }
.bw-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; margin-bottom: 0.875rem; }
.bw-stats > div { border-radius: 16px; padding: 0.875rem 1rem; background: var(--bw-well); box-shadow: inset 0 0 0 1px var(--bw-line); }
.bw-stats strong { display: block; font-size: 1.625rem; font-weight: 600; line-height: 1.1; }
.bw-stats span { font-size: 0.75rem; color: var(--bw-muted); }
.bw-flag { display: inline-block; font-size: 0.6875rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 8px;
  background: #694f37; color: #fff0d7; margin-bottom: 0.625rem !important; }
.bw-who { font-size: 0.75rem; color: var(--bw-faint); margin: 0.375rem 0 0.875rem !important; }
.bw-who b { color: var(--bw-text); font-weight: 600; }
.bw-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.bw-pair > div { border-radius: 12px; padding: 0.75rem 0.875rem; background: rgba(255, 248, 238, 0.06); font-size: 0.8125rem; line-height: 1.45; }
.bw-label { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bw-faint); margin-bottom: 0.3rem !important; }
.bw-next { margin-top: 0.875rem !important; padding-top: 0.75rem; border-top: 1px solid var(--bw-line); font-size: 0.8125rem; line-height: 1.5; }
.bw-next b { color: var(--bw-text); font-weight: 600; margin-right: 0.4rem; }
.bw-home { margin-top: clamp(2rem, 3.5vw, 3rem); }
.bw-home-grid { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 0.875rem; }
.bw-tiles { display: grid; gap: 0.625rem; align-content: start; }
.bw-tile { border-radius: 16px; padding: 1rem 1.125rem; background: var(--bw-well); box-shadow: inset 0 0 0 1px var(--bw-line); }
.bw-tile span { display: block; font-size: 0.75rem; color: var(--bw-muted); }
.bw-tile strong { display: block; font-size: 2.25rem; font-weight: 600; line-height: 1.15; margin-top: 0.2rem; }
.bw-tile em { font-style: normal; font-size: 0.75rem; color: var(--bw-faint); }
.bw-chart { margin: 0; border-radius: 16px; padding: 1rem 1.125rem 0.75rem; background: var(--bw-well); box-shadow: inset 0 0 0 1px var(--bw-line); }
.bw-chart figcaption { font-size: 0.8125rem; color: var(--bw-muted); margin-bottom: 0.25rem; }
.bw-chart figcaption span { display: block; color: var(--bw-text); font-weight: 600; margin-bottom: 0.15rem; }
.bw-chart figcaption strong { font-size: 1.625rem; font-weight: 600; color: var(--bw-text); margin-right: 0.3rem; }
.bw-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.bw-chart .bw-chart-phone { display: none; }
.bw-chart-phone text { fill: var(--bw-faint); font: 500 17px Montserrat, var(--sans); }
.bw-grid line { stroke: rgba(255, 248, 238, 0.12); stroke-width: 1; }
.bw-grid text { fill: var(--bw-faint); font: 500 11px Montserrat, var(--sans); text-anchor: end; }
.bw-line { fill: none; stroke: #ffb35f; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.bw-dots circle { fill: #ffd7a8; stroke: #5a3f2c; stroke-width: 2; }
.bw-last rect { fill: #2b1d14; }
.bw-last text { fill: #fffdfa; font: 700 12px Montserrat, var(--sans); text-anchor: middle; }
.bw-axis { display: flex; justify-content: space-between; padding: 0.25rem 0 0 2.6rem; font-size: 0.6875rem; color: var(--bw-faint); }
@media (max-width: 900px) {
  .bw-home-grid { grid-template-columns: minmax(0, 1fr); }
  .bw-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bw { padding: 0.875rem 0.875rem 1.125rem; border-radius: 20px; }
  .bw-card { padding: 1rem 1rem 1.125rem; }
  .bw-rows > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .bw-pair { grid-template-columns: minmax(0, 1fr); }
  .bw-tile strong { font-size: 1.75rem; }
  .bw-bar > span:nth-child(2), .bw-bar > span:nth-child(3) { display: none; }
  .bw-chart .bw-chart-desktop { display: none; }
  .bw-chart .bw-chart-phone { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .bw, .bw *, .bw *::before, .bw *::after { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .bw { --bw-well: #38291f; --bw-amber: #ffc173; background: #4a3528; box-shadow: none; }
  .bw-card { background: #2f221a; box-shadow: none; }
  .bw-pair > div, .bw-m, .bw-ic { background: #594132; }
  .bw-chart-fill { display: none; }
}
@media (prefers-contrast: more) {
  .bw { --bw-text: #fff; --bw-muted: #fff8f0; --bw-faint: #fff0dd; --bw-line: #dfc4a6; }
  .bw, .bw-card, .bw-list li, .bw-actions span { border: 1px solid var(--bw-line); }
  .bw-grid line { stroke: var(--bw-line); }
}
@media (forced-colors: active) {
  .bw { --bw-text: CanvasText; --bw-muted: CanvasText; --bw-faint: CanvasText; --bw-line: CanvasText; }
  .bw, .bw-card, .bw-stats > div, .bw-tile, .bw-chart, .bw-actions span,
  .bw-list li, .bw-pair > div, .bw-m, .bw-ic, .bw-flag {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }
  .bw-actions .bw-go { background: Highlight; color: HighlightText; box-shadow: none; }
  .bw-dot { background: CanvasText; box-shadow: none; }
  .bw-chart-fill { display: none; }
  .bw-grid line, .bw-line, .bw-dots circle { stroke: CanvasText; }
  .bw-dots circle, .bw-last rect { fill: CanvasText; }
  .bw-last text { fill: Canvas; }
}

/* Self-fixing card (29 Nov landing-page plan): the whole story in the card, the repair steps on the built-in board */
.software .sf-lede { font-size: 1.125rem; }
.software .prose h3 { margin: 1.75rem 0 0.4rem; font-size: 1.5rem; font-weight: 600; }
.software .sf-eng { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 248, 238, 0.17); font-size: 0.9375rem; }
.software .sf-eng b { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; }
.software .bw-monitor { align-self: start; }
.bw-who { font-size: 0.8125rem; color: var(--bw-muted); margin: 0.4rem 0 0 !important; }
.sf-steps { list-style: none; margin: 1.125rem 0 0; padding: 0; display: grid; gap: 0.15rem; counter-reset: sf; }
.sf-steps li { position: relative; padding: 0.55rem 0 0.55rem 2.4rem; counter-increment: sf; }
.sf-steps li::before { content: counter(sf); position: absolute; left: 0; top: 0.5rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 248, 238, 0.3); color: var(--bw-muted); }
.sf-steps li.done::before { content: "\2713"; background: rgba(255, 248, 238, 0.12); color: var(--bw-text); }
.sf-steps li.now::before { background: var(--bw-amber); color: #321f12; box-shadow: 0 0 0 4px rgba(255, 183, 102, 0.22); }
.sf-steps li:not(:last-child)::after { content: ""; position: absolute; left: 0.8rem; top: 2.15rem; bottom: -0.45rem; width: 1px; background: rgba(255, 248, 238, 0.2); }
.sf-steps b { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--bw-text); }
.sf-steps span { display: block; font-size: 0.8125rem; line-height: 1.45; color: var(--bw-muted); }
.sf-steps li.now b { color: #ffc173; }

/* Landing-page cards (29 Nov plan): each card complete on its own; shared pieces below */
.eng { margin: 1.75rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-strong); font-size: 0.9375rem; color: var(--ink-soft); max-width: 78ch; }
.eng b { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; color: var(--ink); }
.band.dark .eng { border-top-color: rgba(255, 248, 238, 0.17); }
.software .sf-eng { margin-top: 1.5rem; }
:is(.apps, .batch) .sf-lede { font-size: 1.125rem; }
:is(.apps, .batch, .retained, .hire) .prose h3 { margin: 1.6rem 0 0.4rem; font-size: 1.5rem; font-weight: 600; }
:is(.apps, .batch) .bw { align-self: start; }
.how-steps li b, .batch-steps li b { display: block; color: var(--ink); font: 600 1.35rem/1.25 var(--serif); margin-bottom: 0.35rem; }
.how-steps li span, .batch-steps li span { display: block; font-size: 0.975rem; line-height: 1.55; }
.batch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.exhibits.families > li { padding: 1.15rem 1.2rem 1.2rem; }
.exhibits.families b { display: block; }
.exhibits.families p.ex { color: var(--ink); font-style: italic; font-size: 0.9375rem; }
.two-prose { margin-top: 1.75rem; }
.two-prose .prose h3 { margin-top: 0; }
.conn-list, .ex-list { list-style: none; margin: 1rem 0 1.1rem; padding: 0; display: grid; gap: 0.5rem; }
.conn-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.85rem; border-radius: 12px; background: rgba(255, 248, 238, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 248, 238, 0.1); }
.conn-list b { font-size: 0.9375rem; font-weight: 600; }
.chip { flex: none; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 999px; }
.chip.c-api, .chip.c-file { background: rgba(182, 213, 238, 0.16); color: #cfe3f2; }
.chip.c-screen { background: rgba(210, 175, 107, 0.2); color: #f1d49a; }
.chip.c-built { background: var(--bw-amber); color: #321f12; }
.batch-bar { height: 0.6rem; border-radius: 999px; background: rgba(255, 248, 238, 0.12); margin: 1rem 0 0.6rem; overflow: hidden; }
.batch-bar i { display: block; height: 100%; background: var(--bw-amber); border-radius: inherit; }
.batch-nums { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; color: var(--bw-muted); }
.batch-nums strong { color: var(--bw-text); font-size: 1.125rem; margin-right: 0.25rem; }
.ex-list li { padding: 0.65rem 0.85rem; border-radius: 12px; background: rgba(255, 248, 238, 0.06); border-left: 3px solid #e08a6a; }
.ex-list b { display: block; font-size: 0.9375rem; font-weight: 600; }
.ex-list span { display: block; font-size: 0.8125rem; color: var(--bw-muted); margin-top: 0.15rem; }
.start-form { margin-top: 1.25rem; max-width: 46rem; }
@media (max-width: 900px) {
  .how-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .exhibits.families { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .how-steps, .batch-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .batch-nums { flex-direction: column; gap: 0.2rem; } }
/* Card VII (owner, 29 Nov 4:10 PM ET): a light card with no picture; the prepare box is a board piece like cards IV and V */
.knows .sf-lede { font-size: 1.125rem; }
.knows .prose h3 { margin: 1.6rem 0 0.4rem; font-size: 1.5rem; font-weight: 600; }
.knows .bw { align-self: start; }
.prep-layer { margin-top: 0.9rem; }
.prep-layer small { display: block; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bw-amber); margin-bottom: 0.35rem; }
.prep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.prep-list li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.55rem 0.8rem; border-radius: 10px; background: rgba(255, 248, 238, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 248, 238, 0.1); font-size: 0.875rem; }
.prep-list i { font-style: normal; color: var(--bw-amber); }
