/* MOGGED — shared styles for / and /catalog/ */
/* Palette pulled from the hero engraving: ink navy, dusk terracotta, sunlit peach, sky paper */
:root {
  --ink: #0F2740;
  --ink-2: #183552;
  --ink-3: #26486B;
  --steel: #8FA6BA;
  --sky: #B4BCB4;
  --sky-paper: #CDD5D1;
  --terra: #C2734F;
  --terra-d: #A2522F;
  --peach: #E4B293;
  --sun: #F1E3D1;
  --sun-2: #E8D6BF;
  --r: 18px;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --roman: "Cinzel", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--sun); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 8px 0 24px; border-radius: 999px; font-size: 16px; font-weight: 500; transition: transform .25s ease, background .25s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .85; flex: none; }
.btn .arr svg { width: 16px; height: 16px; }
.btn-ink { background: var(--ink); color: var(--sun); }
.btn-ink:hover { background: var(--ink-2); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-d); }
.btn-line { color: var(--ink); border: 1.5px solid var(--ink); background: rgba(241,227,209,.35); backdrop-filter: blur(6px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #fff6ea; }

/* ---------- wordmark ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo svg { width: 42px; height: 42px; }
.logo span { font-family: var(--roman); font-weight: 600; font-size: 23px; letter-spacing: .2em; }

/* ---------- nav ---------- */
nav.top { position: absolute; inset: 22px 0 auto; z-index: 20; }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(241,227,209,.45); border: 1px solid rgba(15,39,64,.18); backdrop-filter: blur(8px); }
.links a { padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink); transition: background .2s; }
.links a:hover { background: rgba(15,39,64,.08); }
nav .btn { height: 46px; font-size: 15px; padding-left: 20px; }
nav .btn .arr { width: 32px; height: 32px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--sky); overflow: hidden; color: #fff; }
.hero-copy { position: relative; z-index: 2; text-align: center; padding-top: 150px; }
/* white copy straight on the light sky: a soft navy halo keeps it readable without a background band */
.hero h1, .hero h1 .accent { color: #fff; text-shadow: 0 2px 30px rgba(15,39,64,.28); }
.hero .logo { color: #fff; filter: drop-shadow(0 1px 8px rgba(15,39,64,.35)); }
.hero .links { background: rgba(15,39,64,.16); border-color: rgba(255,255,255,.35); }
.hero .links a { color: #fff; }
.hero .links a:hover { background: rgba(15,39,64,.14); }
.hero .btn-line { color: #fff; border-color: #fff; background: rgba(15,39,64,.16); backdrop-filter: none; }
.hero .btn-line:hover { background: rgba(15,39,64,.26); }
h1 { font-size: clamp(46px, 7.2vw, 106px); font-weight: 500; letter-spacing: -.05em; line-height: .94; }
h1 .accent { color: var(--terra-d); }
.hero-copy p { max-width: 600px; margin: 24px auto 0; font-size: 19px; font-weight: 500; color: #fff; text-shadow: 0 1px 14px rgba(15,39,64,.45); }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.scene { position: relative; z-index: 0; width: max(100%, 820px); left: 50%; transform: translateX(-50%); margin-top: clamp(0px, 1vw, 20px); aspect-ratio: 1672 / 941; }
.scene img.art { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 7%); mask-image: linear-gradient(to bottom, transparent 0%, #000 7%); }
.scene::after { content: ""; position: absolute; inset: auto 0 0; height: 14%; background: linear-gradient(to bottom, transparent, var(--ink)); pointer-events: none; }
/* ---------- meander ---------- */
.meander { display: block; width: 100%; height: 26px; color: var(--terra); }

/* ---------- statement ---------- */
.statement { background: var(--ink); padding: 110px 0 120px; }
.statement h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; max-width: 1100px; margin: 0 auto; text-align: center; }
.statement h2 .accent { color: var(--peach); }
.statement h2 .nw { white-space: nowrap; }   /* keeps the seal on the same line as "batch." */
.statement h2 .mk { display: inline-block; vertical-align: middle; width: 1.15em; height: 1.15em; margin: -.12em .06em 0; color: var(--peach); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 84px; }
.stats div { text-align: center; padding: 6px 20px; }
.stats div + div { border-left: 1px solid rgba(228,178,147,.28); }
.stats b { display: block; font-size: clamp(46px, 5vw, 70px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--sun); }
.stats span { display: block; margin-top: 12px; color: var(--steel); font-size: 17px; }

/* ---------- catalog ---------- */
.catalog { background: var(--sun); color: var(--ink); padding: 120px 0 130px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.sec-head h2 .accent { color: var(--terra-d); }
.sec-head p { max-width: 420px; color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod { background: var(--ink); color: var(--sun); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease; }
.prod:hover { transform: translateY(-4px); }
.prod .shot { position: relative; aspect-ratio: 1; background: radial-gradient(60% 60% at 50% 48%, var(--ink-3) 0%, var(--ink) 80%); overflow: hidden; }
.prod .shot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(228,178,147,.22); box-shadow: 0 0 0 16px rgba(228,178,147,.04); }
.prod .shot::after { content: ""; position: absolute; left: 50%; bottom: 11%; width: 34%; height: 5%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); }
.prod .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; transition: transform .5s ease; }
.prod:hover .shot img { transform: scale(1.04) translateY(-1%); }
.prod .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.prod h3 { font-size: 22px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.prod .meta { color: var(--steel); font-size: 15px; }
.prod .buy { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.prod .price { font-size: 22px; font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.prod .price small { font-size: 14px; font-weight: 400; color: var(--steel); letter-spacing: 0; margin-right: 4px; }
.prod .btn { height: 44px; font-size: 15px; padding-left: 16px; gap: 10px; }
.prod .btn .arr { width: 30px; height: 30px; }

/* ---------- engraving band ---------- */
.band { background: var(--ink); }
.band img { display: block; width: 100%; height: clamp(420px, 54vw, 860px); object-fit: cover; object-position: 50% 62%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%); mask-image: linear-gradient(to bottom, transparent, #000 12%); }

/* ---------- testing ---------- */
.testing { background: var(--ink); padding: 0 0 130px; position: relative; overflow: hidden; }
.testing .meander { margin-bottom: 120px; }
.testing .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.testing h2 { font-size: clamp(38px, 4.6vw, 66px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.testing h2 .accent { color: var(--peach); }
.steps { margin-top: 44px; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 22px 0; border-top: 1px solid rgba(143,166,186,.22); }
.step .n { font-family: var(--roman); font-weight: 600; font-size: 20px; letter-spacing: .08em; color: var(--terra); }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.step p { color: var(--steel); margin-top: 4px; font-size: 17px; }

.coa { position: relative; background: var(--sun); color: var(--ink); border-radius: 10px; padding: 48px 50px 42px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform: rotate(-1.6deg); }
.coa canvas.frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.coa > *:not(canvas) { position: relative; }
.coa .t { font-family: var(--roman); font-weight: 600; font-size: 22px; letter-spacing: .1em; line-height: 1.2; }
.coa .t span { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .04em; color: var(--ink-3); margin-top: 8px; }
.coa .pur { display: flex; align-items: end; gap: 18px; margin-top: 22px; }
.coa .pur b { font-size: 64px; font-weight: 500; letter-spacing: -.05em; line-height: .9; color: var(--ink); }
.coa .pur span { color: var(--ink-3); font-size: 14px; padding-bottom: 6px; }
.rows { margin-top: 24px; font-size: 15px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid rgba(15,39,64,.14); }
.rows span:first-child { color: var(--ink-3); }
.rows span:last-child { font-weight: 500; text-align: right; }
.coa .sign { display: flex; justify-content: space-between; align-items: end; margin-top: 30px; }
.coa .sign .line { font-family: var(--mono); font-size: 11px; color: var(--ink-3); border-top: 1px solid rgba(15,39,64,.4); padding-top: 6px; width: 200px; }
.coa .stamp { width: 104px; height: 104px; color: var(--terra-d); transform: rotate(-12deg); }

/* ---------- final ---------- */
.final { background: var(--terra); color: var(--ink); padding: 130px 0; text-align: center; position: relative; overflow: hidden; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(42px, 6.4vw, 96px); font-weight: 500; letter-spacing: -.05em; line-height: .96; max-width: 980px; margin: 0 auto; }
.final p { max-width: 520px; margin: 24px auto 36px; font-size: 19px; color: var(--ink); }
.final .ghost-seal { position: absolute; width: 760px; height: 760px; right: -220px; top: -200px; color: var(--ink); opacity: .1; }
.final .ghost-seal.l { right: auto; left: -300px; top: auto; bottom: -360px; }

footer { background: var(--ink); padding: 0 0 44px; font-size: 15px; color: var(--steel); }
footer .meander { margin-bottom: 56px; opacity: .7; }
footer .row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .logo { color: var(--sun); }
footer .flinks { display: flex; gap: 24px; }
footer .flinks a:hover { color: var(--sun); }
footer .legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(143,166,186,.2); font-size: 13px; line-height: 1.6; }

/* ---------- catalog page ---------- */
.page-head { position: relative; background: var(--sun); color: var(--ink); padding: 168px 0 44px; }
.page-head h1 { font-size: clamp(46px, 6.4vw, 92px); }
.page-head h1 .accent { color: var(--terra-d); }
.page-head p { max-width: 540px; margin-top: 20px; color: var(--ink-3); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filters button { font: inherit; font-size: 15px; font-weight: 500; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(15,39,64,.25); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--sun); }
.page-grid { background: var(--sun); color: var(--ink); padding: 0 0 130px; margin-top: -1px; border-top: 1px solid var(--sun); }   /* covers the sub-pixel seam under .page-head */
.prod[hidden] { display: none; }
.more { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .testing .cols { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 860px) {
  .links { display: none; }
  .scene::after { height: 20%; }
  .stats { grid-template-columns: 1fr; gap: 34px; margin-top: 60px; }
  .stats div + div { border-left: 0; border-top: 1px solid rgba(228,178,147,.28); padding-top: 34px; }
  .sec-head { flex-direction: column; align-items: start; gap: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .statement h2 .mk { display: block; width: 1.5em; height: 1.5em; margin: 20px auto 0; }   /* seal sits under the sentence on phones */
  .page-head { padding: 130px 0 32px; }
  .page-grid { padding-bottom: 90px; }
  .more .btn { width: 100%; justify-content: space-between; }
  .wrap { width: calc(100% - 32px); }
  .logo span { font-size: 18px; }
  .logo svg { width: 32px; height: 32px; }
  nav .btn .lbl { display: none; }
  nav .btn { padding: 0 6px; }
  .hero-copy { padding-top: 116px; }
  .hero-copy p { font-size: 17px; }
  .ctas .btn { width: 100%; justify-content: space-between; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod { border-radius: 18px; }
  .prod .body { padding: 14px 14px 14px; }
  .prod h3 { font-size: 18px; }
  .prod .meta { font-size: 14px; }
  .prod .buy { flex-direction: column; align-items: stretch; gap: 10px; }
  .prod .btn { height: 42px; justify-content: space-between; font-size: 14px; }
  .band img { height: 460px; object-position: 50% 62%; }
  .statement, .final { padding: 90px 0; }
  .testing { padding-bottom: 90px; }
  .testing .meander { margin-bottom: 80px; }
  .catalog { padding: 90px 0; }
  .coa { padding: 36px 26px 30px; transform: rotate(-1deg); }
  .coa .pur b { font-size: 50px; }
  .coa .stamp { width: 76px; height: 76px; }
  .final .ghost-seal { width: 480px; height: 480px; right: -200px; top: -120px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
