/* FISH₂O Apparel Co. — shared styles (drop-list phase) */

:root {
  --navy-deep: #0a1e2f;
  --navy: #14324a;
  --navy-mid: #1c4560;
  --teal: #2f9e97;
  --teal-light: #8fd0c9;
  --teal-sub: #79c8c0;
  --orange: #e8632c;
  --orange-hi: #ff7c46;
  --orange-text: #ff8f5e;          /* orange lifted for small text on navy (≥4.5:1) */
  --sand: #ece3d1;
  --cream: #f8f4ea;
  --cream-80: rgba(248,244,234,0.8);
  --cream-70: rgba(248,244,234,0.72);
  --line: rgba(143,208,201,0.2);
  --line-strong: rgba(143,208,201,0.36);
  --gutter: clamp(1.2rem, 5vw, 4rem);
  --nav-h: 5.25rem;
  --ease-out: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy-deep);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  line-height: 1.5;
}
a { color: inherit; text-underline-offset: 0.28em; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; height: auto; }
sub { line-height: 0; }
::selection { background: var(--teal); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
input, button, textarea, select { font: inherit; color: inherit; }
html { scrollbar-color: var(--navy-mid) var(--navy-deep); }

.sr-only {
  position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cream); color: var(--navy-deep); padding: 0.8rem 1.1rem; border-radius: 2px;
  font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 1rem; }

/* ── Mono is for measurement only: coordinates, specs, dates ── */
.spec {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-light);
}
.drop-date {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-text);
}

/* ── NAV ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-block-size: var(--nav-h);
  padding: 0.6rem clamp(1rem, 4vw, 3.4rem);
  background: rgba(10,30,47,0.78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(143,208,201,0.15);
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; min-block-size: 44px; }
.brand-mark { block-size: 52px; inline-size: auto; }
.brand-lockup { display: flex; flex-direction: column; align-items: stretch; gap: 0.16rem; line-height: 1; }
.brand-word {
  font-family: 'Oswald', sans-serif; font-weight: 700; letter-spacing: 0.06em;
  color: var(--cream); font-size: 1.42rem;
}
.brand-word sub, .footer-mark sub { color: var(--teal-sub); font-size: 0.72em; font-weight: 700; vertical-align: -0.2em; }
.brand-sub, .footer-sub {
  display: flex; justify-content: space-between;
  font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; color: var(--orange);
}
.brand-sub { font-size: 0.66rem; }
.brand-sub i, .footer-sub i { font-style: normal; }
.brand-sub i.gap, .footer-sub i.gap { inline-size: 0.35em; }

.nav-links { display: flex; align-items: center; gap: clamp(0.4rem, 2.2vw, 1.6rem); }
.nav-links a {
  display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 0.5rem;
  font-family: 'Oswald', sans-serif; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream-80); text-decoration: none; transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-light); }
.nav-links a.nav-drop {
  color: var(--navy-deep); background: var(--orange); border-radius: 2px; padding-inline: 1rem; font-weight: 600;
  transition: background 0.2s ease;
}
.nav-links a.nav-drop:hover { background: var(--orange-hi); color: var(--navy-deep); }
.nav-tag { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.05em; color: var(--teal-light); white-space: nowrap; }
@media (min-width: 1000px) {
  .nav-links { position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-links a.nav-drop { margin-inline-start: 0.6rem; }
}
@media (max-width: 1560px) { .nav-tag { display: none; } }
@media (max-width: 999px) { .nav-links a.nav-drop { order: 9; } }
@media (max-width: 560px) {
  :root { --nav-h: 4.25rem; }
  .brand { gap: 0.5rem; }
  .brand-mark { block-size: 40px; }
  .brand-word { font-size: 1.12rem; }
  .brand-sub { font-size: 0.52rem; }
  .nav-links { gap: 0.1rem; }
  .nav-links a { font-size: 0.82rem; letter-spacing: 0.06em; padding-inline: 0.45rem; }
  .nav-links a.nav-drop { padding-inline: 0.75rem; margin-inline-start: 0.3rem; }
}
@media (max-width: 359px) { .brand-lockup { display: none; } }

/* ── BUTTONS ── */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-block-size: 48px;
  font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.95rem;
  background: var(--orange); color: var(--navy-deep);
  padding: 0.85rem 1.7rem; border: 0; border-radius: 2px; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(0,0,0,0.6);
  transition: transform 0.25s var(--ease-out), background 0.25s ease, box-shadow 0.25s ease;
}
.cta:hover { background: var(--orange-hi); transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(0,0,0,0.65); }
.cta:active { transform: translateY(0); }
.text-link {
  display: inline-flex; align-items: center; min-block-size: 44px;
  font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.92rem; color: var(--teal-light); text-decoration: underline; text-decoration-color: rgba(143,208,201,0.45);
}
.text-link:hover { color: var(--cream); }

/* ── HEADINGS ── */
.display {
  font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em;
  color: var(--cream); line-height: 0.96; text-wrap: balance;
}
.display .accent { color: var(--teal-light); }
.display .dot, .dots { color: var(--orange); }
.lede { font-size: 1.06rem; line-height: 1.65; color: var(--cream-80); max-width: 36rem; text-wrap: pretty; }

/* ── FOOTER ── */
.site-footer {
  position: relative; background: var(--navy); color: var(--cream);
  padding: 5rem var(--gutter) 2.6rem; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background: url("../img/contours-footer.svg") center / cover no-repeat;
}
.footer-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; text-align: center; }
.footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 0.57em;
  font-size: clamp(2.4rem, 7vw, 4.5rem); text-decoration: none;
}
.footer-brand img { block-size: 2.26em; inline-size: auto; }
.footer-lockup { display: inline-flex; flex-direction: column; align-items: stretch; }
.footer-mark { font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.footer-mark sub { font-size: 0.55em; }
.footer-sub { font-size: 0.78rem; margin-top: 0.4rem; }
.footer-tag {
  font-family: 'Oswald', sans-serif; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-sub); margin-top: 1rem; font-size: 0.95rem;
}
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.2rem 1.4rem;
  margin-top: 2.4rem;
}
.footer-row a {
  display: inline-flex; align-items: center; min-block-size: 44px;
  font-family: 'Oswald', sans-serif; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-light); text-decoration: none;
}
.footer-row a:hover { color: var(--cream); text-decoration: underline; }
.footer-small {
  margin-top: 0.6rem; font-size: 0.82rem; color: rgba(248,244,234,0.68); letter-spacing: 0.02em;
}

/* ── DROP-LIST FORMS ── */
.notify { max-width: 36rem; }
.notify[aria-busy="true"] { cursor: progress; }
.notify-label, .vote legend {
  display: block; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); margin-block-end: 0.8rem;
}
.notify-label .step, .vote legend .step { color: var(--orange-text); margin-inline-end: 0.45rem; }
.notify-pick { font-size: 0.95rem; color: var(--cream-70); margin-block-end: 1.1rem; min-block-size: 1.5em; }
.notify-pick b { color: var(--cream); font-weight: 600; }
.notify-pick b.missing { color: var(--orange-text); font-weight: 500; }
.notify-row { display: flex; gap: 0.6rem; }
.notify-row input {
  flex: 1 1 auto; min-inline-size: 0; min-block-size: 48px;
  background: rgba(10,30,47,0.6); color: var(--cream); caret-color: var(--orange);
  border: 1px solid var(--line-strong); border-radius: 2px;
  padding: 0.85rem 1rem; font-size: 1rem; /* 16px floor stops iOS focus-zoom */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.notify-row input::placeholder { color: rgba(248,244,234,0.55); }
.notify-row input:hover { border-color: rgba(143,208,201,0.6); }
.notify-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,158,151,0.3); }
.notify-row input[aria-invalid="true"] { border-color: var(--orange); }
.notify .cta { white-space: nowrap; flex: 0 0 auto; }
.notify .cta[disabled] { opacity: 0.75; cursor: progress; transform: none; }
.notify-msg { min-block-size: 1.45em; margin-block-start: 0.75rem; font-size: 0.95rem; line-height: 1.45; color: var(--teal-light); }
.notify-msg.err { color: var(--orange-text); }
.notify-fine { font-size: 0.9rem; line-height: 1.55; color: var(--cream-70); }
.notify-fine a { color: var(--teal-light); }
.notify-note {
  font-size: 0.92rem; line-height: 1.5; color: var(--teal-light);
  border: 1px solid var(--line); border-radius: 2px; padding: 0.75rem 0.95rem; margin-block-end: 1.2rem;
}
.hp { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 520px) {
  .notify-row { flex-direction: column; }
}

.notify-done { max-width: 36rem; }
.notify-done h3 {
  font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; color: var(--cream);
  font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1; letter-spacing: 0.01em;
}
.notify-done h3:focus { outline: none; }
.notify-done p { margin-block-start: 0.9rem; font-size: 1.02rem; line-height: 1.6; color: var(--cream-80); }
.notify-done p b { color: var(--cream); font-weight: 600; }
.notify-again {
  display: inline-flex; align-items: center; min-block-size: 44px; margin-block-start: 0.6rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.9rem; color: var(--teal-light); text-decoration: underline; text-underline-offset: 0.3em;
  text-decoration-color: rgba(143,208,201,0.45);
}
.notify-again:hover { color: var(--cream); }

/* Colorway + size vote controls (radio-based) */
.vote { border: 0; margin: 0 0 1.7rem; padding: 0; min-inline-size: 0; }
.vote legend { padding: 0; }
.vote-swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.9rem 0.4rem; }
@media (max-width: 420px) { .vote-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vote-swatch, .vote-size { position: relative; cursor: pointer; }
.vote-swatch input, .vote-size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vote-swatch { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; min-block-size: 44px; }
.vote-dot {
  inline-size: 2.9rem; block-size: 2.9rem; border-radius: 50%; background: var(--c);
  border: 1px solid var(--line-strong);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.vote-name { font-size: 0.86rem; color: var(--cream-70); letter-spacing: 0.02em; }
.vote-swatch:hover .vote-dot { transform: translateY(-2px); }
.vote-swatch input:checked + .vote-dot { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--teal); }
.vote-swatch input:checked ~ .vote-name { color: var(--cream); font-weight: 600; }
.vote-swatch input:focus-visible + .vote-dot { outline: 2px solid var(--orange); outline-offset: 6px; }
.vote-sizes { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.vote-size span {
  display: inline-flex; align-items: center; justify-content: center;
  min-inline-size: 3.6rem; min-block-size: 46px; padding: 0 0.9rem;
  font-family: 'Oswald', sans-serif; letter-spacing: 0.06em; font-size: 0.95rem;
  color: var(--teal-light); border: 1px solid var(--line-strong); border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.vote-size:hover span { border-color: var(--teal); }
.vote-size input:checked + span { background: var(--teal); color: var(--navy-deep); border-color: var(--teal); }
.vote-size input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ── SIMPLE PAGES (joined, privacy, contact, 404) ── */
.page {
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) var(--gutter) clamp(4rem, 9vw, 7rem);
  background: radial-gradient(120% 90% at 20% 0%, #123049 0%, var(--navy-deep) 60%, #071523 100%);
  min-block-size: 70vh;
}
.page-inner { max-width: 44rem; margin: 0 auto; }
.page h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page .lede { margin-top: 1.4rem; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.2rem; }
.prose { margin-top: 2.4rem; }
.prose h2 {
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 1.2rem; color: var(--cream); margin: 2.4rem 0 0.7rem;
}
.prose p, .prose li { font-size: 1.02rem; line-height: 1.7; color: var(--cream-80); max-width: 68ch; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.prose a { color: var(--teal-light); }

.form-field { margin-block-end: 1.3rem; }
.form-field label { display: block; font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.92rem; margin-block-end: 0.5rem; }
.form-field input, .form-field textarea {
  inline-size: 100%; min-block-size: 48px; background: rgba(10,30,47,0.6); color: var(--cream); caret-color: var(--orange);
  border: 1px solid var(--line-strong); border-radius: 2px; padding: 0.85rem 1rem; font-size: 1rem;
}
.form-field textarea { min-block-size: 9rem; resize: vertical; line-height: 1.55; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,158,151,0.3); }
.form-field [aria-invalid="true"] { border-color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
