/* Mostly Whatever — site styles */
:root {
  --navy: #0F2557;
  --sky: #5DB3F5;
  --sky-light: #7CC4F8;
  --blue-text: #2A86D6;
  --ink-soft: #33456F;
  --ink-muted: #5A6B91;
  --tint: #F0F5FB;
  --tint-2: #EAF4FD;
  --white: #FFFFFF;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: clamp(14px, 2vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); padding: 10px 14px; }

/* Type */
.display, .h2, .h3 { font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.display { font-size: clamp(34px, 11vw, 112px); line-height: 0.92; letter-spacing: -0.01em; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1; }
.accent { color: var(--blue-text); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--blue-text); text-transform: uppercase; }
.lede { font-size: 17px; line-height: 1.55; color: var(--ink-soft); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px; padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #1A3675; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Announcement + header */
.announce { display: block; background: var(--navy); color: var(--white); text-align: center; padding: 11px 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-decoration: none; }
.announce:hover { text-decoration: underline; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand img { width: 76px; height: 38px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--blue-text); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { padding: 12px 18px; font-size: 14px; }
@media (max-width: 380px) { .nav .hide-xs { display: none; } }

/* Hero */
.hero { padding-top: clamp(4px, 1vw, 12px); }
.hero-figure { margin: 0 auto; width: 100%; }
.hero-figure img { width: 100%; aspect-ratio: 1122 / 1402; object-fit: cover; border-radius: var(--radius); }
.hero-top { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(24px, 3vw, 36px); text-align: center; }
.hero-title { font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(24px, 6vw, 36px); line-height: 1; }
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 520px; }
.hero .btn-row { justify-content: center; }
@media (min-width: 860px) {
  /* Square crop so the whole gang fits on screen above the fold */
  .hero-figure { max-width: min(100%, max(560px, calc(100vh - 170px))); }
  .hero-figure img { aspect-ratio: 1 / 1; object-position: 50% 40%; }
}
.caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-muted); }

.stripes { display: flex; flex-direction: column; gap: 5px; margin-top: clamp(36px, 5vw, 56px); }
.stripes span { height: 8px; border-radius: 4px; background: var(--navy); }
.stripes span + span { background: var(--sky); }

/* Sections */
.section { padding-block: clamp(40px, 6vw, 80px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head .kicker { margin-bottom: 8px; }
.text-link { font-weight: 700; font-size: 15px; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(calc(50% - 8px), 240px), 1fr)); gap: clamp(24px, 3vw, 36px) clamp(12px, 1.6vw, 20px); }
.product { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.product-img { aspect-ratio: 1 / 1; background: var(--tint); border-radius: 16px; overflow: hidden; margin-bottom: 6px; }
.product-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.product:hover .product-img img { transform: scale(1.04); }
.product-kind { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-muted); text-transform: uppercase; }
.product-name { font-size: 16px; font-weight: 700; }
.product-desc { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.product:hover .product-name { text-decoration: underline; text-underline-offset: 4px; }

/* Collection tiles */
.tiles { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 24px); padding-bottom: clamp(48px, 7vw, 96px); }
.tile { flex: 1 1 320px; position: relative; display: block; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 1122 / 1402; border-radius: var(--radius); }
.tile span { position: absolute; left: 16px; bottom: 16px; background: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.tile:hover span { background: var(--navy); color: var(--white); }

/* Gang band (home) */
.band { background: var(--tint-2); }
.gang-band { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; padding-block: clamp(48px, 7vw, 96px); }
.gang-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.gang-copy .lede { max-width: 440px; }
.gang-mosaic { flex: 1.4 1 420px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); }
.gang-mosaic img { width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; transition: transform .2s ease; }
.gang-mosaic:hover img { transform: translateY(-3px); }

/* CTA + footer */
.cta { background: var(--navy); color: var(--white); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(48px, 7vw, 88px); }
.cta h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: 0.95; }
.cta .accent { color: var(--sky-light); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 32px; font-size: 14px; color: var(--ink-muted); }
.site-footer img { width: 64px; height: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: var(--navy); }

/* Gang page */
.page-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; padding-top: clamp(28px, 5vw, 64px); }
.page-intro .kicker { margin-bottom: 10px; }
.page-intro .lede { flex: 0 1 380px; }
.crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(calc(50% - 8px), 208px), 1fr)); gap: clamp(32px, 4vw, 48px) clamp(14px, 1.6vw, 20px); }
.person { display: flex; flex-direction: column; gap: 8px; }
.person img { width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; margin-bottom: 6px; }
.person h2 { font-size: 19px; line-height: 1.1; }
.mostly { font-size: 16px; font-weight: 700; color: var(--blue-text); }
.person p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.person a { font-size: 13px; font-weight: 700; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.rule { background: var(--white); border-radius: 16px; padding: 24px; }
.rule h3 { font-size: 18px; margin-bottom: 8px; }
.rule p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
