:root {
  --forest: #01261F;
  --forest-2: #0A3A30;
  --orange: #FF7503;
  --orange-dark: #E06400;
  --mist: #BFCFD9;
  --paper: #F4F6F3;
  --white: #FFFFFF;
  --ink: #0B1F1A;
  --muted: #4E615B;
  --line: #D7DFDA;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --display: 'Russo One', 'Barlow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --cond: 'Barlow Semi Condensed', 'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: 0.005em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--orange); color: var(--forest); padding: 8px 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1 var(--cond); letter-spacing: 0.02em; padding: 15px 22px; border: 0; border-radius: 4px; cursor: pointer; text-decoration: none; transition: background-color .15s; }
.btn-orange { background: var(--orange); color: var(--forest); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-green { background: var(--forest); color: var(--white); }
.btn-green:hover { background: var(--forest-2); }
.btn-ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

.announce { margin: 0; background: var(--orange); color: var(--forest); text-align: center; font: 600 .95rem/1.3 var(--cond); padding: 9px var(--gutter); }
.announce a { font-weight: 700; margin-left: 6px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--forest); color: var(--white); }
.bar { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); }
.logo img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 22px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { text-decoration: none; font: 600 1rem/1 var(--cond); color: var(--mist); white-space: nowrap; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--white); border-bottom-color: var(--orange); }
.header-cta { padding: 12px 18px; }

.hero { position: relative; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--forest); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,38,31,.94) 0%, rgba(1,38,31,.78) 38%, rgba(1,38,31,.15) 70%, rgba(1,38,31,0) 100%); }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter); display: grid; gap: 36px; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.hero-copy p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #DCE5E1; max-width: 46ch; margin: 22px 0 0; }

.finder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; max-width: 860px; background: rgba(244,246,243,.97); color: var(--ink); padding: 20px; border-radius: 6px; border-top: 4px solid var(--orange); }
.finder h2 { grid-column: 1 / -1; font-size: 1.15rem; color: var(--forest); }
.finder label { display: grid; gap: 6px; font: 600 .9rem/1.2 var(--cond); color: var(--muted); }
select, .form input, .form textarea { font: 500 1rem/1.3 var(--body); color: var(--ink); background: var(--white); border: 1px solid #B9C6C0; border-radius: 4px; padding: 12px; width: 100%; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }

.cats { background: var(--white); border-bottom: 1px solid var(--line); }
.cats ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--max); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cats button { width: 100%; display: grid; justify-items: center; gap: 6px; background: var(--paper); border: 2px solid transparent; border-radius: 6px; padding: 16px 8px 12px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, background-color .15s; }
.cats button:hover { border-color: var(--mist); background: var(--white); }
.cats button[aria-pressed="true"] { border-color: var(--orange); background: var(--white); }
.cats img { width: 84px; height: auto; }
.cats span { font: 700 1rem/1 var(--cond); color: var(--forest); }
.cats small { font-size: .85rem; color: var(--muted); min-height: 1.2em; }

.shop { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.shop-head p { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }
.clear { font: 600 1rem var(--cond); background: none; border: 0; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 6px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--white); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--forest); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .card-media img { transition: none; } .card:hover .card-media img { transform: none; } }
.tag { position: absolute; left: 12px; top: 12px; background: var(--forest); color: var(--white); font: 700 .8rem/1 var(--cond); padding: 7px 9px; border-radius: 3px; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-make { font: 600 .9rem/1 var(--cond); color: var(--muted); }
.card h3 { font-size: 1.35rem; color: var(--forest); }
.card .what { margin: 0; font-weight: 600; }
.card .note { margin: 0; font-size: .92rem; color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font: 400 1.4rem/1 var(--display); color: var(--forest); }
.soon { font: 600 .95rem/1.2 var(--cond); color: var(--muted); }
.card .btn { padding: 12px 16px; }

.empty { grid-column: 1 / -1; background: var(--white); border: 2px dashed var(--mist); border-radius: 6px; padding: clamp(28px, 5vw, 48px); }
.empty h3 { color: var(--forest); font-size: 1.4rem; }
.empty p { color: var(--muted); max-width: 52ch; margin: 10px 0 20px; }

.made { background: var(--forest); color: var(--white); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.made-media { background: var(--white); display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 48px); }
.made-media img { width: 100%; max-width: 560px; border-radius: 4px; }
.made-copy { padding: clamp(40px, 6vw, 80px) var(--gutter); max-width: 640px; }
.made-copy p { color: #D3DEDA; margin: 18px 0 0; max-width: 50ch; }
.made-copy .btn { margin-top: 28px; background: var(--orange); color: var(--forest); }
.made-copy .btn:hover { background: var(--orange-dark); }

.how { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.how ol { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.how li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.how li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--forest); font: 400 1.2rem/1 var(--display); margin-bottom: 16px; }
.how h3 { color: var(--forest); }
.how p { color: var(--muted); margin: 8px 0 0; }

.request { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 7vw, 88px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.request-copy img { width: 110px; height: auto; margin-bottom: 18px; }
.request-copy h2 { color: var(--forest); }
.request-copy p { color: var(--muted); max-width: 42ch; margin: 16px 0 0; }
.request-copy .fine { font-size: .92rem; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font: 600 .95rem/1.2 var(--cond); color: var(--forest); }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: #B3261E; }
.row { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 12px; }
.types { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.types legend { font: 600 .95rem/1.2 var(--cond); color: var(--forest); margin-bottom: 8px; padding: 0; }
.form .types label { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem/1 var(--cond); color: var(--ink); background: var(--paper); border: 1px solid #B9C6C0; border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.form .types label:has(input:checked) { background: var(--forest); color: var(--white); border-color: var(--forest); }
.types input { accent-color: var(--orange); margin: 0; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.form .check input { width: 18px; height: 18px; accent-color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; min-height: 1.4em; font-weight: 600; }
.status.ok { color: #1E6B3A; }
.status.err { color: #B3261E; }

.faq { max-width: 880px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.faq h2 { color: var(--forest); margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font: 700 1.1rem/1.3 var(--cond); color: var(--forest); padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.5rem/1 var(--display); color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 64ch; }

.site-footer { background: var(--forest); color: var(--mist); display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; align-items: start; padding: 44px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin: 14px 0 0; max-width: 36ch; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer nav a { text-decoration: none; font: 600 1rem var(--cond); }
.site-footer nav a:hover { color: var(--white); }
.copy { margin: 0; font-size: .9rem; }

@media (max-width: 1000px) {
  .header-cta { display: none; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder .btn { grid-column: 1 / -1; }
  .cats ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .made, .request { grid-template-columns: 1fr; }
  .how ol { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bar { flex-wrap: wrap; gap: 10px 20px; }
  .main-nav { order: 3; flex-basis: 100%; }
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(1,38,31,.55) 0%, rgba(1,38,31,.92) 55%); }
  .finder { grid-template-columns: 1fr; }
  .cats ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px var(--gutter); }
  .cats img { width: 60px; }
  .row { grid-template-columns: 1fr; }
}
