/* craig-mcintosh.com — shared styles for the home and store pages */
@font-face { font-family: "Syne"; src: url("fonts/syne-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Syne"; src: url("fonts/syne-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-2: #101011;
  --card: #131314;
  --line: #242426;
  --line-2: #323235;
  --ink: #f4f3ef;
  --muted: #9a9993;
  --dim: #6c6b66;
  --accent: #f0a53b;
  --accent-2: #ffcf7a;
  --accent-ink: #1a1206;
  --display: "Syne", "Arial Black", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: min(1320px, calc(100vw - 2 * clamp(16px, 4vw, 64px)));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(240,165,59,.35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: var(--wrap); margin: 0 auto; }
.grad { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- nav ---- */
.nav { position: sticky; top: 14px; z-index: 50; width: calc(var(--wrap) + 32px); margin: 14px auto 0; }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 12px 0 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12,12,13,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.logo { display: flex; align-items: center; gap: 11px; font: 600 15px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font: 800 11px/1 var(--display); letter-spacing: 0; }
.nav-links { display: flex; gap: 30px; margin: 0 auto; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font: 600 14px/1 var(--sans); cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(100deg, var(--accent), #f7b955); color: var(--accent-ink); box-shadow: 0 8px 28px -10px rgba(240,165,59,.55); }
.btn-primary:hover { box-shadow: 0 12px 34px -10px rgba(240,165,59,.75); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.02); color: var(--ink); }
.btn-ghost:hover { border-color: #55555a; background: rgba(255,255,255,.05); }
.btn svg { width: 16px; height: 16px; flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; margin: auto; background: currentColor; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
.mobile-menu { display: none; }

/* ---- shared type ---- */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 500 12px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 14px; height: 1.5px; background: currentColor; }
.display { margin: 0; font: 800 clamp(2.9rem, 6.6vw, 7rem)/.92 var(--display); letter-spacing: -.035em; }
.h2 { margin: 0; font: 800 clamp(2.4rem, 5.6vw, 5.4rem)/.95 var(--display); letter-spacing: -.03em; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.65; }
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }

/* ---- hero ---- */
.hero { padding: clamp(40px, 6vw, 70px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .display span { display: block; }
.hero-grid > * { min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); width: min(460px, 100%); margin-top: clamp(36px, 5vw, 56px); border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.stat { padding: 16px 18px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat small { display: block; margin-bottom: 8px; font: 500 10px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.stat b { font: 800 clamp(1.3rem, 2vw, 1.7rem)/1 var(--display); letter-spacing: -.02em; }
.hero-art { position: relative; width: 100%; max-width: 520px; justify-self: end; }
.hero-visual { position: relative; display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: radial-gradient(60% 60% at 50% 45%, #1b1b1d, #070707 72%); border: 1px solid var(--line); isolation: isolate; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.hero-visual:hover img { transform: scale(1.04) rotate(-2deg); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 110%, rgba(240,165,59,.18), transparent 60%); pointer-events: none; }
.hero-visual .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(10,10,10,.75); border: 1px solid var(--line-2); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hero-visual .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-copy { margin-top: 28px; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ring { position: absolute; border: 1px solid var(--line-2); border-radius: 50%; pointer-events: none; }
.ring.r1 { width: 64px; height: 64px; right: -26px; top: -12px; }
.ring.r2 { width: 40px; height: 40px; left: -20px; bottom: 42%; }
.pillbar { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.pillbar span::before { content: "◆ "; color: var(--accent); }

/* ---- featured list ---- */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row .lead { max-width: 21rem; margin: 0; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px 92px 170px 1fr 48px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.row:hover { background: linear-gradient(90deg, rgba(240,165,59,.05), transparent 70%); padding-left: 10px; }
.row .n { font: 500 13px/1 var(--mono); color: var(--dim); }
.row .thumb { position: relative; width: 92px; aspect-ratio: 3/4; border-radius: 9px; overflow: hidden; border: 1px solid var(--line-2); background: #151516; }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .badge { position: absolute; top: 6px; right: 6px; padding: 3px 6px; border-radius: 6px; background: rgba(10,10,10,.85); border: 1px solid rgba(240,165,59,.5); font: 600 9px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }
.row .kind { font: 500 11px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.row .t { font: 700 clamp(1.1rem, 1.9vw, 1.6rem)/1.2 var(--display); letter-spacing: -.01em; }
.row .t small { display: block; margin-top: 6px; font: 400 .92rem/1.5 var(--sans); letter-spacing: 0; color: var(--muted); }
.row .go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .25s, border-color .25s, transform .25s; }
.row:hover .go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(45deg); }
.go svg { width: 15px; height: 15px; }

/* ---- membership band ---- */
.band { padding: clamp(46px, 6vw, 70px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.band h3 { margin: 12px 0 18px; font: 800 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--display); letter-spacing: -.02em; }
.ticks { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.ticks li::before { content: "✓"; margin-right: 10px; color: var(--accent); }
.band-cta { display: grid; gap: 10px; padding-left: 36px; border-left: 1px solid var(--line-2); }
.band-cta small { font: 500 12px/1.4 var(--mono); color: var(--muted); }
.term { font: 500 12px/1 var(--mono); letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }

/* ---- pillars ---- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.card3 { position: relative; padding: clamp(28px, 3.4vw, 46px); min-height: 330px; }
.card3 + .card3 { border-left: 1px solid var(--line); }
.card3 .ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: rgba(240,165,59,.1); border: 1px solid rgba(240,165,59,.25); color: var(--accent); }
.card3 .ico svg { width: 22px; height: 22px; }
.card3 .big { position: absolute; top: 22px; right: 30px; font: 800 4.6rem/1 var(--display); color: #1d1d1f; letter-spacing: -.04em; }
.card3 h4 { margin: 56px 0 12px; font: 700 1.45rem/1.15 var(--display); letter-spacing: -.01em; }
.card3 p { margin: 0; color: var(--muted); font-size: 15px; }
.card3 ul { margin: 20px 0 0; padding: 0; list-style: none; font: 400 13px/1.9 var(--mono); color: #cfcdc6; }
.card3 li::before { content: "→ "; color: var(--accent); }

/* ---- subscribe ---- */
.subscribe { overflow: hidden; }
.subscribe::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 85% 50%, rgba(240,165,59,.12), transparent 70%), repeating-radial-gradient(circle at 85% 50%, transparent 0 38px, rgba(255,255,255,.025) 39px 40px); pointer-events: none; }
.sub-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; max-width: 520px; }
.sub-form input { flex: 1 1 240px; min-height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: #121213; color: var(--ink); font: 400 15px var(--sans); }
.sub-form input::placeholder { color: var(--dim); }
.sub-note { margin-top: 14px; font: 400 12px/1.5 var(--mono); color: var(--dim); }

/* ---- footer ---- */
.footer { padding: 46px 0 30px; border-top: 1px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.foot-brand { font: 800 17px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); }
.social a:hover { color: var(--ink); border-color: #55555a; }
.social svg { width: 17px; height: 17px; }
.copy { margin: 24px 0 0; text-align: center; font-size: 13px; color: var(--dim); }

/* ---- store page ---- */
.page-hero { padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px); }
.page-hero .lead { max-width: 40rem; margin-top: 26px; }
.status { display: inline-flex; align-items: center; gap: 9px; margin-top: 30px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(240,165,59,.35); background: rgba(240,165,59,.07); font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.offer { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 42px); border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.offer .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 30px; }
.chip { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #d9d7d0; }
.chip.soon { border-color: rgba(240,165,59,.4); color: var(--accent); }
.offer h3 { margin: 0 0 14px; font: 800 clamp(1.7rem, 2.8vw, 2.4rem)/1.02 var(--display); letter-spacing: -.02em; }
.offer p { margin: 0; color: var(--muted); }
.offer ul { flex: 1; margin: 24px 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.offer li { padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 13.5px/1.5 var(--mono); color: #d9d7d0; }
.offer li::before { content: "→ "; color: var(--accent); }
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 0; }
.samples img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kit { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-2); transition: border-color .25s, transform .25s; }
.kit:hover { border-color: #4a4a4e; transform: translateY(-4px); }
.kit img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.kit div { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.kit h4 { margin: 0 0 10px; font: 700 1.3rem/1.15 var(--display); }
.kit p { flex: 1; margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.kit span { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--accent); }

/* ---- responsive ---- */
@media (max-width: 1020px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu[data-open] { display: grid; gap: 4px; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12,12,13,.96); }
  .mobile-menu a { padding: 12px 10px; border-radius: 8px; color: var(--muted); }
  .mobile-menu a:hover { background: #1a1a1b; color: var(--ink); }
  .mobile-menu .btn { margin-top: 6px; color: var(--accent-ink); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .row { grid-template-columns: 40px 72px 1fr 44px; }
  .row .kind { display: none; }
  .row .thumb { width: 72px; }
  .band-grid { grid-template-columns: 1fr; }
  .band-cta { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .cards3, .offers, .kits { grid-template-columns: 1fr; }
  .card3 + .card3 { border-left: 0; border-top: 1px solid var(--line); }
  .head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .display { font-size: 10.6vw; }
  .h2 { font-size: 9.4vw; }
  .nav { top: 8px; margin-top: 8px; width: calc(100vw - 16px); }
  .row { grid-template-columns: 64px 1fr 40px; gap: 16px; }
  .row .n { display: none; }
  .row .thumb { width: 64px; }
  .stat { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
