/* Motindor website. Pastel bands joined by wavy edges, scalloped flower badges, ringed circle photos, outlined pills.
   Every page reads fully without JavaScript; motion is decorative and switched off under reduced motion. */
@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka-Variable.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Variable.ttf") format("truetype"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("fonts/DancingScript-Variable.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
:root {
  --cream: #fff8e7; --mint: #d7f4e3; --sky: #d6eaff; --blush: #ffe0da; --butter: #fdeec4;
  --ink: #23273f; --muted: #5d5c69; --line: #23273f; --soft-line: #e8dcc0;
  --coral: #f6766f; --coral-deep: #c8433c; --mint-deep: #2e7d5b; --gold-deep: #8a5a00; --lav: #c9b8f0;
  --r: 22px; --wrap: 1180px;
  --display: "Fredoka", "Trebuchet MS", sans-serif; --body: "Archivo", "Segoe UI", sans-serif; --script: "Dancing Script", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
.h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 700; color: var(--coral-deep); font-size: 1.18em; letter-spacing: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.small { font-size: .92rem; color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 16px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* announcement strip + grid header */
.strip { background: var(--coral); color: var(--ink); font-size: .9rem; font-weight: 600; text-align: center; padding: 8px 16px; }
.site-header { border-bottom: 1.5px solid var(--line); background: var(--cream); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: stretch; gap: 0; min-height: 76px; }
.brand { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; font-family: var(--script); font-weight: 700; font-size: 2rem; color: var(--ink); align-self: center; padding-right: 22px; }
.brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); display: inline-block; }
.nav-toggle { display: none; }
.nav { list-style: none; margin: 0 0 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(118px, auto)); border-left: 1.5px solid var(--line); }
.nav li { border-right: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.nav li:nth-last-child(-n+4) { border-bottom: 0; }
.nav a { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 38px; padding: 6px 14px; text-decoration: none; font-weight: 600; font-size: .92rem; transition: background .25s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mint); }
.head-cta { display: flex; align-items: center; padding-left: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line); font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; background: var(--cream); color: var(--ink); transition: transform .25s ease, box-shadow .25s ease, background .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-coral { background: var(--coral); }
.btn-lav { background: var(--lav); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 4px 4px 0 var(--coral); }
.btn-small { min-height: 40px; padding: 7px 16px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.center .actions { justify-content: center; }

/* bands and wavy edges */
.band { position: relative; padding: 72px 0; }
.band.mint { background: var(--mint); } .band.sky { background: var(--sky); } .band.blush { background: var(--blush); } .band.butter { background: var(--butter); }
.wave { display: block; width: 100%; height: 46px; }
.wave path { fill: currentColor; }
.wave.mint { color: var(--mint); } .wave.sky { color: var(--sky); } .wave.blush { color: var(--blush); } .wave.butter { color: var(--butter); } .wave.cream { color: var(--cream); }
.band.flush-top { padding-top: 24px; }
.section { padding: 64px 0; }
.flower-deco { position: absolute; width: 150px; opacity: .55; pointer-events: none; }
.flower-deco.tl { left: -30px; top: 10px; } .flower-deco.br { right: -24px; bottom: 6px; transform: rotate(40deg); }
.flower-deco path, .flower-deco circle { fill: none; stroke: #fff; stroke-width: 2; }

/* scalloped flower badge */
.scallop { --s: 108px; --c: var(--blush); width: var(--s); height: var(--s); position: relative; display: grid; place-items: center; text-align: center; color: var(--ink); flex: none; }
.scallop::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 16%, var(--c) 21%, transparent 22%), radial-gradient(circle at 84% 38%, var(--c) 21%, transparent 22%),
  radial-gradient(circle at 71% 80%, var(--c) 21%, transparent 22%), radial-gradient(circle at 29% 80%, var(--c) 21%, transparent 22%),
  radial-gradient(circle at 16% 38%, var(--c) 21%, transparent 22%), radial-gradient(circle at 50% 50%, var(--c) 36%, transparent 37%);
  transition: transform .6s ease; }
.scallop > * { position: relative; }
.scallop strong { font: 600 1.35rem/1 var(--display); display: block; }
.scallop span { font-size: .72rem; font-weight: 600; line-height: 1.15; display: block; max-width: 70px; }
.scallop.mint { --c: #a9e6c4; } .scallop.sky { --c: #b4d9ff; } .scallop.coral { --c: var(--coral); } .scallop.butter { --c: #f8d77e; } .scallop.lav { --c: var(--lav); }
.scallop.small { --s: 64px; } .scallop.small strong { font-size: 1.1rem; }
a:hover > .scallop::before, .scallop:hover::before { transform: rotate(36deg); }

/* ringed circle photo */
.ring { border-radius: 50%; border: 10px solid #fff; box-shadow: 0 18px 40px rgb(35 39 63 / .18); overflow: hidden; aspect-ratio: 1; background: #fff; transition: transform .5s ease; }
.ring img { width: 100%; height: 100%; object-fit: cover; }
a:hover .ring, .ring:hover { transform: rotate(-4deg) scale(1.02); }
.sparkle { position: absolute; color: var(--lav); font-size: 1.6rem; line-height: 1; }

/* hero */
.hero { position: relative; padding: 56px 0 24px; text-align: center; }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero .lead { margin-inline: auto; }
.hero-stage { position: relative; display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; align-items: center; gap: 28px; margin-top: 40px; }
.hero-card { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px; text-align: left; position: relative; max-width: 260px; justify-self: end; }
.hero-card img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-card .scallop { position: absolute; top: -40px; left: -36px; }
.hero-card strong { display: block; margin-top: 10px; font-family: var(--display); font-size: 1.1rem; }
.keywords { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; justify-self: start; text-align: left; font-weight: 600; }
.keywords li::before { content: "\2726  "; color: var(--coral-deep); }
.hero-stage .sparkle.a { top: 6%; left: 34%; } .hero-stage .sparkle.b { bottom: 8%; right: 34%; color: var(--coral); }

/* page hero (inner pages) */
.page-hero { padding: 48px 0 8px; position: relative; }
.page-hero .split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero .ring { max-width: 380px; margin-inline: auto; }
.page-hero .media { position: relative; }
.page-hero .media .scallop { position: absolute; right: 6%; bottom: 4%; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--ink); }
.tag { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: .82rem; font-weight: 700; background: var(--lav); margin-bottom: 14px; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; display: grid; justify-items: center; text-align: center; gap: 10px; transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.tile .ring { width: 170px; border-width: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pgrid.four { grid-template-columns: repeat(4, 1fr); }
.pcard { position: relative; display: grid; gap: 6px; text-decoration: none; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 14px 18px; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.pcard .frame { border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--cream); }
.pcard .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .frame img { transform: scale(1.06); }
.pcard h3 { margin: 8px 0 0; font-size: 1.15rem; }
.pcard .local { font-family: var(--script); font-weight: 700; color: var(--coral-deep); font-size: 1.15rem; }
.pcard .price { font-weight: 700; }
.pcard .scallop { position: absolute; top: -18px; right: -14px; }
.circles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.circle-card { text-decoration: none; text-align: center; display: grid; justify-items: center; gap: 4px; }
.circle-card .ring { width: 150px; border-width: 7px; }
.circle-card strong { font-family: var(--display); font-size: 1.1rem; margin-top: 8px; }
.circle-card span { color: var(--muted); font-size: .92rem; }

/* zig-zag rows */
.zz { display: grid; gap: 56px; }
.zrow { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.zrow:nth-child(even) .zmedia { order: 2; }
.zmedia { position: relative; }
.zmedia .ring { max-width: 360px; margin-inline: auto; }
.zmedia .scallop { position: absolute; left: 4%; top: 2%; }

/* wide cards (lunch) */
.wide { display: grid; grid-template-columns: 260px 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 30px; padding: 22px 28px; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.wide:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--ink); }
.wide .ring { width: 220px; }
.wide + .wide { margin-top: 24px; }

/* story band with flower stats */
.story { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.story .photo { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 380px; margin-inline: auto; }
.story .center p { margin-inline: auto; }

/* benefit boxes */
.boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.box { border: 1.5px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; background: var(--cream); transition: background .3s; }
.box:hover { background: #fff; }
.box svg { width: 36px; height: 36px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.box strong { display: block; margin: 8px 0 4px; font-family: var(--display); font-size: 1.05rem; }
.box span { font-size: .92rem; color: var(--muted); }

/* ticker */
.ticker { overflow: hidden; border-block: 1.5px solid var(--line); background: var(--cream); padding: 14px 0; position: relative; }
.ticker .track { display: flex; width: max-content; gap: 28px; font: 600 1.6rem/1.2 var(--display); white-space: nowrap; }
.ticker .track span::after { content: "\2726"; color: var(--coral-deep); margin-left: 28px; }
html.js .ticker .track { animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker .badge-photo { position: absolute; right: 8%; top: 50%; width: 110px; translate: 0 -50%; border-width: 6px; z-index: 1; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px; position: relative; }
.steps li::before { counter-increment: s; content: "0" counter(s); font: 600 2.6rem/1 var(--display); display: block; color: var(--coral-deep); margin-bottom: 10px; }
.steps li:nth-child(2)::before { color: var(--mint-deep); } .steps li:nth-child(3)::before { color: var(--gold-deep); } .steps li:nth-child(4)::before { color: var(--ink); }

/* product detail */
.facts { display: flex; flex-wrap: wrap; gap: 26px; margin: 22px 0; }
.facts div span { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.facts div strong { font: 600 1.9rem/1.1 var(--display); }
.facts div:nth-child(1) strong { color: var(--coral-deep); } .facts div:nth-child(2) strong { color: var(--mint-deep); } .facts div:nth-child(3) strong { color: var(--gold-deep); }
.yields { display: flex; flex-wrap: wrap; gap: 22px; }
.yields .scallop { --s: 132px; }
.yields .scallop span { max-width: 84px; }
.ptable { width: 100%; border-collapse: collapse; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.ptable th, .ptable td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--soft-line); }
.ptable th { background: var(--mint); font-family: var(--display); font-weight: 600; }
.ptable tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.note { border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px 18px; background: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* faq */
details { border: 1.5px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font: 600 1.4rem/1 var(--display); color: var(--coral-deep); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 20px 16px; margin: 0; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ccard { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 8px; justify-items: start; }
.ccard .scallop { --s: 70px; }

/* privacy: scallop index + three alternating treatments */
.pindex { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 12px; list-style: none; padding: 0; margin: 28px 0 0; }
.pindex a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.policy { display: grid; gap: 34px; }
.policy-section { scroll-margin-top: 110px; position: relative; }
.policy-section[data-layout="band"] { background: var(--mint); border-radius: 40px 40px 40px 40px / 30px 30px 30px 30px; padding: 34px; display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; }
.policy-section[data-layout="band"] .ring { width: 200px; border-width: 8px; }
.policy-section[data-layout="frame"] { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 26px; display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.policy-section[data-layout="frame"] figure { margin: 0; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.policy-section[data-layout="note"] { background: var(--blush); border-radius: 26px; padding: 34px 34px 30px 112px; }
.policy-section[data-layout="note"] .scallop { position: absolute; left: 18px; top: 22px; --s: 78px; }
.policy-section[data-layout="note"] figure { margin: 14px 0 0; width: min(420px, 100%); border-radius: 18px; overflow: hidden; border: 6px solid #fff; }
.policy-section h2 { font-size: 1.5rem; }
.policy-section .num { font: 600 .9rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--mint-deep); display: block; margin-bottom: 6px; }
.facts4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.facts4 div { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; }
.facts4 strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.facts4 span { color: var(--muted); font-size: .92rem; }

/* planner */
.no-js-only { display: block; }
html.js .no-js-only { display: none; }
.needs-js { display: none; }
html.js .needs-js { display: grid; }
.planner { grid-template-columns: 1.45fr 1fr; gap: 32px; align-items: start; }
.panel { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 22px; }
.panel h2 { font-size: 1.35rem; }
.pl-cat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); padding: 8px 16px; font: 600 .95rem/1.2 var(--body); cursor: pointer; min-height: 42px; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pl-products { display: grid; gap: 12px; }
.pl-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; border: 1px solid var(--soft-line); border-radius: 16px; padding: 10px; }
.pl-item img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 12px rgb(35 39 63 / .15); }
.pl-item .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.pl-item select, .pl-item input, .field input, .field select, .field textarea { font: inherit; font-size: 1rem; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px; background: #fff; color: var(--ink); min-height: 44px; }
.pl-item input[type="number"] { width: 92px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 600; }
.field textarea { min-height: 96px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.radios label { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; background: var(--cream); }
.radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radios input:checked + span { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--coral); }
.radios label:has(input:checked) { background: var(--ink); color: #fff; }
.radios label:has(input:focus-visible) { outline: 3px solid var(--coral-deep); outline-offset: 3px; }
.aside { position: sticky; top: 100px; }
.sum { background: var(--ink); color: #fff; border-radius: 26px; padding: 22px; }
.sum h2 { color: #fff; }
.sum .total { font: 600 2.2rem/1.1 var(--display); color: var(--coral); }
.sum ul { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.sum li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; border-bottom: 1px solid rgb(255 255 255 / .16); padding-bottom: 10px; }
.sum li .ctl { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.sum button.mini { background: transparent; border: 1.5px solid rgb(255 255 255 / .6); color: #fff; border-radius: 999px; min-width: 40px; min-height: 40px; cursor: pointer; font: 600 1rem/1 var(--body); }
.sum .muted { color: rgb(255 255 255 / .82); font-size: .92rem; }
.errors { border: 1.5px solid var(--coral-deep); background: var(--blush); border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.msg { white-space: pre-wrap; font: 400 .95rem/1.55 var(--body); background: var(--cream); border: 1.5px dashed var(--line); border-radius: 14px; padding: 16px; max-height: 420px; overflow: auto; }
.saved-list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.saved-list li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; border: 1px solid var(--soft-line); border-radius: 14px; padding: 10px 14px; }
.status { min-height: 1.5em; font-weight: 600; color: var(--mint-deep); }

/* cta + footer */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta .ring { width: 240px; }
.site-footer { background: var(--mint); padding: 10px 0 30px; }
.site-footer .top { text-align: center; padding: 26px 0; }
.site-footer .brand { font-size: 2.6rem; padding: 0; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; border-top: 1.5px solid var(--line); padding-top: 26px; }
.fgrid h2 { font-size: 1.05rem; }
.fgrid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fbadges { display: flex; gap: 10px; flex-wrap: wrap; }
.fbadges a { text-decoration: none; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--muted); border-top: 1.5px solid var(--line); margin-top: 24px; padding-top: 16px; }

/* scroll reveal: only with JavaScript; content is fully visible without it */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js [data-reveal="left"] { transform: translateX(-36px); }
html.js [data-reveal="right"] { transform: translateX(36px); }
html.js [data-reveal="pop"] { transform: scale(.88); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .float { animation: bob 6s ease-in-out infinite; }
html.js .spin-slow { animation: spin 40s linear infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(1turn); } }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; margin-left: auto; align-self: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--lav); padding: 8px 18px; font: 600 1rem/1.2 var(--body); min-height: 44px; cursor: pointer; color: var(--ink); }
  .site-header nav { position: absolute; left: 0; right: 0; top: 100%; }
  .nav { display: none; grid-template-columns: 1fr 1fr; margin: 0; border-left: 0; background: var(--cream); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
  html:not(.js) .nav { display: grid; position: static; }
  html:not(.js) .site-header nav { position: static; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  .nav.open { display: grid; }
  .nav li:nth-last-child(-n+4) { border-bottom: 1.5px solid var(--line); }
  .nav li:nth-child(even) { border-right: 0; }
  .nav a { min-height: 50px; }
  .head-cta { display: none; }
  .hero-stage { grid-template-columns: 1fr; justify-items: center; }
  .hero-card, .keywords { justify-self: center; }
  .keywords { grid-template-columns: repeat(2, auto); }
  .tiles, .pgrid, .pgrid.four, .contact-cards { grid-template-columns: 1fr 1fr; }
  .boxes, .steps, .facts4 { grid-template-columns: 1fr 1fr; }
  .planner { grid-template-columns: 1fr; }
  .aside { position: static; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; justify-items: center; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .band { padding: 52px 0; }
  .page-hero .split, .zrow, .two, .cta { grid-template-columns: 1fr; }
  .zrow:nth-child(even) .zmedia { order: 0; }
  .tiles, .pgrid, .pgrid.four, .contact-cards, .boxes, .steps, .facts4 { grid-template-columns: 1fr; }
  .wide { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .wide .ring { width: 180px; }
  .policy-section[data-layout="band"], .policy-section[data-layout="frame"] { grid-template-columns: 1fr; padding: 24px; }
  .policy-section[data-layout="band"] .ring { width: 150px; }
  .policy-section[data-layout="note"] { padding: 96px 22px 24px; }
  .ticker .badge-photo { display: none; }
  .cta .ring { width: 180px; }
  .fgrid { grid-template-columns: 1fr; }
  .hero-card .scallop { left: -10px; }
  .flower-deco { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
.wave.flip { transform: scaleY(-1); }
.band + .wave, .wave + .band { margin-top: -1px; }
.split > *, .zrow > *, .two > *, .cta > *, .planner > *, .story > *, .hero-stage > *, .wide > *, .policy-section > *, .tiles > *, .pgrid > * { min-width: 0; }
/* Slide-in reveals and corner flowers must never widen the page. */
main { overflow-x: clip; }
[hidden] { display: none !important; }
