/* Silicon Valley Shirt Printing. Palette from coachbradp.com (ivory, charcoal, olive, sand): neutral on purpose,
   so the shirt colors carry the page. Every color reads from these tokens. */
:root {
  --bg: #FBF7F4;  --bg-2: #F2ECE4;  --surface: #FFFFFF;  --field: #FFFFFF;
  --line: #E6DFD5;  --line-strong: #D2C9BC;
  --text-strong: #1F1F1F;  --text: #2F2F2D;  --muted: #6E6D68;  --faint: #A7A7A1;
  --accent: #6B705C;  --accent-deep: #555A48;  --accent-wash: #ECEDE5;  --accent-on-dark: #D7C9B8;
  --btn-bg: #1F1F1F;  --btn-fg: #FBF7F4;
  --dark: #1F1F1F;  --dark-2: #2A2A28;  --dark-line: rgba(215, 201, 184, .18);  --on-dark: #FBF7F4;  --on-dark-muted: #B4B1A9;
  --ph-bg: #EFE6DA;
  --good: #3E7B4F;  --good-wash: #E6F0E8;  --warn: #9A6A12;  --warn-wash: #F7EDD6;  --bad: #A43A2F;  --bad-wash: #F6E3E0;
  --shadow-soft: 0 1px 2px rgba(31,31,31,.04), 0 12px 30px -18px rgba(31,31,31,.22);
  --shadow-lift: 0 2px 4px rgba(31,31,31,.05), 0 24px 48px -24px rgba(31,31,31,.4);
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px;  --r: 16px;  --r-lg: 26px;  --r-pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--text-strong); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; font-stretch: 108%; font-variation-settings: "wdth" 108; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.muted { color: var(--muted); }
.ph { background: var(--ph-bg); border-radius: 6px; padding: 0 .3em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Wordmark: spaced SILICON VALLEY over bold SHIRT PRINTING */
.lockup { display: inline-flex; align-items: center; text-decoration: none; }

.lockup img { display: block; height: 48px; width: auto; }
.site-nav .btn { white-space: nowrap; }
@media (max-width: 480px) { .lockup img { height: 38px; } .nav-long { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 24px;
  border-radius: var(--r-pill); border: 1px solid transparent; font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; font-stretch: 110%; font-variation-settings: "wdth" 110; text-decoration: none;
  cursor: pointer; background: none; transition: filter .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-main { background: var(--btn-bg); color: var(--btn-fg); }
.btn-main:hover:not(:disabled) { filter: brightness(1.25); }
.btn-line { border-color: var(--line-strong); background: var(--surface); color: var(--text-strong); }
.btn-line:hover { border-color: var(--accent); }
.btn-light { background: var(--on-dark); color: var(--dark); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.22); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--accent-on-dark); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 11.5px; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 14px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 244, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.site-nav a:not(.btn):hover { color: var(--text-strong); }
@media (max-width: 860px) { .site-nav a:not(.btn) { display: none; } }

section.block { padding: 88px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.block-head { max-width: 640px; margin-bottom: 44px; }
.block-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.block-head.center { text-align: center; margin-inline: auto; }
.chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep);
  background: var(--accent-wash); border-radius: var(--r-pill); padding: 3px 9px; justify-self: start; }
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--text-strong); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.cta-band { background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: 52px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-muted); margin: 10px 0 0; }

.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

/* Shirt shop (js/shop.js): the /shirts page and the designer's "More brands and styles" dialog */
.shop-bar { display: grid; gap: 12px; position: sticky; top: 0; z-index: 3; background: var(--bg); padding: 12px 0; }
.shop-sheet .shop-bar { background: var(--surface); }
.shop-kinds { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.shop-kinds::-webkit-scrollbar { display: none; }
.shop-kinds button { flex: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-strong); border-radius: var(--r-pill); padding: 8px 14px;
  font-size: 14px; font-weight: 600; cursor: pointer; }
.shop-kinds button[aria-selected="true"] { background: var(--text-strong); border-color: var(--text-strong); color: var(--surface); }
.shop-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; }
.shop-filters select, .shop-search { height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--text-strong);
  font: inherit; font-size: 14px; padding: 0 10px; min-width: 0; }
.shop-search { display: flex; align-items: center; gap: 8px; }
.shop-search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.shop-search input { border: 0; outline: 0; background: none; font: inherit; font-size: 16px; width: 100%; color: inherit; }
.shop-count { margin: 4px 0 12px; font-size: 13px; color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.shop-card { display: grid; grid-template-rows: auto 1fr; text-align: left; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; cursor: pointer; padding: 0; font: inherit; transition: border-color .15s, transform .15s; }
.shop-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.sc-pic { position: relative; display: block; background: var(--bg-2); aspect-ratio: 1; overflow: hidden; }
.sc-pic img, .sc-pic svg { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; }
.sc-pic .chip { position: absolute; top: 10px; left: 10px; background: var(--dark); color: var(--on-dark); z-index: 1; }
.sc-body { display: grid; gap: 4px; padding: 12px 14px 14px; align-content: start; }
.sc-body small { color: var(--muted); font-size: 12.5px; }
.sc-body b { color: var(--text-strong); font-size: 15px; line-height: 1.3; }
.sc-colors { display: flex; align-items: center; gap: 3px; margin-top: 4px; }
.sc-colors i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.sc-colors em { font-style: normal; font-size: 12.5px; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.sc-price { font-size: 13px; color: var(--muted); margin-top: 2px; }
.sc-price b { font-size: 14px; }
.shop-more { display: flex; justify-content: center; margin-top: 22px; }
.shop-loading, .shop-empty { padding: 48px 0; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .shop-filters { grid-template-columns: 1fr 1fr 1fr; }
  .shop-search { grid-column: 1 / -1; }
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sc-body { padding: 10px 11px 12px; }
  .sc-body b { font-size: 14px; }
  .sc-colors i:nth-of-type(n+6) { display: none; }
}
