/* Trinkets website. Tokens follow the app (src/theme.ts): Geist and Geist
   Serif, white screens, ink and charcoal, Trinkets orange, trip cards with
   20pt corners, serif titles centred over art-direction covers. */

@font-face { font-family: 'Geist'; src: url('/assets/fonts/Geist-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/Geist-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/Geist-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist Serif'; src: url('/assets/fonts/GeistSerif-Square.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Geist Serif Soft'; src: url('/assets/fonts/GeistSerif-Triangle.ttf') format('truetype'); font-display: swap; }

:root {
  --ink: #161515;
  --charcoal: #292424;
  --text: #121212;
  --brand: #FF5100;
  --brand-deep: #DC4600;
  --brand-pale: #FFEEE1;
  --brand-tint: #FFE2D4;
  --muted: #91919B;
  --field: #F2F2F2;
  --divider: #ECECEC;
  --nav-inactive: #818181;
  --white: #FFFFFF;
  --radius-card: 20px;
  --radius-big: 32px;
  --gutter: 24px;
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: 'Geist Serif', Georgia, serif;
  --serif-soft: 'Geist Serif Soft', 'Geist Serif', Georgia, serif;
  --sans: 'Geist', -apple-system, system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--divider); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { width: 30px; height: 26px; }
.brand span { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--charcoal); opacity: .75; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--charcoal); color: var(--white);
  font: 600 15px/1 var(--sans); text-decoration: none; border: 0; cursor: default;
  transition: transform .35s var(--ease), background-color .25s;
}
a.pill { cursor: pointer; }
a.pill:hover { transform: translateY(-2px); background: var(--ink); }
a.pill:active { transform: scale(.97); }
.pill--light { background: var(--white); color: var(--text); }
.pill--brand { background: var(--brand); }
.pill .apple { width: 17px; height: 20px; }
.nav .pill { height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- Trip card (the app's CoverCard) ---------- */
.card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-card); background: var(--charcoal); color: var(--white);
}
.card > img, .card > .card__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.card__title {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center;
  font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 52px; letter-spacing: -.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.25); margin: 0;
}
.card__meta { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 8px; font-size: 16px; line-height: 20px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.card__meta span + span { opacity: .7; }

/* ---------- Hero ---------- */
.hero { padding: 4px var(--gutter) 0; }
.hero__card {
  max-width: 1392px; margin: 0 auto; height: min(86vh, 860px); min-height: 560px;
  border-radius: var(--radius-big);
  animation: hero-in 1.2s var(--ease) both;
}
.hero__card > img { transform: scale(1.08) translateY(var(--parallax, 0px)); transform-origin: center; animation: hero-img 1.8s var(--ease) both; }
.hero__card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
.hero__title {
  position: absolute; left: 0; right: 0; top: 13%; margin: 0 auto; max-width: 1280px; padding: 0 24px; text-align: center;
  font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 100px); line-height: .98; letter-spacing: -.025em;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero__title span { display: block; animation: line-in 1.1s var(--ease) both; }
.hero__title span:nth-child(2) { animation-delay: .12s; }
.hero__meta { left: 28px; bottom: 28px; right: auto; font-size: 17px; animation: line-in 1s .35s var(--ease) both; }
.hero__store { position: absolute; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 14px; animation: line-in 1s .45s var(--ease) both; }
.hero__store img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.hero__phone { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: -330px; }

@keyframes hero-in { from { opacity: 0; transform: scale(.965); } to { opacity: 1; transform: none; } }
@keyframes hero-img { from { transform: scale(1.18); } }
@keyframes line-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Phone ---------- */
.phone {
  --w: 300px; --s: calc((var(--w) - 22px) / 390px);
  position: relative; width: var(--w); height: calc(var(--w) * 844 / 390);
  padding: 11px; border-radius: calc(var(--w) * .165); background: #0d0d0d;
  box-shadow: 0 0 0 1.5px #3a3a3a inset, 0 40px 80px -20px rgba(0,0,0,.45), 0 18px 36px -18px rgba(0,0,0,.35);
  animation: phone-in 1.3s .25s var(--ease) both;
}
.phone__glass { position: absolute; inset: 11px; border-radius: calc(var(--w) * .135); overflow: hidden; background: var(--white); }
.phone__island { position: absolute; top: 2.2%; left: 50%; width: 31%; height: 3.6%; transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 20; }
.screen {
  position: absolute; top: 0; left: 0; width: 390px; height: 844px; transform-origin: top left;
  transform: scale(var(--k, .713)); overflow: hidden; background: var(--white);
  opacity: 0; transition: opacity .7s var(--ease);
  font-family: var(--sans); color: var(--text);
}
.screen.is-on { opacity: 1; }
@keyframes phone-in { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }

.dots { display: flex; gap: 6px; margin-top: 22px; }
.dots button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--field); color: var(--charcoal); font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color .3s, color .3s; }
.dots button[aria-pressed="true"] { background: var(--charcoal); color: var(--white); }
.dots button:hover:not([aria-pressed="true"]) { background: #e7e7e7; }

/* App chrome inside the phone, in app points. */
.sb { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 16px 32px 0 48px; font: 600 17px/1 var(--sans); z-index: 5; }
.sb svg { height: 13px; width: auto; }
.sb--light { color: #fff; }
.topbar { position: absolute; top: 77px; left: 25px; right: 24px; height: 34px; display: flex; align-items: center; justify-content: space-between; }
.topbar .logo { width: 30px; height: 26px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font: 600 13px/1 var(--sans); }
.tabbar { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: 184px; height: 60px; border-radius: 999px; background: #040404; display: flex; align-items: center; justify-content: center; gap: 24px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.tabbar svg { width: 32px; height: 32px; color: var(--nav-inactive); }
.tabbar svg.on { color: #fff; }
.glass { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.27); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glass svg { width: 24px; height: 24px; }

.home__list { position: absolute; top: 138px; left: 25px; right: 25px; display: grid; gap: 16px; }
.home__list .card { height: 280px; }
.screen.is-on .home__list .card { animation: card-rise .9s var(--ease) both; }
.screen.is-on .home__list .card:nth-child(2) { animation-delay: .08s; }
.screen.is-on .home__list .card:nth-child(3) { animation-delay: .16s; }
@keyframes card-rise { from { transform: translateY(40px); opacity: 0; } }

.collage { position: absolute; inset: 0; }
.collage > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.piece { position: absolute; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); }
.screen.is-on .piece { animation: drop .8s var(--ease) both; animation-delay: calc(var(--i) * 90ms + .1s); }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -50%) rotate(calc(var(--r, 0deg) - 14deg)) scale(1.35); } }
.piece.held { animation: drop .8s var(--ease) both, turn 2.6s 1.2s var(--ease) both !important; }
@keyframes turn { 0% { transform: translate(-50%, -50%) rotate(var(--r)) scale(1.04); } 60%, 100% { transform: translate(-50%, -50%) rotate(calc(var(--r) + 28deg)) scale(1.04); } }
.handle { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; }
.handle svg { width: 24px; height: 24px; }
.screen.is-on .handle { animation: pop .5s 1s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.trip__top { position: absolute; top: 70px; left: 24px; right: 24px; display: flex; justify-content: space-between; }
.trip__bottom { position: absolute; left: 24px; right: 24px; bottom: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.trip__bottom .publish { flex: 1; height: 60px; border-radius: 999px; background: #fff; color: var(--text); display: grid; place-items: center; font: 600 16px/1 var(--sans); }

.discover__grid { position: absolute; top: 138px; left: 24px; right: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; }
.tile { display: grid; gap: 8px; }
.tile .shot { position: relative; height: 240px; border-radius: 10px; overflow: hidden; background: var(--field); }
.tile .shot > img:not(.mini) { width: 100%; height: 100%; object-fit: cover; }
.tile .shot .mini { position: absolute; width: 64px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.tile .who { display: flex; justify-content: space-between; font: 500 14px/1 var(--sans); color: var(--charcoal); }
.tile .who span:last-child { color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.tile .who svg { width: 15px; height: 15px; }
.screen.is-on .tile { animation: card-rise .8s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.heart-burst { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; color: #fff; transform: translate(-50%, -50%) scale(0); opacity: 0; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.heart-burst path { fill: #fff; }
.screen.is-on .heart-burst { animation: burst 1.4s 1.3s var(--ease) both; }
@keyframes burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); } 30% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 55% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 140px 0; }
.lede { max-width: 760px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 20px; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 14px; }
.soft { font-family: var(--serif-soft); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; color: var(--charcoal); max-width: 34ch; margin: 0; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 120px; }
.feature--flip .feature__art { order: -1; }
.feature__copy { max-width: 460px; }
.feature__copy p { font-size: 18px; color: #3b3838; }
.feature__art { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--radius-big); background: var(--field); overflow: hidden; }

/* Make a trip: a fan of trip cards. */
.art-trips { display: grid; place-items: center; background: var(--brand-pale); }
.fan { position: relative; width: 62%; aspect-ratio: 340 / 280; }
.fan .card { position: absolute; inset: 0; box-shadow: 0 24px 50px -18px rgba(70,20,0,.35); transition: transform .9s var(--ease); will-change: transform; }
.fan .card__title { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; }
.fan .card:nth-child(1) { transform: translate(var(--f1x, 0), var(--f1y, 0)) rotate(var(--f1r, 0deg)); }
.fan .card:nth-child(2) { transform: translate(var(--f2x, 0), var(--f2y, 0)) rotate(var(--f2r, 0deg)); }
.fan .card:nth-child(3) { transform: rotate(var(--f3r, 0deg)); }
.fan.is-open { --f1x: -14%; --f1y: -34%; --f1r: -8deg; --f2x: 12%; --f2y: -17%; --f2r: 5deg; --f3r: -2deg; }
.fan.is-open:hover { --f1x: -18%; --f1y: -40%; --f1r: -11deg; --f2x: 16%; --f2y: -20%; --f2r: 8deg; --f3r: -3deg; }

/* Cut-outs: the shell lifts out of its photo as you scroll. */
.art-cutout > img.photo { width: 100%; height: 100%; object-fit: cover; }
.art-cutout .lift { position: absolute; left: 70%; top: 66%; width: 30%; opacity: calc(.15 + var(--lp, 0) * .85); transform: translate(calc(-50% + var(--lx, 0px)), calc(-50% + var(--ly, 0px))) rotate(var(--lr, 0deg)) scale(var(--ls, 1)); filter: drop-shadow(0 calc(4px + var(--lp, 0) * 30px) calc(8px + var(--lp, 0) * 30px) rgba(0,0,0,.4)); }
.art-cutout .scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0, rgba(255,81,0,.0) 40%, rgba(255,255,255,.35) 50%, transparent 60%); background-size: 100% 300%; animation: scan 3.4s var(--ease) infinite; mix-blend-mode: soft-light; pointer-events: none; }
@keyframes scan { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* Make it yours: drag the trinkets. */
.art-play { touch-action: none; user-select: none; -webkit-user-select: none; }
.art-play > img.bg { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.toy { position: absolute; width: 26%; cursor: grab; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--z, 1)); filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); transition: filter .3s var(--ease), transform .35s var(--ease); touch-action: none; }
.toy:hover { --z: 1.04; }
.toy.is-lifted { --z: 1.08; cursor: grabbing; filter: drop-shadow(0 18px 24px rgba(0,0,0,.4)); transition: filter .3s var(--ease); z-index: 10; }
.toy img { width: 100%; pointer-events: none; }
.hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: rgba(22,21,21,.75); color: #fff; font: 500 14px/1 var(--sans); white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.art-play.touched .hint { opacity: 0; }

/* Keep it: saved with the watermark, with a screenshot flash. */
.art-save { background: var(--ink); display: grid; place-items: center; }
.saved { position: relative; width: 62%; aspect-ratio: 720 / 1025; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-3deg); transition: transform .8s var(--ease); }
.art-save:hover .saved { transform: rotate(0) scale(1.02); }
.saved > img.bg { width: 100%; height: 100%; object-fit: cover; }
.saved .mini { position: absolute; filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
.watermark { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); background: #fff; color: var(--text); border-radius: 999px; padding: 8px 14px; font: 500 12px/1 var(--sans); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.watermark svg { width: 14px; height: 12px; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.art-save.is-in .flash { animation: flash 1.1s .3s ease-out both; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .95; } 100% { opacity: 0; } }

/* ---------- Little things ---------- */
.little { padding-top: 0; }
.little__photo { height: min(80vh, 760px); min-height: 460px; border-radius: var(--radius-big); }
.little__photo > img { transform: translateY(var(--parallax, 0px)) scale(1.12); }
.little__photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.5) 100%); }
.little__photo .card__title { font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -.02em; place-items: end start; padding: 40px; text-align: left; }
.finds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; list-style: none; padding: 0; }
.find { position: relative; padding: 32px 28px 30px; border-radius: var(--radius-card); background: var(--field); overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.find img { position: absolute; top: 22px; right: 22px; width: 96px; transform: rotate(var(--r, 0deg)); transition: transform .6s var(--ease); filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.find:hover img { transform: rotate(calc(var(--r, 0deg) - 10deg)) translateY(-6px) scale(1.06); }
.find h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 0 0 8px; max-width: 12ch; }
.find p { margin: 0; color: #4a4646; max-width: 30ch; }

/* ---------- Private by design ---------- */
.private { background: var(--brand-pale); }
.private .h2 { max-width: 13ch; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 64px 0 0; padding: 0; list-style: none; }
.rules li { border-top: 1px solid rgba(220,70,0,.25); padding-top: 22px; }
.rules h3 { font: 500 18px/1.3 var(--sans); margin: 0 0 8px; color: var(--text); }
.rules p { margin: 0; color: #5d4a40; font-size: 16px; }

/* ---------- Discover ---------- */
.discover { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.discover__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-big); }
.discover__photo > img { transform: translateY(var(--parallax, 0px)) scale(1.1); }
.likes { display: flex; gap: 14px; margin-top: 36px; }
.likes .tile { width: 150px; transition: transform .6s var(--ease); }
.likes .tile .shot { height: 212px; }
.likes .tile:hover { transform: translateY(-8px) rotate(-1.5deg); }
.likes .tile:nth-child(2):hover { transform: translateY(-8px) rotate(1.5deg); }

/* ---------- Closing ---------- */
.closing { padding: 0 var(--gutter) 24px; }
.closing .card { max-width: 1392px; margin: 0 auto; height: min(78vh, 720px); min-height: 480px; border-radius: var(--radius-big); }
.closing .card > img { transform: scale(1.1); transition: transform 2.4s var(--ease); }
.closing .card:hover > img { transform: scale(1.02); }
.closing .card__title { font-size: clamp(54px, 9vw, 140px); line-height: 1; letter-spacing: -.03em; }
.closing .card__meta { left: 28px; bottom: 28px; font-size: 17px; }
.closing .hero__store { animation: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 40px; margin-top: 0; font-size: 15px; }
.footer .brand { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h2 { font: 500 15px/1 var(--sans); color: #fff; margin: 6px 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__fine { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Scroll reveals (one quiet pattern) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Legal and support pages ---------- */
.doc { max-width: 720px; padding-top: 56px; padding-bottom: 120px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 64px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 14px; }
.doc h2 { font: 500 18px/1.3 var(--sans); margin: 40px 0 10px; }
.doc p { color: #3b3838; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.doc a { color: var(--brand); font-weight: 600; text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc .pill { color: #fff; }
.doc .pill:hover { text-decoration: none; }

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .feature, .discover { grid-template-columns: 1fr; gap: 40px; margin-top: 96px; }
  .feature--flip .feature__art { order: 0; }
  .rules { grid-template-columns: 1fr 1fr; }
  .finds { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .section { padding: 100px 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --radius-big: 24px; }
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .nav .pill { display: none; }
  .hero__card { height: 78svh; min-height: 520px; }
  .hero__title { top: 9%; }
  .hero__meta { display: none; }
  .closing .card__title { font-size: 48px; }
  .hero__store { display: none; }
  .hero__phone { margin-top: -180px; }
  .phone { --w: 250px; }
  .dots button { padding: 0 12px; font-size: 13px; }
  .rules { grid-template-columns: 1fr; gap: 28px; }
  .little__photo .card__title { padding: 24px; }
  .likes .tile { width: calc(50% - 7px); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__fine { flex-direction: column; }
  .closing .card__meta { display: none; }
  .closing .hero__store { display: flex; left: 20px; right: 20px; bottom: 20px; justify-content: center; }
  .closing .hero__store img { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Apple's App Store badge (on launch day). */
.badge { display: inline-flex; border-radius: 10px; transition: transform .35s var(--ease); }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 53px; width: auto; }
@media (max-width: 600px) { .closing .badge img { height: 48px; } }


/* ---------- Real app screenshots inside the phones ---------- */
/* The screenshots include the status bar and Dynamic Island, so the frame
   supplies only the bezel. Screens slide in from the right as they change,
   like moving between tabs. */
.phone__glass > .shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: translateX(6%) scale(.985);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.phone__glass > .shot.is-on { opacity: 1; transform: none; }
.phone--still { animation: none; }
.phone--trip { --w: 210px; position: absolute; right: 8%; bottom: 6%; transform: rotate(4deg); transition: transform .9s var(--ease); }
.art-trips:hover .phone--trip { transform: rotate(0deg) translateY(-8px); }
.art-trips .fan { width: 54%; margin-right: 22%; margin-top: -10%; }
.discover__art { position: relative; }
.phone--float { --w: 230px; position: absolute; right: -28px; bottom: -48px; transform: rotate(-4deg); transition: transform .9s var(--ease); }
.discover__art:hover .phone--float { transform: rotate(0deg) translateY(-10px); }
.discover { gap: 110px; }
@media (max-width: 960px) {
  .phone--float { --w: 170px; right: 12px; bottom: -36px; }
  .discover { gap: 72px; }
}
@media (max-width: 600px) {
  .phone--trip { --w: 150px; right: 6%; }
  .art-trips .fan { width: 60%; margin-right: 26%; }
  .phone--float { --w: 140px; }
}

/* ---------- Homepage: one simple screen ---------- */
body.is-solo { background: var(--brand); color: var(--white); min-height: 100svh; }
.solo {
  min-height: 100svh; max-width: 1240px; margin: 0 auto; padding: 56px 40px;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px;
}
.solo__copy { max-width: 560px; }
.solo__mark { display: inline-flex; color: var(--white); margin-bottom: 40px; }
.solo__mark .logo { width: 64px; height: 56px; }
.solo__title {
  font-family: var(--serif); font-weight: 400; margin: 0 0 22px;
  font-size: clamp(48px, 6vw, 84px); line-height: .98; letter-spacing: -.025em;
}
.solo__lede { font-size: 20px; line-height: 1.45; color: var(--brand-pale); max-width: 38ch; margin: 0 0 36px; }
.solo__get { display: flex; align-items: center; gap: 22px; }
.solo__get .pill--light { height: 56px; padding: 0 26px; font-size: 16px; }
.solo__qr { display: grid; place-items: center; width: 136px; height: 136px; padding: 12px; background: var(--white); border-radius: 22px; }
.solo__qr img { width: 100%; height: 100%; }
.solo__scan { font: 600 18px/1.25 var(--sans); margin: 0 0 12px; max-width: 12ch; }
.solo__foot { margin-top: 64px; font-size: 14px; color: rgba(255,255,255,.75); }
.solo__foot p { margin: 0 0 10px; }
.solo__foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.solo__foot a { color: var(--white); text-decoration: none; opacity: .85; }
.solo__foot a:hover { opacity: 1; text-decoration: underline; }

.solo__art { position: relative; display: grid; place-items: center; min-height: 640px; }
.solo__phone { --w: 300px; rotate: 5deg; animation: phone-in 1.2s .1s var(--ease) both; box-shadow: 0 50px 90px -30px rgba(90,20,0,.6), 0 0 0 1.5px #3a3a3a inset; }
.float { position: absolute; z-index: 3; filter: drop-shadow(0 14px 22px rgba(80,20,0,.35)); animation: bob 6s ease-in-out infinite, pop-in .9s var(--ease) both; }
.float--buns { width: 180px; top: 5%; right: 2%; --r: 8deg; animation-delay: 0s, .5s; }
.float--photos { width: 130px; bottom: 6%; left: 2%; --r: -6deg; animation-delay: -2s, .65s; }
.float--sun { width: 96px; top: 18%; left: 8%; --r: -10deg; animation-delay: -4s, .8s; }
.float--starfish { width: 110px; bottom: 4%; right: 10%; --r: 10deg; animation-delay: -3s, .95s; }
.dot { position: absolute; border-radius: 50%; background: rgba(255,255,255,.22); }
.dot--a { width: 22px; height: 22px; top: 4%; left: 30%; }
.dot--b { width: 34px; height: 34px; top: 52%; right: 0; }
.dot--c { width: 18px; height: 18px; bottom: 0; left: 36%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-12px) rotate(calc(var(--r) + 4deg)); } }
@keyframes pop-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

@media (max-width: 900px) {
  .solo { grid-template-columns: 1fr; padding: 40px 24px 48px; gap: 8px; text-align: left; }
  .solo__art { min-height: 520px; order: 2; }
  .solo__copy { display: contents; }
  .solo__copy > * { grid-column: 1; }
  .solo__foot { order: 3; margin-top: 8px; }
  .solo__phone { --w: 240px; }
  .float--buns { width: 130px; right: 0; }
  .float--photos { width: 96px; }
  .float--sun { width: 70px; }
  .float--starfish { width: 84px; }
}
@media (max-width: 600px) {
  .solo__mark { margin-bottom: 28px; }
  .solo__mark .logo { width: 48px; height: 42px; }
  .solo__lede { font-size: 17px; }
}

/* The UI video fills the phone like the screenshots did. */
video.shot { background: #fff; }

/* Homepage colours: warm off-white, near-black text, the monogram in Trinkets orange. */
body.is-solo { background: #F5F5EF; color: #211D1C; }
.solo__mark { color: var(--brand); }
.solo__lede { color: rgba(33,29,28,.72); }
.solo__get .pill--light { background: #211D1C; color: #F5F5EF; }
.solo__foot { color: rgba(33,29,28,.6); }
.solo__foot a { color: #211D1C; }
.solo__qr { box-shadow: 0 0 0 1px rgba(33,29,28,.1); }
.dot { background: rgba(255,81,0,.18); }
.solo__phone { box-shadow: 0 50px 90px -30px rgba(33,29,28,.35), 0 0 0 1.5px #3a3a3a inset; }
.float { filter: drop-shadow(0 14px 22px rgba(33,29,28,.22)); }

/* ---------- Glass pill (homepage, above the title) ---------- */
.glass {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; width: max-content; white-space: nowrap; padding: 0 14px 0 13px; margin: 0 0 22px;
  font: 500 14px/1 var(--sans); color: #211D1C; text-decoration: none; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.45));
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 0 0 1px rgba(33,29,28,.08), inset 0 1px 0 rgba(255,255,255,.95), 0 8px 24px -10px rgba(33,29,28,.25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: pop-in .8s .2s var(--ease) both;
}
.glass .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.glass:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(33,29,28,.12), inset 0 1px 0 #fff, 0 12px 28px -10px rgba(33,29,28,.3); }
.glass:hover .icon { transform: translateX(3px); }
.glass__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(255,81,0,.18); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 6px rgba(255,81,0,0); } }
.solo__mark { display: flex; width: max-content; }

/* ---------- Inner pages: same look as the homepage ---------- */
body.is-page { min-height: 100svh; display: flex; flex-direction: column; }
.top { width: 100%; max-width: 760px; margin: 0 auto; padding: 40px 24px 0; display: flex; align-items: center; justify-content: space-between; }
.top__mark { display: inline-flex; color: var(--brand); }
.top__mark .logo { width: 44px; height: 38px; }
.top__back { display: inline-flex; align-items: center; gap: 4px; font: 500 15px/1 var(--sans); color: rgba(33,29,28,.7); text-decoration: none; }
.top__back .icon { width: 18px; height: 18px; }
.top__back:hover { color: #211D1C; }
.page { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 64px 24px 24px; }
.page h1, .doc h1 { font-family: var(--serif); font-weight: 400; color: #211D1C; font-size: clamp(44px, 7vw, 72px); line-height: .98; letter-spacing: -.025em; margin: 0 0 18px; }
.page__lede { font-size: 20px; line-height: 1.45; color: rgba(33,29,28,.72); max-width: 40ch; margin: 0 0 8px; }
.is-page .doc p, .is-page .doc li { color: rgba(33,29,28,.78); }
.is-page .doc h2 { font: 400 26px/1.15 var(--serif); letter-spacing: -.01em; color: #211D1C; margin: 44px 0 10px; }
.is-page .doc .updated { color: rgba(33,29,28,.5); }
.is-page .doc a { color: #211D1C; text-decoration: underline; text-decoration-color: rgba(255,81,0,.5); text-underline-offset: 3px; font-weight: 500; }
.is-page .doc .pill { background: #211D1C; color: #F5F5EF; text-decoration: none; height: 48px; padding: 0 22px; }
.page__foot { width: 100%; max-width: 760px; margin: 0 auto; padding: 48px 24px 48px; }
.page__foot a[aria-current] { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; opacity: 1; }

/* What's new */
.release { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(33,29,28,.12); }
.release__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.release h2 { font: 400 34px/1 var(--serif); letter-spacing: -.015em; margin: 0; color: #211D1C; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font: 500 13px/1 var(--sans); color: rgba(33,29,28,.7); box-shadow: 0 0 0 1px rgba(33,29,28,.12); }
.tag--soon { color: #211D1C; background: rgba(255,255,255,.7); }
.upd { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; margin-bottom: 12px; background: #fff; border-radius: var(--radius-card); box-shadow: 0 0 0 1px rgba(33,29,28,.06), 0 10px 30px -18px rgba(33,29,28,.25); }
.upd__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-pale); color: var(--brand); }
.upd__icon .icon { width: 24px; height: 24px; }
.upd h3 { font: 600 18px/1.25 var(--sans); color: #211D1C; margin: 2px 0 6px; }
.upd p { margin: 0; color: rgba(33,29,28,.72); font-size: 16px; line-height: 1.5; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0 0 14px 30px; color: rgba(33,29,28,.78); line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border: solid var(--brand); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ticks strong { color: #211D1C; font-weight: 600; }
@media (max-width: 600px) {
  .top { padding-top: 28px; }
  .page { padding-top: 44px; }
  .page__lede { font-size: 18px; }
  .upd { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .release h2 { font-size: 28px; }
}

/* ---------- Logo hop on hover (the app's splash animation) ----------
   Each of the monogram's three shapes hops once in turn, lands with a little
   squash, then the mark swells slightly and settles. Timings match
   src/components/animated-splash.tsx. site.js adds .is-hopping on hover and
   removes it when the hop ends, so it always finishes cleanly. */
.solo__mark path { transform-box: fill-box; transform-origin: 50% 100%; }
.solo__mark.is-hopping path { animation: hop .71s linear both; }
.solo__mark.is-hopping path:nth-child(2) { animation-name: hop-flip; animation-delay: .13s; }
.solo__mark.is-hopping path:nth-child(3) { animation-delay: .26s; }
.solo__mark.is-hopping .logo { animation: swell .5s .9s var(--ease) both; }
@keyframes hop {
  0% { transform: none; animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  31% { transform: translateY(-7.2px) rotate(10deg); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  66% { transform: none; animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  79% { transform: scale(1.077, .923); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  100% { transform: none; }
}
@keyframes hop-flip {
  0% { transform: none; animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  31% { transform: translateY(-7.2px) rotate(-10deg); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  66% { transform: none; animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  79% { transform: scale(1.077, .923); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  100% { transform: none; }
}
@keyframes swell { 50% { transform: scale(1.08); } }
.solo__mark .logo { overflow: visible; }

/* Mobile web: the phone stands straight, with more room under the call to action. */
@media (max-width: 900px) {
  .solo__phone { rotate: 0deg; }
  .solo__art { margin-top: 48px; }
}

/* What's new: article list (image card left, words right) */
.post { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 40px; }
.post__art { position: relative; border-radius: 10px; overflow: hidden; background: #040303; aspect-ratio: 249 / 291; }
.post__art > img { width: 100%; height: 100%; object-fit: cover; }
.post h3 { font: 600 22px/1.4 var(--sans); color: #333; margin: 2px 0 10px; letter-spacing: -.01em; }
.post p { margin: 0; font-size: 17px; line-height: 1.45; color: #92929B; }
.merch__track { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.merch__track::-webkit-scrollbar { display: none; }
.merch__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.merch__slide img { width: 100%; height: 100%; object-fit: cover; }
.cost { position: absolute; left: 13px; bottom: 13px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(0,0,0,.27); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 13px/1 var(--sans); color: #fff; white-space: nowrap; }
.cost .pt { width: 15px; height: 15px; fill: #FF5100; }
.merch__nav { position: absolute; top: 50%; translate: 0 -50%; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; cursor: pointer; transition: background .2s; }
.merch__nav:hover { background: rgba(255,255,255,.42); }
.merch__nav .icon { width: 18px; height: 18px; }
.merch__nav--prev { left: 10px; }
.merch__nav--next { right: 10px; }
.merch__nav--next .icon { rotate: 180deg; }
.merch__nav[hidden] { display: none; }
.also { margin: 8px 0 0; padding: 18px 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(33,29,28,.06); font-size: 16px; line-height: 1.5; color: rgba(33,29,28,.72); }
.also strong { color: #211D1C; font-weight: 600; }
@media (max-width: 640px) {
  .post { grid-template-columns: 1fr; gap: 16px; margin-bottom: 44px; }
  .post h3 { font-size: 21px; }
}

/* Phones: you're already on the phone, so just the badge (no QR code). */
@media (max-width: 900px) {
  .solo__qr, .solo__scan { display: none; }
  .solo__get .badge img { width: 150px; height: auto; }
}

/* Product Hunt badge: floats bottom-right of the window on desktop, sits in the footer on phones. */
.ph { position: fixed; right: 24px; bottom: 24px; z-index: 20; display: block; border-radius: 10px; box-shadow: 0 8px 24px rgba(33,29,28,.12); transition: transform .35s var(--ease); }
.ph:hover { transform: translateY(-2px); }
.ph img { display: block; width: 250px; height: auto; }
@media (max-width: 900px) {
  .ph { position: static; display: inline-block; margin-top: 20px; box-shadow: none; }
  .ph img { width: 220px; }
}

/* Giving: the £1 pledge for Alzheimer's. */
.giving h2 { font-family: var(--serif); font-weight: 400; color: #211D1C; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 14px; }
.giving section { margin-top: 56px; }
.giving p { font-size: 17px; line-height: 1.6; color: rgba(33,29,28,.78); margin: 0 0 14px; max-width: 60ch; }
.pledge { display: flex; align-items: center; gap: 28px; margin-top: 44px !important; padding: 32px 36px; border-radius: 30px; background: #fff; box-shadow: 0 10px 40px rgba(33,29,28,.06); }
.pledge__amount { font-family: var(--serif); font-size: 112px !important; line-height: .9 !important; letter-spacing: -.04em; color: var(--brand) !important; margin: 0 !important; }
.pledge__text { font-size: 20px !important; line-height: 1.45 !important; color: #211D1C !important; margin: 0 !important; }
.fine { padding-top: 32px; border-top: 1px solid rgba(33,29,28,.12); }
.fine h2 { font-family: inherit !important; font-size: 15px !important; font-weight: 600; letter-spacing: 0 !important; }
.fine ul { margin: 0; padding-left: 18px; }
.fine li { font-size: 13px; line-height: 1.6; color: rgba(33,29,28,.6); margin-bottom: 8px; }
.fine a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) {
  .pledge { flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 24px; }
  .pledge__amount { font-size: 88px !important; }
  .pledge__text { font-size: 18px !important; }
  .giving h2 { font-size: 26px; }
}

/* ---------- Site navigation: links on desktop, burger and full-screen menu on phones ---------- */
.hometop { position: absolute; top: 0; left: 0; right: 0; z-index: 100; max-width: 1240px; margin: 0 auto; padding: 48px 40px 0; display: flex; justify-content: flex-end; pointer-events: none; }
.hometop > * { pointer-events: auto; }
.top { position: relative; z-index: 100; }
.top__mark { position: relative; z-index: 2; }
.sitenav { display: flex; align-items: center; gap: 28px; }
.sitenav a { font: 500 15px/1 var(--sans); color: rgba(33,29,28,.72); text-decoration: none; transition: color .2s; }
.sitenav a:hover { color: #211D1C; }
.sitenav a[aria-current] { color: #211D1C; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sitenav .sitenav__cta { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; background: #211D1C; color: #F5F5EF; transition: transform .3s var(--ease); }
.sitenav .sitenav__cta:hover { color: #F5F5EF; transform: translateY(-1px); }
.burger { display: none; position: relative; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.55)); box-shadow: 0 0 0 1px rgba(33,29,28,.08), 0 6px 18px -8px rgba(33,29,28,.25);
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #211D1C; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 1; background: #F5F5EF; padding: 120px 24px calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; justify-content: space-between; animation: menu-in .35s var(--ease) both; }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--serif); font-size: 46px; line-height: 1.15; letter-spacing: -.02em; color: #211D1C; text-decoration: none; }
.menu__links a[aria-current] { color: var(--brand); }
.menu__badge img { height: 52px; width: auto; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
@media (max-width: 900px) {
  .sitenav { display: none; }
  .burger { display: flex; }
  .hometop { padding: 39px 24px 0; }
}
@media (prefers-reduced-motion: reduce) { .menu { animation: none; } .burger span { transition: none; } }

/* ---------- Blog ---------- */
.posts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 48px; }
.postcard a { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.postcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; margin-bottom: 8px; transition: transform .5s var(--ease); }
.postcard a:hover img { transform: scale(1.01); }
.postcard time, .article time { font: 500 14px/1 var(--sans); color: rgba(33,29,28,.55); }
.postcard h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 38px); line-height: 1.05; letter-spacing: -.02em; color: #211D1C; margin: 0; text-wrap: balance; }
.postcard p { margin: 0; color: rgba(33,29,28,.72); font-size: 17px; max-width: 60ch; }
.postcard__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--brand); }
.postcard__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.postcard a:hover .postcard__more .icon { transform: translateX(3px); }

.article .article__back { display: inline-flex; align-items: center; gap: 4px; font: 500 15px/1 var(--sans); color: rgba(33,29,28,.7); text-decoration: none; margin-bottom: 28px; }
.article .article__back .icon { width: 18px; height: 18px; }
.article .article__back:hover { color: #211D1C; }
.article time { display: block; margin-bottom: 14px; }
.article h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.02; text-wrap: balance; }
.article__hero { margin: 32px 0 40px; }
.article__hero img { width: 100%; height: auto; border-radius: 24px; }
.article__body { max-width: 640px; }
.article__body p { font-size: 18px; line-height: 1.7; color: rgba(33,29,28,.82); margin: 0 0 20px; }
.article__body .article__lede { font-size: 22px; line-height: 1.5; color: #211D1C; margin-bottom: 36px; }
.article__body h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; color: #211D1C; margin: 48px 0 16px; }
.article__body a { color: var(--brand); font-weight: 600; text-decoration: none; }
.article__body a:hover { text-decoration: underline; }
.article__body .article__sign { margin-top: 36px; font-weight: 600; color: #211D1C; }
.article__body .article__sign span { font-weight: 400; color: rgba(33,29,28,.6); }
.article__cta { margin-top: 32px; }
.article__cta .badge img { height: 53px; width: auto; }
@media (max-width: 640px) {
  .article__body p { font-size: 17px; }
  .article__body .article__lede { font-size: 19px; }
  .article__body h2 { font-size: 26px; }
  .article__hero { margin: 24px 0 32px; }
  .article__hero img, .postcard img { border-radius: 16px; }
}
