/* Hart & Brick website. Palette and type follow the brand style guide (Lego-Houses/branding/STYLE_GUIDE.md). */

@font-face { font-family: "Cinzel"; src: url(/assets/fonts/cinzel.f6a78bc6af.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(/assets/fonts/ebgaramond.387cec07a2.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(/assets/fonts/ebgaramond-italic.816bb78e00.woff2) format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/assets/fonts/jost.b00c02e84a.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Cormorant Amp"; src: url(/assets/fonts/cormorant.fc4cfac475.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --linen: #FAF7F0; --paper: #FFFDF8; --oat: #F0EBE1; --rule: #E3DBD0;
  --ink: #2F3531; --ink2: #5E6460; --ink3: #7c817d;
  --mauve: #8A7272; --mauve-dk: #735C5C; --mauve-xdk: #5f4a4a; --mauve-lt: #B5A5A3; --wash: #F1E9E6;
  --sage: #737A47; --slate: #56585C;
  /* brick colors from the models, for the playful accents */
  --b-red: #8E2B26; --b-green: #4E9A47; --b-tan: #D9C28F; --b-gray: #A3A7A6; --b-blue: #6E83A0; --b-dkgray: #5D6164; --b-white: #F4F1EA;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(47,53,49,.06), 0 10px 30px rgba(47,53,49,.08);
  --shadow-lg: 0 2px 6px rgba(47,53,49,.08), 0 24px 50px rgba(47,53,49,.14);
  --model-shadow: drop-shadow(0 22px 26px rgba(47,53,49,.15)) drop-shadow(0 3px 5px rgba(47,53,49,.08));
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--mauve-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mauve-xdk); }
:focus-visible { outline: 2px solid var(--mauve-dk); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul { padding: 0; margin: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--linen); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: var(--linen); }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
section { padding-block: var(--section); }
.tight { padding-block: clamp(40px, 6vw, 80px); }
.band-paper { background: var(--paper); border-block: 1px solid var(--rule); }
.band-oat { background: var(--oat); }
.band-wash { background: var(--wash); }
.studs { background-image: radial-gradient(circle, rgba(138,114,114,.085) 0 3.2px, transparent 3.8px); background-size: 24px 24px; background-position: 12px 12px; }

/* ---------- Type ---------- */
.kicker { font: 500 .8rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mauve-dk); margin: 0 0 14px; }
.title { font: 500 clamp(1.85rem, 3.6vw, 2.9rem)/1.12 var(--display); letter-spacing: .025em; color: var(--ink); text-wrap: balance; }
.title em, .display em { font: italic 400 1.12em/1 var(--serif); letter-spacing: 0; color: var(--mauve); }
h1.title { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.06; }
.lede { font: 400 clamp(1.15rem, 1.7vw, 1.38rem)/1.55 var(--serif); color: var(--ink2); max-width: 40em; text-wrap: pretty; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.sec-head .lede { margin-top: 16px; margin-bottom: 0; }
.rule { width: 64px; height: 2px; background: var(--mauve-lt); border: 0; margin: 24px 0; }
.center .rule, .rule.center { margin-inline: auto; }
.prose { font: 400 1.22rem/1.7 var(--serif); color: var(--ink2); }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--ink); font-weight: 500; }
.dropcap::first-letter { float: left; font: 500 3.6em/0.8 var(--display); color: var(--mauve); margin: .08em .1em 0 0; }
.fine { font: 500 .78rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); margin: 0; }
.amp { font-family: "Cormorant Amp", var(--serif); color: var(--mauve); }
.script { font: italic 400 1.35rem/1.25 var(--serif); color: var(--mauve-dk); }

/* ---------- Buttons: soft bricks that grow two studs on hover ---------- */
.btn { --bg: var(--paper); --fg: var(--ink); --bd: var(--rule);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  font: 500 .86rem/1.1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 10px; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn::before, .btn::after { content: ""; position: absolute; top: -6px; width: 16px; height: 7px; border-radius: 4px 4px 0 0;
  background: var(--bg); border: 1px solid var(--bd); border-bottom: 0; transform: translateY(7px); opacity: 0; transition: transform .2s ease, opacity .2s ease; z-index: -1; }
.btn::before { left: 26%; } .btn::after { right: 26%; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg); }
.btn:hover::before, .btn:hover::after { transform: none; opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn-primary { --bg: var(--mauve-dk); --fg: #fff; --bd: var(--mauve-dk); isolation: isolate; }
.btn-primary:hover { --bg: var(--mauve-xdk); --bd: var(--mauve-xdk); }
.btn-ghost { --bg: transparent; --bd: var(--mauve-lt); isolation: isolate; }
.btn-ghost::before, .btn-ghost::after { background: var(--linen); }
.btn-ghost:hover { --bg: var(--paper); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .76rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.center .btn-row { justify-content: center; }
.text-link { font: 500 .86rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link .icon { width: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,240,.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 84px; height: auto; }
.brand-word { width: 168px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { white-space: nowrap; font: 500 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.site-nav ul a:hover { color: var(--mauve-dk); }
.site-nav ul a[aria-current="page"] { border-color: var(--mauve); color: var(--mauve-dk); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-insta { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.nav-insta .icon { width: 22px; height: 22px; }
.nav-insta-label { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .shut { display: none; }

@media (max-width: 1240px) {
  .site-nav ul { gap: 18px; }
  .site-nav { gap: 18px; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--linen); border-bottom: 1px solid var(--rule); box-shadow: 0 20px 30px rgba(47,53,49,.08);
    padding: 8px var(--gutter) 24px; display: none; }
  .js .site-nav { display: none; }
  .no-js .site-nav, .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: .9rem; }
  .site-nav ul a[aria-current="page"] { border-color: var(--rule); }
  .nav-actions { justify-content: space-between; padding-top: 20px; }
  .nav-insta-label { display: inline; font: 500 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .nav-toggle[aria-expanded="true"] .open { display: none; }
  .nav-toggle[aria-expanded="true"] .shut { display: block; }
}
@media (max-width: 420px) {
  .brand-word { width: 140px; }
  .brand-mark { width: 64px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 90px) clamp(56px, 7vw, 100px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 72% 55%, var(--wash), transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero .lede { margin-top: 22px; }
.hero-art { position: relative; }
.hero-art .model { filter: var(--model-shadow); width: 100%; }
.hero-note { position: absolute; top: -4%; right: 2%; display: flex; flex-direction: column; align-items: flex-end; transform: rotate(-6deg); pointer-events: none; }
.hero-note .script { font-size: clamp(1.1rem, 1.9vw, 1.45rem); text-align: right; }
.hero-note svg { width: 70px; margin-right: 46px; color: var(--mauve); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); font: 500 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.badge .glyph { width: 18px; }
.floaty { position: absolute; width: 34px; opacity: .9; animation: floaty 7s ease-in-out infinite; pointer-events: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(calc(var(--r, 0deg) + 6deg)); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin-inline: -4%; }
  .hero-note { position: static; align-items: center; transform: rotate(-3deg); margin: -4px 0 8px; }
  .hero-note .script { font-size: 1.1rem; text-align: center; }
  .hero-note br { display: none; }
  .hero-note svg { display: none; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-copy .btn-row, .hero-copy .badges { justify-content: center; }
}

/* Page heroes (inner pages) */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); text-align: center; position: relative; }
.page-hero .lede { margin: 20px auto 0; }
.page-hero-art { margin: clamp(24px, 4vw, 48px) auto 0; max-width: 900px; filter: var(--model-shadow); }

/* Brick course divider */
.course { display: flex; justify-content: center; gap: 3px; padding: 0; margin: 0 auto; }
.course span { position: relative; width: 30px; height: 12px; border-radius: 2px; background: var(--b-red); }
.course span::before { content: ""; position: absolute; top: -4px; left: 4px; right: 4px; height: 4px; background: radial-gradient(circle at 25% 100%, currentColor 0 3px, transparent 3.5px), radial-gradient(circle at 75% 100%, currentColor 0 3px, transparent 3.5px); color: inherit; }
.course span:nth-child(1) { background: var(--b-green); color: var(--b-green); width: 22px; }
.course span:nth-child(2) { background: var(--b-tan); color: var(--b-tan); }
.course span:nth-child(3) { background: var(--b-red); color: var(--b-red); width: 44px; }
.course span:nth-child(4) { background: var(--mauve); color: var(--mauve); width: 22px; }
.course span:nth-child(5) { background: var(--b-gray); color: var(--b-gray); width: 44px; }
.course span:nth-child(6) { background: var(--b-blue); color: var(--b-blue); }
.course span:nth-child(7) { background: var(--b-green); color: var(--b-green); width: 22px; }
.course-wrap { padding-block: 8px; }

/* ---------- Ribbon of promises ---------- */
.ribbon { border-block: 1px solid var(--rule); background: var(--paper); padding-block: 18px; }
.ribbon ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.ribbon li { display: flex; align-items: center; gap: 10px; font: 500 .8rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.ribbon .glyph { width: 22px; flex: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.step { position: relative; text-align: center; padding: 8px 6px; }
.step-icon { width: 104px; height: 104px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--rule); color: var(--mauve); transition: transform .3s ease, box-shadow .3s ease; }
.step:hover .step-icon { transform: translateY(-4px) rotate(-3deg); box-shadow: var(--shadow); }
.step-icon .icon { width: 46px; height: 46px; stroke-width: 1.3; }
.step-num { display: grid; place-items: center; width: 34px; height: 34px; margin: -17px auto 14px; position: relative; border-radius: 50%; background: var(--mauve-dk); color: #fff; font: 600 .9rem/1 var(--sans); }
.step h3 { font: 500 1.12rem/1.3 var(--display); letter-spacing: .04em; margin-bottom: 10px; }
.step p { font: 400 1.08rem/1.55 var(--serif); color: var(--ink2); margin: 0; }
.steps .step:not(:last-child)::after { content: ""; position: absolute; top: 52px; left: calc(50% + 66px); right: calc(-50% + 66px); border-top: 1.5px dashed var(--mauve-lt); }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps .step::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Photo to model ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 4vw, 40px); }
.tab { font: 500 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink2); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--mauve-lt); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--mauve-dk); border-color: var(--mauve-dk); color: #fff; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.25fr); align-items: center; gap: 12px; }
.compare[hidden] { display: none; }
.polaroid { background: #fff; padding: 12px 12px 46px; box-shadow: var(--shadow-lg); transform: rotate(-2.5deg); position: relative; transition: transform .4s ease; }
.polaroid:hover { transform: rotate(-.5deg) scale(1.01); }
.polaroid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.polaroid figcaption, .model-card figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font: italic 400 1.1rem/1 var(--serif); color: var(--ink2); }
.compare-arrow { color: var(--mauve); width: 90px; }
.model-card { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px) clamp(12px, 2vw, 24px) 52px; }
.model-card img { filter: var(--model-shadow); width: 100%; }
.compare-caption { text-align: center; margin-top: 26px; font: italic 400 1.2rem/1.4 var(--serif); color: var(--ink2); }
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; gap: 0; }
  .compare-arrow { transform: rotate(90deg); margin: 6px auto; width: 64px; }
  .polaroid { width: 86%; margin-inline: auto; }
}

/* ---------- Build stages ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.stage { position: relative; }
.stage img { width: 100%; filter: var(--model-shadow); }
.stage img + img { position: absolute; inset: 0; }
.stage img { transition: opacity .55s ease; }
.js .stage img:not(.on) { opacity: 0; }
.stage-list { display: grid; gap: 10px; counter-reset: s; }
.stage-btn { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; width: 100%; text-align: left; padding: 14px 18px; border-radius: 14px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--ink2); font: inherit; transition: background .25s, border-color .25s; }
.stage-btn:hover { background: var(--paper); border-color: var(--rule); }
.stage-btn .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--mauve-lt); font: 600 .95rem/1 var(--sans); color: var(--mauve-dk); transition: all .25s; }
.stage-btn strong { display: block; font: italic 500 1.3rem/1.2 var(--serif); color: var(--ink); }
.stage-btn span.d { font-size: .95rem; line-height: 1.45; }
.stage-btn[aria-pressed="true"] { background: var(--paper); border-color: var(--rule); box-shadow: var(--shadow); }
.stage-btn[aria-pressed="true"] .n { background: var(--mauve-dk); border-color: var(--mauve-dk); color: #fff; }
.stage-bar { height: 4px; border-radius: 4px; background: var(--rule); margin-top: 18px; overflow: hidden; }
.stage-bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--mauve-lt), var(--mauve)); border-radius: 4px; transition: width .5s ease; }
@media (max-width: 860px) {
  .builder { grid-template-columns: 1fr; }
  .stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-btn { grid-template-columns: 1fr; gap: 6px; text-align: center; justify-items: center; padding: 12px 8px; }
  .stage-btn span.d { display: none; }
  .stage-btn strong { font-size: 1.08rem; }
}

/* ---------- Model cards (Our Work) ---------- */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.work { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; transition: box-shadow .3s ease, transform .3s ease; }
.work:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.work.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.work-view { position: relative; aspect-ratio: 3 / 2; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 55%, var(--linen), var(--paper) 75%); border-radius: 12px; }
.work-view img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: var(--model-shadow); grid-area: 1 / 1; transition: opacity .35s ease; }
.js .work-view img:not(.on) { opacity: 0; pointer-events: none; }
.no-js .work-view img:not(:first-child) { display: none; }
.angles { display: flex; gap: 8px; margin: 14px 0 6px; }
.angle { width: 64px; height: 46px; border-radius: 8px; border: 1px solid var(--rule); background: var(--linen); padding: 3px; cursor: pointer; transition: border-color .2s, transform .2s; }
.angle img { width: 100%; height: 100%; object-fit: contain; }
.angle:hover { transform: translateY(-2px); }
.angle[aria-pressed="true"] { border-color: var(--mauve); box-shadow: 0 0 0 1px var(--mauve); }
.work h3 { font: 500 1.4rem/1.2 var(--display); letter-spacing: .03em; margin-top: 10px; }
.work .sub { font: italic 400 1.15rem/1.45 var(--serif); color: var(--ink2); margin: 6px 0 14px; }
.tag { display: inline-block; font: 500 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mauve-dk); background: var(--wash); padding: 6px 10px; border-radius: 999px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); }
.specs div { display: flex; flex-direction: column; }
.specs dt { font: 500 .68rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink3); }
.specs dd { margin: 2px 0 0; font: 500 1rem/1.3 var(--sans); color: var(--ink); }
.features { margin: 4px 0 18px; display: grid; gap: 6px; }
.features li { display: flex; gap: 10px; align-items: baseline; color: var(--ink2); font-size: 1rem; }
.features .glyph { width: 16px; flex: none; transform: translateY(2px); }
@media (max-width: 860px) {
  .models { grid-template-columns: 1fr; }
  .work.feature { grid-template-columns: 1fr; }
}

/* Teaser grid on the home page */
.teasers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.teaser { text-decoration: none; color: inherit; text-align: center; padding: 18px 12px 20px; border-radius: var(--radius); transition: background .3s, box-shadow .3s; }
.teaser:hover { background: var(--paper); box-shadow: var(--shadow); color: inherit; }
.teaser img { filter: var(--model-shadow); transition: transform .4s ease; aspect-ratio: 3 / 2; object-fit: contain; width: 100%; }
.teaser:hover img { transform: translateY(-6px) scale(1.03); }
.teaser h3 { font: italic 400 1.3rem/1.25 var(--serif); color: var(--ink); margin-top: 12px; }
.teaser p { font: 500 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin: 6px 0 0; }
@media (max-width: 900px) { .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- What you receive ---------- */
.receive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.checks { display: grid; gap: 16px; margin-top: 8px; }
.checks li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.checks .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--rule); display: grid; place-items: center; color: var(--mauve-dk); }
.checks .ic .icon { width: 20px; height: 20px; }
.checks strong { display: block; font: 500 1.02rem/1.35 var(--sans); color: var(--ink); }
.checks span { font: 400 1.08rem/1.45 var(--serif); color: var(--ink2); }
.fan { position: relative; aspect-ratio: 1 / .82; }
.fan img { position: absolute; width: 66%; border-radius: 6px; box-shadow: var(--shadow-lg); background: #fff; transition: transform .45s ease; }
.fan img:nth-child(1) { top: 0; right: 0; transform: rotate(4deg); }
.fan img:nth-child(2) { top: 22%; right: 16%; transform: rotate(-2deg); }
.fan img:nth-child(3) { bottom: 0; left: 0; transform: rotate(-5deg); }
.fan:hover img:nth-child(1) { transform: rotate(7deg) translate(12px, -8px); }
.fan:hover img:nth-child(3) { transform: rotate(-8deg) translate(-12px, 6px); }
@media (max-width: 860px) { .receive { grid-template-columns: 1fr; } .fan { max-width: 560px; width: 100%; margin-inline: auto; } }

/* Devices: the private site on a laptop and a phone */
.devices { position: relative; padding-bottom: 6%; }
.laptop { position: relative; margin-right: 14%; }
.laptop .screen { border: 10px solid #2b2e2c; border-bottom-width: 14px; border-radius: 14px 14px 0 0; background: #2b2e2c; overflow: hidden; }
.laptop .base { height: 14px; margin-inline: -7%; background: linear-gradient(#d8d4cc, #b9b4aa); border-radius: 0 0 14px 14px; position: relative; }
.laptop .base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: #a29d93; border-radius: 0 0 6px 6px; }
.phone { position: absolute; right: 0; bottom: 0; width: 24%; border: 7px solid #2b2e2c; border-radius: 26px; overflow: hidden; background: #2b2e2c; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 18px; }

/* ---------- Feature rows (story / how it works) ---------- */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.row + .row { margin-top: clamp(64px, 9vw, 120px); }
.row.flip > :first-child { order: 2; }
.row .art img.model { filter: var(--model-shadow); }
.row h2, .row h3.title { margin-bottom: 18px; }
.big-num { font: 600 clamp(3.4rem, 7vw, 5.6rem)/0.9 var(--display); color: var(--mauve-lt); display: block; margin-bottom: 8px; }
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--rule); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row.flip > :first-child { order: 0; } }

/* Polaroid stack of photos */
.photo-stack { position: relative; aspect-ratio: 5 / 4; }
.photo-stack .polaroid { position: absolute; width: 64%; }
.photo-stack .polaroid:nth-child(1) { left: 0; top: 4%; transform: rotate(-6deg); }
.photo-stack .polaroid:nth-child(2) { right: 2%; top: 0; transform: rotate(5deg); }
.photo-stack .polaroid:nth-child(3) { left: 18%; bottom: 0; transform: rotate(-1deg); }
.photo-stack .polaroid:hover { z-index: 3; transform: rotate(0) scale(1.03); }

/* ---------- Cards (gifts, values, tips) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); transition: transform .3s ease, box-shadow .3s ease; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--wash); color: var(--mauve-dk); margin-bottom: 18px; transition: transform .3s; }
.card:hover .ic { transform: rotate(-6deg) scale(1.06); }
.card .ic .icon { width: 28px; height: 28px; stroke-width: 1.4; }
.card h3 { font: 500 1.15rem/1.3 var(--display); letter-spacing: .03em; margin-bottom: 10px; }
.card p { font: 400 1.08rem/1.55 var(--serif); color: var(--ink2); margin: 0; }
.card .script { margin-top: 14px; font-size: 1.1rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stat strong { display: block; font: 500 clamp(2.2rem, 4.6vw, 3.4rem)/1 var(--display); color: var(--ink); font-variant-numeric: lining-nums; }
.stat span { display: block; margin-top: 10px; font: 500 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink2); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }

/* Quote */
.quote { text-align: center; max-width: 900px; margin-inline: auto; }
.quote blockquote { margin: 0; font: italic 400 clamp(1.5rem, 3vw, 2.2rem)/1.35 var(--serif); color: var(--ink); text-wrap: balance; }
.quote .glyph { width: 40px; margin: 0 auto 24px; }

/* Occasions ticker */
.occasions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; font: italic 400 clamp(1.25rem, 2.4vw, 1.7rem)/1.5 var(--serif); color: var(--mauve-dk); text-align: center; }
.occasions span + span::before { content: "·"; margin: 0 12px 0 8px; color: var(--mauve-lt); font-style: normal; }

/* Instagram band */
.insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.insta-tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); padding: 8%; }
.insta-tile:nth-child(3n+2) { background: var(--wash); }
.insta-tile:nth-child(3n) { background: var(--oat); }
.insta-tile img { filter: var(--model-shadow); transition: transform .4s ease; object-fit: contain; width: 100%; height: 100%; }
.insta-tile::after { content: ""; position: absolute; inset: 0; background: rgba(115,92,92,.0); transition: background .3s; }
.insta-tile .icon { position: absolute; width: 34px; height: 34px; color: #fff; opacity: 0; transform: scale(.8); transition: all .3s; z-index: 1; }
.insta-tile:hover::after { background: rgba(115,92,92,.55); }
.insta-tile:hover .icon { opacity: 1; transform: none; }
.insta-tile:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Video */
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #e9e4da; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame.vertical { aspect-ratio: 9 / 16; max-width: 380px; margin-inline: auto; }

/* FAQ */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font: 500 1.35rem/1.3 var(--display); letter-spacing: .04em; margin-bottom: 16px; display: flex; gap: 12px; align-items: center; }
.faq-group h2 .glyph { width: 26px; }
details.qa { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; margin-bottom: 10px; transition: box-shadow .25s; }
details.qa[open] { box-shadow: var(--shadow); }
details.qa summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font: 500 1.06rem/1.4 var(--sans); color: var(--ink); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--mauve-dk), var(--mauve-dk)) center / 14px 2px no-repeat, linear-gradient(var(--mauve-dk), var(--mauve-dk)) center / 2px 14px no-repeat; transition: transform .25s; }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .a { padding: 0 24px 22px; font: 400 1.14rem/1.6 var(--serif); color: var(--ink2); }
details.qa .a p:last-child { margin: 0; }

/* Two-up text */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Tips list */
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.tips li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font: 400 1.12rem/1.5 var(--serif); color: var(--ink2); }
.tips .icon { width: 22px; height: 22px; color: var(--sage); margin-top: 3px; }
@media (max-width: 680px) { .tips { grid-template-columns: 1fr; } }

/* Editions (one home, three ways) */
.editions { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: clamp(12px, 3vw, 36px); align-items: end; text-align: center; }
.editions figure { margin: 0; }
.editions img { filter: var(--model-shadow); margin-inline: auto; transition: transform .4s ease; }
.editions figure:hover img { transform: translateY(-8px); }
.editions figcaption strong { display: block; font: 500 1.1rem/1.3 var(--display); letter-spacing: .04em; margin-top: 16px; }
.editions figcaption span { font: italic 400 1.08rem/1.4 var(--serif); color: var(--ink2); }
@media (max-width: 700px) { .editions { grid-template-columns: 1fr; gap: 40px; } .editions img { max-width: 80%; } }

/* ---------- CTA band ---------- */
.cta-band { background-color: var(--wash); border-top: 1px solid var(--rule); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.cta-model img { filter: var(--model-shadow); transition: transform .5s ease; }
.cta-band:hover .cta-model img { transform: rotate(-1.5deg) scale(1.02); }
.cta-copy .lede { margin-top: 16px; }
.cta-copy .fine { margin-top: 18px; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; text-align: center; } .cta-copy .btn-row { justify-content: center; } .cta-copy .lede { margin-inline: auto; } .cta-model { max-width: 460px; margin-inline: auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d6cf; padding-block: clamp(48px, 7vw, 80px) 28px; }
.site-footer a { color: #f3efe7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 220px; margin-bottom: 18px; }
.footer-brand p { font: italic 400 1.15rem/1.5 var(--serif); max-width: 22em; color: #c9c5bc; }
.footer-h { font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mauve-lt); margin-bottom: 16px; }
.footer-nav li, .footer-shop li { margin-bottom: 10px; }
.footer-shop a { display: inline-flex; align-items: center; gap: 10px; }
.footer-shop .icon { width: 20px; height: 20px; }
.footer-fine { margin-top: 48px; padding-top: 22px; border-top: 1px solid #444a46; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: .84rem; color: #a7a49c; }
.footer-fine p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Small helpers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }
.glyph { display: inline-block; }
.muted { color: var(--ink2); }
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }

/* Reveal on scroll (only with JS, and not for people who prefer less motion) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Page-specific touches */
.hero > .floaty { top: 14%; left: 44%; --r: -12deg; }
.checks .ic { font: 600 .95rem/1 var(--sans); }
ol.checks { padding: 0; list-style: none; }
ol.steps { padding: 0; margin: 0; list-style: none; }
h1.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
