/* Redcoat Syndicate - site styles
   Palette from the emblem: forest black, midnight green, aged gold, copper. */
:root {
  --ink: #0a0c0a;
  --night: #0f1a15;
  --moss: #16261e;
  --raised: #121512;
  --line: rgba(236, 227, 207, .14);
  --line-strong: rgba(236, 227, 207, .28);
  --cream: #ece3cf;
  --ivory: #f6f0e0;
  --stone: #a29c8b;
  --gold: #c9a05a;
  --copper: #b8733f;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: rgba(236, 227, 207, .86);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }
p { margin: 0 0 1.1em; max-width: 62ch; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ivory); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; }
h4 { font-size: 1.25rem; }
em { font-style: italic; }
ul { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ivory); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - var(--gutter) * 2, 760px); margin-inline: auto; }
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.section.tint { background: linear-gradient(180deg, var(--night), var(--ink)); }
.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }
.muted { color: var(--stone); }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--cream); }

/* Announcement strip */
.strip { background: var(--moss); color: var(--cream); font-size: .9rem; text-align: center; padding: 9px var(--gutter); border-bottom: 1px solid var(--line); }
.strip a { color: var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 12, 10, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); font-family: var(--serif); font-size: 1.45rem; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a { color: var(--cream); text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--ivory); }
.nav .btn { border-bottom: 1px solid var(--gold); padding: 9px 18px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--cream); font: inherit; font-size: .9rem; padding: 8px 14px; cursor: pointer; border-radius: 2px; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-size: .98rem; font-weight: 500; letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); padding: 14px 26px; border-radius: 2px; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.nav .btn { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.nav .btn:hover { border-color: var(--gold); color: var(--gold); }
.link-quiet { color: var(--cream); text-decoration-color: var(--line-strong); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); background:
  radial-gradient(60% 70% at 78% 40%, rgba(22, 56, 40, .55), transparent 70%),
  radial-gradient(40% 40% at 10% 100%, rgba(184, 115, 63, .12), transparent 70%), var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { color: var(--gold); }
.hero .lede { max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-note { margin-top: 2.2rem; font-size: .95rem; color: var(--stone); }
.emblem { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1; }
.emblem img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(201, 160, 90, .25), 0 40px 120px rgba(0, 0, 0, .7), 0 0 140px rgba(201, 160, 90, .09); animation: emerge 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.emblem::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(255, 220, 160, .16), transparent 55%); mix-blend-mode: screen; pointer-events: none; animation: emerge 3.4s ease .3s both; }
@keyframes emerge { from { opacity: 0; filter: blur(14px) brightness(.4); transform: scale(.965); } to { opacity: 1; filter: none; transform: none; } }

/* Arches (photo frames) */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--moss); aspect-ratio: 4 / 5; position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch.wide { aspect-ratio: 5 / 6; }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 10, .0) 55%, rgba(10, 12, 10, .35)); pointer-events: none; }

/* Story */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.split.top { align-items: start; }
.split .arch { max-width: 440px; }
.statement { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.12; color: var(--ivory); margin-bottom: 1.2rem; }
.statement span { display: block; }
.statement .dim { color: var(--stone); }

/* Collection */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.collection { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); align-items: start; }
.item:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.item .arch { margin-bottom: 20px; }
.item h3 { margin-bottom: .3em; }
.item h3 a { color: inherit; text-decoration: none; }
.item h3 a:hover { color: var(--gold); }
.item p { font-size: .98rem; color: rgba(236, 227, 207, .72); margin-bottom: .8em; }
.price { color: var(--cream); font-size: .98rem; margin-bottom: 1rem; }
.item .btn { padding: 10px 18px; font-size: .9rem; }

/* Reasons list */
.reasons li { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 24px; }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons h3 { margin: 0; font-size: 1.6rem; }
.reasons p { margin: 0; color: rgba(236, 227, 207, .78); }
.sticky { position: sticky; top: 110px; }

/* Plain facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 30px 24px 30px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--ivory); margin-bottom: .25em; }
.facts span { font-size: .95rem; color: rgba(236, 227, 207, .7); }

/* Waitlist block */
.waitlist { background:
  radial-gradient(60% 90% at 50% 0%, rgba(22, 56, 40, .6), transparent 70%), var(--night); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.waitlist .lede { margin-inline: auto; max-width: 46ch; }
.waitlist form { margin: 2.2rem auto 0; }

/* Forms */
.form { display: grid; gap: 14px; text-align: left; max-width: 520px; }
.form.inline { grid-template-columns: 1fr 1.3fr auto; max-width: 860px; align-items: end; }
.field label { display: block; font-size: .85rem; color: var(--stone); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ivory); background: rgba(236, 227, 207, .05); border: 1px solid var(--line-strong); border-radius: 2px; padding: 13px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(162, 156, 139, .7); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: .82rem; color: var(--stone); margin: 0; max-width: none; }
.status:empty { display: none; }
.status { min-height: 1.4em; margin: 0; font-size: .95rem; color: var(--gold); max-width: none; }
.status.error { color: #e0a08a; }
.form-done { font-family: var(--serif); font-size: 1.8rem; color: var(--ivory); line-height: 1.2; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 1.45rem; color: var(--ivory); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font-family: var(--sans); font-size: 1.5rem; color: var(--gold); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-52%) rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: rgba(236, 227, 207, .8); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Page headings */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(32px, 5vw, 64px); background: radial-gradient(70% 90% at 80% 0%, rgba(22, 56, 40, .5), transparent 70%), var(--ink); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 16ch; }
.page-head .lede { max-width: 52ch; }
.crumbs { font-size: .88rem; color: var(--stone); margin-bottom: 1.6rem; }
.crumbs a { color: var(--stone); }

/* Product page */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: start; padding-top: clamp(32px, 5vw, 64px); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery .arch:first-child { grid-column: 1 / -1; aspect-ratio: 5 / 4; border-radius: 999px 999px 0 0; }
.gallery .arch { aspect-ratio: 1; border-radius: 4px; }
.gallery .arch:first-child { border-radius: 999px 999px 4px 4px; }
.buybox h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.options { margin: 1.4rem 0 1.8rem; display: grid; gap: 10px; }
.option { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--ivory); }
.option span:last-child { color: var(--cream); }
.prelaunch { font-size: .92rem; color: var(--stone); margin-top: 1rem; }
.spec { margin-top: 2.4rem; display: grid; gap: 0; }
.spec div { padding: 18px 0; border-top: 1px solid var(--line); }
.spec h4 { margin: 0 0 .3em; color: var(--gold); font-size: 1.15rem; }
.spec p { margin: 0; font-size: .98rem; color: rgba(236, 227, 207, .8); max-width: none; }
.spec p + p { margin-top: .8em; }
.tick li { padding: 10px 0 10px 26px; position: relative; border-top: 1px solid var(--line); }
.tick li:last-child { border-bottom: 1px solid var(--line); }
.tick li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* Prose (legal + about) */
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p, .prose li { color: rgba(236, 227, 207, .84); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; max-width: 62ch; }
.todo { background: rgba(201, 160, 90, .12); color: var(--gold); padding: 0 .3em; border-radius: 2px; }

/* Instagram strip */
.follow { text-align: center; }
.follow p, .waitlist p { margin-inline: auto; }
.follow .handle { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); color: var(--ivory); text-decoration: none; }
.follow .handle:hover { color: var(--gold); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #070907; padding: 64px 0 36px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-grid h4 { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--stone); margin-bottom: 14px; letter-spacing: .02em; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--cream); text-decoration: none; }
.foot-grid a:hover { color: var(--gold); }
.foot-brand img { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 14px; }
.foot-brand p { color: var(--stone); font-size: .92rem; }
.foot-form { display: grid; gap: 10px; }
.foot-form .field input { padding: 11px 12px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--stone); font-size: .86rem; }

/* Popup */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 7, 5, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fade .35s ease both; }
.dialog { position: relative; width: min(100%, 880px); display: grid; grid-template-columns: .85fr 1.15fr; background: var(--night); border: 1px solid var(--line-strong); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); max-height: calc(100vh - 40px); overflow: auto; }
.dialog .visual { background: #000; display: grid; place-items: center; padding: 28px; border-right: 1px solid var(--line); }
.dialog .visual img { width: 100%; max-width: 280px; border-radius: 50%; }
.dialog .body { padding: clamp(28px, 4vw, 48px); }
.dialog h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.dialog .close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; background: none; border: 0; color: var(--cream); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.dialog .close:hover { color: var(--gold); }
.dialog .skip-link { background: none; border: 0; color: var(--stone); font: inherit; font-size: .88rem; text-decoration: underline; cursor: pointer; padding: 6px 0; justify-self: start; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .emblem { order: -1; width: min(70%, 380px); }
  .collection { grid-template-columns: repeat(2, 1fr); }
  .item:nth-child(even) { margin-top: 0; }
  .item:nth-child(n+3) { margin-top: 12px; }
  .split, .product { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .form.inline { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 4px; background: #070907; border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1.05rem; }
  .nav .btn { margin-top: 8px; }
  .dialog { grid-template-columns: 1fr; }
  .dialog .visual { display: none; }
  .reasons li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 520px) {
  .collection { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .item .arch { max-width: 340px; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 22px 0; border-left: 0; }
  .facts div + div { border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .emblem img, .emblem::after, .modal.open { animation: none; }
}
