/* Light ivory page with emerald type and solid emerald blocks, gold used sparingly. */
:root {
  --bg: #f9f7f0;
  --card: #ffffff;
  --field: #ffffff;
  --text: #13241d;
  --muted: #55665d;
  --accent: #0a6b4d;          /* emerald */
  --accent-hover: #0d8260;
  --accent-deep: #07503a;     /* deep emerald for solid blocks */
  --accent-tint: rgba(10,107,77,.09);
  --gold: #8a6a1c;
  --gold-light: #e6c877;
  --on-deep: #f6f3e8;
  --line: rgba(10,107,77,.24);
  --edge: rgba(19,36,29,.30);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body);
  font-size: 17px; line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 56px;
}
img { max-width: 100%; }
.hero { position: relative; max-width: 760px; margin-inline: auto; }
.hero img { display: block; width: 100%; height: min(78vw, 560px); min-height: 300px; object-fit: cover; object-position: 50% 24%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to bottom, rgba(249,247,240,0), var(--bg)); }
.wrap { max-width: 640px; margin: 0 auto; }
.intro { text-align: center; margin-top: -28px; position: relative; z-index: 2; }
.eyebrow { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.sixty { font-family: var(--display); font-weight: 700; font-size: clamp(120px, 34vw, 200px); line-height: .85; margin: 14px 0 0; color: var(--accent); letter-spacing: -.02em; }
.sixty small { display: block; font-size: 15px; letter-spacing: .36em; text-transform: uppercase; font-family: var(--body); font-weight: 500; color: var(--text); margin-top: 12px; }
h1 { color: var(--accent-deep); font-family: var(--display); font-weight: 500; font-size: clamp(30px, 8vw, 46px); line-height: 1.12; margin: 26px 0 8px; text-wrap: balance; }
h1 em { color: var(--accent); font-style: italic; }
.lede { color: var(--muted); max-width: 30em; margin: 0 auto; text-wrap: balance; }
.rule { height: 1px; background: var(--line); margin: 36px 0; border: 0; }
.facts { display: grid; gap: 26px; text-align: center; background: var(--accent-deep); color: var(--on-deep); padding: 34px 22px; }
.fact .k { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.fact .v { color: var(--on-deep); font-family: var(--display); font-size: clamp(24px, 6.4vw, 32px); line-height: 1.2; margin-top: 4px; }
.fact .s { color: rgba(246,243,232,.82); font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 2px; font: 600 15px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn:hover { background: var(--accent-tint); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, .seg input:focus-visible + label, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card { margin-top: 56px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(7,80,58,.10); }
.card .photo { border-bottom: 5px solid var(--accent); display: block; width: 100%; height: 240px; object-fit: cover; object-position: 50% 30%; }
.card .body { padding: 28px max(20px, 5vw) 34px; }
.card h2 { color: var(--accent-deep); font-family: var(--display); font-weight: 500; font-size: clamp(28px, 7vw, 38px); margin: 0 0 6px; line-height: 1.15; }
.card p.sub { margin: 0 0 24px; color: var(--muted); }
form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, legend { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding: 0; }
.opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
input[type=text], input[type=email], textarea { width: 100%; background: var(--field); color: var(--text); border: 1px solid var(--edge); border-radius: 2px; padding: 13px 14px; font: 400 17px/1.4 var(--body); }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8d8077; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg.three { grid-template-columns: repeat(3, 1fr); }
.seg > span { position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px 10px; border: 1px solid var(--edge); border-radius: 2px; cursor: pointer; font-weight: 500; line-height: 1.25; }
.seg input:checked + label { border-color: var(--accent); background: var(--accent-tint); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.counts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; align-items: stretch; border: 1px solid var(--edge); border-radius: 2px; background: var(--field); }
.stepper button { background: transparent; border: 0; color: var(--accent); font-size: 24px; cursor: pointer; min-height: 50px; }
.stepper button:hover { background: var(--accent-tint); }
.stepper output { display: grid; place-items: center; font: 500 20px var(--body); font-variant-numeric: tabular-nums; }
.total { text-align: center; color: var(--text); font-weight: 500; min-height: 1.5em; margin: 16px 0 0; }
.err { color: #b3261e; font-size: 15px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 10px 0; }
.done h3 { color: var(--accent-deep); font-family: var(--display); font-weight: 500; font-size: 32px; margin: 0 0 8px; }
.link-card { display: block; text-decoration: none; color: var(--on-deep); margin-top: 28px; padding: 30px max(20px, 5vw); text-align: center; border: 1px solid var(--accent-deep); background: var(--accent-deep); }
.link-card:hover { background: var(--accent); }
.link-card h2 { font-family: var(--display); font-weight: 500; font-size: 28px; margin: 6px 0; }
.link-card p { margin: 0; color: rgba(246,243,232,.85); }
.link-card .eyebrow { color: var(--gold-light); }
.link-card h2 { color: var(--on-deep); }
.foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 36px; }
.topbar { max-width: 640px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top, 0px)) 0 0; }
.topbar a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 15px; letter-spacing: .04em; }
.topbar a:hover { text-decoration: underline; }
.uploads { display: grid; gap: 14px; }
.slot { display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--edge); background: var(--bg); }
.slot input[type=file] { font: 400 15px var(--body); color: var(--text); max-width: 100%; }
.slot .thumb { width: 100%; max-height: 220px; object-fit: contain; background: #e9efe9; display: none; }
.slot .info { font-size: 14px; color: var(--muted); }
.page-title { text-align: center; margin: 26px 0 0; }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (max-width: 420px) { .seg.three { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .intro, .facts { animation: rise .8s ease both; } @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } }
