/* ==========================================================================
   Hogwild Handiwork: site design (2026-09 refresh)
   Used by index.html, business.html, hats.html, 404.html.
   (northshore20.html still uses the old css/style.css; leave that file alone.)
   Palette comes from the logo: deep navy, ice blue, and the red flying disc.
   ========================================================================== */

:root {
	--ink: #0b1a2e;          /* near-black navy: text + dark sections */
	--navy: #11305a;         /* logo navy */
	--navy-2: #1b4378;
	--sky: #7fcdf0;          /* logo ice blue */
	--ice: #e3f4fc;
	--disc: #e5392c;         /* the red disc in the logo: primary accent */
	--disc-dark: #c22c20;
	--paper: #f6f2ea;        /* warm workshop paper */
	--paper-2: #ece6d9;
	--card: #fffdf9;
	--wood: #c9a26a;
	--muted: #5d6677;
	--line: rgba(11, 26, 46, .12);
	--line-strong: rgba(11, 26, 46, .22);

	--font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
	--font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

	--radius: 18px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(11, 26, 46, .06), 0 3px 10px rgba(11, 26, 46, .05);
	--shadow: 0 14px 34px -14px rgba(11, 26, 46, .32);
	--shadow-lg: 0 34px 70px -26px rgba(11, 26, 46, .5);
	--wrap: 1200px;
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--disc); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .45em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.1rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--disc); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--disc); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff6a5c, var(--disc) 60%, var(--disc-dark)); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); flex-shrink: 0; }
.dark .eyebrow { color: var(--sky); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.dark .lead { color: #b9c8dd; }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.dark { background: var(--ink); color: #dbe5f2; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.bg-paper-2 { background: var(--paper-2); }

/* ---------- Buttons ---------- */
.btn {
	--bg: var(--disc); --fg: #fff; --bd: var(--bg);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.35em; border-radius: 999px; border: 2px solid var(--bd); background: var(--bg); color: var(--fg);
	font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.btn-primary:hover { --bg: var(--disc-dark); }
.btn-navy { --bg: var(--ink); }
.btn-navy:hover { --bg: var(--navy); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn-ghost:hover { --bd: var(--ink); }
.dark .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.35); }
.dark .btn-ghost:hover { --bd: #fff; }
.btn-sky { --bg: var(--sky); --fg: var(--ink); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.6em; }
.btn-sm { font-size: .9rem; padding: .65em 1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(246, 242, 234, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,26,46,.5); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; position: relative; z-index: 120; }
.brand img { width: 50px; height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.brand-name span { display: block; color: var(--disc); }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(11,26,46,.06); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--disc); }
.nav-links .nav-cta a { background: var(--ink); color: #fff; margin-left: 8px; padding: 10px 18px; }
.nav-links .nav-cta a:hover { background: var(--disc); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; position: relative; z-index: 120; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s, background .2s; }
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; transform: translateX(-50%); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.nav-links {
		position: fixed; inset: 0; z-index: 110; flex-direction: column; align-items: stretch; gap: 4px;
		padding: calc(var(--header-h) + 18px) 20px 32px; background: var(--paper);
		opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto;
	}
	.nav-open .nav-links { opacity: 1; visibility: visible; }
	.nav-links a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; padding: 12px 8px; border-radius: 10px; border-bottom: 1px solid var(--line); }
	.nav-links .nav-cta a { margin: 18px 0 0; text-align: center; font-size: 1.2rem; border: 0; padding: 16px; }
	.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-name { font-size: 1.02rem; } .brand img { width: 42px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero::before { /* topo-map contour lines, a nod to the course */
	content: ""; position: absolute; inset: -10% -20% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; opacity: .5;
	background: repeating-radial-gradient(circle at 60% 40%, transparent 0 26px, rgba(17,48,90,.07) 26px 27px);
	mask-image: radial-gradient(circle at 60% 40%, #000 30%, transparent 70%);
	-webkit-mask-image: radial-gradient(circle at 60% 40%, #000 30%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--disc); position: relative; white-space: nowrap; }
.hero h1 em::after { /* flight path under the word */
	content: ""; position: absolute; left: -2%; right: -4%; bottom: -.08em; height: .28em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 60 2, 120 2, 198 10' fill='none' stroke='%237fcdf0' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	z-index: -1;
}
.hero .lead { margin-bottom: 28px; }
.hero-note { margin-top: 26px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; }
.hero-note img { width: 46px; }
.hero-note b { color: var(--ink); }

.bench { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.shot { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption {
	position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px);
	font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; line-height: 1.35;
	background: rgba(255,253,249,.94); color: var(--ink); padding: 6px 9px; border-radius: 6px; box-shadow: var(--shadow-sm);
}
.bench .s1 { grid-column: 1 / 3; aspect-ratio: 16 / 10; }
.bench .s2 { aspect-ratio: 4 / 5; }
.bench .s3 { aspect-ratio: 4 / 5; }
.bench .badge { position: absolute; right: -18px; top: -26px; width: clamp(96px, 11vw, 132px); filter: drop-shadow(0 12px 18px rgba(11,26,46,.35)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-8px); } }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.bench { max-width: 620px; }
	.bench .badge { right: -6px; }
}

/* "Made for" row */
.made-for { border-block: 1px solid var(--line); background: var(--card); }
.made-for .wrap { display: flex; align-items: center; gap: 10px 38px; flex-wrap: wrap; justify-content: center; padding: 22px 0; }
.made-for .label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.made-for .ev { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--navy); white-space: nowrap; }
.made-for .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); counter-reset: step; }
.step { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.step::before {
	counter-increment: step; content: "0" counter(step);
	display: block; font-family: var(--font-mono); font-weight: 700; font-size: .85rem; letter-spacing: .1em; color: var(--sky); margin-bottom: 18px;
}
.step h3 { font-size: 1.5rem; }
.step p { color: #b9c8dd; margin: 0; }
.step .ico { position: absolute; right: 24px; top: 24px; width: 40px; height: 40px; color: rgba(127,205,240,.5); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Player packs
   ========================================================================== */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 26px); align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pack:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pack .tier { font-family: var(--font-mono); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.pack .tier i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -2px 0 rgba(0,0,0,.2); }
.pack-silver { --c: linear-gradient(135deg, #e7ebf0, #a9b3c0); }
.pack-gold { --c: linear-gradient(135deg, #f7d77e, #c9962c); }
.pack-platinum { --c: linear-gradient(135deg, #f1f4f8, #8fa1b7 60%, #dfe7f1); }
.pack .price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.pack .price small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.pack .price b { font-family: var(--font-display); font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pack .per { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.pack ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.pack li { display: flex; gap: 10px; align-items: flex-start; }
.pack li::before { content: ""; flex-shrink: 0; margin-top: .42em; width: 14px; height: 9px; border-left: 2.5px solid var(--disc); border-bottom: 2.5px solid var(--disc); transform: rotate(-45deg); }
.pack.featured { background: var(--ink); color: #dbe5f2; border-color: var(--ink); transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.pack.featured:hover { transform: translateY(-14px); }
.pack.featured .price b { color: #fff; }
.pack.featured .price small, .pack.featured .per { color: #9fb1c9; }
.pack.featured li::before { border-color: var(--sky); }
.pack .flag { position: absolute; top: -13px; right: 22px; background: var(--disc); color: #fff; font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 880px) { .packs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .pack.featured { transform: none; } .pack.featured:hover { transform: translateY(-5px); } }

/* ==========================================================================
   Products
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.product { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product.is-added { border-color: var(--disc); box-shadow: 0 0 0 2px var(--disc), var(--shadow); }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product h3 { margin-bottom: .35em; }
.product p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .03em; padding: 4px 9px; border-radius: 999px; background: var(--ice); color: var(--navy); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.tiers div { padding: 9px 6px; text-align: center; }
.tiers div + div { border-left: 1px solid var(--line); }
.tiers span { display: block; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
.tiers b { font-family: var(--font-display); font-size: 1.1rem; }
.product-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.price-tag { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); line-height: 1.3; }
.price-tag b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.price-tag.ask b { font-size: 1.05rem; }
.add-btn { --bg: var(--ink); white-space: nowrap; }
.price-tag b { white-space: nowrap; }
.add-btn .check { display: none; }
.is-added .add-btn, .pack.featured .add-btn, .dark .add-btn { --bg: var(--disc); }
.dark .is-added .add-btn, .dark .add-btn[aria-pressed="true"] { --bg: var(--sky); --fg: var(--ink); }
.pack.featured.is-added .add-btn { --bg: var(--sky); --fg: var(--ink); }
.is-added .add-btn .check { display: inline; }
.is-added .add-btn .plus { display: none; }

/* carousel */
.carousel { position: relative; aspect-ratio: 4 / 3.4; background: var(--paper-2); overflow: hidden; }
.carousel-track { display: flex; height: 100%; transition: transform .55s var(--ease); }
.carousel-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,253,249,.92); color: var(--ink); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s; box-shadow: var(--shadow-sm); }
.carousel-nav svg { width: 18px; height: 18px; }
.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }
.carousel:hover .carousel-nav, .carousel:focus-within .carousel-nav { opacity: 1; }
@media (hover: none) { .carousel-nav { opacity: 1; } }
.carousel-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.carousel-dots button { width: 7px; height: 7px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.6); cursor: pointer; transition: width .25s, background .25s; }
.carousel-dots button.active { width: 20px; background: #fff; }
.carousel-count { position: absolute; top: 10px; right: 10px; font-family: var(--font-mono); font-size: .68rem; background: rgba(11,26,46,.7); color: #fff; padding: 3px 8px; border-radius: 99px; }
.no-photo { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--navy); background:
	repeating-linear-gradient(-45deg, transparent 0 14px, rgba(17,48,90,.04) 14px 15px), linear-gradient(160deg, var(--ice), #cfe9f6); }
.no-photo svg { width: 64px; height: 64px; opacity: .75; }
.no-photo span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-2); }
.has-photos .no-photo { display: none; }

/* ==========================================================================
   Hats
   ========================================================================== */
.hat-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.hat-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.hat-copy .tiers { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); margin: 20px 0 24px; }
.hat-copy .tiers div + div { border-color: rgba(255,255,255,.14); }
.hat-copy .tiers span { color: #9fb1c9; }
.hat-copy .tiers b { color: #fff; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); margin-bottom: 18px; }
.seg button { border: 0; background: none; color: #b9c8dd; font-weight: 700; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--sky); color: var(--ink); }
.light .seg { background: var(--card); border-color: var(--line); }
.light .seg button { color: var(--muted); }
.light .seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.panel-desc { font-size: .95rem; color: #9fb1c9; margin-bottom: 18px; }
.light .panel-desc { color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.swatch { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.swatch i { display: block; aspect-ratio: 1.6; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatch b { font-size: .86rem; font-weight: 600; color: #fff; line-height: 1.2; }
.swatch small { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .04em; color: var(--sky); }
.swatch.out { opacity: .5; }
.swatch.out small { color: #ff9a90; }
.realtree { background:
	radial-gradient(ellipse 13px 9px at 22% 32%, #2d3a1a 0%, transparent 70%),
	radial-gradient(ellipse 9px 14px at 62% 18%, #1e2810 0%, transparent 70%),
	radial-gradient(ellipse 11px 7px at 78% 62%, #3a4620 0%, transparent 70%),
	radial-gradient(ellipse 15px 10px at 36% 72%, #2d3a1a 0%, transparent 70%),
	radial-gradient(ellipse 7px 11px at 52% 52%, #1e2810 0%, transparent 65%),
	linear-gradient(135deg, #7a6a45 0%, #5e5234 50%, #1c1c1c 50%) !important; }
.patch-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: clamp(48px, 6vw, 70px) 0 22px; }
.patch-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.patch-head p { color: #9fb1c9; margin: 6px 0 0; max-width: 60ch; }
.light .patch-head p { color: var(--muted); }
.patches { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.patch { margin: 0; cursor: zoom-in; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; text-align: left; padding: 0; font: inherit; color: inherit; }
.patch:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.patch img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--paper-2); }
.patch span { display: block; padding: 8px 10px; font-size: .8rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.patch small { display: block; font-family: var(--font-mono); font-size: .62rem; color: var(--disc); margin-top: 2px; }
.patch.out { opacity: .55; }
.hat-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.hat-photos .patch img { object-fit: contain; background: #fff; padding: 8px; }
@media (max-width: 900px) { .hat-layout { grid-template-columns: 1fr; } .hat-copy { position: static; } }

/* ==========================================================================
   Why + community
   ========================================================================== */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.why-item { padding: 26px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.why-item svg { width: 34px; height: 34px; color: var(--disc); margin-bottom: 14px; }
.why-item h3 { font-size: 1.2rem; }
.why-item p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 980px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

.community { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.community-card { position: relative; border-radius: 22px; overflow: hidden; background: #2b2d31; box-shadow: var(--shadow-lg); max-width: 380px; justify-self: center; width: 100%; }
.community-card iframe { display: block; width: 100%; height: 420px; border: 0; }
.discord-mark { width: 1.25em; height: 1.25em; }
@media (max-width: 860px) { .community { grid-template-columns: 1fr; } }

/* ==========================================================================
   Order form
   ========================================================================== */
.order { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.order-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.order-aside ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.order-aside li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.order-aside li svg { width: 22px; height: 22px; color: var(--disc); flex-shrink: 0; margin-top: 2px; }
.order-aside li b { color: var(--ink); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 14px; padding: 0; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field input, .field textarea {
	font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); background: #fff; box-shadow: 0 0 0 4px rgba(127,205,240,.35); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .18s; user-select: none; }
.chip span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: all .18s; flex-shrink: 0; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:checked + span::before { background: var(--disc); border-color: var(--disc); box-shadow: inset 0 0 0 2.5px var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.submit-row p { margin: 0; color: var(--muted); font-size: .9rem; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.success { display: block; background: #e5f6ea; color: #17613a; border: 1px solid #b6e2c3; }
.form-status.error { display: block; background: #fdecea; color: #a1261c; border: 1px solid #f5c2bc; }
@media (max-width: 900px) { .order { grid-template-columns: 1fr; } .order-aside { position: static; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* Floating order pill */
.order-pill {
	position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
	background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px;
	box-shadow: var(--shadow-lg); transform: translateY(120px); transition: transform .4s var(--ease), background .2s;
}
.order-pill.show { transform: none; }
.order-pill:hover { background: var(--disc); color: #fff; }
.order-pill .count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; background: var(--disc); display: grid; place-items: center; font-family: var(--font-mono); font-size: .82rem; }
.order-pill:hover .count { background: var(--ink); }

/* ==========================================================================
   Page intro (hats / business)
   ========================================================================== */
.page-intro { padding: clamp(46px, 7vw, 90px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.page-intro .lead { margin-bottom: 26px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #9fb1c9; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand img { width: 110px; margin-bottom: 14px; }
.foot-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dbe5f2; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Lightbox + motion
   ========================================================================== */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 16, 30, .88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-family: var(--font-mono); font-size: .82rem; }
.lightbox .lb-close { position: absolute; top: -16px; right: -16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--disc); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
@media (max-width: 700px) { .lightbox .lb-close { right: 6px; top: -52px; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
