:root {
  color-scheme: dark;
  --ink: #101112;
  --panel: #1a1b1c;
  --line: #353638;
  --paper: #f5f3ed;
  --muted: #cccac3;
  --gold: #edbe59;
  --display: "Arial Narrow", "Liberation Sans Narrow", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
p { color: var(--muted); }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: .94; letter-spacing: -.045em; }
h2 { font-size: clamp(2.65rem, 6.2vw, 5.7rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.shell { width: min(1350px, calc(100% - clamp(2rem, 8vw, 9rem))); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .6rem; background: var(--ink); z-index: 2; }
.skip:focus { top: 1rem; }
.top { border-bottom: 1px solid var(--line); }
.bar { min-height: 78px; display: flex; gap: 1.3rem; align-items: center; justify-content: space-between; }
.brand { color: var(--paper); text-decoration: none; font: italic 950 1.75rem/.9 system-ui, sans-serif; letter-spacing: -.1em; white-space: nowrap; }
.brand span { color: var(--gold); margin-left: .08em; }
.brand small { display: block; font: 750 .78rem/1.2 system-ui, sans-serif; letter-spacing: .19em; margin-top: .4rem; }
nav { display: flex; gap: clamp(1rem, 4vw, 3rem); }
nav a, footer a:last-child { color: var(--muted); text-decoration: none; font-weight: 650; }
nav a:hover, footer a:last-child:hover { color: var(--gold); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.15rem; background: var(--gold); color: #141210; border: 1px solid var(--gold); border-radius: 3px; font: 750 1rem/1.25 system-ui, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: #ffd783; border-color: #ffd783; }
.button.small { min-height: 42px; padding: .55rem .9rem; font-size: .9rem; }
.button.outline { background: transparent; color: var(--paper); border-color: #797977; }
.button.outline:hover { border-color: var(--gold); color: var(--gold); }
.hero { background: radial-gradient(ellipse at 75% 65%, #25231d 0%, #151617 63%, #101112 100%); border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 530px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 8vw, 7rem); }
.eyebrow { color: var(--gold); font-size: .88rem; font-weight: 800; letter-spacing: .14em; }
h1 { font-size: clamp(3.4rem, 6.9vw, 8rem); margin-block: .95rem 1.15rem; }
.hero-copy > p:not(.eyebrow), .team p, .quote > div > p:not(.eyebrow) { max-width: 42ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-head h2, .team h2, .quote h2 { margin-top: .8rem; }
.section-head > p { max-width: 31ch; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.card img { aspect-ratio: 3/2; object-fit: cover; }
.card-copy { flex: 1; display: flex; flex-direction: column; align-items: start; gap: .65rem; padding: 1.35rem; }
.card a { margin-top: auto; color: var(--gold); font-weight: 750; text-underline-offset: .25em; padding-block: .35rem; }
.card a:hover { color: var(--paper); }
.image-note { font-size: .88rem; margin-top: .8rem; }
.team { background: #1a1b1c; border-block: 1px solid var(--line); }
.team-inner, .quote { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 6vw, 7rem); }
.team h2 + p, .quote h2 + p { margin-top: 1rem; }
.steps { margin: 0; padding-left: 1.75rem; }
.steps li { padding: 1.05rem .3rem; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: .2rem; }
.steps li::marker { color: var(--gold); font-weight: 800; }
.steps p { margin-top: .32rem; }
form { display: grid; gap: 1rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { min-width: 0; display: block; font-weight: 700; }
.optional { color: var(--muted); font-size: .88rem; font-weight: 400; }
input, select, textarea { display: block; width: 100%; margin-top: .35rem; min-height: 46px; background: #1b1c1e; border: 1px solid #636464; border-radius: 3px; padding: .55rem .72rem; color: var(--paper); font: 1rem/1.35 system-ui, sans-serif; }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 50%, var(--gold) 50%) right 17px center / 6px 6px no-repeat, linear-gradient(135deg, var(--gold) 50%, transparent 50%) right 11px center / 6px 6px no-repeat, #1b1c1e; }
textarea { resize: vertical; }
form > button { justify-self: start; }
.brief { margin-top: .25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.brief .actions { margin-top: .75rem; }
#status:not(:empty) { margin-top: .5rem; }
footer { border-top: 1px solid var(--line); }
footer .bar { min-height: 110px; }
@media (max-width: 970px) {
  .hero-inner { min-height: 0; }
  h1 { font-size: clamp(3.25rem, 7.5vw, 5.3rem); }
}
@media (max-width: 760px) {
  nav { font-size: .9rem; gap: .8rem; }
  .hero-inner, .team-inner, .quote { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 3rem 2rem; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: start; flex-direction: column; gap: .6rem; }
}
@media (max-width: 520px) {
  .top .bar { flex-wrap: wrap; column-gap: .6rem; row-gap: .8rem; padding-block: .9rem; }
  .top nav { order: 3; width: 100%; justify-content: flex-start; gap: 1.4rem; }
  .collection-grid, .fields { grid-template-columns: 1fr; }
  footer .bar { flex-wrap: wrap; justify-content: start; padding-block: 1.4rem; }
}

.design-gallery { background: #151617; border-top: 1px solid var(--line); }
.design-group + .design-group { margin-top: clamp(2.25rem, 5vw, 4.5rem); }
.design-group h3 { margin-bottom: 1rem; font-size: clamp(1.35rem, 3vw, 2rem); }
.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.design-card { min-width: 0; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); }
.design-card:first-child { grid-column: span 2; }
.design-card a { flex: 1; display: grid; place-items: center; padding: .2rem; background: #282726; }
.design-card a:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.design-card img { width: auto; max-width: 100%; max-height: 330px; object-fit: contain; }
.design-card figcaption { padding: .8rem 1rem; font-weight: 700; }
#design-viewer { max-width: min(1100px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); padding: .75rem; background: var(--panel); color: var(--paper); border: 1px solid var(--line); }
#design-viewer::backdrop { background: #000d; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.viewer-bar h3 { font-size: 1.1rem; }
#design-viewer-image { width: auto; max-width: 100%; max-height: 76dvh; object-fit: contain; margin-inline: auto; }
@media (max-width: 760px) {
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .design-grid { grid-template-columns: 1fr; }
  .design-card:first-child { grid-column: auto; }
  .design-card img { max-height: 360px; }
}

.gallery-nav { flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.gallery-nav a { display: inline-block; border: 1px solid var(--line); padding: .55rem .85rem; }
.gallery-nav a:hover { border-color: var(--gold); }
.apparel-designs .design-card:first-child { grid-column: auto; }
.apparel-designs[aria-labelledby="lifestyle-apparel"] .design-card:first-child { grid-column: 1 / -1; }
.apparel-designs[aria-labelledby="lifestyle-apparel"] .design-card:first-child img { max-height: 460px; }

.shop { background: #151617; border-bottom: 1px solid var(--line); }
.shop-card .shop-image {
  display: block;
  margin-top: 0;
  padding: .4rem;
  background: #282726;
}
.shop-card .shop-image:hover { background: #353330; }
.shop-card .shop-image:focus-visible { outline-offset: -4px; }
.shop-card img { object-fit: contain; }
@media (max-width: 520px) {
  .top nav { flex-wrap: wrap; gap: .8rem 1.1rem; }
}
.shop-description { white-space: pre-line; }
.shop-sizes { margin-top: auto; padding-top: .4rem; }
.shop-sizes strong { color: var(--paper); margin-right: .35rem; }

.hero-identity { border-inline-start: 4px solid var(--gold); padding-inline-start: clamp(1rem, 3vw, 2.5rem); }
.hero-identity h1 { margin-block: .55rem; font-size: clamp(3rem, 8.6vw, 8.75rem); }
.hero-motto { color: var(--gold); font-size: clamp(1rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: .08em; }
.hero-copy h2 { font-size: clamp(2rem, 4.5vw, 4.6rem); margin-bottom: 1.15rem; }
.brand-story { background: #151617; border-bottom: 1px solid var(--line); }
.story-intro, .story-sport { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.25rem, 5vw, 5rem); }
.story-prose { max-width: 67ch; }
.story-prose > * + * { margin-top: .85rem; }
.story-lead { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--paper); font-weight: 700; }
.story-block { margin-top: clamp(2.5rem, 5vw, 4.25rem); padding-top: clamp(1.5rem, 3.5vw, 2.5rem); border-top: 1px solid var(--line); }
.story-block h3 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
.story-meaning, .story-values, .story-commitments { display: grid; gap: 1rem; }
.story-meaning { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-values { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.story-commitments { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-meaning > div, .story-values > div { background: var(--panel); padding: 1rem; border: 1px solid var(--line); }
.story-meaning dt, .story-values dt { color: var(--gold); font-weight: 800; }
.story-meaning dt { font-size: 1.65rem; }
.story-meaning dd, .story-values dd { color: var(--muted); margin: .35rem 0 0; }
.story-refrain { color: var(--paper); font-weight: 700; }
.story-sport ul { margin: 0; padding-left: 1.25rem; }
.story-sport li + li { margin-top: .35rem; }
.story-commitments h3 { margin-bottom: .55rem; }
@media (max-width: 900px) {
  .story-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-identity h1 { font-size: clamp(3.5rem, 12vw, 6rem); }
  .story-intro, .story-sport { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .story-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-commitments { grid-template-columns: 1fr; gap: 1.5rem; }
}

.shop-detail-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; padding: .35rem .4rem 0; }
.shop-detail-photos .shop-image { padding: 0; }
.shop-detail-photos img { aspect-ratio: 2 / 1; }

.shop-owner-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; margin-bottom: 1.25rem; border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); background: var(--panel); }
.shop-owner-controls .actions { margin-top: 0; }
.card-copy .shop-edit-link { margin-top: .2rem; padding: .55rem .9rem; color: var(--paper); }
.card-copy .shop-edit-link:hover { color: var(--gold); }
