/* ============ Fonts (brand: Montserrat + Montserrat Alternates) ============ */
@font-face { font-family: "Montserrat"; src: url(assets/fonts/Montserrat-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(assets/fonts/Montserrat-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(assets/fonts/Montserrat-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(assets/fonts/Montserrat-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(assets/fonts/Montserrat-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(assets/fonts/Montserrat-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(assets/fonts/MontserratAlternates-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(assets/fonts/MontserratAlternates-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(assets/fonts/MontserratAlternates-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(assets/fonts/MontserratAlternates-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

/* ============ Tokens ============ */
:root {
  /* brand */
  --ink: #262262;        /* logo indigo */
  --ink-2: #3b3592;
  --silver: #bcbec0;     /* logo grey */
  /* lively accents */
  --rose: #e2456c;
  --rose-ink: #c22d55;
  --blush: #fde7ec;
  --leaf: #2f9461;
  --mint: #e1f4e8;
  --sun: #f4b23c;
  --sun-ink: #b7700a;
  --sun-soft: #fff2d9;
  --lilac: #ebeafb;
  /* surfaces + text */
  --cream: #fbf7f1;
  --paper: #ffffff;
  --text: #1c1a3d;
  --muted: #5c5a78;
  --line: rgba(38, 34, 98, .12);

  --display: "Montserrat Alternates", "Montserrat", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(38,34,98,.06), 0 12px 32px -12px rgba(38,34,98,.22);
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; text-wrap: balance; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.kicker { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-ink); margin-bottom: 16px; }
.head { max-width: 680px; margin-bottom: 44px; }
.head .sub { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--body); text-decoration: none; border-radius: 999px; padding: 15px 24px; border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 10px 24px -10px rgba(226,69,108,.7); }
.btn-rose:hover { background: var(--rose-ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(251,247,241,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 42px; height: 32px; background: var(--ink); -webkit-mask: url(assets/brand/symbol.svg) center/contain no-repeat; mask: url(assets/brand/symbol.svg) center/contain no-repeat; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); background: var(--rose); }
.brand-mark { transition: transform .5s var(--ease), background .3s; }
.brand-word { font: 600 22px/1 var(--body); color: var(--ink); letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--ink); border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============ Hero (home: full-bleed photo) ============ */
.hero { position: relative; overflow: hidden; margin-top: -76px; min-height: clamp(620px, 100svh, 900px); display: flex; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 17, 58, .56); z-index: -1; }
.hero-body { margin-top: auto; padding: 160px 0 72px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 74px); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; max-width: 820px; text-wrap: balance; }
.hero .lead { color: #e9e7f7; font-size: 19px; max-width: 560px; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-products { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-products a { color: #dcdaf3; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s; }
.hero-products a:hover { color: #fff; }
.text-link { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; }

/* Nav sits white over the home photo until the page scrolls */
.home .nav:not(.scrolled):not(.menu-open) .brand-word,
.home .nav:not(.scrolled):not(.menu-open) .drop-btn,
.home .nav:not(.scrolled):not(.menu-open) .nav-links > a:not(.btn) { color: #fff; }
.home .nav:not(.scrolled):not(.menu-open) .brand-mark { background: #fff; }
.home .nav:not(.scrolled):not(.menu-open) .nav-links > .btn { background: #fff; color: var(--ink); }
.home .nav:not(.scrolled):not(.menu-open) .burger { background: #fff; }
.home .nav:not(.scrolled):not(.menu-open) .burger span { background: var(--ink); }

/* ============ Partners ============ */
.partners { padding: 64px 0 24px; }
.partners-title { font: 600 14px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.partner-list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.partner-list b { font: 700 20px/1.2 var(--display); color: var(--ink); letter-spacing: -.01em; }
.partner-list small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ============ Journey ============ */
.journey { padding: 100px 0; }
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; }
.stop { border-top: 2px solid var(--ink); padding-top: 18px; }
.stop-n { display: block; font: 700 14px/1 var(--display); color: var(--rose-ink); margin-bottom: 12px; }
.stop h3 { font-size: 19px; margin-bottom: 8px; }
.stop p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.stop a { display: inline-flex; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.stop a:hover { color: var(--rose-ink); }

/* ============ Principles ============ */
.principles { padding: 100px 0; background: var(--paper); }
.pr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.pr-ic { display: block; margin-bottom: 18px; }
.pr-ic svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pr h3 { margin-bottom: 10px; font-size: 19px; }
.pr p { color: var(--muted); font-size: 15.5px; }

/* ============ Suite bento ============ */
.suite { padding: 90px 0 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 260px; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); text-decoration: none; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile-body { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; background: var(--paper); color: var(--text); border-radius: 18px; transition: transform .4s var(--ease); }
.tile:hover .tile-body { transform: translateY(-4px); }
.tile-body b { font: 800 24px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.tile-body > span:last-child { font-size: 14.5px; color: var(--muted); max-width: 440px; line-height: 1.5; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--blush); color: var(--rose-ink); padding: 5px 10px; border-radius: 999px; margin-bottom: 4px; }
.t-prop .tag, .t-ops .tag { background: var(--mint); color: var(--leaf); }
.t-trials .tag { background: var(--lilac); color: var(--ink); }
.tile::before { content: "→"; position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; transform: scale(.6) rotate(-45deg); opacity: 0; transition: .35s var(--ease); }
.tile:hover::before { transform: none; opacity: 1; }
.t-trials { grid-column: span 4; grid-row: span 2; }
.t-scout { grid-column: span 2; grid-row: span 2; }
.t-prop, .t-ops, .t-cat { grid-column: span 2; }

/* ============ UI mocks (product pages) ============ */

.ui { position: absolute; left: 0; bottom: 0; width: min(360px, 86%); background: #fff; border-radius: var(--r); padding: 20px; box-shadow: 0 30px 60px -20px rgba(38,34,98,.45); color: var(--text); font-size: 14px; }
.ui-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ui-top b { color: var(--ink); font-size: 15px; }
.ui-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.ui-dot.rose { background: var(--rose); } .ui-dot.leaf { background: var(--leaf); } .ui-dot.sun { background: var(--sun); }
.ui-badge { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lilac); color: var(--ink); }
.ui-badge.rose { background: var(--blush); color: var(--rose-ink); }
.ui-meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.days { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.d { font-size: 10px; font-weight: 700; padding: 6px 0; text-align: center; border-radius: 7px; background: #f2f1f8; color: #9a98b5; }
.d.ok { background: var(--ink); color: #fff; }
.d.now { background: var(--rose); color: #fff; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(226,69,108,.18); } }
.ui-row { display: flex; gap: 8px; margin-top: 14px; }
.thumb { width: 64px; height: 64px; border-radius: 12px; background: center/cover; }
.thumb.add { display: grid; place-items: center; background: var(--blush); color: var(--rose-ink); font-size: 12px; font-weight: 700; border: 2px dashed rgba(226,69,108,.4); }

.beds { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.beds i { aspect-ratio: 1 / 2.2; border-radius: 5px; background: #e8f5ec; transition: background .6s; }
.beds i.l1 { background: #f9dc96; } .beds i.l2 { background: #f59c6b; } .beds i.l3 { background: var(--rose); }
.legend { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: #e8f5ec; }
.legend .l1 { background: #f9dc96; } .legend .l2 { background: #f59c6b; } .legend .l3 { background: var(--rose); }

.pipe { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: s; }
.pipe li { counter-increment: s; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f4f7f5; font-weight: 600; color: #8aa597; transition: background .4s, color .4s, transform .4s var(--ease); }
.pipe li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #fff; }
.pipe li.done { color: var(--leaf); }
.pipe li.done::before { content: "✓"; background: var(--mint); }
.pipe li.on { background: var(--leaf); color: #fff; transform: translateX(8px); }
.pipe li.on::before { content: ""; background: #fff; box-shadow: inset 0 0 0 8px #fff, inset 0 0 0 13px var(--leaf); }

.task { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.task i { width: 6px; align-self: stretch; border-radius: 4px; background: var(--k); }
.task span { flex: 1; line-height: 1.3; }
.task b { display: block; color: var(--ink); }
.task small { color: var(--muted); font-size: 12.5px; }
.task em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #f2f1f8; color: var(--muted); }
.task em.ok { background: var(--mint); color: var(--leaf); }
.task em.go { background: var(--sun-soft); color: var(--sun-ink); }

.phone { position: absolute; left: 6%; top: 10px; width: 250px; height: 500px; background: #0f0d2e; border-radius: 40px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); z-index: 2; transform: rotate(-5deg); transition: transform .6s var(--ease); }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 20px; margin-left: -40px; background: #0f0d2e; border-radius: 12px; z-index: 1; }
.phone-screen { height: 100%; background: #fff; border-radius: 30px; padding: 48px 14px 14px; display: flex; flex-direction: column; }
.ph-h { font: 800 22px/1 var(--display); color: var(--ink); margin-bottom: 12px; }
.ph-tabs { display: flex; gap: 6px; margin-bottom: 12px; font-size: 11px; font-weight: 700; color: var(--muted); }
.ph-tabs span { padding: 5px 9px; border-radius: 999px; background: #f2f1f8; }
.ph-tabs .on { background: var(--ink); color: #fff; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.ph-grid span { border-radius: 14px; background: center/cover; }
.ph-share { margin-top: 12px; text-align: center; background: var(--rose); color: #fff; font-weight: 700; font-size: 13px; padding: 11px; border-radius: 999px; }

/* ============ Who ============ */
.who { padding: 100px 0; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease); }
.who-card:hover { transform: translateY(-6px); }
.who-card img { height: 240px; width: 100%; object-fit: cover; }
.who-card > div { padding: 24px 24px 26px; flex: 1; }
.who-card h3 { font-size: 22px; margin-bottom: 10px; }
.who-card p { color: var(--muted); font-size: 15.5px; }
.who-card .uses { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--wc); }

/* ============ CTA band ============ */
.cta { padding: 0 0 100px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 40px; }
.cta-band h2 { font-size: clamp(24px, 2.4vw, 30px); }
.cta-band p { color: var(--muted); margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Product hero (photo) ============ */
.p-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; min-height: clamp(460px, 64vh, 640px); display: flex; }
.p-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.p-hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 17, 58, .58); z-index: -1; }
.p-hero-body { margin-top: auto; padding: 100px 0 64px; }
.page-product .p-hero .kicker { color: #ffc2d0; }
.p-hero h1 { color: #fff; font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; max-width: 820px; text-wrap: balance; }
.p-hero .lead { color: #e9e7f7; font-size: 18px; max-width: 640px; margin-top: 20px; }

/* ============ In the app ============ */
.screen { padding: 100px 0 20px; }
.screen-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.screen-copy h2 { margin-bottom: 14px; }
.screen-copy p:not(.kicker) { color: var(--muted); font-size: 17px; max-width: 460px; }
.screen-stage { background: var(--ts); border-radius: var(--r-lg); padding: 48px; display: grid; place-items: center; min-height: 360px; }
.screen-stage .ui { position: relative; left: auto; right: auto; bottom: auto; width: min(380px, 100%); box-shadow: 0 24px 48px -24px rgba(38,34,98,.4); }
.screen-stage .phone { position: relative; left: auto; top: auto; transform: none; height: 460px; }

/* ============ Contact ============ */
.contact { padding: 64px 0 110px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.contact h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 18px; }
.contact .lead { max-width: 460px; color: var(--muted); font-size: 18px; }
.contact-lines { margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-lines div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-lines dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-lines dd { margin: 0; color: var(--ink); font-weight: 500; }
.contact-lines a { color: var(--ink); font-weight: 600; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-grid > *, .field-row > * { min-width: 0; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field em { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { font: 500 16px/1.4 var(--body); color: var(--text); background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.check { cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); transition: .2s; }
.check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.check input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; }
.form-note { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.nav-links a[aria-current="page"] { color: var(--rose-ink); }

/* ============ Footer ============ */
.foot { background: var(--ink); color: #c9c7e8; padding: 70px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-logo { width: 150px; height: auto; margin-bottom: 18px; }
.foot h4 { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.foot-grid a, .foot-grid span { display: block; text-decoration: none; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }
.foot-base span { margin: 0; }

/* ============ Products dropdown ============ */
.drop { position: relative; }
.drop-btn { font: 600 15px/1 var(--body); color: var(--ink); background: none; border: 0; padding: 8px 0; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.drop-btn span { font-size: 11px; transition: transform .3s var(--ease); }
.drop-btn[aria-expanded="true"] span { transform: rotate(180deg); }
.drop-menu { position: absolute; top: calc(100% + 14px); left: -20px; width: 330px; background: var(--paper); border-radius: 20px; padding: 10px; box-shadow: 0 24px 50px -18px rgba(38,34,98,.35); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
.drop:hover .drop-menu, .drop-menu.open { opacity: 1; visibility: visible; transform: none; }
.drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.drop-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.nav-links .drop-item::after { display: none; }
.drop-item:hover, .drop-item.is-on { background: var(--cream); }
.drop-item i { width: 12px; height: 12px; border-radius: 4px; background: var(--tc); flex: none; }
.drop-item b { display: block; color: var(--ink); font-size: 15px; }
.drop-item small { color: var(--muted); font-size: 13px; font-weight: 500; }
.t-ink { --tc: var(--ink); --tcs: var(--lilac); }
.t-rose { --tc: var(--rose); --tcs: var(--blush); }
.t-leaf { --tc: var(--leaf); --tcs: var(--mint); }
.t-sun { --tc: var(--sun-ink); --tcs: var(--sun-soft); }

/* ============ Product pages ============ */
.theme-ink { --t: var(--ink); --ts: var(--lilac); }
.theme-rose { --t: var(--rose); --ts: var(--blush); }
.theme-leaf { --t: var(--leaf); --ts: var(--mint); }
.theme-sun { --t: var(--sun-ink); --ts: var(--sun-soft); }
.page-product .kicker { color: var(--t); }

.switcher { border-bottom: 1px solid var(--line); }
.switcher-in { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.switcher-in::-webkit-scrollbar { display: none; }
.sw { flex: none; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); transition: .2s; }
.sw:hover { color: var(--ink); border-color: var(--tc); }
.sw.is-on { background: var(--tc); border-color: var(--tc); color: #fff; }


.features { padding: 110px 0 60px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
.feat { background: var(--paper); border-radius: var(--r); padding: 28px 24px; border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.feat:hover { transform: translateY(-5px); border-color: var(--t); }
.feat-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--ts); display: grid; place-items: center; margin-bottom: 20px; transition: transform .4s var(--ease); }
.feat:hover .feat-ic { transform: rotate(-8deg) scale(1.06); }
.feat-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--t); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.spots { padding: 60px 0; }
.spot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; margin-bottom: 90px; }
.spot:last-child { margin-bottom: 0; }
.spot.flip .spot-img { order: 2; }
.spot-img { margin: 0; height: 440px; border-radius: var(--r-lg); overflow: hidden; }
.spot.flip .spot-img { border-radius: var(--r-lg) 200px var(--r-lg) var(--r-lg); }
.spot:not(.flip) .spot-img { border-radius: 200px var(--r-lg) var(--r-lg) var(--r-lg); }
.spot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spot:hover .spot-img img { transform: scale(1.05); }
.spot-copy h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.spot-copy h2::before { content: ""; display: block; width: 48px; height: 6px; border-radius: 6px; background: var(--t); margin-bottom: 22px; }
.spot-copy p { color: var(--muted); font-size: 17.5px; }

.how { padding: 110px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; counter-reset: st; }
.step { position: relative; background: var(--ts); border-radius: var(--r); padding: 26px 22px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--t); color: #fff; font: 800 15px/1 var(--display); margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 34px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); color: var(--t); display: grid; place-items: center; font-weight: 800; font-size: 13px; z-index: 1; }

.pairs { padding: 0 0 110px; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair { display: flex; align-items: center; gap: 20px; background: var(--paper); border-radius: var(--r-lg); padding: 14px; text-decoration: none; border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.pair:hover { transform: translateY(-4px); border-color: var(--tc); }
.pair img { width: 120px; height: 100px; object-fit: cover; border-radius: 18px; flex: none; }
.pair span { flex: 1; }
.pair small { display: block; color: var(--muted); font-size: 14px; }
.pair b { font: 800 24px/1.2 var(--display); color: var(--ink); }
.pair em { font-style: normal; width: 46px; height: 46px; border-radius: 50%; background: var(--tcs); color: var(--tc); display: grid; place-items: center; font-weight: 800; margin-right: 8px; transition: transform .3s var(--ease); }
.pair:hover em { transform: translateX(4px); }

@media (max-width: 1080px) {
  .feat-grid, .feat-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 900px) {
  .screen-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .drop { width: 100%; }
  .drop-btn { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .drop-menu { position: static; width: auto; box-shadow: none; border: 0; padding: 6px 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .drop-menu.open { display: block; background: transparent; }
  .nav-links .drop-item { padding: 10px 4px; border-bottom: 0; font-size: 15px; }
  .drop:hover .drop-menu:not(.open) { display: none; }
  .nav-links { max-height: calc(100vh - 76px); overflow-y: auto; }
  .spot { grid-template-columns: 1fr; gap: 40px; }
  .spot.flip .spot-img { order: 0; }
}
@media (max-width: 600px) {
  .feat-grid, .feat-grid:has(> :nth-child(6):last-child) { grid-template-columns: 1fr; }
  .features, .how { padding: 70px 0 40px; }
  .spot { margin-bottom: 60px; }
  .spot-img { height: 280px; }
  .pair-grid { grid-template-columns: 1fr; }
  .pair img { width: 90px; height: 80px; }
  .pair b { font-size: 20px; }
}

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .path { grid-template-columns: repeat(2, 1fr); }
  .partner-list { grid-template-columns: repeat(2, 1fr); }
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 12px 20px 24px; box-shadow: 0 20px 30px -20px rgba(38,34,98,.3); transform: translateY(-120%); transition: transform .4s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
  .burger { display: block; }
  .nav.menu-open { background: var(--cream); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .t-trials { grid-column: span 2; }
  .t-scout { grid-column: span 1; grid-row: span 1; }
  .t-prop, .t-ops { grid-column: span 1; }
  .t-cat { grid-column: span 2; }
  .who-grid { grid-template-columns: 1fr; }
  .who-card { flex-direction: row; }
  .who-card:hover { transform: none; }
  .who-card img { width: 40%; height: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cta-band { padding: 28px 24px; }
  .screen-stage { padding: 28px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .contact-lines div { grid-template-columns: 1fr; gap: 4px; }
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-body { padding-bottom: 48px; }
  .hero-products { margin-top: 40px; gap: 8px 20px; }
  .btn-lg { padding: 16px 22px; }
  .journey, .principles { padding: 80px 0; }
  .suite { padding-bottom: 80px; }
  .path { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .bento .tile { grid-column: auto; grid-row: auto; }
  .pr-grid { grid-template-columns: 1fr; }
  .who-card { flex-direction: column; }
  .who-card img { width: 100%; height: 200px; }
  .phone { position: relative; left: auto; margin: 0 auto; transform: rotate(-3deg); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > :first-child { grid-column: auto; }
  .foot-base { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
