/* ============================================================
   NERDWEAR.NET — MASTER STYLESHEET
   Visual system carried forward from the original Coming Soon site.
   ============================================================ */
:root {
  --bg: #0c0d0f;
  --surface: #15171a;
  --surface-2: #1d2024;
  --text: #f3efe7;
  --muted: #aaa69e;
  --line: #30343a;
  --accent: #d9a441;
  --accent-2: #9e3f2d;
  --accent-soft: #2a2215;
  --paper: #f0ece3;
  --ink: #111317;
  --success: #4aa312;
  --max: 1200px;
  --copy: 760px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 22px 60px rgba(0,0,0,.28);
  --shadow-soft: 0 12px 30px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.copy-width { max-width: var(--copy); }
.muted { color: var(--muted); }
.gold { color: var(--accent); }
.rust { color: var(--accent-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 850;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.045em;
  font-size: 1.45rem;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links > a { text-decoration: none; font-weight: 760; font-size: .92rem; color: var(--muted); }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--text); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; font-weight: 850; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] .mobile-panel { display: grid; }
.mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(310px, calc(100vw - 30px));
  padding: 14px;
  display: none;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.mobile-panel a { text-decoration: none; padding: 11px 12px; border-radius: 10px; color: var(--muted); font-weight: 750; }
.mobile-panel a:hover { background: var(--surface-2); color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 850;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, white); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-primary:hover { background: #e5b65d; }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-rust { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }

/* Hero */
.hero {
  min-height: 710px;
  display: grid;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 58px;
  align-items: center;
  padding: 78px 0 68px;
}
.hero h1, .page-hero h1, .expression-hero h1 {
  margin: 10px 0 22px;
  max-width: 820px;
  font-size: clamp(3.35rem, 7vw, 7rem);
  line-height: .92;
  letter-spacing: -.075em;
}
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--accent); }
.hero-copy > p, .page-hero .lead, .expression-hero .lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.microcopy { margin-top: 14px; color: #777b82; font-size: .84rem; }
.hero-art {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-halo {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%);
  filter: blur(8px);
}
.hero-art img {
  position: relative;
  z-index: 2;
  max-height: 610px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.35));
}
.hero-chip {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 8%;
  max-width: 280px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow);
  font-weight: 900;
  color: var(--accent);
}

/* Generic sections */
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section + .section { border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent); }
.section-head { max-width: 820px; margin-bottom: 42px; }
.section h2, .section-tight h2 {
  margin: 8px 0 14px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.section h3 { line-height: 1.15; }
.section-head p, .copy p { color: var(--muted); font-size: 1.05rem; }
.kicker-line { width: 54px; height: 3px; background: var(--accent); border-radius: 999px; margin: 16px 0 24px; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 18px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: .92rem; }
.trust-item span { color: var(--muted); font-size: .8rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.card-pad { padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.card-link { text-decoration: none; display: block; height: 100%; transition: transform .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-3px); }
.card-link:hover .card { border-color: color-mix(in srgb, var(--accent) 65%, var(--line)); }

.feature-card {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #101113);
  overflow: hidden;
}
.feature-card img { width: 100%; height: 290px; object-fit: contain; padding: 16px; background: #0a0b0d; }
.feature-card .pad { padding: 20px; }
.feature-card h3 { margin: 0 0 6px; font-size: 1.16rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.statement {
  background: var(--paper);
  color: var(--ink);
  border-block: 1px solid #d7d1c6;
}
.statement-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.statement blockquote {
  margin: 0;
  font-weight: 950;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: .95;
  letter-spacing: -.06em;
}
.statement p { color: #4b4b47; font-size: 1.08rem; }
.statement a { color: var(--ink); }

.definition-box {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
}
.definition-word { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -.04em; margin: 0; }
.definition-meta { margin: 12px 0 28px; color: #5c5b56; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.definition-list { margin: 0; padding-left: 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.definition-list li { margin: 12px 0; padding-left: 8px; }
.definition-list strong { color: var(--accent-2); }

.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); min-height: 300px; }
.mosaic figure:nth-child(1), .mosaic figure:nth-child(4) { grid-column: span 7; }
.mosaic figure:nth-child(2), .mosaic figure:nth-child(3) { grid-column: span 5; }
.mosaic figure:nth-child(5), .mosaic figure:nth-child(6) { grid-column: span 6; }
.mosaic img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.mosaic.contain img { object-fit: contain; padding: 14px; background: #0a0b0d; }

.slogan-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.slogan-cloud a, .slogan-cloud span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 11px 15px;
  color: #d8d4cc;
  font-weight: 760;
  text-decoration: none;
}
.slogan-cloud a:hover { border-color: var(--accent); color: var(--text); }

/* Page heroes */
.page-hero { padding: 102px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 52px; align-items: center; }
.page-hero-image { min-height: 470px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.page-hero-image img { width: 100%; height: 470px; object-fit: contain; padding: 18px; }
.breadcrumbs { color: var(--muted); font-size: .82rem; margin-bottom: 22px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }

/* Expression hub */
.expression-group + .expression-group { margin-top: 58px; }
.expression-group h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.expression-card { display: grid; grid-template-rows: 210px auto; }
.expression-card img { width: 100%; height: 210px; object-fit: contain; padding: 12px; background: #0a0b0d; }
.expression-card .formula { color: var(--accent); font-weight: 900; letter-spacing: -.02em; margin-top: 6px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; color: var(--muted); font-size: .75rem; }

/* Expression detail pages */
.expression-hero { padding: 82px 0 66px; border-bottom: 1px solid var(--line); }
.expression-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.expression-symbol {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 6px 14px;
  margin-top: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
}
.product-triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.product-triptych figure { margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #090a0c; min-height: 300px; display: grid; place-items: center; }
.product-triptych img { width: 100%; height: 100%; max-height: 390px; object-fit: contain; padding: 8px; }
.product-triptych figure:first-child { grid-column: span 2; grid-row: span 2; min-height: 500px; }
.product-triptych figure:first-child img { max-height: 520px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 58px; align-items: start; }
.prose { max-width: 790px; }
.prose h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 2.4rem 0 .8rem; letter-spacing: -.035em; line-height: 1; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
.prose p { color: #c8c4bc; font-size: 1.055rem; }
.prose strong { color: var(--text); }
.prose .equation {
  margin: 28px 0;
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  overflow-x: auto;
}
.prose .note {
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: linear-gradient(135deg, var(--surface), #111316);
}
.prose .note strong { color: var(--accent); }
.side-nav { position: sticky; top: 104px; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--surface); }
.side-nav .eyebrow { margin-bottom: 12px; }
.side-nav a { display: block; text-decoration: none; color: var(--muted); padding: 6px 0; font-weight: 700; }
.side-nav a:hover { color: var(--text); }
.side-nav hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.fact { padding: 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact small { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 850; margin-bottom: 6px; }
.fact strong { font-size: .98rem; }

.related-card { min-height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.related-card:hover { border-color: var(--accent); }
.related-card strong { display: block; font-size: 1.06rem; margin-bottom: 6px; }
.related-card span { color: var(--muted); font-size: .9rem; }

/* Hats page */
.style-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.style-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #090a0c; overflow: hidden; }
.style-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px; }
.style-gallery figcaption { padding: 12px 14px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.model-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.model-gallery figure { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.model-gallery img { width: 100%; height: 390px; object-fit: cover; }

/* Story */
.four-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.persona { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 24px; }
.persona .num { color: var(--accent); font-weight: 950; font-size: 2.1rem; }
.persona h3 { margin: 10px 0 8px; }
.persona p { color: var(--muted); margin: 0; font-size: .95rem; }
.story-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.story-split img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; min-height: 430px; object-fit: contain; background: var(--surface); padding: 12px; }
.story-split p { color: var(--muted); font-size: 1.04rem; }

/* What's next */
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.preview-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.preview-grid img { width: 100%; height: 330px; object-fit: contain; background: #0a0b0d; padding: 10px; }
.preview-grid figcaption { padding: 14px 16px; color: var(--muted); font-size: .84rem; }

/* Brevo */
.signup-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.signup-panel-shell { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px; overflow: hidden; }
.sib-form-message-panel { display: none; margin-bottom: 12px; padding: 12px 14px; border-radius: 10px; }
#success-message { color: #baf0cf; background: #123120; }
#error-message { color: #ffc4c4; background: #351818; }
.entry__error { display: block; color: #ffaaaa; font-size: .85rem; }
.entry__specification { display: block; color: var(--muted); font-size: .78rem; margin-top: 8px; }
#sib-container #EMAIL { color: #111111 !important; }

/* Legal/contact */
.legal { max-width: 820px; }
.legal h2 { margin-top: 2.5rem; font-size: 1.7rem; }
.legal p, .legal li { color: #c8c4bc; }
.contact-card { padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--surface), #101113); }
.contact-card h2 { margin-top: 0; }

/* CTA */
.cta-band { border-block: 1px solid var(--line); background: linear-gradient(135deg, #16130d, var(--surface)); }
.cta-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.cta-grid h2 { margin: 0 0 12px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .98; letter-spacing: -.05em; }
.cta-grid p { color: var(--muted); margin: 0; max-width: 700px; }
.cta-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-brand strong { color: var(--text); font-size: 1.1rem; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }

/* 404 */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(5rem, 15vw, 10rem); margin: 0; color: var(--accent); letter-spacing: -.08em; }

@media (max-width: 1060px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .hero-grid, .page-hero-grid, .expression-hero-grid, .statement-grid, .signup-wrap, .story-split, .cta-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-art { min-height: 470px; }
  .article-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .grid-4, .style-gallery, .preview-grid, .four-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .model-gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 26px, var(--max)); }
  .nav { min-height: 64px; }
  .brand { font-size: 1.3rem; }
  .hero-grid { padding-top: 48px; gap: 28px; }
  .hero-art { min-height: 390px; }
  .hero-chip { right: 0; bottom: 2%; }
  .section { padding: 76px 0; }
  .section-tight { padding: 58px 0; }
  .grid-2, .grid-3, .grid-4, .style-gallery, .model-gallery, .preview-grid, .four-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2) { border-right: 0; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic figure { grid-column: auto !important; }
  .product-triptych { grid-template-columns: 1fr 1fr; }
  .product-triptych figure:first-child { grid-column: 1 / -1; min-height: 360px; }
  .product-triptych figure { min-height: 210px; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .model-gallery img { height: 340px; }
}

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

/* Audience / territory strip */
.audience-strip {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 70%, var(--surface));
  padding: 18px 0 20px;
}
.audience-label {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}
.audience-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.audience-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: #d8d4cc;
  background: var(--surface);
  font-size: .78rem;
  font-weight: 760;
}
.audience-list span:nth-child(3n+1) {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.faq h2 { margin-top: 2.1rem; }
.faq h2:first-of-type { margin-top: 0; }
