:root {
  --ink: #18231d;
  --muted: #67736c;
  --paper: #f5f1e8;
  --card: #fffdf8;
  --line: #d9d3c7;
  --accent: #a96f2d;
  --accent-dark: #81501d;
  --green: #253f32;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(24, 35, 29, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px clamp(20px, 5vw, 72px); background: rgba(245,241,232,.92); border-bottom: 1px solid rgba(217,211,199,.8); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; font-family: "Libre Baskerville", serif; }
nav { display: flex; gap: 28px; font-size: 14px; }
.site-header > .button { justify-self: end; }
.button { border: 0; border-radius: 999px; padding: 13px 20px; cursor: pointer; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: #172c22; }
.button-secondary { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
.button-ghost { background: rgba(255,255,255,.48); border: 1px solid var(--line); }
.hero { min-height: 760px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 7vw; padding: 90px clamp(24px, 7vw, 110px); overflow: hidden; }
.eyebrow { margin: 0 0 14px; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 700; }
h1, h2 { font-family: "Libre Baskerville", serif; letter-spacing: -.045em; line-height: 1.05; }
h1 { max-width: 700px; margin: 0; font-size: clamp(56px, 7vw, 104px); }
h2 { margin: 0; font-size: clamp(38px, 4vw, 62px); }
.hero-lede { max-width: 650px; margin: 28px 0; color: var(--muted); font-size: 20px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: var(--muted); font-size: 13px; }
.trust-row span::before { content: "✓"; margin-right: 8px; color: var(--accent); }
.hero-art { position: relative; min-height: 480px; }
.note-card { position: absolute; width: min(520px, 80vw); aspect-ratio: 2.25/1; border: 12px double rgba(35,63,50,.6); border-radius: 14px; box-shadow: var(--shadow); background: #d9dfcc; color: #33483c; overflow: hidden; }
.note-card::before { content:""; position:absolute; inset: 16px; border: 1px solid rgba(35,63,50,.35); border-radius: 8px; }
.note-front { top: 130px; left: 20px; transform: rotate(-4deg); background: linear-gradient(135deg,#e5e7d5,#c8d3bc); }
.note-back { top: 30px; right: -80px; transform: rotate(7deg); opacity: .78; }
.note-denomination { position: absolute; top: 20px; left: 25px; font: 700 42px "Libre Baskerville", serif; }
.portrait { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); display:grid; place-items:center; width: 110px; height: 110px; border: 8px double rgba(35,63,50,.45); border-radius: 50%; font: 700 44px "Libre Baskerville", serif; }
.serial { position:absolute; bottom: 35px; left: 45px; letter-spacing: .16em; font-weight: 700; }
.note-label { position:absolute; top: 25px; right: 28px; font-size: 11px; text-transform: uppercase; letter-spacing:.12em; }
.section { padding: 110px clamp(24px, 7vw, 110px); }
.birthday { background: var(--green); color: white; }
.birthday .eyebrow { color: #e0b67f; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.7; }
.birthday .section-heading > p:last-child { color: #c7d0ca; }
.date-search { display: grid; grid-template-columns: 110px 110px 1fr auto; gap: 12px; max-width: 920px; align-items: end; }
.date-search label, .filter-label { display: grid; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
input, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; background: var(--card); color: var(--ink); outline: none; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(169,111,45,.18); }
.form-note { color: #aebbb3; font-size: 13px; }
.results { margin-top: 28px; }
.result-card { max-width: 760px; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.08); }
.split-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.filter-label { min-width: 180px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 10px 30px rgba(24,35,29,.05); }
.product-visual { min-height: 210px; display:grid; place-items:center; padding: 26px; background: linear-gradient(145deg,#dfe3d3,#bbc7b3); }
.mini-note { width: 100%; aspect-ratio: 2.2/1; display:flex; align-items:end; justify-content:center; padding: 18px; border: 7px double rgba(35,63,50,.5); border-radius: 10px; color: #2e4638; font-weight: 700; letter-spacing: .12em; }
.product-body { padding: 22px; }
.product-meta { display:flex; justify-content:space-between; gap:12px; color: var(--muted); font-size:13px; }
.product-card h3 { margin: 12px 0 8px; font: 700 23px "Libre Baskerville", serif; }
.product-card p { color: var(--muted); line-height:1.55; }
.price-row { display:flex; align-items:center; justify-content:space-between; margin-top:20px; }
.price { font-size:22px; font-weight:700; }
.how { background:#ebe5d9; }
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.steps article { padding:30px; border-top:1px solid var(--ink); }
.steps article > span { color:var(--accent-dark); font-weight:700; }
.steps h3 { margin:36px 0 12px; font:700 24px "Libre Baskerville",serif; }
.steps p { color:var(--muted); line-height:1.6; }
.reassurance { display:grid; grid-template-columns:1fr 1fr; gap:8vw; align-items:end; background:var(--card); }
.reassurance > p { color:var(--muted); font-size:18px; line-height:1.7; }
footer { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:32px clamp(24px,7vw,110px); color:#d8e0da; background:#13251c; font-size:13px; }
dialog { width:min(620px, calc(100vw - 32px)); border:0; border-radius:24px; padding:0; background:var(--card); box-shadow:var(--shadow); }
dialog::backdrop { background:rgba(12,20,16,.68); backdrop-filter:blur(4px); }
.dialog-close { position:absolute; right:16px; top:12px; border:0; background:transparent; font-size:30px; cursor:pointer; }
#dialog-content { padding:42px; }
.dialog-note { padding:22px; border-radius:16px; background:linear-gradient(145deg,#dfe3d3,#bbc7b3); font-weight:700; letter-spacing:.11em; text-align:center; }
@media (max-width: 900px) {
  .site-header { grid-template-columns:1fr auto; }
  nav { display:none; }
  .hero { grid-template-columns:1fr; padding-top:70px; }
  .hero-art { min-height:380px; }
  .product-grid,.steps { grid-template-columns:1fr; }
  .date-search { grid-template-columns:1fr 1fr; }
  .year-field,.date-search .button { grid-column:1/-1; }
  .reassurance { grid-template-columns:1fr; }
  footer { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 560px) {
  .site-header > .button { display:none; }
  h1 { font-size:52px; }
  .hero { min-height:auto; }
  .note-card { width:360px; }
  .note-back { right:-90px; }
  .note-front { left:-20px; }
  .split-heading { display:block; }
  .filter-label { margin-top:24px; }
}
