/* Slow Sunday Tees — one-page site. Plain CSS, no JS. Mobile first (375 px), light + dark via prefers-color-scheme. */
:root {
  --bg: #efe6d3;          /* cream, the brand card colour */
  --card: #f8f2e6;
  --ink: #263c5c;         /* navy, the sloth */
  --ink-soft: #4a5b74;
  --accent: #c69a3c;      /* mustard */
  --rust: #b8562f;
  --line: rgba(38, 60, 92, .16);
  --shadow: 0 1px 2px rgba(38, 60, 92, .08), 0 8px 24px rgba(38, 60, 92, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c2230;
    --card: #262f40;
    --ink: #efe6d3;
    --ink-soft: #c4bcab;
    --accent: #d8ad4e;
    --rust: #d97a52;
    --line: rgba(239, 230, 211, .16);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rust); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2 { font-family: Fraunces, Georgia, "Times New Roman", serif; letter-spacing: -.01em; }

/* header */
.hero { text-align: center; padding: 40px 16px 8px; max-width: 640px; margin: 0 auto; }
.logo { margin: 0 auto 10px; width: 96px; height: 96px; }
h1 { font-size: clamp(2rem, 8vw, 3rem); font-weight: 700; margin: 0 0 10px; line-height: 1.1; }
.tagline { font-size: 1.1rem; color: var(--ink-soft); margin: 0 auto 26px; max-width: 32em; }

/* shop buttons */
.shops { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shops-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.shops ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn {
  display: inline-block; min-width: 120px; padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; letter-spacing: .01em;
  box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); }
.btn.etsy { background: #d95d2a; color: #fff; }
.btn.pinterest { background: #c8232c; color: #fff; }
.btn.ebay { background: #2456c8; color: #fff; }
.btn.tiktok { background: #111; color: #fff; }
/* TODO buttons: dashed until the local lane fills the URLs in (remove class "todo" in index.html) */
.btn.todo { background: transparent; color: var(--ink-soft); border: 2px dashed var(--line); box-shadow: none; pointer-events: none; }

/* sections */
main { max-width: 1040px; margin: 0 auto; padding: 24px 16px 8px; }
h2 { font-size: 1.5rem; margin: 40px 0 16px; text-align: center; }
.designs h2 { margin-top: 24px; }

/* design grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 22px 22px 8px; background: #efe6d3; }
.card.wide img { padding: 0; }
.hook { display: block; padding: 14px 18px 18px; text-align: center; font-size: 1rem; color: var(--ink-soft); line-height: 1.35; }
.hook b { display: block; font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; color: var(--ink); margin-bottom: 2px; }
.card a:hover .hook b, .card a:focus-visible .hook b { color: var(--rust); }
.more { text-align: center; margin: 22px 0 0; font-weight: 600; }

@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card.wide { grid-column: span 2; }
  .card.wide img { aspect-ratio: 2 / 1; object-fit: cover; }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .card.wide { grid-column: span 3; }
  .card.wide img { aspect-ratio: 3 / 1; object-position: center 40%; }
  .hero { padding-top: 64px; }
}

/* about + contact */
.about, .contact { max-width: 640px; margin: 0 auto; text-align: center; }
.about p, .contact p { margin: 0 0 8px; color: var(--ink-soft); }
.contact a { font-weight: 600; word-break: break-word; }

/* footer */
footer { max-width: 640px; margin: 48px auto 0; padding: 24px 16px 40px; border-top: 1px solid var(--line); text-align: center; font-size: .9rem; color: var(--ink-soft); }
footer p { margin: 6px 0; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
