/* Dottie Labs — dottielabs.com */
:root {
  --bg: #FBFAF7;
  --ink: #111111;
  --muted: #6B6B6B;
  --line: #E9E5DC;
  --card: #FFFFFF;
  --fire: linear-gradient(90deg, #FF8A00 0%, #FF4A1C 55%, #C8102E 100%);
  --focus: #FF4A1C;
  --max: 1160px;
  --pad: clamp(20px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: rgba(17,17,17,.3); text-underline-offset: 3px; }
a:hover { color: #C8102E; text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 12px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Rings (decoration only) */
.page { position: relative; overflow-x: clip; }
.rings { position: absolute; top: 0; right: 0; width: clamp(220px, 34vw, 460px); pointer-events: none; z-index: 0; }

/* Header */
.site-header { position: relative; z-index: 1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; font-weight: 550; text-decoration: none; color: var(--ink); }
.nav a:hover { color: #C8102E; }

/* Rule */
.rule { width: 72px; height: 5px; border-radius: 3px; background: var(--fire); margin: 0 0 28px; }
.rule--sm { width: 48px; height: 4px; margin-bottom: 18px; }

/* Hero */
.hero { position: relative; z-index: 1; padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 8vw, 104px); }
.hero h1 { margin: 0; font-weight: 750; font-size: clamp(42px, 7.2vw, 88px); line-height: 1.04; letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.hero h1 span { display: block; }
.grad { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero .lede { margin: 28px 0 0; font-size: clamp(19px, 2.2vw, 26px); color: var(--muted); font-weight: 500; letter-spacing: -0.01em; }

/* Sections */
.section { position: relative; z-index: 1; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.section h2 { margin: 0 0 32px; font-weight: 750; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; line-height: 1.1; }

/* Hero extras */
.eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jump { margin-top: clamp(48px, 7vw, 80px); padding-top: 22px; border-top: 1px solid var(--line); max-width: 920px; }
.jump-label { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jump ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); transition: border-color .15s, color .15s; }
.jump a:hover { border-color: #F4B9A6; color: #C8102E; }
.jump .num { font-size: 12px; font-weight: 700; color: #C8102E; font-variant-numeric: tabular-nums; }

/* Section head */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 0; }
.section-note { margin: 0; color: var(--muted); font-size: 16px; }

/* Brand cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.card {
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .15s, box-shadow .15s; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--fire); opacity: 0; transition: opacity .15s; }
.card:hover::before, .card:focus-within::before { opacity: 1; }
.card-body { display: flex; flex-direction: column; height: 100%; }
.card .meta { margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.card .num { font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.card .tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: #F4F1EA; }
.card-foot { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.qr-tile { margin: 0; padding: 12px 12px 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qr-tile figcaption { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card:hover { border-color: #F4B9A6; box-shadow: 0 10px 30px -18px rgba(200,16,46,.35); }
.card:focus-within { border-color: var(--focus); }
.card h3 { margin: 0; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.card .desc { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.card .url { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; word-break: break-all; }
.card .visit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.card .visit::after { content: ""; position: absolute; inset: 0; border-radius: 18px; } /* whole card clickable */
.card .visit:focus-visible { outline-offset: 4px; }
.card:hover .visit { background: #C8102E; color: #fff; }
.card .qr { width: 136px; height: 136px; border-radius: 4px; }
@media (max-width: 440px) {
  .card { grid-template-columns: 1fr; }
  .qr-tile { grid-row: 1; justify-self: start; }
  .card .qr { width: 156px; height: 156px; }
}

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 72px; align-items: end; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-size: 16px; }
.about .statement { margin: 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; max-width: 26ch; font-weight: 600; letter-spacing: -0.015em; text-wrap: pretty; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer { position: relative; z-index: 1; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 40px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; }
.foot-top img { height: 40px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-nav a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }
.foot-nav a:hover { color: #C8102E; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- QR sheet (/qrs) ---------- */
.sheet { max-width: 8.5in; margin: 32px auto; padding: 0.6in; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 0.25in; border-bottom: 1px solid var(--line); }
.sheet-head img { height: 0.42in; width: auto; }
.sheet-head span { font-size: 12px; color: var(--muted); }
.qr-grid { list-style: none; margin: 0.35in 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.3in 0.4in; }
.qr-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0.18in; border: 1px dashed #D9D3C7; border-radius: 10px; break-inside: avoid; }
.qr-grid img { width: 2.1in; height: 2.1in; }
.qr-grid strong { margin-top: 10px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.qr-grid small { margin-top: 2px; font-size: 12px; color: var(--muted); }
.sheet-tools { max-width: 8.5in; margin: 24px auto 0; padding: 0 16px; display: flex; gap: 12px; justify-content: space-between; align-items: center; font-size: 15px; }
.sheet-tools button { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.sheet-tools button:hover { background: #C8102E; }
@page { size: letter; margin: 0.5in; }
@media print {
  body { background: #fff; }
  .sheet-tools { display: none; }
  .sheet { margin: 0; padding: 0; border: 0; max-width: none; }
  .qr-grid { margin-top: 0.25in; gap: 0.2in 0.35in; }
  .qr-grid li { padding: 0.12in; }
  .qr-grid img { width: 1.9in; height: 1.9in; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
