/*
 * meqa.app (2026-11-17). Meqa's own colours: ivory ground, navy ink, rose gold, the card's serif.
 *
 * MOTION (2026-11-17, Troy: make it "as detailed, as interactive, as good,
 * smooth as well"). Meqa's calmer motion: the hero is her real card, floating, leaning to the
 * pointer with a rose-gold light, turning over on a tap and spinning with weight when dragged (site.js); a section the
 * scroll plays (a barn day logged, the round added, her card rising out of the phone and turning over); a care list
 * that works; her name in the app's three styles; icons that draw themselves; everything else rising into place once.
 * Only transform and opacity move. Without scripts, and under Reduce Motion, the page is complete and still.
 */
:root {
  --ground: #FBF7F2;
  --linen: #F3EBE3;
  --blush: #F8E8E2;
  --surface: #FFFFFF;
  --ink: #1B2240;
  --ink-soft: #585C73;
  --ink-faint: #6E6B80;
  --navy: #182241;
  --on-navy: #FBF7F2;
  --rose: #9E5A4E;
  --rose-light: #E9B6A2;
  --forest: #2C4A3C;
  --sage: #4F7458;
  --due: #9A6A1F;
  --brass: #D9B259;
  --brass-soft: #F1E2B8;
  --hair: rgba(27, 34, 64, 0.1);
  --shadow: 0 24px 60px rgba(74, 48, 40, 0.16);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.3, 1.35, .45, 1);
  --top-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: clip; }
a { color: var(--rose); }
a:hover { color: #7E4338; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--rose); }

/* --- Header: sticky, and frosted once the page moves under it ------------------------------------------------ */
.top { position: sticky; top: 0; z-index: 60; padding-top: env(safe-area-inset-top); transition: background-color .35s ease, box-shadow .35s ease; }
.top.is-scrolled { background: rgba(251, 247, 242, .8); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 var(--hair); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: var(--top-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; transition: transform .5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span { font-family: var(--serif); font-size: 28px; line-height: 1; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-link { position: relative; color: var(--ink-soft); text-decoration: none; padding: 6px 0; transition: color .2s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1.5px; border-radius: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ink); }

/* --- Buttons ------------------------------------------------------------------------------------------------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 16px; transition: transform .25s var(--ease), background-color .25s ease, box-shadow .25s ease; -webkit-tap-highlight-color: transparent; }
.button.small { min-height: 40px; padding: 0 17px; font-size: 15px; }
.button.primary { background: var(--navy); color: var(--on-navy); box-shadow: 0 6px 18px rgba(24, 34, 65, .18); }
.button.primary:hover { background: #0F1730; color: var(--on-navy); box-shadow: 0 12px 26px rgba(24, 34, 65, .26); }
.button.quiet { background: var(--linen); color: var(--ink); }
.button.quiet:hover { background: #ECE1D6; color: var(--ink); }
.button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .button:hover { transform: translateY(-2px); } .button:active { transform: translateY(0) scale(.97); } }

/* --- Hero: the words, and her real card ---------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-top: 28px; padding-bottom: 96px; min-height: min(880px, calc(100svh - var(--top-h))); }
.hero h1 { font-size: clamp(46px, 6.4vw, 86px); margin: 16px 0 22px; letter-spacing: -.01em; }
.hero-title .ln { display: block; overflow: hidden; padding: 0 .04em .1em 0; margin-bottom: -.1em; }
.hero-title .ln > span { display: inline-block; }
.hero p.lede { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin: 0 0 30px; }
.lede-short { display: none; }
@media (max-width: 600px) { .lede-short { display: inline; } }
.soon { margin: 16px 0 0; font-size: 14px; color: var(--ink-faint); }

.hero-card { position: relative; display: flex; flex-direction: column; align-items: center; }
.mcard-glow { position: absolute; left: -4%; right: -4%; top: 4%; bottom: 18%; background: radial-gradient(closest-side, rgba(233, 182, 162, .55), rgba(248, 232, 226, .25) 60%, rgba(248, 232, 226, 0)); filter: blur(26px); pointer-events: none; }
.mcard-float { position: relative; width: min(360px, 100%); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.mcard { display: block; perspective: 1500px; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; outline: none; }
.mcard.is-dragging { cursor: grabbing; }
.mcard-body { position: relative; aspect-ratio: 720 / 1013; rotate: -3deg; transform-style: preserve-3d; transform: rotateX(0deg) rotateY(0deg); }
.mcard:focus-visible .mcard-body { outline: 2px solid var(--rose); outline-offset: 10px; border-radius: 22px; }
.mface { position: absolute; inset: 0; border-radius: 4.6% / 3.3%; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 34px 60px rgba(74, 48, 40, .22), 0 10px 22px rgba(74, 48, 40, .14); }
.mcard { --t: 4px; }
.mface, .mface * { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mface.front { transform: translateZ(calc(var(--t) / 2)); }
.mface.back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
/* Layers above the face (2026-11-17, Troy: "the web is not in depth"): the framed photo stands 9 px off the card over
   a shadowed well, the rosette 16 px, so every turn of the card moves them against the face. Positions are the app's
   own (captured from the card at 3x). */
.mwell { position: absolute; left: 3.212%; top: 10.654%; width: 93.576%; height: 53.293%; border-radius: 3.43% / 4.29%; background: rgba(74, 44, 34, .16); box-shadow: inset 0 3px 8px rgba(60, 34, 26, .45), inset 0 0 0 1px rgba(158, 90, 78, .35); }
.mlayer { position: absolute; -webkit-backface-visibility: hidden; backface-visibility: hidden; pointer-events: none; }
.mphoto { left: 3.212%; top: 10.654%; width: 93.576%; height: 53.293%; border-radius: 3.43% / 4.29%; overflow: hidden; transform: translateZ(calc(var(--t) / 2 + 9px)); box-shadow: 0 10px 18px rgba(60, 34, 26, .28), 0 2px 4px rgba(60, 34, 26, .2); }
.mphoto img { width: 100%; height: 100%; object-fit: cover; }
.mrosette { left: 84.420%; top: 53.130%; width: 14.736%; height: 15.041%; transform: translateZ(calc(var(--t) / 2 + 16px)); filter: drop-shadow(0 6px 6px rgba(60, 34, 26, .3)); }
.mcard[data-face="back"] .mlayer { visibility: hidden; }
/* It rests a little turned and sways on its own, so the depth shows without a pointer; a hand on it holds it still. */
.mcard-sway { transform-style: preserve-3d; animation: sway 11s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotateY(-12deg) rotateX(5deg); } 50% { transform: rotateY(10deg) rotateX(2deg); } }
.mcard.is-dragging .mcard-sway { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .mcard:hover .mcard-sway { animation-play-state: paused; } }
/* The face turned away is not drawn at all (site.js sets data-face): no engine is trusted to cull it. */
.mcard[data-face="front"] .mface.back, .mcard[data-face="back"] .mface.front { visibility: hidden; }
/* The edge: strips of the rose-gold rim between the faces (site.js buildEdge), lit along their length. */
.medge { position: absolute; left: 50%; top: 50%; height: var(--t, 4px); margin-top: calc(var(--t, 4px) / -2); pointer-events: none;
  background: var(--edge, linear-gradient(90deg, #8E4E43, #C98A78 22%, #F3D2C4 48%, #D59A87 62%, #9E5A4E 100%)); }
.story-card { --t: 3px; }
.story-card .sface { transform: translateZ(calc(var(--t) / 2)); }
.story-card .sback { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
.mface img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.sheen { position: absolute; inset: 0; pointer-events: none; opacity: var(--so, 0); transition: opacity .4s ease;
  background:
    radial-gradient(70% 52% at var(--sx, 30%) var(--sy, 22%), rgba(255, 255, 255, .5), rgba(255, 238, 230, .14) 38%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(105deg, rgba(255, 255, 255, 0) calc(var(--band, 30%) - 14%), rgba(255, 226, 212, .3) var(--band, 30%), rgba(255, 255, 255, 0) calc(var(--band, 30%) + 14%)); }
.mcard-shadow { width: min(290px, 78%); height: 28px; margin-top: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(74, 48, 40, .26), rgba(74, 48, 40, 0)); transform: scaleX(var(--shs, 1)); opacity: var(--sho, 1); animation: shadow 7s ease-in-out infinite; pointer-events: none; }
@keyframes shadow { 50% { scale: .9; opacity: .75; } }
.card-hint { display: flex; align-items: center; gap: 9px; margin: 10px 0 0; font-size: 14px; color: var(--ink-faint); transition: opacity .6s ease; }
.card-hint i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: ping 1.9s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(158, 90, 78, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(158, 90, 78, 0); } }
.hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-mouse { display: inline; } .hint-touch { display: none; } .mcard { cursor: grab; } }
.hero-card.is-used .card-hint { opacity: 0; }

/* The hero arrives once: the lines rise out of their own masks, the rest follows, the card lifts in. */
.js .hero-title .ln > span { animation: rise 1.15s var(--ease) both; }
.js .hero-title .ln:nth-child(2) > span { animation-delay: .09s; }
.js .hero-title .ln:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { from { transform: translateY(108%); } }
.js .in-1 { animation: up .9s var(--ease) both; }
.js .in-2 { animation: up 1s var(--ease) .32s both; }
.js .in-3 { animation: up 1s var(--ease) .42s both; }
.js .in-4 { animation: up 1s var(--ease) .52s both; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
.js .in-card { animation: card-in 1.5s var(--ease) .15s both; }
@keyframes card-in { from { opacity: 0; transform: translateY(46px) scale(.95) rotate(2deg); } }

/* --- The story: a barn day, played by the scroll -------------------------------------------------------------- */
.story { position: relative; height: 340vh; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-grid { width: 100%; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding-top: var(--top-h); }
.story-copy h2 { font-size: clamp(38px, 4.6vw, 60px); margin: 12px 0 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 470px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; color: var(--ink-faint); transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease), color .4s ease; }
.steps li.is-now { background: var(--surface); color: var(--ink-soft); box-shadow: 0 14px 34px rgba(74, 48, 40, .09); transform: translateX(8px); }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 18px; font-variant-numeric: lining-nums; font-feature-settings: "lnum"; background: var(--linen); color: var(--ink-faint); transition: background-color .4s ease, color .4s ease, transform .5s var(--spring); }
.steps li.is-on .step-n { background: var(--navy); color: var(--on-navy); }
.steps li.is-now .step-n { transform: scale(1.08); }
.step-t b { display: block; font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; margin-bottom: 4px; color: var(--ink-faint); transition: color .4s ease; }
.steps li.is-on .step-t b { color: var(--ink); }

.story-stage { position: relative; height: min(76vh, 700px); }
.story-phone-wrap { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 408 / 862; translate: -50% -50%; will-change: transform; }
.phone { border-radius: 34px; padding: 8px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--hair); }
.phone img { border-radius: 27px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; height: auto; }
.story-phone { width: 100%; height: 100%; border-radius: 40px; padding: 9px; box-shadow: 0 34px 80px rgba(74, 48, 40, .2); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 31px; overflow: hidden; container-type: inline-size; background: var(--ground); transform: translateZ(0); }
.screen > img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; object-fit: cover; object-position: top; }
.s-add { will-change: transform; }
.s-shows { transform: translateX(100%); box-shadow: -12px 0 30px rgba(27, 34, 64, .12); will-change: transform; }
.s-photo { position: absolute; left: 6.154%; top: 20.38%; width: 87.69%; height: 19.91%; border-radius: 3.2cqw; overflow: hidden; opacity: 0; will-change: transform, opacity; }
.s-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.s-chip { position: absolute; top: 46.21%; height: 4.27%; display: flex; align-items: center; justify-content: center; gap: 1.2cqw; border-radius: 99px; background: var(--navy); color: var(--on-navy); font: 600 4.1cqw/1 var(--sans); opacity: 0; transform: scale(.85); will-change: transform, opacity; }
.s-chip svg { width: 3.1cqw; height: 3.1cqw; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.s-chip-rode { left: 6.15%; width: 15.9%; }
.s-chip-jumped { left: 45.38%; width: 21.28%; }
.s-ring { position: absolute; left: 6.15%; top: 59.36%; width: 87.7%; height: 8.89%; border-radius: 5.6cqw; box-shadow: 0 0 0 .7cqw rgba(158, 90, 78, .6), 0 0 0 3.2cqw rgba(233, 182, 162, .22); opacity: 0; }
.story-card { position: absolute; left: 50%; top: 50%; width: min(300px, 46%); aspect-ratio: 720 / 1013; translate: -50% -50%; perspective: 1500px; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.story-card-body { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.sface { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 4.6% / 3.3%; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 34px 70px rgba(74, 48, 40, .26), 0 10px 22px rgba(74, 48, 40, .14); }
.sback { transform: rotateY(180deg); }

/* --- Chapters ------------------------------------------------------------------------------------------------- */
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.chapter.flip .copy { order: 2; }
.chapter h2 { font-size: clamp(36px, 4.6vw, 56px); margin: 12px 0 16px; }
.chapter p { color: var(--ink-soft); margin: 0 0 14px; max-width: 32em; }
.chapter ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.chapter li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.chapter li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 9px; border-radius: 50%; background: var(--rose-light); box-shadow: 0 0 0 3px var(--blush); }
.art { display: flex; justify-content: center; }
.art .phone { width: min(300px, 78vw); }
@media (hover: hover) and (pointer: fine) {
  .phone.lift { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
  .phone.lift:hover { transform: translateY(-10px) rotate(-.8deg); box-shadow: 0 40px 90px rgba(74, 48, 40, .24); }
}

/* Her care, working: tap a row and the farrier has been. */
.care-demo { width: min(440px, 100%); justify-self: center; }
.care-card { background: var(--surface); border: 1px solid var(--hair); border-radius: 28px; padding: 24px 24px 8px; box-shadow: 0 28px 70px rgba(74, 48, 40, .12); }
.care-head h3 { font-size: 32px; }
.care-head p { margin: 4px 0 6px; color: var(--ink-soft); font-size: 15.5px; }
.care-row { -webkit-appearance: none; appearance: none; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--hair); text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name when" "every last" "bar bar"; column-gap: 12px; width: 100%; padding: 15px 2px 17px; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 0; }
.care-row:last-child { border-bottom: 0; }
.care-row:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 10px; }
.cr-name { grid-area: name; font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.15; color: var(--ink); transition: color .25s ease; }
.cr-every { grid-area: every; font-size: 14.5px; color: var(--ink-soft); }
.cr-when { grid-area: when; justify-self: end; align-self: center; font-weight: 600; font-size: 15.5px; color: var(--sage); transition: color .4s ease; }
.cr-last { grid-area: last; justify-self: end; font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cr-bar { grid-area: bar; height: 4px; margin-top: 11px; border-radius: 4px; background: #F2E9E2; overflow: hidden; }
.cr-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--sage); transform-origin: left center; transform: scaleX(var(--p, 0)); transition: transform 1.1s var(--ease), background-color .4s ease; }
.care-row.soon .cr-when { color: var(--due); }
.care-row.soon .cr-bar i { background: var(--due); }
.care-row.due .cr-when { color: var(--rose); }
.care-row.due .cr-bar i { background: var(--rose); }
.care-row.pop .cr-when { animation: pop .55s var(--spring); }
@keyframes pop { 40% { transform: scale(1.14); } }
@media (hover: hover) and (pointer: fine) { .care-row:hover .cr-name { color: var(--rose); } }
.try { display: flex; align-items: center; gap: 9px; margin: 16px 0 0 6px; font-size: 14px; color: var(--ink-faint); transition: opacity .6s ease; }
.try i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: ping 1.9s infinite; flex: none; }
.care-demo.is-used .try { opacity: .55; }
.care-demo.is-used .try i { animation: none; background: var(--rose-light); }

/* Her name, three ways: the app's own faces (Cormorant Garamond, Yellowtail, Anton). */
.name-demo { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 470px; margin: 22px 0 22px; padding: 16px 16px 16px 22px; background: var(--surface); border: 1px solid var(--hair); border-radius: 22px; box-shadow: 0 14px 36px rgba(74, 48, 40, .07); }
.name-stage { position: relative; flex: 1; height: 66px; min-width: 110px; }
.nm { position: absolute; left: 0; top: 50%; transform: translateY(-50%) translateY(10px); opacity: 0; filter: blur(6px); white-space: nowrap; color: var(--ink); line-height: 1.2; transition: opacity .45s ease, filter .45s ease, transform .7s var(--ease); }
.nm.is-on { opacity: 1; filter: none; transform: translateY(-50%); }
.nm-serif { font-family: var(--serif); font-weight: 600; font-size: 54px; }
.nm-script { font-family: "Yellowtail", cursive; font-size: 54px; }
.nm-block { font-family: "Anton", Impact, sans-serif; font-size: 42px; letter-spacing: .07em; text-transform: uppercase; }
.seg { position: relative; display: flex; flex: none; padding: 4px; background: var(--linen); border-radius: 999px; }
.seg button { position: relative; z-index: 1; -webkit-appearance: none; appearance: none; border: 0; background: none; font: 600 14px/1 var(--sans); color: var(--ink-soft); padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: color .3s ease; -webkit-tap-highlight-color: transparent; }
.seg button.is-on { color: var(--on-navy); }
.seg button:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--navy); transition: transform .55s var(--spring), width .55s var(--spring); }
.no-js .seg-pill, html:not(.js) .seg-pill { display: none; }
html:not(.js) .seg button.is-on { background: var(--navy); }

/* --- From Discover: a story, as a card that opens it -------------------------------------------------------- */
.teaser-wrap { padding-top: 8px; padding-bottom: 40px; }
.teaser { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 34px; padding: 18px; border-radius: 30px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 22px 54px rgba(74, 48, 40, .09); color: inherit; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.teaser-art { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #F8E8E2 0%, #F3EBE3 70%); }
.teaser-art img { position: absolute; top: 50%; width: 31%; height: auto; border-radius: 4.6% / 3.3%; box-shadow: 0 22px 40px rgba(74, 48, 40, .22); transition: transform .6s var(--ease); }
.ta-a { left: 14%; translate: 0 -46%; rotate: -9deg; }
.ta-b { left: 34.5%; translate: 0 -52%; rotate: 1deg; z-index: 2; width: 33%; }
.ta-c { left: 55%; translate: 0 -46%; rotate: 9deg; }
@media (hover: hover) and (pointer: fine) { .teaser:hover .ta-a { transform: translate(-10px, -4px) rotate(-3deg); } .teaser:hover .ta-c { transform: translate(10px, -4px) rotate(3deg); } .teaser:hover .ta-b { transform: translateY(-8px); } }
.teaser-copy { display: flex; flex-direction: column; gap: 10px; padding-right: 18px; }
.teaser-copy b { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.02; color: var(--ink); }
.teaser-copy > span:not(.eyebrow):not(.teaser-go) { color: var(--ink-soft); }
.teaser-go { font-weight: 600; color: var(--rose); }
.teaser-go i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .teaser:hover { transform: translateY(-4px); box-shadow: 0 32px 70px rgba(74, 48, 40, .14); color: inherit; } .teaser:hover .teaser-go i { transform: translateX(5px); } }
@media (max-width: 760px) { .teaser { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 12px; border-radius: 24px; } .teaser-copy { padding: 4px 8px 10px; } }

/* --- Private by design ---------------------------------------------------------------------------------------- */
.safety { background: var(--navy); color: var(--on-navy); border-radius: 34px; padding: 60px 52px; margin: 24px 0 88px; position: relative; overflow: hidden; }
.safety::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 182, 162, .16), rgba(233, 182, 162, 0)); pointer-events: none; }
.safety h2 { font-size: clamp(34px, 4.2vw, 52px); margin: 10px 0 30px; }
.safety .eyebrow { color: var(--brass); }
.safety .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px; }
.promise { display: flex; gap: 16px; align-items: flex-start; }
.ic { flex: none; width: 36px; height: 36px; margin-top: 2px; fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; transition: transform .5s var(--spring); }
.safety h3 { font-size: 25px; margin-bottom: 6px; color: var(--brass-soft); }
.safety p { margin: 0; color: rgba(251, 247, 242, .82); font-size: 16px; }
.js .safety.is-pre .ic * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .safety.is-in .ic * { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease) .35s; }
.js .safety.is-in .promise:nth-child(2) .ic * { transition-delay: .5s; }
.js .safety.is-in .promise:nth-child(3) .ic * { transition-delay: .65s; }
.js .safety.is-in .promise:nth-child(4) .ic * { transition-delay: .8s; }
.js .safety.is-in .promise:nth-child(5) .ic * { transition-delay: .95s; }
.js .safety.is-in .promise:nth-child(6) .ic * { transition-delay: 1.1s; }
@media (hover: hover) and (pointer: fine) { .promise:hover .ic { transform: translateY(-3px) rotate(-6deg); } }

/* --- Find a horse: the catalogue's search, from the home page (2026-11-17) ------------------------------------- */
.find-wrap { padding-top: 0; padding-bottom: 48px; }
.find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "copy row" "copy all"; align-items: center; gap: 10px 40px; padding: 32px 36px; border-radius: 30px; background: linear-gradient(135deg, var(--blush), var(--linen)); }
.find-copy { grid-area: copy; display: flex; flex-direction: column; gap: 10px; }
.find-copy b { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.8vw, 48px); line-height: 1.02; color: var(--ink); }
.find-copy > span:not(.eyebrow) { color: var(--ink-soft); }
.find-row { grid-area: row; align-self: end; display: flex; gap: 10px; }
.find-field { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; height: 54px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 12px 30px rgba(74, 48, 40, .08); }
.find-field:focus-within { border-color: rgba(158, 90, 78, .45); box-shadow: 0 0 0 4px rgba(233, 182, 162, .35); }
.find-field svg { flex: none; width: 20px; height: 20px; margin-left: 18px; fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-linecap: round; }
.find-field input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: none; outline: none; font: inherit; font-size: 17px; color: var(--ink); padding: 0 14px 0 10px; -webkit-appearance: none; appearance: none; }
.find-field input::placeholder { color: var(--ink-faint); }
.find-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.find .button { min-height: 54px; }
.find-all { grid-area: all; align-self: start; justify-self: start; font-weight: 600; text-decoration: none; padding: 6px 4px; }
.find-all i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.find-all:hover i { transform: translateX(5px); }
@media (max-width: 760px) {
  .find { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "row" "all"; gap: 16px; padding: 24px 20px; border-radius: 24px; }
  .find .button { padding: 0 18px; }
}

/* --- Join ------------------------------------------------------------------------------------------------------ */
.join { text-align: center; padding-top: 8px; padding-bottom: 96px; }
.join h2 { font-size: clamp(34px, 4.2vw, 52px); margin: 10px 0 14px; }
.join p { color: var(--ink-soft); margin: 0 auto 26px; max-width: 30em; }
.join .cta { justify-content: center; }

/* --- Rising into place, once ----------------------------------------------------------------------------------- */
.js [data-reveal].is-pre:not(.copy) { opacity: 0; transform: translateY(48px); }
.js [data-reveal].is-in:not(.copy) { opacity: 1; transform: none; transition: opacity .9s ease, transform 1.2s var(--ease); }
.js .art.is-in, .js .care-demo.is-in { transition-delay: .1s; }
.js .copy.is-pre > * { opacity: 0; transform: translateY(26px); }
.js .copy.is-in > * { opacity: 1; transform: none; transition: opacity .8s ease, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }

/* --- Footer ---------------------------------------------------------------------------------------------------- */
footer { border-top: 1px solid var(--hair); padding: 32px 0 calc(48px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-faint); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
footer .links a { color: var(--ink-soft); text-decoration: none; }
footer .links a:hover { color: var(--ink); }
footer .credits { font-size: 12.5px; line-height: 1.6; max-width: 70em; }
footer .credits a { color: var(--ink-faint); }

/* --- Long pages: privacy, terms, support ------------------------------------------------------------------------ */
.doc { max-width: 760px; margin: 0 auto; padding: 24px 20px 80px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); margin: 12px 0 10px; }
.doc .updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 30px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--linen); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
.doc .lede { font-size: 19px; color: var(--ink-soft); margin: 0 0 24px; }
.doc h3 { font-size: 23px; margin: 26px 0 6px; }
.doc .box p { margin: 0 0 10px; }
.doc .box p:last-child { margin-bottom: 0; }
.doc .table { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--hair); border-radius: 16px; background: var(--surface); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--hair); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; background: var(--linen); }
.doc td:first-child { font-weight: 600; width: 34%; }
.doc details { border-top: 1px solid var(--hair); padding: 4px 0; }
.doc details:last-of-type { border-bottom: 1px solid var(--hair); }
.doc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--ink); }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; font-family: var(--sans); font-size: 22px; line-height: 1; color: var(--rose); flex: none; transition: transform .35s var(--ease); }
.doc details[open] summary::after { content: "–"; }
.doc details p { margin: 0 0 14px; color: var(--ink-soft); }
.js .doc details[open] > p { animation: up .5s var(--ease) both; }

/* Not found */
.lost { max-width: 640px; margin: 0 auto; padding: 72px 20px 110px; text-align: center; }
.lost h1 { font-size: clamp(40px, 7vw, 64px); margin: 14px 0 16px; }
.lost p { color: var(--ink-soft); margin: 0 auto 28px; max-width: 30em; }
.lost .cta { justify-content: center; }

/* === Tablet and phone: one column, each piece re-laid for the hand ============================================= */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; min-height: 0; padding-top: 18px; padding-bottom: 72px; }
  .hero-copy { max-width: 620px; }
  .hero-card { justify-self: center; width: min(380px, 100%); }
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 76px; padding-bottom: 76px; }
  .chapter.flip .copy { order: 0; }
  .safety .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* The story on a phone: the title and the step it's on above, the phone below, the card rising over it. */
  .story { height: 320vh; }
  .story-pin { align-items: stretch; }
  .story-grid { display: flex; flex-direction: column; align-items: stretch; gap: 10px; height: 100%; padding-top: calc(var(--top-h) + 14px); padding-bottom: 22px; }
  .story-copy h2 { font-size: clamp(30px, 7.4vw, 44px); margin: 6px 0 12px; }
  .steps { display: block; max-width: none; min-height: 92px; position: relative; }
  .steps li { position: absolute; inset: 0 0 auto 0; padding: 0; background: none; box-shadow: none; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .6s var(--ease); pointer-events: none; }
  .steps li.is-now { background: none; box-shadow: none; opacity: 1; transform: none; pointer-events: auto; }
  .step-t b { font-size: 22px; }
  .step-t { font-size: 15.5px; line-height: 1.45; }
  .story-stage { flex: 1 1 auto; min-height: 0; height: auto; }
  .story-card { width: min(250px, 62%); }
}
@media (max-width: 600px) {
  :root { --top-h: 58px; }
  .top nav { gap: 14px; font-size: 14.5px; }
  .nav-wide { display: none; }
  .button.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 26px; }
  .hero h1 { font-size: clamp(42px, 12vw, 54px); margin: 12px 0 16px; }
  .hero p.lede { font-size: 17.5px; margin-bottom: 22px; }
  .lede-long { display: none; }
  .hero { padding-top: 10px; padding-bottom: 36px; gap: 30px; }
  .soon { font-size: 13.5px; }
  .hero .cta .button { flex: 1 1 auto; }
  .hero-card { width: min(320px, 84vw); }
  .mcard-shadow { margin-top: 16px; }
  .chapter { padding-top: 64px; padding-bottom: 64px; }
  .chapter h2 { font-size: clamp(32px, 9vw, 42px); }
  .safety { padding: 40px 22px; border-radius: 26px; margin-bottom: 64px; }
  .safety .grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .name-demo { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .name-stage { flex: none; height: 76px; }
  .nm { left: 50%; transform: translate(-50%, -50%) translateY(10px); }
  .nm.is-on { transform: translate(-50%, -50%); }
  .seg button { flex: 1; text-align: center; }
  .care-card { padding: 20px 18px 6px; border-radius: 24px; }
  .join .cta .button { flex: 1 1 auto; }
  .doc td:first-child { width: 40%; }
  .doc th, .doc td { padding: 10px 12px; }
}

/* === Nothing moves for a reader who asked for that ============================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal].is-pre:not(.copy), .js .copy.is-pre > * { opacity: 1; transform: none; }
  .js .safety.is-pre .ic * { stroke-dashoffset: 0; }
  .story { height: auto; }
  .story-pin { position: relative; height: auto; padding: 72px 0; }
  .story-grid { padding-top: 0; }
  .story-stage { height: 620px; flex: none; }
  .steps { display: grid; min-height: 0; }
  .steps li { position: static; opacity: 1; transform: none; }
}
