:root {
  --ink: #11110f;
  --ink-soft: #34322e;
  --paper: #fffdf8;
  --canvas: #efe9df;
  --canvas-deep: #e3ddd3;
  --line: #c9c1b6;
  --muted: #6e6961;
  --shadow: 7px 7px 0 var(--ink);
  --radius: 16px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], main[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.section-shell { width: var(--shell); margin-inline: auto; }
.eyebrow {
  margin: 0 0 15px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--paper); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  min-height: 74px;
  padding: 11px max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid transparent;
  background: rgba(239, 233, 223, .94);
  backdrop-filter: blur(12px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 7px 24px rgba(17,17,15,.07); }
.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  font-weight: 950;
  line-height: .77;
  letter-spacing: -.045em;
}
.wordmark-top { font-size: 18px; }
.wordmark-bottom { font-size: 24px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  position: relative;
  padding-block: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .16s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.menu-button > span { width: 18px; height: 2px; background: var(--ink); transition: transform .16s ease, opacity .16s ease; }
.menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 34px;
  align-items: stretch;
  padding-block: 72px 88px;
}
.hero-copy, .hero-panel { border: 1.5px solid var(--ink); border-radius: var(--radius); }
.hero-copy {
  padding: clamp(34px, 6vw, 72px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(68px, 10vw, 142px);
  line-height: .77;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero-intro { max-width: 600px; margin: 34px 0 0; font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
.hero-actions, .maker-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  min-height: 46px;
  padding: 12px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.button-primary, .button-dark { background: var(--ink); color: var(--paper); }
.button-ghost, .button-outline { background: transparent; color: var(--ink); }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-outline-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.button-wide { width: 100%; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: auto 0 0;
  padding-top: 48px;
}
.hero-facts div { padding-top: 13px; border-top: 1px solid var(--ink); }
.hero-facts dt { font-size: 32px; line-height: 1; font-weight: 950; }
.hero-facts dd { margin: 5px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.hero-panel {
  padding: 38px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-panel-kicker { margin: 0 0 22px; font-size: 11px; letter-spacing: .18em; font-weight: 900; }
.hero-steps { list-style: none; padding: 0; margin: 0; }
.hero-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(255,253,248,.36);
}
.hero-steps li:last-child { border-bottom: 1px solid rgba(255,253,248,.36); }
.hero-steps span { font-size: 11px; font-weight: 900; }
.hero-steps strong { font-size: 20px; line-height: 1.15; }
.hero-panel-note { margin: 28px 0 0; color: #d8d2c9; font-size: 13px; }

.studio, .collection, .maker { padding-block: 96px; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 46px;
  align-items: end;
  margin-bottom: 42px;
}
.section-heading h2, .maker h2 {
  margin: 0;
  font-size: clamp(52px, 7.2vw, 96px);
  line-height: .84;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.section-heading > p { margin: 0 0 6px; color: var(--ink-soft); font-size: 15px; font-weight: 650; }

.studio { border-top: 1px solid var(--line); }
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(340px, .72fr);
  gap: 30px;
  align-items: start;
}
.mockup-panel, .controls-panel {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mockup-toolbar {
  min-height: 76px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--ink);
}
.mockup-toolbar > div { min-width: 0; }
.toolbar-label { display: block; margin-bottom: 2px; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mockup-toolbar strong { display: block; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mockup-badge { flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--ink); border-radius: 999px; font-size: 10px; font-weight: 900; }
.mockup-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--canvas-deep);
  isolation: isolate;
}
.mockup-stage::before {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(17,17,15,.1);
  border-radius: 50%;
  z-index: -1;
}
.shirt-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.print-zone {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 21.5%;
  width: 28%;
  height: 31%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.design-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
  transition: filter .16s ease;
}
.design-image.is-inverted { filter: brightness(0) invert(1); }
.mockup-error {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 5;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.accuracy-note { margin: 0; padding: 11px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; text-align: center; }
.controls-panel { display: flex; flex-direction: column; }
.control-block { padding: 22px; border-bottom: 1px solid var(--ink); }
.control-block:last-child { border-bottom: 0; }
.control-heading { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: start; margin-bottom: 17px; }
.control-heading.compact { margin-bottom: 13px; }
.control-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 9px;
  font-weight: 900;
}
.control-heading h3 { margin: 0; font-size: 17px; }
.control-heading p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.shirt-choice {
  min-height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.shirt-choice.is-active { background: var(--ink); color: var(--paper); }
.swatch { width: 13px; height: 13px; display: inline-block; margin-right: 7px; border-radius: 50%; vertical-align: -2px; border: 1px solid currentColor; }
.swatch-white { background: var(--paper); }
.swatch-black { background: var(--ink); }
.shirt-choice.is-active .swatch-white,
.shirt-choice.is-active .swatch-black { border-color: var(--paper); }
.design-picker-block { min-height: 310px; }
.mini-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 280px;
  padding: 3px 7px 5px 3px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) var(--canvas-deep);
}
.mini-design {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 44px;
  padding: 7px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
  cursor: pointer;
}
.mini-design img { width: 100%; height: 100%; object-fit: contain; }
.mini-design.is-active { outline: 3px double var(--ink); outline-offset: 2px; }
.selection-summary {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px 14px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
}
.selection-summary span { color: var(--muted); font-size: 11px; font-weight: 700; }
.selection-summary strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.enquiry-options { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px 14px; align-items: center; margin: 0 0 16px; }
.enquiry-options label { color: var(--muted); font-size: 11px; font-weight: 800; }
.enquiry-options label span { font-weight: 600; }
.enquiry-options select, .enquiry-options input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1.5px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--paper); font: inherit; font-size: 12px; }
.enquiry-options select:focus-visible, .enquiry-options input:focus-visible, .copy-enquiry:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.email-note { margin: 10px 0 -3px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: center; }
.email-fallback { margin-top: 16px; padding: 15px; border: 1.5px solid var(--ink); background: var(--paper); font-size: 11px; line-height: 1.55; }
.email-fallback p { margin: 6px 0; }
.email-fallback a { font-weight: 900; text-underline-offset: 3px; }
.copy-enquiry { margin-top: 5px; padding: 9px 12px; border: 1.5px solid var(--ink); color: var(--paper); background: var(--ink); font: inherit; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.copy-status { min-height: 1.4em; color: var(--muted); font-weight: 700; }

.collection { border-top: 1px solid var(--line); }
.design-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.design-card { min-width: 0; }
.design-card button {
  width: 100%;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.design-card button.is-active { outline: 3px double var(--ink); outline-offset: 5px; }
.design-card button.is-active .design-meta { background: var(--ink); color: var(--paper); }
.design-card button.is-active .design-meta span { border-color: var(--paper); }
.design-art { aspect-ratio: 1; display: grid; place-items: center; padding: 20px; background: var(--paper); border-bottom: 1px solid var(--ink); }
.design-art img { width: 100%; height: 100%; object-fit: contain; }
.design-meta { min-height: 48px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: background .16s ease, color .16s ease; }
.design-meta strong { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; text-align: left; }
.design-meta span { flex: 0 0 auto; width: 24px; height: 24px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.empty-state { padding: 36px; border: 1px solid var(--ink); background: var(--paper); text-align: center; font-weight: 800; }
.design-load-error { padding: 36px; border: 1px solid var(--ink); background: var(--paper); text-align: center; }
.design-load-error h3 { margin: 0 0 8px; font-size: 22px; }
.design-load-error p { margin: 0; color: var(--muted); }

.maker { border-top: 1px solid var(--line); }
.maker-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.maker-copy {
  padding: clamp(34px, 6vw, 68px);
  background: var(--ink);
  color: var(--paper);
}
.maker-copy h2 {
  max-width: 760px;
  font-size: clamp(48px, 6.6vw, 88px);
}
.maker-copy > p:last-child {
  max-width: 690px;
  margin: 26px 0 0;
  color: #d8d2c9;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 650;
}
.maker-details {
  padding: clamp(28px, 4.5vw, 54px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.maker-facts { margin: 0; }
.maker-facts div {
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}
.maker-facts div:last-child { margin-bottom: 0; }
.maker-facts dt {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.maker-facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}
.maker-actions { margin-top: auto; padding-top: 32px; }
.maker-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; font-weight: 700; }

.site-footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .7fr 1.35fr auto;
  gap: 36px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.footer-wordmark { color: var(--ink); }
.footer-wordmark span:first-child { font-size: 14px; }
.footer-wordmark span:last-child { font-size: 18px; }
.footer-network { margin: 0; line-height: 1.55; }
.footer-network > a { color: var(--ink); font-weight: 900; text-underline-offset: 4px; }
.footer-network > span { color: var(--muted); }
.footer-meta { margin: 0; text-align: right; }
.footer-contact { text-underline-offset: 3px; }
.footer-contact:hover, .footer-network > a:hover { color: var(--ink); }

@media (hover: hover) {
  .button:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(17,17,15,.16); }
  .design-card button:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
  .mini-design:hover { background: var(--canvas); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { min-height: 410px; }
  .studio-grid { grid-template-columns: 1fr; }
  .controls-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .control-block { border-right: 1px solid var(--ink); }
  .control-block:nth-child(2) { border-right: 0; }
  .selection-block { grid-column: 1 / -1; border-top: 1px solid var(--ink); border-right: 0; }
  .design-grid { grid-template-columns: repeat(3, 1fr); }
  .maker-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 24px, 1180px); --shadow: 4px 4px 0 var(--ink); }
  section[id], main[id] { scroll-margin-top: 80px; }
  .site-header { min-height: 66px; padding: 10px 14px; }
  .menu-button { display: flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    padding: 14px;
    border: 1px solid var(--ink);
    border-radius: 12px;
    background: var(--paper);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .hero { padding-block: 34px 60px; gap: 14px; }
  .hero-copy, .hero-panel { padding: 27px; }
  .hero h1 { font-size: clamp(61px, 20vw, 96px); }
  .hero-intro { margin-top: 25px; }
  .hero-facts { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-facts div { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; }
  .hero-panel { min-height: 0; }
  .studio, .collection, .maker { padding-block: 64px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .section-heading h2, .maker h2 { font-size: clamp(48px, 16vw, 72px); }
  .studio-grid { gap: 16px; }
  .mockup-toolbar { align-items: flex-start; flex-direction: column; }
  .mockup-badge { align-self: flex-start; }
  .print-zone { top: 21.5%; width: 29%; height: 32%; }
  .controls-panel { display: flex; }
  .control-block { border-right: 0; }
  .selection-block { border-top: 0; }
  .mini-picker { grid-template-columns: repeat(4, 1fr); max-height: 240px; }
  .design-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .design-art { padding: 13px; }
  .maker-panel { box-shadow: 4px 4px 0 var(--ink); }
  .maker-copy, .maker-details { padding: 28px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 420px) {
  .hero-actions, .maker-actions { flex-direction: column; }
  .button { width: 100%; }
  .design-grid { grid-template-columns: 1fr 1fr; }
  .design-meta { min-height: 54px; }
}

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

.mini-item { min-width: 0; }
