/* 54colleges — gallerëtte visual system.
   super minimal · dark ink ground · warm-cream ink · IBM Plex Mono · no rules, spacing + elevation instead */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&display=swap');

:root {
  --ivory: #14110d;        /* page background (was light ivory, now dark ink) */
  --paper: #1e1912;        /* panel / card background, one step lighter than page */
  --cocoa: #c9bda9;        /* filled-button / active-chip accent (warm, light) */
  --on-accent: #14110d;    /* text placed on top of the --cocoa accent fill */
  --ink: #f4ede1;          /* primary text — warm cream */
  --muted: rgba(244,237,225,.62);
  --line: rgba(244,237,225,.14);
  --line-strong: rgba(244,237,225,.34);
  --hover: rgba(244,237,225,.07);
  --ground: #2a2419;       /* product-mockup neutral backdrop */
  --accent: #c9bda9;
  --amber: #d9a840;
  --green: #4caf6b;
  --red: #e0685f;
  --shadow-sm: 0 6px 18px rgba(0,0,0,.28);
  --shadow-md: 0 14px 34px rgba(0,0,0,.34);
  --shadow-lg: 0 22px 54px rgba(0,0,0,.42);
  --maxw: 1180px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 14px;
  line-height: 1.32;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-transform: lowercase;
}
body.school-flip-body { transition: background .28s ease; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.lower { text-transform: lowercase; }
.muted { color: var(--muted); }
/* .rule / .rule-strong: kept only as spacers now — no visible line. */
.rule, .rule-strong { border: 0; height: 0; margin: 0; }

/* ---- navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
  min-height: 58px;
}
.wordmark { display: inline-flex; align-items: center; justify-content: center; }
.logomark { width: 15px; height: 15px; display: block; }
.star { color: #c8a24a; font-size: 11px; line-height: 1; }
.cart-count { font-variant-numeric: tabular-nums; }

/* single-line icon that toggles into a compact menu */
.nav-toggle {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: -10px -10px -10px 0;
  border: 0; background: transparent; border-radius: var(--radius); color: var(--ink);
}
.nav-toggle-icon { display: block; width: 20px; height: 1.5px; background: currentColor; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { display: none; }
.nav-toggle::after { content: ""; font-size: 19px; line-height: 1; }
.nav-toggle[aria-expanded="true"]::after { content: "←"; }

.nav-menu {
  display: none; flex-direction: column; gap: 22px;
  position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; z-index: 60;
  background: var(--paper); border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 20px 26px;
  font-size: 13px; text-transform: lowercase; letter-spacing: .3px;
}
.nav-menu[hidden] { display: none; }
.nav-menu:not([hidden]) { display: flex; }
.nav-menu a { padding: 2px; border: 0; }
.nav-menu a.active { color: var(--cocoa); }
.nav-menu-search { display: flex; align-items: center; gap: 8px; border: 0; border-radius: var(--radius); padding: 10px 12px; background: var(--ivory); box-shadow: var(--shadow-sm); }
.nav-menu-search input { border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 13px; width: 100%; color: var(--ink); }
.nav-menu-search input::placeholder { color: var(--muted); }
.nav-menu .cart-link { padding: 2px; border: 0; }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; }
.hero h1 { font-size: clamp(30px, 6vw, 58px); font-weight: 500; letter-spacing: -1px; margin: 0 0 26px; text-transform: lowercase; }
.searchbig { display: flex; border: 0; border-radius: var(--radius); overflow: hidden; max-width: 620px; box-shadow: var(--shadow-md); }
.searchbig input { flex: 1; border: 0; outline: 0; padding: 16px 18px; font-family: inherit; font-size: 15px; background: var(--paper); color: var(--ink); }
.searchbig input::placeholder { color: var(--muted); }
.searchbig button { border: 0; border-left: 1px solid var(--line-strong); background: transparent; color: var(--ink); padding: 0 22px; text-transform: lowercase; letter-spacing: 1px; }
.search-results { max-width: 620px; margin-top: 10px; border: 0; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-md); display: none; overflow: hidden; }
.search-results.open { display: block; }
.search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 0; }
.search-results a:hover { background: var(--hover); text-decoration: none; }
.search-results .sr-meta { color: var(--muted); font-size: 12px; }
.search-empty { padding: 12px 14px; color: var(--muted); }

/* ---- section headers ---- */
.section { padding: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 15px; font-weight: 600; text-transform: lowercase; letter-spacing: .5px; margin: 0; }
.section-head a { font-size: 12.5px; text-transform: lowercase; color: var(--muted); }

/* ---- grids ---- */
.grid { display: grid; gap: 16px; background: none; border: 0; }
.grid-schools { grid-template-columns: repeat(4, 1fr); }
.grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 52px); }
.grid-countries { grid-template-columns: repeat(3, 1fr); }
.tile { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.tile:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.tile .flag { font-size: 12px; color: var(--muted); text-transform: lowercase; letter-spacing: .5px; }
.tile .t-name { font-weight: 500; line-height: 1.35; }
.tile .t-sub { font-size: 12px; color: var(--muted); }
.tile .t-count { font-size: 12px; color: var(--muted); margin-top: auto; }
.swatch { width: 100%; height: 4px; border-radius: 2px; }

/* product tile */
.pcard { background: transparent; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; overflow: visible; padding: clamp(18px, 2.5vw, 36px); }
.pcard { position: relative; }
.pcard:hover { box-shadow: none; text-decoration: none; }
.pcard .mock { aspect-ratio: 4/5; background: transparent; position: relative; }
.pcard .pinfo { padding: 18px 2px 2px; display: flex; flex-direction: column; gap: 6px; }
.pcard .pn { font-size: 13px; text-transform: lowercase; }
.pcard .pp { font-variant-numeric: tabular-nums; }
.school-buy-card { gap: 14px; }
.school-buy-card .pinfo { padding: 0; }
.school-buy-card .opt.compact { margin: 0; }
.school-buy-card .opt.compact label { font-size: 10.5px; margin-bottom: 7px; }
.school-buy-card .opt.compact .chip { padding: 7px 10px; font-size: 11px; }
.school-card-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.qty-stepper { display: flex; align-items: stretch; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; width: 100%; max-width: 220px; }
.qty-btn { flex: 0 0 44px; border: 0; background: transparent; color: var(--ink); font-size: 18px; line-height: 1; }
.qty-btn:hover { background: var(--hover); }
.qty-input { flex: 1 1 auto; min-width: 0; border: 0; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); background: transparent; color: var(--ink); text-align: center; font: inherit; font-size: 14px; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.detail-note { display: block; font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.detail-note:hover { color: var(--ink); }
.share-icon { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); font-size: 18px; line-height: 1; opacity: .72; }
.share-icon:hover { opacity: 1; }
.hover-cart { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) translateY(10px); opacity: 0; pointer-events: none; z-index: 3; background: rgba(20,17,13,.88); color: var(--paper); border-radius: 999px; padding: 12px 18px; box-shadow: var(--shadow-lg); font-size: 12px; letter-spacing: .05em; transition: opacity .16s ease, transform .16s ease; }
.pcard:hover .hover-cart { opacity: 1; transform: translate(-50%,-50%) translateY(0); }

/* ---- chips / status ---- */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; text-transform: lowercase; letter-spacing: .5px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--muted); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status.green .dot { background: var(--green); }
.status.yellow .dot { background: #f1c84b; }
.status.amber .dot { background: var(--amber); }
.status.red .dot { background: var(--red); }

/* ---- filters / a-z ---- */
.az { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.az a { border: 0; border-radius: var(--radius); padding: 5px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; background: var(--paper); box-shadow: var(--shadow-sm); }
.az a:hover, .az a.active { background: transparent; color: var(--ink); text-decoration: none; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.filters input { border: 0; border-radius: var(--radius); padding: 9px 12px; font-family: inherit; font-size: 13px; background: var(--paper); box-shadow: var(--shadow-sm); min-width: 220px; }

/* ---- school page ---- */
.school-page { position: relative; min-height: 100vh; padding: clamp(24px, 4vw, 52px); }
.home-arrow { position: absolute; top: clamp(16px, 3vw, 30px); left: clamp(16px, 3vw, 30px); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); opacity: .72; font-size: 18px; }
.home-arrow:hover { opacity: 1; text-decoration: none; }
.page-share { position: absolute; top: clamp(16px, 3vw, 30px); right: clamp(16px, 3vw, 30px); }
.school-page-top { text-align: center; }
.school-plaque { display: block; margin: 0 auto 28px; width: min(18vw, 96px); height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.32)); }
.school-page-top h1 { margin: 0; font-size: clamp(14px, 1.6vw, 20px); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; }
.school-page-top p { margin: 8px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.school-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); align-items: start; margin-top: clamp(24px, 4vh, 48px); max-width: 1100px; margin-left: auto; margin-right: auto; }
.school-two-col:has(> :only-child) { grid-template-columns: minmax(0, 640px); justify-content: center; }
.school-two-col .school-buy-card { padding: 0; }
.school-two-col .mock { aspect-ratio: 4 / 5; filter: drop-shadow(0 14px 28px rgba(0,0,0,.28)); cursor: zoom-in; overflow: visible; }
.school-two-col .mock .share-icon { top: 16%; right: 12%; z-index: 2; }
.school-two-col .mock svg { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; transform-origin: center; }
.school-two-col .mock:hover svg { transform: scale(1.6); }
.school-two-col .pinfo { text-align: center; align-items: center; padding-top: 8px; }
.school-two-col .opt.compact { display: grid; place-items: center; }
.school-two-col .opt-row { justify-content: center; flex-wrap: wrap; }
@media (max-width: 720px) { .school-two-col { grid-template-columns: 1fr; } }
.school-two-col .size-group[hidden] { display: none; }
.fit-option .chip.fit { text-transform: capitalize; }
.chip.color, .school-buy-card .opt.compact .chip.color, .chip.color[aria-pressed="true"] {
  box-sizing: border-box; padding: 0; margin: 0; border: 0; background: none;
  border-radius: 50%; width: 34px; height: 34px; min-width: 34px; flex: 0 0 34px;
  line-height: 0; display: block; box-shadow: none;
}
.chip.color .sw { box-sizing: border-box; width: 100%; height: 100%; border-radius: 50%; display: block; box-shadow: none; border: 2px solid transparent; }
.chip.color[aria-pressed="true"] .sw { border-color: var(--ink); }
.school-head { padding: 34px 0 18px; display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; justify-items: center; text-align: center; }
.crest-mark { width: min(230px, 42vw); height: auto; min-height: 120px; border: 0; border-radius: 0; background: transparent; box-shadow: none; display: grid; place-items: center; }
.school-head h1 { font-size: clamp(21px, 3.4vw, 31px); font-weight: 400; margin: 0 0 6px; letter-spacing: -.04em; line-height: 1.02; }
.school-head .loc { color: var(--muted); margin-bottom: 12px; }
.meta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.meta-row b { color: var(--ink); font-weight: 500; }
.book-controls { display: grid; grid-template-columns: minmax(120px,1fr) minmax(120px,1fr); gap: 12px; align-items: center; margin-top: 18px; }
.book-arrow,
.book-chapters a { background: transparent; box-shadow: none; border-radius: 0; padding: 0; font-size: 11px; color: rgba(244,237,225,.62); }
.book-arrow:hover,
.book-chapters a:hover,
.book-chapters a.active { color: var(--ink); background: transparent; text-decoration: none; }
.book-arrow:last-child { text-align: right; }
.book-chapters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 560px; }
.profit-note { margin: 6px 0 0; border-radius: 0; background: transparent; box-shadow: none; padding: 13px 0; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); font-size: 12px; }
.profit-note a { color: var(--muted); }

/* ---- product page ---- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 34px 0; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery .main { aspect-ratio: 4/5; background: transparent; border: 0; border-radius: var(--radius); box-shadow: none; overflow: hidden; }
.thumbs { display: flex; gap: 12px; }
.thumbs button { width: 74px; height: 92px; background: transparent; border: 1px solid rgba(244,237,225,.18); border-radius: var(--radius); box-shadow: none; padding: 0; overflow: hidden; opacity: .72; }
.thumbs button.active { opacity: 1; box-shadow: none; border-color: rgba(244,237,225,.46); }
.buybox h1 { font-size: 24px; font-weight: 500; margin: 0 0 4px; text-transform: lowercase; }
.buybox .price { font-size: 20px; font-variant-numeric: tabular-nums; margin: 12px 0; }
.opt { margin: 16px 0; }
.opt label { display: block; font-size: 12px; text-transform: lowercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 8px; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { border: 1px solid rgba(244,237,225,.2); border-radius: var(--radius); padding: 9px 13px; background: rgba(244,237,225,.08); color: rgba(244,237,225,.9); box-shadow: none; text-transform: lowercase; font-size: 13px; }
.chip[aria-pressed="true"] { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.grad-year { width: min(180px, 100%); border: 1px solid rgba(244,237,225,.24); border-radius: var(--radius); background: rgba(244,237,225,.1); color: var(--ink); padding: 12px 14px; font: inherit; font-size: 14px; letter-spacing: 1px; box-shadow: none; }
.grad-year::placeholder { color: rgba(244,237,225,.42); }
.grad-year:focus { outline: 0; border-color: rgba(244,237,225,.54); background: rgba(244,237,225,.14); }
.school-buy-card .grad-year { width: 124px; padding: 9px 11px; font-size: 12px; }
.addcart { width: 100%; margin-top: 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 15px; border-radius: var(--radius); box-shadow: none; text-transform: lowercase; letter-spacing: 1px; }
.addcart[disabled] { background: var(--ground); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.note { font-size: 12.5px; color: var(--muted); border: 0; padding-top: 24px; margin-top: 18px; }
.note b { color: var(--ink); font-weight: 500; }

/* ---- single hoodie selector ---- */
.hoodie-selector { padding-bottom: 28px; }
.selector-head { padding: 26px 0 16px; text-align: center; }
.selector-head h1 { margin: 0 0 8px; font-size: clamp(42px, 8vw, 86px); line-height: .95; font-weight: 500; letter-spacing: -.06em; }
.selector-head p { margin: 0 auto; max-width: 620px; color: var(--muted); }
.big-colors { position: sticky; top: 76px; z-index: 8; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 12px 0 18px; }
.big-color { border: 0; border-radius: 999px; background: rgba(30,25,18,.86); color: var(--ink); box-shadow: var(--shadow-md); padding: 12px 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .02em; backdrop-filter: blur(14px); }
.big-color span { width: 24px; height: 24px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(244,237,225,.2); }
.big-color[aria-pressed="true"] { background: transparent; color: var(--ink); border-color: var(--ink); }
.selector-stage { position: relative; max-width: 760px; margin: 0 auto 24px; }
.single-product-card { position: relative; display: block; border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-lg); }
.single-product-card:hover { text-decoration: none; }
.single-mock { aspect-ratio: 4/5; background: var(--ground); }
.selector-search { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); width: min(620px, calc(100% - 34px)); z-index: 6; }
.selector-search input { width: 100%; border: 0; border-radius: 999px; padding: 18px 22px; background: rgba(244,237,225,.94); color: #14110d; box-shadow: 0 22px 56px rgba(0,0,0,.38); outline: 0; font-size: 15px; text-align: center; }
.selector-results { display: none; margin: 10px auto 0; width: min(560px, 100%); background: rgba(30,25,18,.96); box-shadow: var(--shadow-lg); border-radius: 16px; overflow: hidden; }
.selector-results.open { display: block; }
.selector-results a, .selector-results .empty { display: flex; justify-content: space-between; gap: 18px; padding: 13px 16px; font-size: 12px; line-height: 1.35; }
.selector-results a:hover { background: var(--hover); text-decoration: none; }
.selector-results span, .selector-results .empty { color: var(--muted); }
.single-add { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(12px); opacity: 0; z-index: 4; border-radius: 999px; background: rgba(20,17,13,.88); color: var(--paper); padding: 14px 22px; box-shadow: var(--shadow-lg); font-size: 12px; letter-spacing: .06em; transition: opacity .16s ease, transform .16s ease; }
.single-product-card:hover .single-add { opacity: 1; transform: translateX(-50%) translateY(0); }

.detail-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; padding: 22px 0 40px; }
.detail-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }
.detail-card h2 { margin: 0 0 14px; font-size: 16px; font-weight: 600; text-transform: lowercase; }
.detail-card p { color: var(--muted); font-size: 12.5px; }
.detail-card b { color: var(--ink); font-weight: 500; }

/* ---- remix studio ---- */
.remix-studio { padding-bottom: 48px; }
.eyebrow { margin: 0 0 10px; color: var(--cocoa); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.remix-hero { padding: 34px 0 26px; max-width: 860px; }
.remix-hero h1 { margin: 0 0 14px; font-size: clamp(32px, 6vw, 62px); line-height: .96; font-weight: 400; letter-spacing: -.065em; text-transform: lowercase; }
.remix-hero p:not(.eyebrow) { margin: 0; max-width: 740px; color: var(--muted); }
.remix-history { position: relative; height: 230px; margin: 2px 0 24px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 100%, rgba(201,189,169,.13), transparent 56%), rgba(30,25,18,.52); box-shadow: var(--shadow-md); }
.remix-history::before,
.remix-history::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.remix-history::before { top: 0; height: 70px; background: linear-gradient(to bottom, var(--ivory), rgba(20,17,13,0)); }
.remix-history::after { bottom: 0; height: 80px; background: linear-gradient(to top, var(--ivory), rgba(20,17,13,0)); }
.remix-history-copy { position: absolute; left: 22px; bottom: 18px; z-index: 4; max-width: 360px; text-shadow: 0 8px 24px rgba(0,0,0,.65); }
.remix-history-copy span { display: block; color: var(--cocoa); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.remix-history-copy strong { display: block; font-size: 13px; line-height: 1.35; font-weight: 400; color: var(--ink); }
.remix-float-field { position: absolute; inset: 0; }
.remix-float-field img {
  position: absolute; left: var(--x); bottom: -95px; width: 92px; border-radius: 10px;
  opacity: 0; transform: translateX(-50%) translateY(0) scale(var(--scale)) rotate(var(--rot));
  box-shadow: 0 14px 34px rgba(0,0,0,.5); filter: saturate(.8) contrast(1.06);
  animation: remixDrift var(--dur) linear infinite; animation-delay: var(--delay);
}
@keyframes remixDrift {
  0% { opacity: 0; transform: translateX(-50%) translateY(0) scale(var(--scale)) rotate(var(--rot)); }
  12% { opacity: .45; }
  58% { opacity: .32; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-360px) scale(calc(var(--scale) * .82)) rotate(calc(var(--rot) * -1)); }
}
.remix-shell { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 20px; align-items: start; }
.remix-controls,
.remix-card { background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-md); }
.remix-controls { position: sticky; top: 86px; padding: 20px; }
.remix-controls label { display: block; margin: 16px 0 8px; color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.remix-controls label:first-child { margin-top: 0; }
.remix-controls select,
.remix-controls input,
.remix-controls textarea {
  width: 100%; border: 0; outline: 0; border-radius: 12px; background: var(--ivory); color: var(--ink);
  box-shadow: var(--shadow-sm); padding: 12px 13px; font-family: inherit; font-size: 12.5px;
}
.remix-controls textarea { resize: vertical; min-height: 116px; }
.remix-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; align-items: center; }
.note.compact { font-size: 11.5px; line-height: 1.45; margin-top: 12px; padding-top: 12px; }
.profile-card { margin-top: 14px; border-radius: 12px; background: var(--ivory); box-shadow: var(--shadow-sm); padding: 12px; }
.profile-card span { display: block; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; }
.profile-card strong { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; }
.remix-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.remix-card { padding: 18px; }
.remix-card-head { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 14px; }
.remix-card-head h2 { margin: 0; font-size: 13px; font-weight: 500; text-transform: lowercase; }
.remix-card-head a,
.remix-card-head span { color: var(--muted); font-size: 11.5px; }
.remix-current,
.remix-output { min-height: 520px; border-radius: 14px; background: #14110d; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(244,237,225,.08); overflow: hidden; }
.remix-current img { width: min(82%, 400px); height: auto; object-fit: contain; filter: drop-shadow(0 20px 38px rgba(0,0,0,.34)); }
.remix-output svg { width: min(92%, 390px); height: auto; filter: drop-shadow(0 18px 34px rgba(0,0,0,.28)); }
.remix-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.remix-downloads .chip { display: inline-flex; align-items: center; justify-content: center; }
.remix-auth[hidden] { display: none; }
.remix-auth { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; background: rgba(20,17,13,.72); backdrop-filter: blur(10px); padding: 20px; }
.remix-auth-card { position: relative; width: min(460px, 100%); background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 28px; }
.remix-auth-card h2 { margin: 0 0 10px; font-size: 22px; font-weight: 500; text-transform: lowercase; }
.remix-auth-card p { color: var(--muted); }
.auth-close { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; color: var(--ink); font-size: 24px; line-height: 1; }
.google-button { min-height: 44px; margin: 20px 0 4px; }

/* ---- cart drawer ---- */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .18s; z-index: 100; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: var(--ivory); border: 0; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .2s; z-index: 101; display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.detail-drawer { z-index: 102; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 18px 16px; border: 0; }
.drawer-head h3 { margin: 0; font-size: 14px; text-transform: lowercase; letter-spacing: .5px; }
.drawer-items { flex: 1; overflow: auto; padding: 8px 18px; }
.citem { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 16px 0; border: 0; }
.citem .cthumb { width: 56px; height: 70px; background: var(--ground); border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.citem .cn { font-size: 12.5px; }
.citem .cmeta { font-size: 11.5px; color: var(--muted); }
.citem .cprice { font-variant-numeric: tabular-nums; font-size: 12.5px; }
.citem .rm { border: 0; background: transparent; color: var(--muted); font-size: 11px; text-decoration: underline; padding: 0; margin-top: 4px; }
.drawer-foot { padding: 24px 18px 16px; border: 0; }
.drawer-foot .tot { display: flex; justify-content: space-between; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.checkout { width: 100%; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 14px; border-radius: var(--radius); box-shadow: none; text-transform: lowercase; letter-spacing: 1px; }
.cart-empty { color: var(--muted); padding: 30px 0; text-align: center; }
.merch-detail-body { display: grid; gap: 14px; align-content: start; }
.merch-detail-body section { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px; }
.merch-detail-body h4 { margin: 0 0 6px; font-size: 12px; text-transform: lowercase; font-weight: 600; }
.merch-detail-body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* ---- footer ---- */
.footer { border: 0; margin-top: 64px; padding: 40px 0 60px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer h4 { font-size: 12px; text-transform: lowercase; letter-spacing: .5px; margin: 0 0 10px; color: var(--muted); font-weight: 500; }
.footer a { display: block; font-size: 12.5px; padding: 3px 0; text-transform: lowercase; }
.footer .disc { font-size: 11.5px; color: var(--muted); margin-top: 22px; line-height: 1.6; max-width: 640px; }

/* ---- misc ---- */
.pod-note { border: 0; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); padding: 18px 20px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.pod-note b { color: var(--ink); font-weight: 500; }
.crumb { font-size: 12px; color: var(--muted); padding: 18px 0 0; text-transform: lowercase; }
.crumb a:hover { color: var(--ink); }
.count-pill { font-size: 12px; color: var(--muted); }
.legal { max-width: 720px; padding: 30px 0 60px; }
.legal h1 { font-size: 26px; font-weight: 500; text-transform: lowercase; }
.legal h2 { font-size: 15px; font-weight: 600; margin-top: 28px; text-transform: lowercase; }
.legal p, .legal li { color: var(--muted); }
.contact-form { display: grid; gap: 14px; margin-top: 26px; max-width: 620px; }
.contact-form label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; border: 0; border-radius: 16px; background: var(--paper);
  color: var(--ink); box-shadow: var(--shadow-sm); padding: 14px 16px;
  font: 14px var(--mono); outline: 0;
}
.contact-form textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.contact-form button {
  justify-self: start; border: 0; border-radius: 999px; background: var(--ink);
  color: var(--paper); padding: 14px 34px; box-shadow: var(--shadow-sm);
  cursor: pointer; font: 13px var(--mono);
}
.form-status { min-height: 1.4em; font-size: 12px; color: var(--muted); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .grid-schools, .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-countries { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; }
  .book-controls { grid-template-columns: 1fr; }
  .book-arrow:last-child { text-align: left; }
  .book-chapters { justify-content: flex-start; }
  .detail-cards { grid-template-columns: 1fr; }
  .remix-shell { grid-template-columns: 1fr; }
  .remix-controls { position: relative; top: auto; }
  .remix-board { grid-template-columns: 1fr; }
  .remix-history { height: 190px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .school-head { grid-template-columns: 1fr; }
  .crest-mark { width: min(210px, 54vw); min-height: 104px; }
}
@media (max-width: 560px) {
  .grid-schools, .grid-countries { grid-template-columns: 1fr 1fr; }
  .grid-products { grid-template-columns: 1fr; gap: 24px; }
  .pcard { padding: 22px; }
  .pcard .pinfo { padding: 12px 2px 2px; }
  .remix-current,
  .remix-output { min-height: 430px; }
  .remix-actions { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
