/* Precolumbian.com, the buying layout: a gallery after hours. Newsreader for headings, Instrument Sans for text (fonts/,
   SIL OFL). Obsidian ground, our own pieces cut from their studio backdrop and lit from behind, bone text, gold for the one
   thing to press. Every text colour below clears a 4.5:1 contrast on the grounds it sits on (a test checks the pairs). */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ground: #0c0b09; --raise: #17140f; --raise-2: #221e17; --line: #2d271f; --line-2: #4a4033;
  --ink: #f3ede0; --ink-2: #cbc3b0; --ink-3: #a39a86;
  --gold: #e4ba5e; --gold-d: #c99a3e; --jade: #86c8aa; --cinnabar: #e2693f;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 80rem; --radius: 22px; --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; background: var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
/* the keyboard focus ring: gold on every ground the site uses (10:1 on the obsidian). A test checks the pairs. */
:focus-visible, .field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--ground); padding: 0.6rem 1rem; z-index: 30; }
.skip:focus { top: 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0 0 0.5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); letter-spacing: -0.04em; line-height: 0.96; }
h2 { font-size: clamp(2.1rem, 4.8vw, 4.2rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.eyebrow { display: flex; align-items: center; gap: 0.8rem; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.4rem; }
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.fine, .hint { font-size: 0.92rem; color: var(--ink-3); }

/* header */
.masthead { background: rgba(12, 11, 9, 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(243, 237, 224, 0.08); position: sticky; top: 0; z-index: 20; view-transition-name: masthead; }
.masthead-row { display: flex; align-items: center; gap: 1.2rem; padding-block: 0.8rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.logo { width: 1.7rem; height: 1.7rem; fill: var(--gold); }
.brand-name { font: 400 1.45rem/1 var(--serif); letter-spacing: -0.02em; }
.brand-name span { color: var(--ink-3); }
.primary { display: none; gap: 1.8rem; }
.primary a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.94rem; padding-block: 0.3rem; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.primary a:hover, .primary a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: 0.55rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.92rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.drawer { position: absolute; left: 0; right: 0; top: 100%; background: var(--raise); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem; display: grid; gap: 0.2rem; box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5); }
.drawer a { color: var(--ink); text-decoration: none; padding: 0.8rem 0; font: 400 1.5rem var(--serif); border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 1rem; text-align: center; color: var(--ground); font: 600 1rem var(--sans); border: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.5rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); background: transparent; font: 600 0.98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ground); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--ground); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.nav-cta { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 0; }
.copy { font: 600 0.85rem var(--sans); color: var(--gold); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; margin-left: 0.4rem; transition: background 0.2s, color 0.2s; }
.copy:hover { background: var(--gold); color: var(--ground); border-color: var(--gold); }
.direct { margin: 1.3rem 0 0; color: var(--ink-3); font-size: 0.95rem; }

/* the Sell button docked to a phone's edge */
.dock { position: fixed; z-index: 15; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; background: var(--gold); color: var(--ground); border-radius: 999px; text-decoration: none; font-weight: 600; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55); transition: transform 0.3s, opacity 0.3s; }
.dock:hover { color: var(--ground); background: var(--ink); }
.dock.away { transform: translateY(150%); opacity: 0; pointer-events: none; }
body { padding-bottom: 5rem; }

/* hero: the headline, and the objects lit from behind */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(46rem 36rem at 76% 38%, rgba(226, 105, 63, 0.28), transparent 70%), radial-gradient(36rem 26rem at 8% 96%, rgba(228, 186, 94, 0.1), transparent 70%); }
.hero-grid { display: grid; gap: 1.5rem; align-items: center; }
.hero .eyebrow { margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.4rem, 10.4vw, 6rem); line-height: 0.92; letter-spacing: -0.045em; margin-bottom: 0.4em; text-wrap: balance; }
.hero h1 em { display: block; font-style: normal; }
.nb { white-space: nowrap; }
.hero .lede { margin-bottom: 0; }
.hero-objects { display: grid; justify-items: center; gap: 2.2rem; margin-bottom: 1.5rem; }
.hero-main { position: relative; margin: 0; width: min(100%, 24rem); }
.hero-main::after { content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; bottom: 6%; height: 6%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.85), transparent 74%); }  /* the cut-out keeps a margin under the piece: the shadow sits on its base */
.hero-main img { width: 100%; filter: drop-shadow(0 0.6rem 0.8rem rgba(0, 0, 0, 0.4)); }
.photo-note { margin: 0; max-width: 22rem; text-align: center; font-size: 0.8rem; line-height: 1.45; color: var(--ink-3); }

/* the promises, set as one quiet line under the hero */
.promises { border-block: 1px solid var(--line); background: linear-gradient(var(--raise), var(--ground)); margin-top: 2.5rem; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; }
.pillars li { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.pillars li:first-child { border-top: 0; }
.pillars h2 { font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.7rem; }
.pillars p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* bands */
.band { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.band-tight { padding-block: clamp(1.8rem, 4vw, 2.8rem); }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.band-head a { font-weight: 600; }
.band-night { background: var(--raise); }
.split { display: grid; gap: 2.5rem; align-items: start; }
.split-head h2 { margin-bottom: 0.4em; }

/* what we buy: four panels in words over a glow of their colour, a rail on a phone */
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2rem max(1.25rem, calc((100vw - var(--wrap)) / 2)) 0.5rem; scroll-padding-inline: 1.25rem; }
.rail::-webkit-scrollbar { display: none; }
.rail-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; }
.panel { flex: 0 0 min(80vw, 19rem); scroll-snap-align: start; position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding: 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(120% 70% at 50% 24%, var(--tone) 0%, transparent 70%), var(--raise); }
.panel h3 { font-size: 2rem; margin: 0 0 0.3em; }
.panel p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }
.tone-ceramic { --tone: rgba(226, 105, 63, 0.34); }
.tone-stone { --tone: rgba(134, 200, 170, 0.28); }
.tone-gold { --tone: rgba(228, 186, 94, 0.34); }
.tone-shell { --tone: rgba(240, 125, 75, 0.3); }

/* our own pieces, each with its history: big, alone on the dark ground, the history beneath */
.pieces .lede { max-width: 40rem; }
.piece-grid { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2.5rem 1.6rem; }
.piece .photo:has(img.cut) { padding: 1rem 1rem 1.2rem; }
.piece .photo img.cut { aspect-ratio: 1 / 1; }
.piece .photo figcaption { font-size: 0.9rem; color: var(--ink-2); margin-top: 0.8rem; }
.provenance { font-size: 0.9rem; line-height: 1.55; color: var(--ink-3); margin: 0.7rem 0 0; }
.credits .provenance { display: block; margin-top: 0.2rem; }
.piece-more { margin: 2.2rem 0 0; }
@media (min-width: 40rem) { .piece-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .piece-grid { grid-template-columns: repeat(3, 1fr); } }

/* pictures: the piece alone, lit from behind; the photograph where there is no cut-out */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 14px; background: var(--raise-2); object-fit: cover; }
.photo figcaption { font-size: 0.78rem; line-height: 1.4; color: var(--ink-2); margin-top: 0.6rem; }
.photo:has(img.cut) { padding: 0.8rem 0.8rem 1rem; border-radius: 16px; background: radial-gradient(75% 60% at 50% 38%, rgba(243, 220, 170, 0.13), transparent 72%), var(--raise-2); }
.photo img.cut { aspect-ratio: 1 / 1.08; object-fit: contain; background: none; border-radius: 0; filter: drop-shadow(0 1.1rem 0.9rem rgba(0, 0, 0, 0.55)); }

/* who writes to us: an index, not cards */
.index { list-style: none; margin: 3rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.index li { display: grid; gap: 0.6rem 3rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.index h3 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -0.035em; margin: 0; transition: color 0.3s, translate 0.5s var(--ease); }
.index li:hover h3 { color: var(--gold); translate: 0.6rem 0; }
.index p { margin: 0; color: var(--ink-2); max-width: 34rem; }
.index .more { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.index .more a { font-weight: 600; text-decoration: none; }
.index .more a::after { content: " \2192"; }

/* steps: big outlined numerals beside each */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0 1.2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n { grid-row: span 2; font: 400 clamp(3.6rem, 9vw, 6.4rem)/0.8 var(--serif); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--gold-d); }
.steps h3 { font-size: 1.75rem; margin: 0 0 0.4rem; }
.steps p { color: var(--ink-2); margin: 0; max-width: 32rem; }

/* questions */
.faq details { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 400 1.4rem/1.25 var(--serif); letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font: 300 2rem/1 var(--sans); transition: rotate 0.4s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0.9rem 0 0; color: var(--ink-2); max-width: 42rem; }

/* the closing call to write */
.closing { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(4.5rem, 11vw, 9.5rem); background: var(--raise); }
.closing::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(40rem 30rem at 82% 55%, rgba(228, 186, 94, 0.22), transparent 70%); }
.closing-grid { display: grid; gap: 2rem; align-items: center; }
.closing h2 { font-size: clamp(3rem, 8.6vw, 8rem); line-height: 0.92; letter-spacing: -0.045em; }
.closing p { color: var(--ink-2); max-width: 30rem; }
.closing .closing-art, .closing .closing-art:has(img.cut) { padding: 0; background: none; max-width: 24rem; margin-inline: auto; }
.closing .closing-art img.cut { aspect-ratio: auto; }

/* reading pages */
.page-head { position: relative; isolation: isolate; padding-block: clamp(2.5rem, 7vw, 5.5rem) 1.5rem; display: grid; gap: 1.5rem; align-items: center; }
.page-head::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto auto; width: min(100%, 44rem); height: 100%; background: radial-gradient(closest-side, rgba(226, 105, 63, 0.18), transparent 100%); }
.page-head h1 { max-width: 14ch; }
.page-art { margin: 0; justify-self: center; width: min(100%, 24rem); }
.page-art img { filter: drop-shadow(0 2rem 1.6rem rgba(0, 0, 0, 0.55)); }
.prose { max-width: 44rem; padding-bottom: 4rem; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose h2 { margin-top: 2.6rem; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; color: var(--ink); }
/* a guide: breadcrumb, contents, long body text */
.crumbs { padding-top: 1.4rem; font-size: 0.85rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs + .page-head h1 { max-width: 20ch; font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
.crumbs + .page-head.has-map h1, .crumbs + .page-head.has-facts h1 { font-size: clamp(2.2rem, 4.3vw, 3.8rem); }  /* beside a map or card the heading has half the width */
.prose.guide h2 { scroll-margin-top: 6rem; }
.prose.guide p, .prose.guide li { font-size: 1.06rem; line-height: 1.72; }
.prose.guide ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.prose.guide ul.reading { list-style: none; padding-left: 0; gap: 0.85rem; }
.prose.guide ul.reading li { font-size: 0.96rem; line-height: 1.55; padding-left: 1.4rem; text-indent: -1.4rem; overflow-wrap: anywhere; }
.prose.guide p.cite { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.88rem; line-height: 1.5; overflow-wrap: anywhere; }
.toc { margin: 0 0 2.2rem; padding: 1.2rem 1.5rem; background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); }
.toc-head { margin: 0 0 0.6rem; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.toc ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.3rem; }
.toc a { color: var(--ink); }
.guide-layout { display: grid; gap: 1.5rem; }
.guide-layout .prose strong { color: var(--ink); font-weight: 600; }
.side-cta { margin-top: 1rem; padding: 1.2rem 1.5rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 0, rgba(228, 186, 94, 0.14), transparent 70%), var(--raise); }
.side-cta p { margin: 0 0 0.8rem; color: var(--ink-2); font-size: 0.95rem; }
.side-cta .side-cta-head { font: 400 1.5rem/1.15 var(--serif); color: var(--ink); letter-spacing: -0.02em; }
@media (min-width: 62rem) {
  .guide-layout { grid-template-columns: minmax(0, 44rem) 17rem; justify-content: space-between; gap: 4rem; }
  .guide-layout .prose { grid-column: 1; grid-row: 1; }
  .guide-side { grid-column: 2; grid-row: 1; }  /* as tall as the text, so the card below can stay in view while it scrolls */
  .side-cta { position: sticky; top: 6rem; }
  .toc a { font-size: 0.92rem; }
}
.pass-on { margin: 0.6rem 0 0.4rem; padding: 1.1rem 1.4rem; background: var(--raise); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.pass-on p { margin: 0; color: var(--ink); }
.advise { margin: 2.4rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.advise summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.75rem; font-weight: 600; color: var(--ink-2); }
.advise summary::-webkit-details-marker { display: none; }
.advise summary::after { content: "+"; color: var(--gold); font: 300 1.8rem/1 var(--sans); }
.advise[open] summary::after { content: "\2212"; }
.advise[open] { padding-bottom: 1.2rem; }
.advise[open] summary { margin-bottom: 0.7rem; }
.prose p > .copy:first-child { margin-left: 0; }
.snippet { display: block; margin: 0.6rem 0 0.2rem; padding: 0.9rem 1.1rem; background: var(--raise); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: 0.88rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.factors { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.factors li { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.factors h3 { margin: 0 0 0.3rem; font-size: 1.25rem; color: var(--ink); }
.factors p { margin: 0; color: var(--ink-2); }
.facts { margin: 1.2rem 0 2rem; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.facts dd { margin: 0; }
/* the timeline guide's chronology chart: a row per tradition, its dates in words, its span as a bar on a 3,100-year axis */
.chrono { margin: 2rem 0 2.6rem; padding: 1.6rem 1.4rem 1.2rem; background: var(--raise); border: 1px solid var(--line); border-radius: 1rem; }
.chrono figcaption { display: grid; gap: 0.4rem; margin-bottom: 0.4rem; }
.chrono figcaption strong { color: var(--ink); font: 400 1.5rem/1.2 var(--serif); }
.chrono figcaption span { font-size: 0.92rem; line-height: 1.5; color: var(--ink-3); }
.chrono-region { margin-top: 1.8rem; }
.chrono-region-name { margin: 0 0 0.7rem; color: var(--ink); font: 400 1.35rem/1.2 var(--serif); }
.chrono-scale { position: relative; height: 1.1rem; margin-bottom: 0.3rem; }
.chrono-scale span { position: absolute; transform: translateX(-50%); font-size: 0.75rem; line-height: 1.1rem; color: var(--ink-3); white-space: nowrap; }
.chrono-rows { list-style: none; margin: 0; padding: 0; }
.chrono-rows li { display: grid; gap: 0.3rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.chrono-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.7rem; }
.chrono-name strong { font-weight: 600; color: var(--ink); }
.chrono-name span { font-size: 0.85rem; color: var(--ink-3); }
.chrono-track { position: relative; height: 0.8rem; background: linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 16.129% 100%; }
.chrono-bar { position: absolute; top: 0.15rem; height: 0.5rem; left: calc(var(--from) * 1%); width: calc((var(--to) - var(--from)) * 1%); min-width: 4px; border-radius: 99px; background: var(--gold); }
.chrono-region:nth-of-type(2) .chrono-bar { background: var(--jade); }
.chrono-region:nth-of-type(3) .chrono-bar { background: var(--cinnabar); }
@media (min-width: 40rem) {
  .chrono-rows li { grid-template-columns: 14rem 1fr; align-items: center; gap: 1rem; }
  .chrono-name { display: grid; gap: 0; }
  .chrono-scale { margin-left: 15rem; }
}
/* the guides' maps: a dark atlas of the coast, a numbered gold dot for each well-known site, the key in words beneath */
.atlas { margin: 2rem 0 2.6rem; padding: 0.9rem; background: var(--raise); border: 1px solid var(--line); border-radius: 1rem; }
.prose > .atlas:first-child, .prose > dl.facts + .atlas { margin-top: 0; }
.page-head .atlas { margin: 0; }
/* a guide with no piece or map beside its heading: its "at a glance" table as a card there */
.page-facts { padding: 1.3rem 1.5rem 0.6rem; background: var(--raise); border: 1px solid var(--line); border-radius: 1rem; }
.page-facts-head { margin: 0 0 0.2rem; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.page-facts .facts { margin: 0; border-top: 0; }
.page-facts .facts div { grid-template-columns: 1fr; gap: 0.15rem; }
.page-facts .facts div:last-child { border-bottom: 0; }
/* the glossary: an index of its terms beside the heading, and each term a place that a link can name */
.page-terms { padding-bottom: 1.3rem; }
.term-group { margin: 1.1rem 0 0.45rem; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.terms { display: flex; flex-wrap: wrap; gap: 0.4rem 0.45rem; margin: 0; padding: 0; list-style: none; }
.terms a { display: inline-block; padding: 0.2rem 0.65rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.85rem; color: var(--ink-2); text-decoration: none; }
.terms a:hover { border-color: var(--gold); color: var(--gold); }
.prose.guide li[id^="term-"] { scroll-margin-top: 6rem; }
@media (max-width: 39.99rem) { .page-terms { display: none; } }  /* thirty-three finger-sized chips would be a screen of their own above the terms they list */
.atlas-map { position: relative; overflow: hidden; border-radius: 0.7rem; border: 1px solid var(--line); background: #0b0a08; }
.atlas-map svg { display: block; width: 100%; height: 100%; }
.atlas-sea-fill, .atlas-lake { fill: #0b0a08; }
.atlas-grid { fill: none; stroke: rgba(243, 237, 224, 0.06); stroke-width: 1; }
.atlas-land { fill: #1e1a13; stroke: rgba(228, 186, 94, 0.55); stroke-width: 1.2; stroke-linejoin: round; }
.atlas-frames rect { fill: none; stroke: rgba(228, 186, 94, 0.5); stroke-width: 1.4; stroke-dasharray: 7 6; }
.atlas-glow { fill: none; stroke: rgba(228, 186, 94, 0.1); stroke-width: 7; stroke-linejoin: round; }
.atlas-lake { stroke: rgba(228, 186, 94, 0.32); stroke-width: 0.9; }
.atlas-name { position: absolute; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap; color: var(--ink-3); display: none; }
.atlas-sea { font: italic 400 1.05rem/1 var(--serif); letter-spacing: 0.05em; }
.atlas-country { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.atlas-pin { position: absolute; width: 0; height: 0; text-decoration: none; }
.atlas-pin i { position: absolute; left: -0.6rem; top: -0.6rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--gold); color: var(--ground); font: 700 0.75rem/1.2rem var(--sans); text-align: center; box-shadow: 0 0 0 0.25rem rgba(228, 186, 94, 0.2), 0 0 1.2rem rgba(228, 186, 94, 0.5); transition: background 0.2s, transform 0.2s var(--ease); }
a.atlas-pin:hover i { background: var(--ink); transform: scale(1.12); }
.atlas-pin b { position: absolute; top: -0.75rem; display: none; font: 600 0.9rem/1.5rem var(--sans); color: var(--ink); white-space: nowrap; text-shadow: 0 0 0.5rem #0b0a08, 0 0 0.2rem #0b0a08, 0 0 0.2rem #0b0a08; }
.atlas-pin[data-side="r"] b { left: 1.25rem; }
.atlas-pin[data-side="l"] b { right: 1.25rem; }
.atlas-pin[data-side="t"] b, .atlas-pin[data-side="b"] b { left: 0; transform: translateX(-50%); }
.atlas-pin[data-side="t"] b { top: -2.5rem; }
.atlas-pin[data-side="b"] b { top: 1.05rem; }
.atlas figcaption { display: grid; gap: 0.7rem; margin-top: 1rem; }
.atlas figcaption > strong { color: var(--ink); font: 400 1.4rem/1.2 var(--serif); }
.atlas-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem 2rem; font-size: 0.95rem; line-height: 1.45; color: var(--ink-2); }
.atlas-key li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; align-items: baseline; }
.atlas-key strong { color: var(--ink); font-weight: 600; display: block; }
.atlas-what { display: block; }
.atlas-num { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: 600 0.75rem/1 var(--sans); }
.atlas-note { font-size: 0.86rem; line-height: 1.5; color: var(--ink-3); }
.atlas-more { font-size: 0.92rem; line-height: 1.5; }
@media (min-width: 40rem) {
  .atlas { padding: 1.2rem; }
  .atlas-name, .atlas-pin b { display: block; }
  .atlas-pin i { left: -0.85rem; top: -0.85rem; width: 1.7rem; height: 1.7rem; font-size: 0.8rem; line-height: 1.7rem; box-shadow: 0 0 0 0.35rem rgba(228, 186, 94, 0.2), 0 0 1.6rem rgba(228, 186, 94, 0.55); }
}
@media (min-width: 56rem) { .atlas-key { grid-template-columns: 1fr 1fr; } }
.credits { padding-left: 1.2rem; display: grid; gap: 0.7rem; font-size: 0.95rem; }

/* cards (the picture guide, pieces many collections hold) */
.cards { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.band-intro { color: var(--ink-2); max-width: 42rem; margin: 0.9rem 0 0; }
.band-intro + .cards { margin-top: 1.8rem; }
.card h3 { margin: 1rem 0 0.4rem; }
.card p { color: var(--ink-2); margin: 0 0 0.6rem; }
.card .where { font-size: 0.86rem; font-weight: 600; color: var(--gold); margin-bottom: 0.45rem; }
.card .more { display: flex; flex-wrap: wrap; gap: 0 1.3rem; }
.band.alt { background: var(--raise); }
.band.alt .photo:has(img.cut) { background: radial-gradient(75% 60% at 50% 38%, rgba(243, 220, 170, 0.12), transparent 72%), var(--ground); }

/* what we buy */
.material-grid { display: grid; gap: 2rem; align-items: start; }
.material-plain { grid-template-columns: 1fr; }
.material-text h3 { font-size: 1.2rem; margin-top: 1.6rem; color: var(--ink); }
.material-text p { color: var(--ink-2); max-width: 34rem; }
.material-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.material-photos .photo:has(img.cut) { padding: 0.4rem 0.4rem 0.6rem; }
.material-photos .photo figcaption { font-size: 0.75rem; }
.material:nth-of-type(even) { background: var(--raise); }

/* the message builder */
.builder-grid { display: grid; gap: 2.5rem; align-items: start; }
.builder-form { display: grid; gap: 1.2rem; background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem); margin-top: 1.8rem; }
.field { display: grid; gap: 0.4rem; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
fieldset.field { display: block; }
fieldset.field > legend { margin-bottom: 0.4rem; }
.field input[type="text"], .field input[type="number"], .field input[type="tel"], .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--ground); border: 1px solid var(--line-2); border-radius: 12px; padding: 0.8rem 1rem; transition: border-color 0.2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field textarea { resize: vertical; }
#message { background: var(--ink); color: var(--ground); border-color: var(--ink); font-size: 1rem; line-height: 1.55; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; }
.check { display: inline-flex; align-items: center; gap: 0.5rem; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--gold); }
.check label { font-weight: 400; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.send-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
p.plain { margin-top: 1.4rem; color: var(--ink-2); }
.builder-guide { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.builder-guide h3 { color: var(--gold); font-size: 1.7rem; }
.builder-guide p { color: var(--ink-2); }
.builder-guide .fine { color: var(--ink-3); }
.ticks { margin: 1rem 0 1.2rem; padding-left: 1.2rem; display: grid; gap: 0.6rem; color: var(--ink-2); }
.ticks li::marker { color: var(--gold); }

/* footer */
.colophon { position: relative; overflow: hidden; background: var(--ground); border-top: 1px solid var(--line); padding-block: 4rem 0; color: var(--ink-2); }
.colophon a { color: var(--ink); text-decoration-color: var(--line-2); }
.colophon a:hover { color: var(--gold); }
.colophon-grid { display: grid; gap: 2.2rem; }
.colophon h2 { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.colophon li a { display: inline-block; padding-block: 0.45rem; }
.colophon .brand-name { color: var(--ink); font-size: 1.7rem; }
.colophon .brand-name span { color: var(--ink-3); }
.legal { margin-top: 3rem; font-size: 0.85rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1.2rem; }
/* the name set huge along the foot of the page: decoration only, so it is generated content (read by no one, checked by no one) */
.colophon::after { content: "Precolumbian"; content: "Precolumbian" / ""; display: block; font: 400 clamp(3.2rem, 16.6vw, 21rem)/0.78 var(--serif); letter-spacing: -0.055em; color: var(--raise-2); text-align: center; white-space: nowrap; margin: 2rem 0 -0.16em; user-select: none; pointer-events: none; }

/* motion: only where the browser can do it without a script and the visitor has not asked for less */
@view-transition { navigation: auto; }
@keyframes rise { from { opacity: 0; translate: 0 1.6rem; } }
@keyframes settle { from { translate: 0 2.5rem; scale: 0.94; } }  /* the headline object: no fade, so it counts as painted the moment it arrives */
@keyframes reveal { from { opacity: 0; translate: 0 3rem; } to { opacity: 1; translate: 0 0; } }
@keyframes drift-a { to { transform: translateY(7vh) rotate(2.5deg); } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > * { animation: rise 0.9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .hero-objects .hero-main { animation: settle 1.1s var(--ease) both; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.3s; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] > .wrap, [data-reveal] > .rail { animation: reveal linear both; animation-timeline: view(); animation-range: entry 4% entry 46%; }
    .hero-main { animation: settle 1.1s var(--ease) both, drift-a linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 90vh; }
  }
}

/* phone and touch */
/* every control a finger has to hit is at least 44 px (2.75 rem) high */
@media (max-width: 39.99rem), (pointer: coarse) {
  .check { min-height: 2.75rem; }
  .check input { width: 1.4rem; height: 1.4rem; }
  .check label { display: inline-flex; align-items: center; min-height: 2.75rem; padding-right: 0.6rem; }
  .faq details { padding-block: 0.4rem; }
  .faq summary { align-items: center; min-height: 2.75rem; }
  .copy { min-height: 2.75rem; padding: 0.3rem 1rem; }
  .index .more a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .brand { padding-block: 0.6rem; }
}
/* end phone and touch */

/* phone guide */
/* two pictures across: sixteen kinds are four screens, not eight */
@media (max-width: 39.99rem) {
  .cards.guide { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0.8rem; }
  .cards.guide .card h3 { font-size: 1.05rem; margin: 0.6rem 0 0.3rem; }
  .cards.guide .card p { font-size: 0.88rem; line-height: 1.4; margin-bottom: 0.4rem; }
  .cards.guide .card .where { font-size: 0.8rem; }
  .cards.guide .photo figcaption { font-size: 0.75rem; }
}
/* end phone guide */

@media (max-width: 61.99rem) {
  .hero-main { width: min(78%, 17rem); }  /* a tall piece fits under the buttons */
  /* the object beside a heading is small on a phone, so the form and the first paragraph stay on the first screen */
  .page-art { width: 11rem; justify-self: end; margin-top: -1rem; }
  .page-head.has-art { padding-bottom: 0; }
}
@media (min-width: 40rem) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .colophon-grid { grid-template-columns: repeat(3, 1fr); }
  .factors { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  body { padding-bottom: 0; }
  .colophon-grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
  .dock { display: none; }
  .primary { display: flex; }
  .menu { display: none; }
  .nav-cta { display: inline-flex; padding: 0.65rem 1.3rem; }
  .masthead-row { gap: 2.4rem; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; min-height: min(46rem, calc(100svh - 5rem)); }
  .hero { padding-top: clamp(1rem, 4svh, 3rem); }       /* a laptop's short window keeps "Tell us what you have" in view */
  .hero h1 { font-size: min(5.6vw, 6.4rem, 12svh); }
  .hero-objects { margin-bottom: 0; }
  .hero-main { width: min(100%, 27rem, 64svh * 0.78); }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .pillars li { padding: 2.4rem 2rem; border-top: 0; border-left: 1px solid var(--line); }
  .pillars li:first-child { border-left: 0; padding-left: 0; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; }
  .split-head { position: sticky; top: 7rem; }
  .index li { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 15rem; align-items: baseline; }
  .index .more { flex-direction: column; align-items: flex-end; }
  .page-head.has-art { grid-template-columns: 1.3fr 0.7fr; }
  .page-head.has-map { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .page-head.has-facts { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; }
  .closing-grid { grid-template-columns: 1.2fr 0.8fr; }
  .closing .closing-art, .closing .closing-art:has(img.cut) { max-width: none; }
  .material-grid { grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; }
  .material-plain { grid-template-columns: 1fr; }
  .material-plain .material-text { display: grid; grid-template-columns: 0.8fr 1.2fr; column-gap: 3.5rem; align-items: start; }
  .material-plain .material-text h2 { grid-row: 1 / span 3; margin: 0; }
  .material-plain .material-text > :not(h2) { grid-column: 2; }
  .builder-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
  .builder-guide { position: sticky; top: 6.5rem; }
  .panel { flex: 1 1 0; min-width: 0; }
}
