/* =========================================================
   The Local Stock Inc — v3 (Cognivo-style layout)
   Brand colors taken from the logo. Edit tokens below.
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;1,500&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
  --navy: #001246;
  --navy-2: #0a2266;
  --orange: #f05a28;
  --orange-2: #d9481a;
  --ink: #111318;
  --ink-2: #3b3f47;
  --muted: #6b6f78;
  --line: #ececee;
  --bg: #ffffff;
  --grey: #f7f7f8;
  --dark: #141518;
  /* pastels used on cards & ribbons */
  --peach: #fde7dd;
  --yellow: #ffe066;
  --cream: #fff8d6;
  --lilac: #e7e9ff;
  --mint: #dff3ee;
  --pink: #fbd9e8;
  --sky: #dcecfb;
  --font: "Inter Tight", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --r: 16px;
  --r-sm: 10px;
  --r-btn: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
  /* legacy aliases used by some components */
  --brand: var(--navy); --brand-2: var(--navy-2); --brand-soft: #e8ecf8; --accent: var(--orange); --accent-soft: var(--peach); --paper: var(--grey); --white: #fff; --danger: #d12f2f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.05; letter-spacing: -.035em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--grey, .section--white.alt { background: var(--grey); }
.section--white { background: #fff; }
.section--dark { background: var(--dark); color: #b8bcc6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--brand { background: var(--navy); color: #c9d2ec; }
.section--brand h2, .section--brand h3 { color: #fff; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-block; font-size: 1rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 52ch; }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--row, .section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }
.section-head--split > :first-child { max-width: 560px; }
.section-head--split > :last-child { max-width: 380px; }
.section-head--split h2 { margin: 0; }
.tag { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; background: var(--grey); border: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; font-weight: 500; margin-bottom: 1rem; }
.section--grey .tag { background: #fff; }
.section--dark .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #d6d9e0; }
.badge-new { display: inline-flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.badge-new b { background: var(--orange); color: #fff; padding: .18rem .6rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--navy); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.2rem; border-radius: var(--r-btn); border: 1px solid transparent; background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap; box-shadow: 0 12px 22px -12px rgba(240, 90, 40, .75); transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { color: var(--fg); background: var(--navy-2); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--accent, .btn--light { --bg: var(--orange); --fg: #fff; box-shadow: 0 12px 22px -12px rgba(0, 18, 70, .5); }
.btn--accent:hover, .btn--light:hover { background: var(--orange-2); }
.btn--ghost { --bg: #fff; --fg: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--grey); border-color: #dcdce0; }
.btn--sm { padding: .55rem .9rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--soft { --bg: var(--grey); --fg: var(--ink); border-color: var(--line); box-shadow: none; width: 100%; }
.btn--soft:hover { background: #efeff1; }
.btn--play { --fg: var(--orange); }
.btn--play svg:first-child { color: var(--orange); }
.btn-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; color: var(--ink); }
.link-arrow svg { width: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.icon-btn { width: 44px; height: 44px; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; color: var(--ink); text-decoration: none; transition: background .25s, border-color .25s; }
.icon-btn:hover { background: var(--grey); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[aria-pressed="true"] { color: var(--orange); border-color: var(--orange); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, transform .45s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 42px; width: auto; }
.nav__menu { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a { display: block; padding: .5rem .85rem; color: var(--ink-2); font-weight: 500; font-size: 1.02rem; text-decoration: none; transition: color .2s; }
.nav__menu a:hover { color: var(--ink); }
.nav__menu a[aria-current="page"] { color: var(--orange); }
.nav__actions { display: flex; gap: .5rem; align-items: center; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1000px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: .75rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .3s var(--ease); }
  .nav-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a { padding: .85rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .nav__actions .btn, .nav__actions .icon-btn { display: none; } .brand img { height: 34px; } }

/* ---------- Home hero ---------- */
.hero3 { padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.hero3__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 560px; }
.hero3__copy { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 2rem 0; align-self: center; }
.hero3 h1 { max-width: 11.5ch; }
.hero3 .lead { margin-bottom: 2rem; }
.hero3__panel { position: relative; background: var(--orange); overflow: hidden; padding: 56px 0 56px 4px; isolation: isolate; }
.hero3__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: linear-gradient(45deg, transparent 48%, rgba(255,255,255,.7) 49%, rgba(255,255,255,.7) 51%, transparent 52%), linear-gradient(-45deg, transparent 48%, rgba(255,255,255,.7) 49%, rgba(255,255,255,.7) 51%, transparent 52%); background-size: 120px 120px; }
.stories { display: flex; gap: 18px; height: 100%; transition: transform 1s var(--ease); }
.story { position: relative; flex: 0 0 min(290px, 70%); border-radius: 12px; overflow: hidden; background: #fff; }
.story img { width: 100%; height: 100%; object-fit: cover; }
.story__cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(255,255,255,.95); border-radius: 10px; padding: .7rem .85rem; font-size: .9rem; }
.story__cap strong { display: block; font-size: 1rem; }
.story__cap small { color: var(--muted); }
.story--text { background: #fff; display: grid; place-items: center; overflow: hidden; }
.story--text::before { content: ""; position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: -55%; top: 15%; }
.story--text p { position: relative; font-size: 2.1rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--navy); margin: 0; padding: 1.5rem; }
.story-bars { position: absolute; top: 72px; left: 16px; z-index: 2; display: flex; gap: 6px; width: min(260px, 60%); }
.story-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.45); overflow: hidden; }
.story-bars span i { display: block; height: 100%; width: 0; background: #fff; }
.hero3__search { display: grid; grid-template-columns: 1fr auto; gap: .4rem; max-width: 520px; margin-bottom: 1.1rem; padding: .35rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 20px 40px -28px rgba(0,18,70,.35); }
.hero3__search label { display: flex; align-items: center; gap: .55rem; padding: 0 .75rem; }
.hero3__search svg { width: 18px; color: var(--muted); flex: none; }
.hero3__search input { border: 0; outline: none; width: 100%; padding: .7rem 0; background: transparent; }
@media (max-width: 960px) { .hero3__grid { grid-template-columns: 1fr; } .hero3__copy { padding-right: 0; } .hero3__panel { height: 420px; margin-inline: -1.25rem; } }

/* ---------- Logo grid marquee ---------- */
.logos { padding-bottom: 2.5rem; }
.logos__title { text-align: center; color: var(--ink-2); font-size: 1.05rem; margin-bottom: 1rem; }
.logos__row { display: flex; overflow: hidden; border-top: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__row:last-child { border-bottom: 1px solid var(--line); opacity: .55; }
.logos__track { display: flex; flex: none; animation: marquee 40s linear infinite; }
.logos__row--rev .logos__track { animation-direction: reverse; }
.logos__cell { width: 220px; height: 74px; display: flex; align-items: center; justify-content: center; gap: .55rem; border-right: 1px solid var(--line); color: #8a8d95; font-weight: 600; font-size: 1.02rem; white-space: nowrap; }
.logos__cell svg { width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; color: var(--muted); }
.marquee__item svg { width: 20px; }

/* ---------- Feature cards with diamond pattern ---------- */
.feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.fcard { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.25rem 1.5rem; min-height: 300px; display: flex; flex-direction: column; }
.fcard::after { content: ""; position: absolute; right: -30px; top: 20px; width: 200px; height: 140px; opacity: .55; background-image: linear-gradient(45deg, transparent 47%, var(--line) 48%, var(--line) 52%, transparent 53%), linear-gradient(-45deg, transparent 47%, var(--line) 48%, var(--line) 52%, transparent 53%); background-size: 46px 46px; }
.fcard__icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; position: relative; z-index: 1; }
.fcard:nth-child(2) .fcard__icon { background: var(--peach); color: var(--orange); }
.fcard:nth-child(3) .fcard__icon { background: var(--yellow); color: var(--navy); }
.fcard:nth-child(4) .fcard__icon { background: var(--lilac); color: var(--navy); }
.fcard__icon svg { width: 22px; height: 22px; }
.fcard h3 { margin-top: auto; font-size: 1.4rem; margin-bottom: .5rem; }
.fcard p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .feature-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-cards { grid-template-columns: 1fr; } .fcard { min-height: 220px; } }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.how__visual { position: relative; aspect-ratio: 8/7; overflow: hidden; background: var(--peach); display: grid; place-items: center; }
.how__visual .shape { position: absolute; }
.shape--a { left: 0; top: 0; width: 22%; height: 100%; background: var(--yellow); clip-path: polygon(0 50%, 100% 25%, 100% 75%, 0 100%); }
.shape--b { right: 0; top: 0; width: 22%; height: 60%; background: var(--orange); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.shape--c { left: 0; bottom: 0; width: 22%; height: 30%; background: var(--navy); }
.shape--d { right: 0; bottom: 0; width: 22%; height: 40%; background: var(--yellow); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.mock { position: relative; width: 70%; background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0,18,70,.4); padding: 1.4rem 1.2rem 1rem; text-align: center; }
.mock small { display: inline-block; font-size: .65rem; font-weight: 600; color: var(--orange); background: var(--peach); padding: .2rem .55rem; border-radius: 999px; }
.mock h4 { font-size: clamp(1rem, 1.8vw, 1.45rem); margin: .6rem 0 .3rem; letter-spacing: -.03em; }
.mock h4 em { color: var(--orange); font-style: normal; }
.mock p { font-size: .75rem; color: var(--muted); margin-bottom: .7rem; }
.mock__btn { display: inline-block; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 600; padding: .4rem .7rem; border-radius: 6px; margin-bottom: .9rem; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; text-align: left; }
.mock__cards div { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .62rem; font-weight: 600; }
.mock__cards img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.mock__cards span { display: block; padding: .35rem .4rem; }
.steps-acc { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .5rem; }
.steps-acc li { position: relative; padding: .9rem 1rem; border-radius: 10px; cursor: pointer; transition: background .3s; }
.steps-acc li.is-active { background: var(--grey); }
.steps-acc h4 { margin: 0; font-size: 1.15rem; font-weight: 500; }
.steps-acc p { margin: .35rem 0 0; color: var(--muted); font-size: .98rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.steps-acc li.is-active p { max-height: 80px; opacity: 1; }
.steps-acc .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; overflow: hidden; border-radius: 2px; }
.steps-acc .prog i { display: block; height: 100%; width: 0; background: var(--orange); }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }

/* ---------- Listing cards (course style) ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.listing-grid--2 { grid-template-columns: repeat(2, 1fr); }
.listing-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .75rem; transition: box-shadow .35s, transform .35s var(--ease); }
.listing-card:hover { box-shadow: 0 30px 50px -35px rgba(0,18,70,.45); transform: translateY(-3px); }
.listing-card__media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: var(--peach); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.listing-card:hover .listing-card__media img { transform: scale(1.05); }
.listing-card__badge { position: absolute; top: .7rem; left: .7rem; background: var(--orange); color: #fff; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.listing-card__save { position: absolute; top: .55rem; right: .55rem; width: 36px; height: 36px; border-radius: 8px; border: 0; background: rgba(255,255,255,.95); display: grid; place-items: center; }
.listing-card__save svg { width: 17px; }
.listing-card__save[aria-pressed="true"] { color: var(--orange); }
.listing-card__save[aria-pressed="true"] svg { fill: currentColor; }
.listing-card__body { padding: 1rem .5rem .25rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.listing-card__cat { color: var(--orange); font-weight: 600; font-size: .85rem; }
.listing-card h3 { margin: 0; font-size: 1.3rem; }
.listing-card h3 a { color: var(--ink); text-decoration: none; }
.listing-card h3 a:hover { color: var(--orange); }
.listing-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.chips-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips-meta span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--ink-2); }
.chips-meta svg { width: 15px; height: 15px; }
.chips-meta .star { color: var(--orange); fill: currentColor; }
.listing-card .btn--soft { margin-top: auto; }
.listing-card__meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .88rem; }
.listing-card__addr { display: flex; gap: .35rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.listing-card__addr svg { width: 15px; flex: none; margin-top: 3px; }
.listing-card__foot { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.open-state { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: #148a5a; }
.open-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-state.is-closed { color: var(--danger); }
.listing-grid.is-list { grid-template-columns: 1fr; }
.listing-grid.is-list .listing-card { flex-direction: row; gap: 1rem; }
.listing-grid.is-list .listing-card__media { width: 36%; flex: none; aspect-ratio: auto; }
@media (max-width: 980px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .listing-grid, .listing-grid--2 { grid-template-columns: 1fr; } .listing-grid.is-list .listing-card { flex-direction: column; } .listing-grid.is-list .listing-card__media { width: 100%; aspect-ratio: 16/10; } }
.rating { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }
.rating svg { width: 15px; color: var(--orange); fill: currentColor; }
.rating span { color: var(--muted); font-weight: 400; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg { width: 16px; fill: currentColor; }

/* ---------- Event banner ---------- */
.event { display: grid; grid-template-columns: 140px 1fr; align-items: center; margin-top: 2.5rem; }
.event__date { background: var(--navy); border-radius: var(--r) 0 0 var(--r); height: 140px; display: grid; place-items: center; text-align: center; color: #c9d2ec; position: relative; z-index: 1; }
.event__date b { display: grid; place-items: center; width: 72px; height: 62px; margin: 0 auto .4rem; background: var(--orange); color: #fff; border-radius: 8px; font-size: 2.2rem; font-weight: 600; letter-spacing: -.03em; }
.event__body { background: var(--grey); border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--r) var(--r) 0; padding: 1.5rem 1.75rem; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap; min-height: 120px; }
.event__body h3 { font-size: 1.5rem; margin: .4rem 0 .3rem; }
.event__body p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 52ch; }
.pill-soft { display: inline-block; background: var(--peach); color: var(--orange); font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
@media (max-width: 640px) { .event { grid-template-columns: 1fr; } .event__date { border-radius: var(--r) var(--r) 0 0; height: auto; padding: 1rem; } .event__body { border-left: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); } }

/* ---------- Split with stats ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1/0.92; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split ul { padding-left: 1.2rem; color: var(--ink-2); }
.stats-inline { display: flex; gap: 0; margin: 2.5rem 0 2rem; }
.stats-inline div { padding-right: 1.75rem; }
.stats-inline div + div { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.stats-inline strong { display: block; font-size: 2.6rem; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.stats-inline span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* tile reveal overlay */
.tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); pointer-events: none; z-index: 2; }
.tiles span { background: #fff; transform-origin: center; }
.section--grey .tiles span { background: var(--grey); }

/* ---------- Dark globe / news ---------- */
.globe-head { position: relative; text-align: center; padding: 1rem 0 3rem; }
.globe-head h2 { max-width: 14ch; margin-inline: auto; }
.globe-head p { max-width: 52ch; margin-inline: auto; }
.nchip { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.nchip span:first-child { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: var(--navy); }
.nchip span:last-child { background: var(--navy-2); color: #fff; font-size: .82rem; padding: .25rem .65rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); }
.nchip--a { left: 2%; top: 0; } .nchip--b { right: 4%; top: 10%; } .nchip--c { left: 10%; bottom: 0; } .nchip--d { right: 12%; bottom: -10px; }
@media (max-width: 900px) { .nchip { display: none; } }
.news { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; }
.news__feature { position: relative; border-radius: var(--r); overflow: hidden; min-height: 440px; background: #000; color: #fff; display: flex; align-items: flex-end; text-decoration: none; }
.news__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); opacity: .85; }
.news__feature:hover img { transform: scale(1.04); }
.news__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)); }
.news__feature-body { position: relative; z-index: 1; padding: 1.75rem; }
.news__feature h3 { color: #fff; font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin-bottom: .5rem; }
.news__feature p { color: #d0d3da; margin: 0; }
.news__list { display: flex; flex-direction: column; gap: .2rem; }
.news__item { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding: .8rem; border-radius: 12px; text-decoration: none; color: #fff; transition: background .25s; }
.news__item > div { min-width: 0; }
.news__item:hover { background: rgba(255,255,255,.06); color: #fff; }
.news__item img { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; background: #222; }
.news__item h4 { margin: 0 0 .25rem; font-size: 1rem; line-height: 1.3; color: #fff; font-weight: 500; }
.news__time { font-size: .82rem; color: #8d919b; }
.news__status { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: #b8bcc6; }
.news__credit { margin-top: 1rem; font-size: .85rem; color: #8d919b; }
.news__credit a { color: #fff; }
.news__error { padding: 2rem; border: 1px dashed rgba(255,255,255,.2); border-radius: var(--r); color: #c9ccd3; }
.news__error h3 { color: #fff; }
.news__error .btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.25); }
.skeleton { background: linear-gradient(90deg, #202227 25%, #2a2c32 50%, #202227 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; }
.section:not(.section--dark) .skeleton { background: linear-gradient(90deg, #eee 25%, #f7f7f7 50%, #eee 75%); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.7); } 70% { box-shadow: 0 0 0 10px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } .news__feature { min-height: 320px; } }

/* ---------- Ribbon bands ---------- */
.ribbons { display: grid; gap: 0; margin-top: 3rem; }
.ribbon { display: flex; height: 64px; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.ribbon > * { display: flex; align-items: center; padding: 0 3rem; flex: 1; clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); margin-right: -28px; }
.ribbon > * + * { clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); padding-left: 4rem; }
.ribbon > .c-peach { background: var(--peach); color: var(--ink-2); }
.ribbon > .c-yellow { background: var(--yellow); color: var(--navy); }
.ribbon > .c-cream { background: var(--cream); color: var(--ink-2); }
.ribbon > .c-navy { background: var(--navy); color: #fff; }
.ribbon > .c-white { background: #fff; color: var(--ink-2); }
.ribbon > .c-orange { background: var(--orange); color: #fff; }
.ribbon > .c-lilac { background: var(--lilac); color: var(--navy); }
@media (max-width: 700px) { .ribbon { height: 52px; font-size: 1.05rem; } .ribbon > * { padding: 0 1.25rem; } .ribbon > * + * { padding-left: 2.25rem; } }

/* ---------- Stacked testimonials ---------- */
.stack-cards { display: grid; gap: 1.25rem; }
.tcard { position: sticky; top: 110px; display: grid; grid-template-columns: 230px 1fr auto; gap: 1.5rem; padding: .85rem; background: var(--grey); border: 1px solid var(--line); border-radius: var(--r); min-height: 250px; transform-origin: top center; }
.tcard:nth-child(2) { top: 130px; } .tcard:nth-child(3) { top: 150px; }
.tcard__photo { border-radius: 10px; display: grid; place-items: center; font-size: 4rem; font-weight: 700; letter-spacing: -.05em; color: var(--navy); }
.tcard blockquote { margin: .5rem 0 1.5rem; font-size: 1.15rem; line-height: 1.5; color: var(--ink); max-width: 56ch; }
.tcard__who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.tcard__who b { display: block; }
.tcard__who small { color: var(--muted); }
.tcard__body { display: flex; flex-direction: column; padding: .5rem 0; }
.tcard__stat { align-self: end; padding: 0 1.5rem 1rem 0; min-width: 150px; }
.tcard__stat strong { display: block; font-size: 2.8rem; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.tcard__stat small { color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 600; font-size: .85rem; flex: none; }
@media (max-width: 800px) { .tcard { grid-template-columns: 1fr; position: relative; top: 0 !important; } .tcard__photo { height: 160px; } .tcard__stat { align-self: start; padding: 0; } }

/* ---------- FAQ (chat bubble) ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-wrap h2 { max-width: 10ch; }
.mascot { width: 200px; margin-top: 3rem; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-3deg); } }
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); background: var(--grey); border-radius: 10px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { position: relative; margin: .25rem 1rem 1.25rem auto; max-width: 85%; background: var(--navy); color: #fff; padding: 1rem 1.15rem; border-radius: 12px 12px 2px 12px; font-size: .98rem; animation: bubble .5s var(--ease); transform-origin: bottom right; box-shadow: 0 14px 24px -16px rgba(240,90,40,.8); }
@keyframes bubble { from { opacity: 0; transform: scale(.85) translateY(10px); } }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .mascot { display: none; } }

/* ---------- Final CTA (register venture) ---------- */
.cta-stripes { position: relative; overflow: hidden; text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; background: linear-gradient(180deg, #fff 0%, var(--grey) 40%, #fde9df 100%); isolation: isolate; }
.cta-stripes::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, rgba(255,255,255,.9) 0 6px, transparent 6px 64px); background-size: 64px 100%; mask-image: linear-gradient(180deg, transparent, #000 30%); }
.cta-stripes h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 18ch; margin-inline: auto; }
.cta-stripes p { color: var(--muted); max-width: 50ch; margin: 0 auto 2rem; }
.cta-stripes .btn-row { justify-content: center; }
.venture__perks { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; color: var(--ink-2); }
.venture__perks li { display: inline-flex; gap: .4rem; align-items: center; }
.venture__perks svg { width: 17px; color: var(--orange); }

/* ---------- Inner page hero ---------- */
.page-hero3 { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--grey); isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero3::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, rgba(255,255,255,.95) 0 6px, transparent 6px 64px); background-size: 64px 100%; mask-image: linear-gradient(180deg, transparent, #000); opacity: .9; }
.page-hero3 h1 { max-width: 20ch; font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero3 p { color: var(--muted); font-size: 1.12rem; max-width: 58ch; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .92rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #c3c5ca; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Category tiles & cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); overflow: hidden; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.cat-tile:hover { color: var(--ink); border-color: #dadbe0; transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(0,18,70,.4); }
.cat-tile__icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--grey); color: var(--navy); transition: background .3s, color .3s; }
.cat-tile:hover .cat-tile__icon { background: var(--orange); color: #fff; }
.cat-tile__icon svg { width: 22px; height: 22px; }
.cat-tile h3 { margin: .4rem 0 0; font-size: 1.12rem; }
.cat-tile p { margin: 0; color: var(--muted); font-size: .93rem; }
.cat-tile__count { font-size: .86rem; font-weight: 600; color: var(--orange); margin-top: auto; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cat-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; min-height: 300px; color: #fff; text-decoration: none; isolation: isolate; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0,10,40,.85)); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card:hover { color: #fff; }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.cat-card h3 { color: #fff; margin: 0 0 .2rem; font-size: 1.4rem; }
.cat-card__go { width: 42px; height: 42px; border-radius: 8px; background: var(--orange); display: grid; place-items: center; transition: transform .35s var(--ease); }
.cat-card:hover .cat-card__go { transform: translateX(4px); }
.cat-card__go svg { width: 18px; }
@media (max-width: 900px) { .cat-feature { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-feature { grid-template-columns: 1fr; } }

/* ---------- Generic UI ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .92rem; font-weight: 500; text-decoration: none; transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.layout-sidebar { display: grid; grid-template-columns: 290px 1fr; gap: 2.25rem; align-items: start; }
.layout-sidebar--right { grid-template-columns: 1fr 340px; }
@media (max-width: 980px) { .layout-sidebar, .layout-sidebar--right { grid-template-columns: minmax(0, 1fr); } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.panel + .panel { margin-top: 1.25rem; }
.panel h3 { font-size: 1.12rem; }
.filters { position: sticky; top: 100px; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.05rem; }
.field label { font-weight: 600; font-size: .9rem; }
.input, .select, .textarea { width: 100%; padding: .78rem .95rem; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--grey); transition: border-color .2s, box-shadow .2s, background .2s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px #e8ecf8; }
.textarea { min-height: 140px; resize: vertical; }
.check { display: flex; align-items: center; gap: .55rem; padding: .25rem 0; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); }
.field-error { color: var(--danger); font-size: .85rem; min-height: 1em; }
.is-invalid { border-color: var(--danger) !important; }
.form-success { display: none; padding: .9rem 1.1rem; background: var(--peach); color: var(--orange-2); border-radius: var(--r-btn); font-weight: 600; margin-top: 1rem; }
.form-success.is-visible { display: block; animation: bubble .5s var(--ease); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.toolbar p { margin: 0; color: var(--muted); }
.toolbar .select { width: auto; padding-block: .55rem; background: #fff; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-btn); padding: 3px; background: #fff; }
.view-toggle button { border: 0; background: transparent; width: 36px; height: 32px; border-radius: 6px; display: grid; place-items: center; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.view-toggle svg { width: 17px; }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; list-style: none; padding: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .7rem; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--ink); }
.pagination a svg { width: 16px; }
.pagination [aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-state { text-align: center; padding: 3rem 1.5rem; border: 1px dashed #d8d9dd; border-radius: var(--r); background: #fff; }
.empty-state p { color: var(--muted); }

/* ---------- Pricing / services / FAQ legacy ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.plan--pop { background: var(--navy); color: #c9d2ec; border-color: var(--navy); }
.plan--pop h3, .plan--pop .plan__price { color: #fff; }
.plan__ribbon { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--orange); color: #fff; font-size: .78rem; font-weight: 600; padding: .22rem .65rem; border-radius: 999px; }
.plan__price { font-size: 3rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.plan__price small { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.plan li { display: flex; gap: .55rem; }
.plan li svg { width: 19px; flex: none; color: var(--orange); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan--pop .btn--ghost { --bg: #fff; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service { position: relative; overflow: hidden; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); min-height: 230px; display: flex; flex-direction: column; }
.service::after { content: ""; position: absolute; right: -30px; top: 16px; width: 170px; height: 110px; opacity: .55; background-image: linear-gradient(45deg, transparent 47%, var(--line) 48%, var(--line) 52%, transparent 53%), linear-gradient(-45deg, transparent 47%, var(--line) 48%, var(--line) 52%, transparent 53%); background-size: 40px 40px; }
.service .cat-tile__icon { background: var(--navy); color: #fff; position: relative; z-index: 1; }
.service h3 { margin-top: auto; }
.service p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem; }
.contact-card { padding: 2rem; border-radius: var(--r); background: var(--navy); color: #c9d2ec; }
.contact-card h2 { color: #fff; font-size: 1.9rem; }
.contact-card .contact-rows li { border-color: rgba(255,255,255,.12); }
.contact-card .contact-rows .ic { background: rgba(255,255,255,.08); color: var(--orange); }
.contact-card .contact-rows a, .contact-card .contact-rows span { color: #fff; }
.contact-card .contact-rows small { color: #96a2c8; }
.contact-card .socials a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 860px) { .contact-grid, .form-grid { grid-template-columns: 1fr; } }
.contact-rows { list-style: none; padding: 0; margin: 0; display: grid; }
.contact-rows li { display: grid; grid-template-columns: 42px 1fr; gap: .9rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.contact-rows li > div { min-width: 0; }
.contact-rows li:last-child { border-bottom: 0; }
.contact-rows .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--grey); color: var(--navy); display: grid; place-items: center; }
.contact-rows .ic svg { width: 19px; }
.contact-rows small { display: block; color: var(--muted); font-size: .84rem; }
.contact-rows a, .contact-rows span { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.socials { display: flex; gap: .45rem; }
.socials a { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: all .25s; }
.socials a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.socials svg { width: 17px; height: 17px; }
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/7; background: var(--grey); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; gap: .8rem; padding: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.post-card__media { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16/11; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .86rem; color: var(--muted); padding: 0 .4rem; }
.post-card__meta a { color: var(--orange); font-weight: 600; text-decoration: none; }
.post-card h3 { margin: 0; font-size: 1.25rem; padding: 0 .4rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--orange); }
.post-card p { margin: 0 0 .5rem; color: var(--muted); padding: 0 .4rem; font-size: .96rem; }
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
.post-feature .post-card__media { aspect-ratio: 16/10; border-radius: var(--r); }
.post-feature .post-card__meta { padding: 0; }
.post-feature h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } .post-feature { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.article { max-width: 760px; margin-inline: auto; }
.article__cover { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/8; margin: 2rem 0 2.5rem; position: relative; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 1.8rem; margin: 2.2rem 0 .8rem; }
.prose blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; background: var(--navy); color: #fff; border-radius: 14px 14px 2px 14px; font-size: 1.25rem; line-height: 1.45; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.author { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: var(--r); background: var(--grey); border: 1px solid var(--line); margin-top: 3rem; }
.author p { margin: 0; color: var(--muted); font-size: .95rem; }
.share { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; color: var(--muted); }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--orange); z-index: 90; width: 0; }
.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sitemap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.sitemap a { text-decoration: none; color: var(--ink-2); }
.sitemap a:hover { color: var(--orange); }
@media (max-width: 860px) { .sitemap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sitemap { grid-template-columns: 1fr; } }

/* ---------- Shared bits for listing pages ---------- */
.dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0; }
.dl div { background: #fff; padding: .95rem 1.1rem; }
.dl dt { font-size: .86rem; color: var(--muted); }
.dl dd { margin: .2rem 0 0; font-weight: 600; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; } }
.service-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.service-pills span { padding: .5rem .9rem; border-radius: 999px; background: var(--grey); border: 1px solid var(--line); font-weight: 500; font-size: .93rem; }
.bar-row { display: grid; grid-template-columns: 52px 1fr 40px; gap: .8rem; align-items: center; font-size: .92rem; margin-bottom: .4rem; }
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 99px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.gallery a { position: relative; border-radius: 12px; overflow: hidden; display: block; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,10,30,.92); display: none; place-items: center; padding: 2rem; }
.lightbox.is-open { display: grid; animation: bubble .3s ease; }
.lightbox img { max-height: 82vh; border-radius: 12px; }
.lightbox button { position: absolute; border: 0; background: #fff; width: 46px; height: 46px; border-radius: 8px; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox__close { top: 1.25rem; right: 1.25rem; } .lightbox__prev { left: 1.25rem; top: 50%; } .lightbox__next { right: 1.25rem; top: 50%; }
.seal { width: 130px; height: 130px; animation: spin 30s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.search-panel { display: grid; grid-template-columns: 1fr 1fr auto; gap: .35rem; padding: .35rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.search-panel label { display: flex; align-items: center; gap: .55rem; padding: 0 .8rem; }
.search-panel svg { width: 18px; color: var(--muted); flex: none; }
.search-panel .btn svg { color: inherit; }
.search-panel input { border: 0; outline: none; width: 100%; padding: .7rem 0; background: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #a4a8b2; padding-top: clamp(3.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1fr 1px 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); }
.footer-divider { background: rgba(255,255,255,.14); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 3rem; }
.footer-brand h4 { color: #d0d3da; margin: 1.5rem 0 .4rem; font-weight: 500; }
.footer-brand p { color: #fff; margin: 0; font-size: .96rem; }
.footer-brand .socials { margin-top: 2rem; }
.site-footer .socials a { background: transparent; border-color: transparent; color: #d0d3da; }
.site-footer .socials a:hover { background: var(--orange); color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.site-footer h4 { color: #d0d3da; font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #fff; text-decoration: none; font-size: .96rem; transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.footer-news { margin-top: 3rem; }
.newsletter { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: .5rem; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: .5rem 0; outline: none; }
.newsletter input::placeholder { color: #7f838d; }
.newsletter button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; }
.newsletter button svg { width: 15px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; padding: 2rem 0 1.75rem; margin-top: 2rem; min-height: 200px; }
.footer-legal { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .92rem; position: relative; z-index: 2; }
.footer-legal a { color: #fff; }
.footer-copy { font-size: .92rem; position: relative; z-index: 2; }
.footer-pills { position: absolute; left: 22%; bottom: 0; width: 420px; height: 200px; pointer-events: none; }
.footer-pills a { position: absolute; bottom: 12px; pointer-events: auto; padding: .7rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--ink); background: var(--yellow); }
.footer-pills a:nth-child(2) { background: transparent; color: #fff; border: 1.5px solid #fff; }
.footer-pills a:nth-child(3) { background: var(--orange); color: #fff; }
.footer-pills a:nth-child(4) { background: #fff; color: var(--navy); }
.footer-pills a:hover { color: inherit; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } .footer-divider { display: none; } .footer-pills { left: 0; width: 100%; } .footer-bottom { min-height: 240px; align-items: start; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 46px; height: 46px; border-radius: var(--r-btn); border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .35s var(--ease); box-shadow: 0 12px 22px -12px rgba(240,90,40,.8); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; }

/* ---------- Motion helpers ---------- */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word { display: inline-block; }
.anim [data-intro] { visibility: hidden; }
.io [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.io [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .anim [data-intro] { visibility: visible; }
  .io [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   SINGLE LISTING — option 3
   ========================================================= */
.sl3-hero .hero3__copy { padding-top: 2rem; }
.sl3-hero h1 { max-width: 12ch; }
.sl3-panel { background: var(--navy); }
.sl3-panel .story { flex-basis: min(330px, 78%); }
.sl3-logo { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: 12px; padding: .55rem .9rem .55rem .55rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.sl3-logo img { width: 48px; height: 48px; border-radius: 10px; }
.sl3-logo strong { display: block; font-size: .95rem; }
.sl3-logo small { color: var(--muted); font-size: .8rem; }
.sl3-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 5rem) 0; }
.sl3-toc { position: sticky; top: 100px; align-self: start; display: grid; grid-template-columns: 2px 1fr; gap: 0 1rem; }
.sl3-toc p { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.sl3-toc__track { position: relative; background: var(--line); border-radius: 2px; overflow: hidden; }
.sl3-toc__bar { position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: top; }
.sl3-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.sl3-toc a { display: flex; gap: .7rem; padding: .42rem 0; color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .25s; }
.sl3-toc a span { font-variant-numeric: tabular-nums; color: #b4b6bc; font-size: .82rem; padding-top: .1rem; }
.sl3-toc a:hover, .sl3-toc a.is-active { color: var(--ink); }
.sl3-toc a.is-active span { color: var(--orange); }
.sl3-sec { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; padding: 2.75rem 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.sl3-sec:first-child { border-top: 0; padding-top: 0; }
.sl3-sec h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.sl3-num { font-size: .9rem; color: var(--orange); font-weight: 600; padding-top: .7rem; }
.sl3-cards { grid-template-columns: repeat(2, 1fr); }
.sl3-cred { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.sl3-amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.sl3-amen li { display: flex; align-items: center; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.sl3-amen .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--peach); color: var(--orange); flex: none; }
.sl3-amen svg { width: 19px; }
.sl3-stats { margin: .5rem 0 0; flex-wrap: wrap; row-gap: 1.25rem; }
.week { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.week li { display: flex; flex-direction: column; gap: .25rem; padding: 1rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--grey); font-size: .9rem; }
.week li span { color: var(--muted); font-weight: 600; }
.week li strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.week li small { color: var(--muted); }
.week li.is-today { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 16px 26px -16px rgba(240,90,40,.9); }
.week li.is-today span, .week li.is-today small { color: #ffb194; }
.week li.is-today strong { color: #fff; }
.sl3-contact { max-width: 560px; }
.sl3-gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.sl3-rsum { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; padding: 1.5rem; background: var(--grey); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1.75rem; }
.sl3-rsum strong { display: block; font-size: 3.6rem; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.bubble-reviews { display: grid; gap: 1.25rem; }
.bubble-review { max-width: 82%; }
.bubble-review p { background: var(--grey); border: 1px solid var(--line); padding: 1.1rem 1.25rem; border-radius: 14px 14px 14px 2px; margin: 0 0 .75rem; font-size: 1.04rem; }
.bubble-review.is-right { margin-left: auto; }
.bubble-review.is-right p { background: var(--navy); color: #fff; border-color: var(--navy); border-radius: 14px 14px 2px 14px; }
.bubble-review .tcard__who { gap: .7rem; }
.bubble-review .stars { margin-left: auto; }
.bubble-review.is-right .tcard__who { justify-content: flex-end; }
.bubble-review.is-right .stars { margin-left: .5rem; }
@media (max-width: 1000px) { .sl3-layout { grid-template-columns: minmax(0, 1fr); } .sl3-toc { display: none; } }
@media (max-width: 700px) { .sl3-sec { grid-template-columns: 1fr; gap: .25rem; } .sl3-cards, .sl3-amen { grid-template-columns: 1fr; } .week { grid-template-columns: repeat(4, 1fr); } .sl3-cred, .sl3-rsum { grid-template-columns: 1fr; } .bubble-review { max-width: 100%; } .sl3-gallery { grid-template-columns: 1fr 1fr; } }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 70; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .35rem; padding: .35rem; background: var(--navy); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem .4rem; border-radius: 9px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
  .mobile-bar a:last-child { background: var(--orange); }
  .mobile-bar svg { width: 17px; height: 17px; }
  .has-mobile-bar .to-top { bottom: 5.25rem; }
}

/* =========================================================
   404 — option 3
   ========================================================= */
.nf3 { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 0; text-align: center; background: linear-gradient(180deg, #fff, var(--grey)); isolation: isolate; }
.nf3::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, rgba(255,255,255,.95) 0 6px, transparent 6px 64px); background-size: 64px 100%; mask-image: linear-gradient(180deg, transparent, #000 70%); }
.nf3__code { display: flex; justify-content: center; align-items: center; gap: clamp(.25rem, 1.5vw, 1rem); font-size: clamp(8rem, 22vw, 16rem); font-weight: 600; letter-spacing: -.06em; line-height: .85; color: var(--navy); margin-bottom: 1.5rem; }
.nf3__code > span { display: inline-block; }
.nf3-zero { width: .82em; height: .82em; display: block; }
.nf3 h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.nf3 p { color: var(--muted); font-size: 1.12rem; max-width: 48ch; margin: 0 auto 2rem; }
.nf3 .hero3__search { margin: 0 auto 1rem; }
.nf3-ribbons { margin-top: clamp(3rem, 7vw, 5rem); }
.nf3-ribbons .ribbon > * { text-decoration: none; gap: .6rem; }
.nf3-ribbons .ribbon > * svg { width: 20px; transition: transform .35s var(--ease); }
.nf3-ribbons .ribbon > *:hover svg { transform: translateX(6px); }
.nf3-ribbons .ribbon > *:hover { filter: brightness(.96); }
.ribbons { overflow: hidden; }
.ribbon { width: 140%; margin-left: -20%; }
.ribbon > * { justify-content: center; }
.globe-head { padding-bottom: 5rem; }
.nchip--c { left: 8%; bottom: 1rem; } .nchip--d { right: 10%; bottom: 0; }
.brand img { height: 46px; }
.hero3 { padding-bottom: 2.5rem; }
.nf3-ribbons .ribbon { width: 100%; margin-left: 0; }
.sl3-panel .story__cap { top: 2.4rem; bottom: auto; }
