/* Sayless — streetwear-born, NYC. Tokens */
:root {
  --ink: #000000;
  --tee: #ffffff;
  --heather: #d6d3cd;
  --heather-deep: #b9b5ad;
  --cobalt: #2340e8;
  --cobalt-deep: #1a2fb0;
  --kraft: #c8a46e;
  --kraft-deep: #a8854f;
  --text: #121212;
  --muted: #4a4843;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--heather);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Wide display type: the house voice */
.wide { font-stretch: 125%; font-weight: 900; letter-spacing: -0.01em; line-height: 0.95; }
h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(42px, 7.2vw, 96px); }
h2 { font-size: clamp(32px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(19px, 1.6vw, 22px); color: var(--muted); }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--tee); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header { background: var(--ink); color: var(--tee); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wordmark {
  font-stretch: 125%; font-weight: 900; font-size: 24px; letter-spacing: 0.02em;
  text-decoration: none; color: var(--tee);
  text-shadow: 2px 2px 0 var(--cobalt);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--tee); color: var(--tee); font: inherit; font-weight: 700; padding: 6px 12px; border-radius: 4px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 800; font-size: 17px; text-decoration: none;
  padding: 14px 22px; border: 2px solid var(--ink); border-radius: 4px;
  background: var(--cobalt); color: var(--tee); border-color: var(--cobalt);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-plain { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-plain:hover { box-shadow: none; transform: none; background: var(--ink); color: var(--tee); }
.nav .btn { padding: 9px 16px; font-size: 15px; box-shadow: 3px 3px 0 var(--tee); }
.nav .btn:hover { box-shadow: 4px 4px 0 var(--tee); text-decoration: none; }
.btn-outline-light { background: transparent; color: var(--tee); border-color: var(--tee); box-shadow: none; }
.btn-outline-light:hover { background: var(--tee); color: var(--ink); box-shadow: none; transform: none; }
.btn-light { background: var(--tee); color: var(--ink); border-color: var(--tee); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 46ch; }

/* The hang tag: the one loud element */
.tag-stage { position: relative; display: flex; justify-content: center; padding-top: 40px; min-height: 460px; }
.swing { position: relative; transform-origin: 50% 0; animation: swing 2.6s cubic-bezier(.36,.07,.19,.97) 0.3s both; }
.tag-pin { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transform: translateX(-50%); }
.tag-string { position: absolute; top: 0; left: 50%; width: 2px; height: 95px; background: var(--ink); transform: translateX(-50%); z-index: 2; }
.hangtag {
  --w: 300px;
  position: relative; width: var(--w); margin-top: 60px;
  background: var(--kraft); color: var(--ink);
  padding: 74px 28px 30px;
  clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
  filter: drop-shadow(6px 8px 0 rgba(0,0,0,.18));
}
.hangtag::before {
  content: ""; position: absolute; top: 22px; left: 50%; width: 26px; height: 26px;
  transform: translateX(-50%); border-radius: 50%;
  background: var(--heather); box-shadow: 0 0 0 5px var(--kraft-deep);
}
.hangtag .tag-name { font-stretch: 125%; font-weight: 900; font-size: 44px; line-height: 1; text-shadow: 3px 3px 0 var(--cobalt); margin-bottom: 14px; }
.hangtag .tag-line { border-top: 2px dashed var(--ink); padding-top: 12px; margin-top: 14px; font-size: 15px; line-height: 1.45; }
.hangtag dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 15px; }
.hangtag dt { font-weight: 800; }
.hangtag dd { margin: 0; }
.hangtag .size { display: inline-flex; gap: 6px; margin-top: 16px; }
.hangtag .size span { border: 2px solid var(--ink); padding: 2px 8px; font-weight: 800; font-size: 14px; }
.hangtag .size span.on { background: var(--ink); color: var(--kraft); }

@keyframes swing {
  0% { transform: rotate(14deg); }
  30% { transform: rotate(-8deg); }
  55% { transform: rotate(4deg); }
  75% { transform: rotate(-2deg); }
  100% { transform: rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .swing { animation: none; transform: rotate(-3deg); }
  .btn, .btn:hover { transition: none; }
}

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.band-ink { background: var(--ink); color: var(--tee); }
.band-ink .lede, .band-ink p { color: #d9d9d9; }
.band-tee { background: var(--tee); }
.band-cobalt { background: var(--cobalt); color: var(--tee); }
.band-cobalt p { color: #e6e9ff; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 820px; }
.section-head h2 { margin-bottom: 18px; }

/* Origin */
.origin .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.origin h2 { text-shadow: 3px 3px 0 var(--cobalt); }

/* Program tags (smaller hang tags) */
.tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.ptag {
  position: relative; background: var(--kraft); color: var(--ink);
  padding: 64px 26px 28px;
  clip-path: polygon(16% 0, 84% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
  display: flex; flex-direction: column; min-height: 100%;
}
.ptag::before {
  content: ""; position: absolute; top: 20px; left: 50%; width: 20px; height: 20px;
  transform: translateX(-50%); border-radius: 50%;
  background: var(--tee); box-shadow: 0 0 0 4px var(--kraft-deep);
}
.band-ink .ptag::before { background: var(--ink); }
.ptag:nth-child(2) { margin-top: 28px; }
.ptag:nth-child(3) { margin-top: 10px; }
.ptag h3 { font-stretch: 125%; font-weight: 900; margin-bottom: 6px; }
.ptag .kind { font-weight: 700; color: var(--cobalt-deep); margin-bottom: 16px; }
.ptag p { font-size: 17px; }
.ptag .specs { margin: auto 0 0; padding: 14px 0 0; border-top: 2px dashed var(--ink); list-style: none; font-size: 15px; }
.ptag .specs li { padding: 3px 0; }
.ptag .specs b { font-weight: 800; }
.ptag a.more { margin-top: 18px; font-weight: 800; }

/* Pipeline */
.flow { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 16px; align-items: center; }
.flow .node { border: 3px solid var(--tee); padding: 22px; border-radius: 6px; }
.flow .node h3 { font-stretch: 125%; font-weight: 900; font-size: 22px; margin-bottom: 8px; }
.flow .node p { font-size: 16px; margin: 0; }
.flow .stack { display: grid; gap: 16px; }
.flow .arrow { font-size: 34px; font-weight: 900; color: var(--kraft); text-align: center; }
.flow .node.out { background: var(--tee); color: var(--ink); border-color: var(--tee); }
.flow .node.out p { color: var(--muted); }

/* Involve grid */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.way { padding: 28px 28px 32px 0; border-bottom: 3px solid var(--ink); }
.way:nth-child(odd) { border-right: 3px solid var(--ink); }
.way:nth-child(even) { padding-left: 28px; }
.way h3 { font-stretch: 125%; font-weight: 900; margin-bottom: 10px; }
.way p { font-size: 17px; margin-bottom: 14px; }
.way a { font-weight: 800; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { margin-bottom: 20px; max-width: 14ch; }

/* Program detail */
.program { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.program + .program { margin-top: clamp(64px, 9vw, 110px); padding-top: clamp(48px, 7vw, 80px); border-top: 3px solid currentColor; }
.program .facts { margin: 22px 0 0; padding: 0; list-style: none; border-top: 2px dashed currentColor; }
.program .facts li { padding: 10px 0; border-bottom: 2px dashed currentColor; font-size: 16px; }
.program .facts b { font-weight: 800; display: inline-block; min-width: 7.5em; }
.program h2 { margin-bottom: 14px; }
.program .kind { font-weight: 700; font-size: 18px; }

table.modules { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; }
table.modules th, table.modules td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 2px solid var(--ink); }
table.modules th { font-weight: 800; font-size: 15px; border-bottom-width: 3px; }
table.modules td:first-child { font-weight: 800; white-space: nowrap; padding-right: 20px; }

.resources { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.resources li { padding: 14px 0; border-bottom: 2px solid rgba(255,255,255,.35); }
.resources b { display: block; font-weight: 800; }

/* Form */
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { font-weight: 700; display: grid; gap: 6px; font-size: 16px; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 17px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 4px; background: var(--tee); color: var(--ink);
}
.form textarea { min-height: 120px; resize: vertical; }
.notice { border: 3px solid var(--ink); background: var(--kraft); padding: 18px 20px; border-radius: 4px; max-width: 640px; font-size: 17px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 56px 0 40px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .wordmark { font-size: 34px; display: inline-block; margin-bottom: 12px; }
.site-footer h4 { color: var(--tee); margin: 0 0 10px; font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.legal { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 22px; margin-top: 12px; color: #9a9a9a; font-size: 14px; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .origin .wrap, .program { grid-template-columns: 1fr; }
  .tag-stage { min-height: 0; padding-bottom: 20px; }
  .tags { grid-template-columns: 1fr; max-width: 520px; }
  .ptag:nth-child(n) { margin-top: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); }
  .resources { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 12px var(--gutter) 24px; gap: 16px; border-top: 1px solid #333; }
  .nav.open { display: flex; }
  .ways { grid-template-columns: 1fr; }
  .way:nth-child(odd) { border-right: 0; }
  .way:nth-child(even) { padding-left: 0; }
  .hangtag { --w: 270px; }
  table.modules td:first-child { white-space: normal; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
