/* Wisewing Studios — shared styles */
@font-face { font-family: "Crimson Text"; src: url("CrimsonText-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("CrimsonText-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("CrimsonText-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #1F3A5F;
  --navy-deep: #172C49;
  --soft-white: #D9E2EE;
  --cream: #F6F4EF;
  --sage: #E4EBDF;
  --forest: #1E3A2F;
  --gold: #C9973F;
  --ink: #23303F;
  --muted: #5B6675;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.caps { text-transform: uppercase; letter-spacing: .22em; font-weight: 600; font-size: .78rem; }

/* ---------- Landing (fork) page ---------- */
.fork {
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 0%, #2A4C78 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--soft-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 20px 28px;
  text-align: center;
}
.fork .brand { width: min(260px, 62vw); margin: 0 auto 28px; }
.fork h1 {
  font-weight: 400; font-style: italic; font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 6px; color: #fff;
}
.fork .lede { margin: 0 0 34px; color: var(--soft-white); opacity: .85; }
.choices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 22px; justify-content: center; width: 100%;
}
.choice {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 30px 20px 26px; border-radius: 14px; text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(217,226,238,.28);
  color: #fff;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.choice:hover, .choice:focus-visible {
  transform: translateY(-3px);
  background: rgba(255,255,255,.12);
  border-color: var(--gold);
  outline: none;
}
.choice svg { width: 84px; height: 42px; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.choice .country { font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.choice .note { font-size: .92rem; color: var(--soft-white); opacity: .8; line-height: 1.35; }
.choice .go { margin-top: 4px; color: var(--gold); }
.fork .tagline { margin-top: 40px; }
.fork footer { margin-top: auto; padding-top: 40px; font-size: .85rem; opacity: .6; }
.fork footer a { text-decoration: none; }

@media (max-width: 560px) {
  .choices { grid-template-columns: minmax(0, 320px); }
  .fork { padding-top: 40px; }
}

/* ---------- Rule-flanked slogan ---------- */
.slogan {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--soft-white);
}
.slogan::before, .slogan::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Shop pages ---------- */
.topbar {
  background: var(--navy-deep); color: var(--soft-white);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 22px; font-size: .95rem;
}
.topbar .home { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.topbar .home img { height: 30px; width: auto; }
.topbar .where { display: flex; align-items: center; gap: 10px; }
.topbar .where svg { width: 30px; height: 15px; border-radius: 2px; }
.topbar .where a { color: var(--gold); text-underline-offset: 3px; }

.hero {
  background: var(--navy); color: var(--soft-white);
  text-align: center; padding: 44px 20px 40px;
}
.hero .wingmates { width: min(330px, 78vw); margin: 0 auto 6px; }
.hero .edition { color: var(--soft-white); margin: 0 0 16px; }
.hero p.sub { margin: 14px auto 0; max-width: 34em; font-style: italic; opacity: .9; }

.fan { max-width: 1180px; margin: 0 auto; padding: 26px 16px 0; }
.fan img { width: 100%; mix-blend-mode: multiply; }

.intro { max-width: 40em; margin: 8px auto 0; padding: 0 22px; text-align: center; }
.intro p { margin: 0 0 12px; }

.ship-note {
  max-width: 40em; margin: 18px auto 0; padding: 12px 18px; text-align: center;
  background: var(--sage); color: var(--forest); border-radius: 10px; font-size: 1rem;
}

.products {
  max-width: 1040px; margin: 38px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px;
}
.product {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(23,44,73,.06), 0 10px 30px rgba(23,44,73,.08);
  display: flex; flex-direction: column;
}
.product .shot { background: var(--cream); }
.product .body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.product .kind { color: var(--gold); margin: 0 0 2px; }
.product h2 { margin: 0; font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.product .facts { margin: 4px 0 12px; color: var(--muted); font-size: 1rem; }
.product .desc { margin: 0 0 18px; }
.product .buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.product .price { font-size: 1.45rem; font-weight: 600; color: var(--navy); }
.product .price small { font-size: .9rem; font-weight: 400; color: var(--muted); }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--navy); color: #fff;
  font-family: inherit; font-weight: 600; font-size: 1.05rem; letter-spacing: .04em;
  padding: 11px 26px; border-radius: 999px; border: 0;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover, .btn:focus-visible { background: #2A4C78; transform: translateY(-1px); outline: none; }
.btn[aria-disabled="true"] {
  background: #C8CFD8; color: #4A5563; pointer-events: none; transform: none;
}

.species { max-width: 52em; margin: 50px auto 0; padding: 0 22px; text-align: center; }
.species h3 { margin: 0 0 8px; color: var(--navy); }
.species p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.how { max-width: 40em; margin: 40px auto 0; padding: 0 22px; text-align: center; }
.how h3 { margin: 0 0 8px; color: var(--navy); }
.how p { margin: 0; }

.shop-footer {
  margin-top: 60px; background: var(--navy-deep); color: var(--soft-white);
  text-align: center; padding: 30px 20px 34px; font-size: .92rem;
}
.shop-footer img { width: 120px; margin: 0 auto 12px; opacity: .95; }
.shop-footer p { margin: 4px 0; opacity: .8; }
.shop-footer a { color: var(--soft-white); }

@media (max-width: 760px) {
  .products { grid-template-columns: 1fr; max-width: 520px; }
  .topbar { font-size: .88rem; padding: 10px 14px; }
  .topbar .home span, .topbar .from { display: none; }
}

/* Edition row */
.editions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 22px auto 0; max-width: 820px; }
.editions .ed {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 999px; font-size: .95rem;
  border: 1px solid rgba(217,226,238,.35); color: var(--soft-white);
}
.editions .ed::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255,255,255,.75); }
.editions .ed.current { background: #fff; color: var(--navy); border-color: #fff; font-weight: 600; }
.editions .ed.soon { opacity: .75; }
.editions .ed em { font-size: .8rem; opacity: .8; }
