/* ============================================================
  mileswithmeghna_ — styles
   ============================================================ */
:root {
  /* Beach palette (oklch) — ocean, sky, sand, coral & seafoam */
  --ocean: oklch(50% 0.115 236);
  --ocean-deep: oklch(39% 0.10 242);
  --paper: oklch(98% 0.008 210);
  --cream: oklch(95% 0.024 82);
  --sand: oklch(93% 0.035 78);
  --sky: oklch(84% 0.09 218);
  --sky-deep: oklch(66% 0.12 232);
  --coral: oklch(73% 0.145 42);
  --coral-deep: oklch(53% 0.16 36);
  --seafoam: oklch(74% 0.09 190);
  --cream-text: oklch(98% 0.012 205);

  --bg: oklch(98% 0.014 216);
  --surface: #ffffff;
  --ink: oklch(31% 0.045 246);
  --muted: oklch(51% 0.036 242);
  --line: oklch(92% 0.016 224);
  --primary: oklch(48% 0.12 240);
  --primary-dark: oklch(40% 0.11 242);
  --accent: oklch(73% 0.145 42);
  --ok: oklch(50% 0.10 195);
  --danger: #e2685a;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --shadow-xs: 0 1px 2px oklch(44% 0.09 242 / .05), 0 2px 6px -1px oklch(44% 0.09 242 / .06);
  --shadow-sm: 0 1px 2px oklch(44% 0.09 242 / .04), 0 6px 16px -6px oklch(44% 0.09 242 / .16);
  --shadow: 0 2px 4px oklch(44% 0.09 242 / .04), 0 14px 30px -10px oklch(44% 0.09 242 / .20), 0 28px 56px -24px oklch(44% 0.09 242 / .14);
  --shadow-lg: 0 4px 10px oklch(44% 0.09 242 / .05), 0 26px 52px -14px oklch(44% 0.09 242 / .26), 0 48px 92px -30px oklch(44% 0.09 242 / .18);
  --shadow-glow: 0 10px 32px -8px oklch(52% 0.14 240 / .45);
  --grad: linear-gradient(140deg, oklch(52% 0.12 232), oklch(42% 0.12 246));
  --grad-sky: linear-gradient(140deg, oklch(84% 0.09 218), oklch(68% 0.12 232));
  --grad-photo: linear-gradient(145deg, oklch(86% 0.06 210), oklch(92% 0.045 88) 52%, oklch(85% 0.07 200));
  --placeholder: oklch(92% 0.03 214);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 100% -8%, oklch(90% 0.06 222 / .55), transparent 60%),
    radial-gradient(900px 520px at -8% 6%, oklch(93% 0.05 66 / .40), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.collab-dialog-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; line-height: 1.08; margin: 0 0 .4em; font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
img { max-width: 100%; }
/* Ensure the HTML hidden attribute always wins over display rules below
   (e.g. .popup-overlay/.modal-overlay/.cart-drawer use display:flex). */
[hidden] { display: none !important; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { display: inline-block; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: clamp(.92rem, 1.25vw, 1rem); color: var(--coral-deep); margin-bottom: .75rem; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 54ch; }

/* ---- Branded page loader ---- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 1.5rem;
  background:
    linear-gradient(125deg, transparent 0 58%, oklch(77% .08 190 / .2) 58% 100%),
    linear-gradient(145deg, oklch(98% .012 215), oklch(92% .04 216) 54%, oklch(96% .045 77));
  opacity: 1; visibility: visible; transition: opacity .42s var(--ease), visibility .42s var(--ease);
}
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader-inner { display: flex; flex-direction: column; align-items: center; }
.loader-mark { display: flex; align-items: baseline; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 5.5rem; font-weight: 700; line-height: .9; }
.loader-letter { --loader-color: var(--ink); position: relative; color: transparent; -webkit-text-stroke: 1.5px var(--loader-color); }
.loader-letter::after { content: attr(data-letter); position: absolute; inset: 0; color: var(--loader-color); -webkit-text-stroke: 0; clip-path: inset(100% 0 0); animation: loaderLetterFill .38s var(--ease) forwards; }
.loader-letter:nth-child(2)::after { animation-delay: .23s; }
.loader-letter:nth-child(3)::after { animation-delay: .46s; }
.loader-letter-w { --loader-color: var(--coral-deep); margin-inline: .04em; font-style: italic; font-size: 1.06em; }
.loader-line { position: relative; width: 9.5rem; height: 2px; margin-top: 1.1rem; overflow: hidden; border-radius: 99px; background: oklch(40% .05 240 / .14); }
.loader-line::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ink), var(--coral), var(--ink)); transform: scaleX(0); transform-origin: left; animation: loaderLineFill .85s .05s var(--ease) forwards; }
.page-loader p { margin: .8rem 0 0; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
@keyframes loaderLetterFill { to { clip-path: inset(0); } }
@keyframes loaderLineFill { to { transform: scaleX(1); } }

/* ---- Buttons ---- */
.btn {
  --pad: .7rem 1.2rem;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  background: none; font-family: inherit; white-space: nowrap;
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.4) 48%, transparent 58%); transform: translateX(-120%); transition: transform .75s var(--ease); pointer-events: none; }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: oklch(52% 0.11 238 / .11); color: var(--primary); }
.btn-ghost:hover { background: oklch(52% 0.11 238 / .18); }
.btn-danger { background: rgba(229,72,77,.1); color: var(--danger); }
.btn-danger:hover { background: rgba(229,72,77,.18); }
.btn-lg { --pad: .95rem 1.7rem; font-size: 1rem; }
.btn-sm { --pad: .5rem .9rem; font-size: .85rem; }
.btn-xs { --pad: .35rem .7rem; font-size: .78rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(105deg, oklch(97% .018 216 / .96), oklch(100% 0 0 / .96) 52%, oklch(97% .02 84 / .94));
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 0;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.site-header::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--ocean), var(--seafoam) 42%, var(--coral) 68%, var(--ocean)); opacity: .72; }
.site-header.scrolled { background: oklch(99% 0.008 214 / .94); box-shadow: 0 14px 34px -22px oklch(31% .06 242 / .65); }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 1.25rem; height: 72px; }
.header-left { display: flex; min-width: 0; align-items: center; justify-self: start; grid-column: 1; grid-row: 1; }
.brand { display: flex; min-width: 0; align-items: center; justify-self: center; grid-column: 2; grid-row: 1; color: var(--ink); }
.brand-logo { display: inline-flex; flex-direction: column; align-items: center; max-width: 100%; color: inherit; line-height: 1; }
.brand-wordmark { display: flex; align-items: baseline; white-space: nowrap; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 2.15vw, 1.82rem); font-weight: 700; letter-spacing: 0; }
.brand-with { margin-inline: .06em; color: var(--coral-deep); font-style: italic; font-size: 1.08em; }
.brand-tagline { display: flex; align-items: center; justify-content: center; gap: .64em; margin-top: .28rem; color: var(--muted); font-family: 'Bricolage Grotesque', sans-serif; font-size: .48rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.brand-tagline i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .72; }
.brand:hover .brand-logo { opacity: .78; }
.back-btn { display: inline-flex; min-height: 42px; align-items: center; gap: .42rem; padding: .45rem .8rem .45rem .65rem; border: 1px solid oklch(88% .025 224 / .9); border-radius: 999px; color: var(--muted); background: oklch(100% 0 0 / .72); box-shadow: var(--shadow-xs); font-size: .84rem; font-weight: 700; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.back-btn:hover { transform: translateX(-2px); color: var(--primary); background: #fff; border-color: oklch(52% .11 238 / .28); box-shadow: var(--shadow-sm); }

.header-menu { position: relative; display: flex; width: 100%; min-width: 0; height: 42px; align-items: stretch; justify-content: center; gap: .75rem; background: var(--ocean-deep); box-shadow: inset 0 1px oklch(100% 0 0 / .08), 0 8px 22px -18px oklch(31% .08 242 / .8); }
.header-nav { display: flex; align-items: stretch; justify-content: center; gap: clamp(1.4rem, 3vw, 2.8rem); }
.header-nav a { position: relative; display: flex; align-items: center; color: #fff; font-size: .78rem; font-weight: 750; letter-spacing: .065em; text-transform: uppercase; white-space: nowrap; transition: color .2s var(--ease), background .2s var(--ease); }
.header-nav a::after { content: ''; position: absolute; right: 24%; bottom: 0; left: 24%; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--coral), var(--seafoam)); opacity: 0; transform: scaleX(.35); transition: opacity .2s var(--ease), transform .25s var(--ease); }
.header-nav a:hover { color: #fff; }
.header-nav a:hover::after { opacity: .35; transform: scaleX(1); }
.header-nav a.active { color: #fff; }
.header-nav a.active::after { opacity: 1; transform: scaleX(1); }
.header-right { position: absolute; right: max(4vw, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: .6rem; }
.header-right:empty { display: none; }
.user-chip { font-size: .85rem; font-weight: 600; color: var(--muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: none; cursor: pointer; justify-self: end; }
.nav-toggle:hover { background: oklch(52% 0.11 238 / .10); }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .22s ease; transform-origin: center; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Flash ---- */
.flash { padding: .7rem 0; font-weight: 600; font-size: .92rem; }
.flash-success { background: oklch(93% 0.05 195); color: oklch(45% 0.09 205); }
.flash-error { background: #fbe9e8; color: #a5352f; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(300px 260px at 86% 12%, oklch(96% .1 92 / .9), transparent 72%),
    radial-gradient(70% 55% at 8% 108%, oklch(99% .025 205 / .82), transparent 68%),
    linear-gradient(145deg, oklch(94% .045 224) 0%, oklch(87% .08 211) 50%, oklch(80% .095 191) 100%);
  color: var(--ink);
  padding: clamp(3.25rem, 6.5vw, 5.2rem) 0 clamp(4.75rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: -110px; right: 5%; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, oklch(97% .11 94 / .5), oklch(91% .11 84 / 0) 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; top: 20%; left: -60px; width: 320px; height: 96px; border-radius: 100px; background: oklch(100% 0 0 / .5); filter: blur(28px); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .98fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero .eyebrow { color: oklch(47% .17 38); margin-bottom: 1rem; }
.hero h1 { max-width: 100%; color: oklch(31% .085 245); font-size: clamp(2.7rem, 5vw, 4.2rem); line-height: .98; margin-bottom: .68em; }
.hero .lede { max-width: 49ch; color: oklch(34% .062 245); font-size: 1.03rem; line-height: 1.68; }
.hero-note { margin-top: .7rem; max-width: 49ch; padding-top: 1rem; border-top: 1px solid oklch(43% .06 235 / .18); font-size: .92rem; line-height: 1.65; color: oklch(40% .055 245); }
.hero-quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .68rem; width: min(100%, 470px); margin-top: 1.45rem; }
.hero-quick-link {
  --quick-accent: var(--primary);
  display: flex; align-items: center; gap: .65rem; min-width: 0; min-height: 52px; padding: .58rem .72rem;
  border: 1px solid oklch(100% 0 0 / .72); border-radius: 16px; background: oklch(100% 0 0 / .64);
  color: oklch(31% .065 245); box-shadow: 0 10px 24px -18px oklch(35% .08 240 / .62), inset 0 1px 0 oklch(100% 0 0 / .85);
  font: 700 .86rem/1.15 'Bricolage Grotesque', sans-serif; text-align: left; cursor: pointer;
  backdrop-filter: blur(8px); transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.hero-quick-link:hover { transform: translateY(-3px); background: oklch(100% 0 0 / .92); border-color: color-mix(in oklch, var(--quick-accent) 38%, white); box-shadow: 0 14px 26px -16px color-mix(in oklch, var(--quick-accent) 45%, transparent); }
.hero-quick-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; border-radius: 50%; color: var(--quick-accent); background: color-mix(in oklch, var(--quick-accent) 13%, white); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--quick-accent) 16%, transparent); }
.quick-join { --quick-accent: var(--coral-deep); }
.quick-instagram { --quick-accent: oklch(56% .18 350); }
.quick-youtube { --quick-accent: oklch(55% .2 28); }
.quick-collab { --quick-accent: oklch(45% .1 184); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hero-media { position: relative; display: flex; }
.hero-media::before { content: ''; position: absolute; inset: -7% -5% -8%; border-radius: 34px; background: radial-gradient(120% 90% at 68% 18%, oklch(96% .09 88 / .55), transparent 62%); filter: blur(8px); z-index: 0; pointer-events: none; }
.hero-photo {
  position: relative; flex: 1; width: 100%; min-height: 530px; border-radius: 24px; background-size: cover; background-position: center 22%;
  background-image: var(--img, none), var(--grad-sky); background-color: var(--placeholder);
  border: 5px solid oklch(100% 0 0 / .95); box-shadow: 0 28px 60px -28px oklch(31% .09 235 / .5), 0 8px 20px -14px oklch(31% .09 235 / .35); rotate: .65deg; z-index: 2;
}
.hero-badge { position: absolute; left: 16px; bottom: 16px; background: oklch(100% 0 0 / .9); backdrop-filter: blur(10px); padding: .48rem .9rem; border: 1px solid oklch(100% 0 0 / .8); border-radius: 999px; font-weight: 700; font-size: .82rem; color: var(--primary); box-shadow: var(--shadow-sm); }
.hero-blob { position: absolute; inset: auto -6% 14% auto; width: 55%; aspect-ratio: 2.4; background: oklch(100% 0 0 / .5); filter: blur(26px); opacity: .8; border-radius: 50%; z-index: 1; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; pointer-events: none; }
.hero-wave svg { display: block; width: 100%; height: clamp(40px, 6.5vw, 74px); }
.hero-wave .foam { fill: oklch(99% 0.01 210); }
.hero-wave .shore { fill: var(--bg); }

/* ---- Tabs section ---- */
.tabs-section { padding: 2rem 0 3rem; }
.tab-buttons { display: inline-flex; gap: .4rem; padding: .35rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.tab-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; border-radius: 999px; border: 0; background: none; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit; }
.tab-btn.active { background: var(--grad); color: #fff; }
.tab-panel { display: none; margin-top: 1.6rem; }
.tab-panel.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.panel-head p { margin: 0; color: var(--muted); }
.coming-soon { max-width: 560px; margin: 1rem auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.05rem; padding: clamp(2.4rem, 6vw, 4.2rem) clamp(1.5rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.cs-badge { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-deep); background: oklch(73% 0.145 42 / .16); padding: .42rem .9rem; border-radius: 999px; }
.coming-soon h2 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cs-note { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.65; max-width: 44ch; }
.coming-soon .btn { margin-top: .5rem; }

/* ---- Cards / grid ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.preview-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: oklch(52% 0.11 238 / .30); }
.product-media { aspect-ratio: 4/3; background-size: cover; background-position: center; background-image: var(--img, none), var(--grad-photo); background-color: var(--placeholder); position: relative; display: block; transition: transform .5s var(--ease); }
.product-card:hover .product-media { transform: scale(1.05); }
.chip { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.chip-muted { background: #9a9ab0; left: auto; right: 10px; }
.chip-ok { position: static; background: oklch(93% 0.05 195); color: var(--ok); }
.product-body { padding: 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-body h3 { font-size: 1.05rem; margin: 0; }
.product-desc { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
.product-meta { display: flex; align-items: center; gap: .8rem; margin: .3rem 0; }
.price { font-weight: 800; font-size: 1.1rem; }
.price-lg { font-size: 1.7rem; }
.rating { color: #f5a623; font-weight: 600; font-size: .9rem; }

/* ---- Expert cards ---- */
.expert-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem 1.3rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.expert-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 82px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(150deg, oklch(52% 0.11 238 / .09), oklch(74% 0.09 190 / .09)); pointer-events: none; }
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: oklch(52% 0.11 238 / .40); }
.expert-top { position: relative; }
.expert-avatar { position: relative; width: 92px; height: 92px; border-radius: 50%; margin: 0 auto .7rem; background-size: cover; background-position: center; background-image: var(--img, none), var(--grad-photo); background-color: var(--placeholder); box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px oklch(52% 0.11 238 / .20); }
.verified-badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 700; color: var(--ok); background: oklch(60% 0.10 190 / .16); padding: .2rem .55rem; border-radius: 999px; margin-bottom: .3rem; }
.verified-badge svg { flex: 0 0 auto; }
.expert-name { margin: .1rem 0 .1rem; }
.expert-title { font-size: .9rem; font-weight: 600; margin: 0 0 .5rem; }
.expert-bio { font-size: .9rem; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin: .6rem 0; }
.tag { background: oklch(52% 0.11 238 / .11); color: var(--primary); font-size: .75rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.expert-from { font-size: .82rem; color: var(--muted); margin: .2rem 0 .1rem; }
.expert-from strong { color: var(--ink); font-size: .95rem; }
.expert-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; }
.experts-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.career-preview-grid { grid-template-columns: minmax(0, 760px); justify-content: start; }
.career-preview-card { width: 100%; min-height: 320px; display: grid; grid-template-columns: minmax(220px, 38%) minmax(0, 1fr); overflow: hidden; padding: 0; text-align: left; border-color: oklch(52% .08 225 / .2); box-shadow: 0 18px 38px -28px oklch(36% .08 235 / .5); }
.career-preview-card::before { display: none; }
.career-preview-photo { min-height: 100%; background-image: var(--img, none), var(--grad-photo); background-color: var(--placeholder); background-position: 55% 37%; background-size: cover; transition: transform .55s var(--ease); }
.career-preview-card:hover .career-preview-photo { transform: scale(1.025); }
.career-preview-content { position: relative; display: flex; min-width: 0; flex-direction: column; padding: clamp(1.25rem, 3vw, 1.8rem); background: linear-gradient(145deg, var(--surface) 68%, oklch(94% .045 184 / .38)); }
.career-preview-card h3 { margin: 0 0 .2rem; font-size: clamp(1.65rem, 3vw, 2rem); }
.career-preview-card .career-preview-content > .muted { max-width: 32ch; margin: 0 0 .55rem; font-size: .9rem; line-height: 1.45; }
.career-preview-card .tag-row { justify-content: flex-start; gap: .35rem; margin: .45rem 0; }
.career-preview-card .tag { padding: .3rem .65rem; font-size: .76rem; }
.career-preview-bio { display: -webkit-box; margin: .55rem 0 0; overflow: hidden; color: var(--muted); font-size: .86rem; line-height: 1.55; text-align: left; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.career-preview-card .expert-foot { margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); }
.career-preview-card .price { font-size: 1rem; }
.career-preview-card .btn { --pad: .55rem 1rem; font-size: .84rem; }

/* ---- Expert services (Career Calls) ---- */
.service-list { display: grid; gap: .55rem; margin-top: .9rem; text-align: left; }
.service-item { display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; background: var(--paper, #fff); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem .9rem; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease; text-align: left; }
.service-item:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); background: #fff; }
.service-item:hover .service-arrow { opacity: 1; transform: translateX(0); }
.service-item:hover .service-title { color: var(--primary); }
.service-main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.service-title { font-weight: 700; font-size: .95rem; transition: color .15s ease; }
.service-meta { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.service-price { display: inline-flex; align-items: center; gap: .25rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
.service-arrow { opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; font-weight: 700; }

.pay-note { margin-top: .6rem; }

/* ---- Checkout ---- */
.checkout-wrap { padding: 2.5rem 0 4rem; display: flex; justify-content: center; }
.checkout-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; width: min(520px, 100%); box-shadow: var(--shadow); }
.checkout-summary { display: flex; flex-direction: column; gap: .5rem; margin: 1.2rem 0 1.4rem; }
.checkout-summary .row, .booking-meta .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--line); }
.checkout-summary .row span, .booking-meta .row span { color: var(--muted); font-size: .9rem; }
.checkout-summary .row.total { border-bottom: none; font-size: 1.15rem; padding-top: .3rem; }
.checkout-summary .row.total strong { color: var(--primary); }
.dev-pay { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: .9rem; margin-bottom: 1rem; }
.btn-link { display: inline-block; margin-top: 1rem; color: var(--muted); font-size: .9rem; }

/* ---- Booking status page ---- */
.booking-status-wrap { padding: 2.5rem 0 4rem; display: flex; justify-content: center; }
.booking-status-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; width: min(560px, 100%); box-shadow: var(--shadow); text-align: center; }
.status-badge { display: inline-block; padding: .35rem .9rem; border-radius: 999px; font-weight: 700; font-size: .82rem; background: var(--cream, #f6f3ec); color: var(--muted); margin-bottom: 1rem; }
.status-badge.ok { background: oklch(91% 0.07 195); color: var(--primary); }
.status-badge.warn { background: oklch(92% 0.08 40); color: oklch(45% 0.16 30); }
.booking-meta { margin-top: 1.6rem; text-align: left; display: flex; flex-direction: column; gap: .5rem; }

/* ---- Links ---- */
.links-list { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; }
.link-row { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; transition: .16s ease; }
.link-row span { flex: 1; }
.link-row:hover { border-color: var(--primary); transform: translateX(2px); }
.link-row.highlight { background: var(--grad); color: #fff; border-color: transparent; }
.link-row.big { padding: 1.1rem 1.3rem; font-size: 1.05rem; }

/* ---- Instagram ---- */
.ig-section { padding: 3rem 0 4rem; }
.ig-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.ig-card { position: relative; aspect-ratio: 4/5; padding: 0; border: 0; border-radius: var(--radius); background-size: cover; background-position: center; background-image: var(--img, none), var(--grad-photo); background-color: var(--placeholder); overflow: hidden; display: flex; align-items: flex-end; color: inherit; cursor: zoom-in; font: inherit; text-align: left; }
.ig-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.6)); }
.ig-media-type { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid oklch(100% 0 0 / .5); border-radius: 50%; background: oklch(25% .03 245 / .42); color: #fff; backdrop-filter: blur(8px); }
.ig-caption { position: relative; z-index: 2; display: -webkit-box; overflow: hidden; color: #fff; padding: 1rem; font-size: .85rem; font-weight: 600; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ig-viewer { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); background: oklch(18% .035 245 / .9); backdrop-filter: blur(16px); }
.ig-viewer-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); width: min(1100px, 100%); height: min(760px, 92vh); overflow: hidden; border: 1px solid oklch(100% 0 0 / .14); border-radius: 8px; background: oklch(20% .025 245); box-shadow: 0 36px 90px oklch(10% .03 245 / .55); }
.ig-viewer-media { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; background: #101719; }
.ig-viewer-image, .ig-viewer-video { width: 100%; height: 100%; object-fit: contain; }
.ig-viewer-fallback { display: flex; flex-direction: column; align-items: center; gap: .7rem; color: oklch(88% .025 215); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ig-viewer-info { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--surface); }
.ig-viewer-eyebrow { color: var(--coral-deep); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.ig-viewer-info p { margin: 1rem 0; overflow-y: auto; color: var(--ink); line-height: 1.65; }
.ig-viewer-count { margin-top: auto; color: var(--muted); font-size: .78rem; font-weight: 700; }
.ig-viewer-link { align-self: flex-start; margin-top: 1rem; }
.ig-viewer-close, .ig-viewer-nav { position: absolute; z-index: 3; display: grid; place-items: center; border: 1px solid oklch(100% 0 0 / .28); border-radius: 50%; background: oklch(20% .03 245 / .72); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.ig-viewer-close { top: 14px; right: 14px; width: 42px; height: 42px; font: 300 1.8rem/1 sans-serif; }
.ig-viewer-nav { top: 50%; width: 44px; height: 44px; font: 300 2rem/1 Georgia, serif; transform: translateY(-50%); }
.ig-viewer-prev { left: 14px; }
.ig-viewer-next { right: calc(25% + 14px); }
.ig-viewer-close:hover, .ig-viewer-nav:hover { background: oklch(100% 0 0 / .18); }
body.ig-viewer-open { overflow: hidden; }

/* ---- Page hero ---- */
.page-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; }
.career-hero { position: relative; }
.career-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.2rem); align-items: center; }
.career-hero-copy { min-width: 0; }
.career-hero-media { position: relative; margin: 0; }
.career-hero-media::before { content: ""; position: absolute; inset: -6% -6% -10% 6%; border-radius: var(--radius); background: radial-gradient(120% 120% at 80% 10%, oklch(82% 0.11 218 / .32), transparent 60%), var(--grad); filter: blur(2px); opacity: .55; z-index: 0; }
.career-hero-img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; object-position: center 28%; border-radius: var(--radius); box-shadow: var(--shadow); border: 5px solid var(--surface); }
.career-hero-media.no-img { aspect-ratio: 4 / 5; max-height: 560px; border-radius: var(--radius); background: var(--grad-photo); box-shadow: var(--shadow); border: 5px solid var(--surface); }
.career-hero-chip { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; font-size: .8rem; font-weight: 700; color: #fff; background: oklch(34% 0.09 242 / .72); backdrop-filter: blur(6px); padding: .38rem .75rem; border-radius: 999px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem .7rem; padding: 0; margin: 1.3rem 0 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: .4rem .8rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero-trust .ht-ico { font-size: .9rem; line-height: 1; }

/* ---- Career mentors (Topmate) ---- */
.career-mentors { padding-bottom: 1rem; }
.mentors-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.mentor-card { display: flex; flex-direction: column; }
.topmate-badge { color: var(--coral-deep); background: oklch(73% 0.145 42 / .15); }
.mentor-services { list-style: none; padding: 0; margin: 1rem 0 1.15rem; display: grid; gap: .5rem; text-align: left; }
.mentor-service { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.mentor-service:hover { border-color: oklch(52% 0.11 238 / .5); background: #fff; transform: translateX(2px); box-shadow: var(--shadow-sm); }
.ms-main { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ms-label { font-weight: 600; font-size: .92rem; }
.ms-meta { font-size: .76rem; color: var(--muted); }
.ms-price { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.ms-arrow { transition: transform .2s var(--ease); }
.mentor-service:hover .ms-arrow { transform: translateX(3px); }
.mentor-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.mentor-cta .ext-ico { opacity: .95; }
.mentor-powered { text-align: center; font-size: .78rem; color: var(--muted); margin: .65rem 0 0; }
.mentor-powered strong { color: var(--ink); font-weight: 700; }
.career-more { text-align: center; margin: 1.8rem 0 0; }
@media (max-width: 760px) {
  .career-hero-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .career-hero-media { order: -1; }
  .career-hero-img, .career-hero-media.no-img { aspect-ratio: 16 / 10; max-height: 320px; object-position: center 30%; }
  .career-hero-media::before { inset: -4% 4% -6% 4%; }
}
.center-page { text-align: center; padding: 5rem 0; }
.big-code { font-size: 6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.unsubscribe-page { max-width: 680px; min-height: 56vh; }
.legal-page { max-width: 820px; padding-block: clamp(3rem, 7vw, 6rem); }
.legal-page h1 { margin-bottom: 1rem; }
.legal-page h2 { margin: 2.25rem 0 .65rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.legal-page p { max-width: 72ch; color: var(--muted); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem auto; }
.step { display: flex; gap: .8rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.step-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; flex: none; }
.step p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }

/* ---- Shop layout ---- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.8rem; margin: 1.5rem auto 4rem; align-items: start; }
.filters { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.filter-label { font-weight: 700; font-size: .85rem; display: block; margin-bottom: .5rem; }
.filter-block input[type=search], .filter-block input[type=range] { width: 100%; }
input[type=search], input[type=text], input[type=email], input[type=number], input[type=datetime-local], textarea, select {
  width: 100%; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: .92rem; background: var(--surface); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid oklch(66% 0.12 232 / .55); outline-offset: 1px; }
.check-list { display: flex; flex-direction: column; gap: .4rem; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; cursor: pointer; }
.check input { width: auto; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-toggle { border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .78rem; padding: .3rem .65rem; border-radius: 999px; cursor: pointer; font-family: inherit; }
.tag-toggle.active { background: var(--grad); color: #fff; border-color: transparent; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.shop-toolbar select { width: auto; }
#result-count { font-weight: 600; color: var(--muted); }
.empty-state { text-align: center; color: var(--muted); padding: 2rem; }

/* ---- Product detail ---- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem auto; align-items: start; }
.product-detail-media { aspect-ratio: 1; border-radius: var(--radius); background-size: cover; background-position: center; background-image: var(--img, none), var(--grad-photo); background-color: var(--placeholder); position: relative; }
.product-detail-desc { font-size: 1.05rem; }
.back-link { display: inline-block; margin-bottom: .6rem; }

/* ---- Cart ---- */
.cart-fab { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; box-shadow: var(--shadow); cursor: pointer; z-index: 60; display: grid; place-items: center; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }
.cart-drawer { position: fixed; top: 0; right: 0; width: min(380px, 90%); height: 100%; background: var(--surface); box-shadow: -10px 0 40px -12px rgba(0,0,0,.25); z-index: 70; display: flex; flex-direction: column; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; }
.cart-close, .modal-close, .popup-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: .9rem; }
.cart-item .qty { display: flex; align-items: center; gap: .4rem; }
.cart-item button { border: 1px solid var(--line); background: var(--surface); width: 24px; height: 24px; border-radius: 6px; cursor: pointer; }
.cart-foot { border-top: 1px solid var(--line); padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.cart-code { display: flex; gap: .5rem; }
.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 1.05rem; }
.cart-empty { color: var(--muted); text-align: center; padding: 2rem 0; }

/* ---- Career ---- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow-sm); }
.stacked-form { display: flex; flex-direction: column; gap: 1rem; }
.stacked-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }

/* ---- Modal / popup ---- */
.modal-overlay, .popup-overlay { position: fixed; inset: 0; background: oklch(30% 0.06 242 / .55); backdrop-filter: blur(4px); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-card, .popup-card { background: var(--surface); border-radius: 20px; padding: 1.8rem; width: min(460px, 100%); position: relative; box-shadow: var(--shadow); animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.modal-close, .popup-close { position: absolute; top: 12px; right: 14px; }
.popup-card { text-align: center; }
.popup-emoji { font-size: 2.4rem; }
.popup-form { display: flex; gap: .5rem; margin: 1rem 0 .5rem; }
.popup-result { font-weight: 600; }
.popup-result.ok { color: var(--ok); }
.popup-result.err { color: var(--danger); }
.popup-dismiss { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.collab-card { width: min(620px, 100%); padding: clamp(1.5rem, 4vw, 2.3rem); text-align: left; }
.collab-eyebrow { display: block; margin-bottom: .55rem; color: var(--coral-deep); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.collab-card h2 { max-width: 14ch; margin-bottom: .55rem; font-size: clamp(1.9rem, 5vw, 2.65rem); }
.collab-intro { max-width: 58ch; margin-bottom: 1.25rem; color: var(--muted); font-size: .96rem; line-height: 1.65; }
.collab-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.collab-action { display: flex; min-width: 0; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease); }
.collab-action:hover { transform: translateY(-2px); border-color: oklch(52% .11 238 / .45); box-shadow: var(--shadow-sm); }
.collab-action-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 50%; color: var(--primary); background: oklch(52% .11 238 / .1); }
.collab-action-career .collab-action-icon { color: var(--coral-deep); background: oklch(73% .145 42 / .12); }
.collab-action-copy { display: flex; min-width: 0; flex-direction: column; gap: .2rem; }
.collab-action-copy strong { color: var(--ink); font-size: .96rem; line-height: 1.3; }
.collab-action-copy > span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.collab-action-copy small { overflow-wrap: anywhere; color: var(--primary); font-size: .72rem; font-weight: 700; }
.collab-note { margin: 1rem 0 0; color: var(--muted); font-size: .8rem; }

/* ---- Links page (premium) ---- */
.links-page { max-width: 600px; margin: 2.5rem auto 4.5rem; text-align: center; }
.links-profile { display: flex; flex-direction: column; align-items: center; }
.links-avatar-wrap { position: relative; width: 124px; height: 124px; margin: 0 auto 1rem; }
.links-avatar { width: 124px; height: 124px; border-radius: 50%; background-size: cover; background-position: center; background-image: var(--img, none), var(--grad-photo); background-color: var(--placeholder); box-shadow: 0 0 0 5px var(--surface), var(--shadow); }
.links-verified { position: absolute; right: 2px; bottom: 2px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 0 0 4px var(--surface); }
.links-profile h1 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin: 0 0 .25rem; }
.links-tagline { color: var(--muted); margin: 0 0 1.1rem; }
.links-top-socials { display: inline-flex; gap: .55rem; margin-bottom: 1.8rem; }
.links-top-socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); transition: transform .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease); }
.links-top-socials a:hover { transform: translateY(-3px); color: var(--primary); border-color: oklch(52% 0.11 238 / .5); box-shadow: var(--shadow-sm); }
.links-stack { display: flex; flex-direction: column; gap: .8rem; margin: 0 0 2rem; }
.link-card { display: flex; align-items: center; gap: .95rem; padding: 1rem 1.15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: oklch(52% 0.11 238 / .35); }
.link-ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: oklch(95% 0.032 228); color: var(--primary); }
.link-title { flex: 1; text-align: left; }
.link-arrow { flex: none; color: var(--muted); transition: transform .28s var(--ease), color .28s var(--ease); }
.link-card:hover .link-arrow { transform: translate(3px, -3px); color: var(--primary); }
.link-card.highlight { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.link-card.highlight .link-ico { background: rgba(255,255,255,.22); color: #fff; }
.link-card.highlight .link-arrow { color: rgba(255,255,255,.9); }
.link-card.highlight:hover { box-shadow: var(--shadow-glow); }
.links-empty { text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--surface); }
.links-empty svg { color: var(--primary); opacity: .85; margin-bottom: .5rem; }
.links-empty h2 { margin: .2rem 0 .3rem; font-size: 1.2rem; color: var(--ink); }
.links-empty p { margin: 0; }
.links-home { display: inline-block; margin-top: .5rem; font-weight: 600; font-size: .9rem; }
.links-home:hover { color: var(--primary); }
.link-title-cell { display: flex; align-items: center; gap: .5rem; }
.link-ico-mini { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: oklch(95% 0.032 228); color: var(--primary); flex: none; }

/* ---- Auth ---- */
.auth-page { padding: 3rem 0 5rem; }
.auth-card { max-width: 420px; }

/* ---- Admin ---- */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 1.8rem; margin: 1.5rem auto 4rem; align-items: start; }
.admin-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: .25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.admin-nav h3 { margin: 0 0 .5rem; }
.admin-nav a { padding: .55rem .8rem; border-radius: var(--radius-sm); font-weight: 600; color: var(--muted); }
.admin-nav a:hover { background: oklch(52% 0.11 238 / .11); color: var(--primary); }
.admin-nav a.active { background: var(--grad); color: #fff; }
.admin-back { margin-top: .8rem; border-top: 1px solid var(--line); padding-top: .8rem !important; }
.admin-content { min-width: 0; }
.admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-section-head h2 { margin: 0; }
.admin-table-scroll { max-width: 100%; overflow-x: auto; border-radius: var(--radius); }
.admin-form { display: flex; flex-direction: column; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.admin-form fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; display: flex; flex-direction: column; gap: .8rem; }
.admin-form legend { font-weight: 700; padding: 0 .4rem; }
.admin-form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .85rem; }
.admin-form label.check { flex-direction: row; align-items: center; }
.admin-add { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.admin-add summary { font-weight: 700; cursor: pointer; }
.admin-add .admin-form { border: 0; padding: 1rem 0 0; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
.admin-table th { background: var(--cream); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.row-actions { display: flex; gap: .4rem; align-items: center; }
.row-actions form { display: inline; }
.truncate { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Links drag-and-drop reorder */
.links-table .drag-col { width: 34px; }
.link-drag-row .drag-handle { cursor: grab; color: var(--muted); font-size: 1.1rem; line-height: 1; user-select: none; text-align: center; width: 34px; letter-spacing: -2px; touch-action: none; }
.link-drag-row .drag-handle:active { cursor: grabbing; }
.link-drag-row.dragging { opacity: .55; background: var(--cream); }
.link-drag-row.dragging td { border-color: transparent; }
.reorder-hint { margin-top: .7rem; }
.reorder-status { font-weight: 700; }
.reorder-status[data-tone="ok"] { color: var(--ok); }
.reorder-status[data-tone="error"] { color: var(--danger); }
.expert-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.admin-expert-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.admin-expert-card.status-pending { border-color: #f5c451; }

/* Admin: expert sub-sections (services + availability) */
.admin-sub { margin-top: .8rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.admin-sub summary { font-weight: 700; font-size: .85rem; cursor: pointer; }
.admin-form.tight { border: 0; padding: .8rem 0 0; gap: .7rem; }
.admin-table.compact th, .admin-table.compact td { padding: .45rem .5rem; font-size: .82rem; }
.avail-row { display: flex; align-items: center; gap: .5rem; }
.avail-row .avail-day { width: 92px; font-size: .82rem; font-weight: 600; }
.avail-row input[type="time"] { flex: 1; min-width: 0; }
.status-pill { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: capitalize; background: var(--cream); color: var(--muted); }
.status-pill.confirmed { background: oklch(91% 0.07 195); color: var(--primary); }
.status-pill.pending_payment { background: oklch(94% 0.06 90); color: oklch(45% 0.12 80); }
.status-pill.payment_conflict, .status-pill.cancelled { background: oklch(92% 0.08 40); color: oklch(45% 0.16 30); }
.status-pill.expired { background: var(--cream); color: var(--muted); }
.stat-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; display: flex; flex-direction: column; gap: .2rem; min-width: 160px; }
.stat-card .stat-value { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.stat-card .stat-label { font-size: .82rem; color: var(--muted); }
.admin-expert-head { display: flex; align-items: center; justify-content: space-between; }
.status-pill { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; text-transform: uppercase; }
.status-pill.approved { background: oklch(93% 0.05 195); color: var(--ok); }
.status-pill.pending { background: #fff4d6; color: #b98600; }
.status-pill.rejected { background: #fbe9e8; color: var(--danger); }

/* ---- Blog journal ---- */
.home-blog-section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; background: linear-gradient(112deg, oklch(97% .025 75), oklch(98% .012 210) 58%, oklch(93% .045 192)); border-block: 1px solid oklch(42% .05 235 / .08); }
.home-blog-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(90deg, oklch(43% .04 240 / .04) 1px, transparent 1px); background-size: 72px 100%; }
.home-blog-section > .container { position: relative; }
.home-blog-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.home-blog-head h2 { max-width: 17ch; font-size: clamp(2.25rem, 4.5vw, 3.65rem); }
.home-blog-head p { max-width: 52ch; margin: 0; color: var(--muted); }
.home-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-blog-card { min-width: 0; overflow: hidden; border: 1px solid oklch(43% .05 240 / .1); border-radius: 8px; background: oklch(100% 0 0 / .78); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.home-blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.home-blog-image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grad-photo); }
.home-blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.home-blog-card:hover .home-blog-image img { transform: scale(1.035); }
.home-blog-image > span { position: absolute; top: .75rem; left: .75rem; padding: .3rem .55rem; color: #fff; background: var(--coral-deep); border-radius: 4px; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.home-blog-copy { padding: 1.15rem; }
.home-blog-copy h3 { font-size: 1.55rem; }
.home-blog-copy h3 a:hover { color: var(--primary); }
.home-blog-copy > p { display: -webkit-box; min-height: 3.2em; overflow: hidden; color: var(--muted); font-size: .9rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .65rem; color: var(--muted); font-size: .73rem; font-weight: 700; text-transform: uppercase; }
.blog-meta > * + *::before { content: ''; display: inline-block; width: 3px; height: 3px; margin: 0 .5rem .15rem 0; border-radius: 50%; background: var(--coral); }
.blog-read-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--primary); font-size: .84rem; font-weight: 800; }
.blog-read-link span { transition: transform .2s var(--ease); }
.blog-read-link:hover span { transform: translate(2px, -2px); }
.home-blog-empty { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px dashed oklch(48% .1 240 / .25); border-radius: 8px; background: oklch(100% 0 0 / .6); }
.home-blog-empty h3, .home-blog-empty p { margin: 0; }
.home-blog-empty p { color: var(--muted); }
.home-blog-empty .btn { margin-left: auto; }
.blog-guide-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: var(--coral-deep); background: oklch(94% .055 62); border-radius: 50%; }
.home-blog-subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); align-items: center; gap: 1.5rem 2.5rem; margin-top: 1rem; padding: 1.25rem 1.4rem; color: #fff; background: var(--ocean-deep); border-radius: 8px; box-shadow: var(--shadow-sm); }
.home-blog-subscribe > div { display: flex; flex-direction: column; }
.home-blog-subscribe strong { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.4rem; font-style: italic; font-weight: 400; }
.home-blog-subscribe span { color: oklch(87% .02 210); font-size: .84rem; }
.home-blog-subscribe-form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.home-blog-subscribe-form input { min-width: 0; border-color: transparent; }
.home-blog-subscribe .footer-subscribe-result { grid-column: 1 / -1; margin: -.8rem 0 0; }
.blog-index-hero { position: relative; display: flex; min-height: clamp(480px, 61vh, 620px); overflow: hidden; align-items: end; padding: clamp(2.75rem, 6vh, 4.5rem) 0; color: #fff; background: var(--ocean-deep); border-bottom: 3px solid var(--coral); }
.blog-index-hero::after { content: 'JOURNAL'; position: absolute; right: -1rem; bottom: -3.3rem; z-index: 1; color: oklch(100% 0 0 / .14); font: 400 clamp(6rem, 18vw, 15rem)/1 'Instrument Serif', Georgia, serif; pointer-events: none; }
.blog-index-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: saturate(.85) contrast(1.04); }
.blog-index-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, oklch(22% .06 245 / .93) 0%, oklch(23% .06 242 / .68) 48%, oklch(23% .05 235 / .2) 78%), linear-gradient(0deg, oklch(20% .05 240 / .58), transparent 62%); }
.blog-index-intro { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 320px); align-items: end; gap: 2rem; }
.blog-index-intro > .eyebrow, .blog-index-intro > h1, .blog-index-intro > p { grid-column: 1; }
.blog-index-intro .eyebrow { color: var(--coral); }
.blog-index-intro h1 { max-width: 10ch; margin-bottom: .18em; font-size: clamp(3.3rem, 7vw, 6rem); text-shadow: 0 3px 28px oklch(15% .04 245 / .35); }
.blog-index-intro > p { max-width: 54ch; margin: 0; color: oklch(92% .015 210); font-size: clamp(1rem, 2vw, 1.17rem); }
.blog-hero-feature { grid-column: 2; grid-row: 1 / span 3; align-self: end; padding: 1rem 0 1rem 1.2rem; border-left: 2px solid var(--coral); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.blog-hero-feature:hover { transform: translateX(5px); border-color: var(--seafoam); }
.blog-hero-feature > span { display: block; margin-bottom: .35rem; color: var(--coral); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.blog-hero-feature strong { display: block; color: #fff; font: 400 italic 1.55rem/1.12 'Instrument Serif', Georgia, serif; }
.blog-hero-feature small { display: block; margin-top: .5rem; color: oklch(84% .025 210); font-weight: 700; }
.blog-library { padding-block: clamp(3rem, 7vw, 6rem); }
.blog-discovery { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.blog-search { position: relative; display: flex; min-width: 220px; flex: 1; align-items: center; }
.blog-search svg { position: absolute; left: .9rem; color: var(--muted); pointer-events: none; }
.blog-search input { width: 100%; min-height: 46px; padding-left: 2.8rem; border-color: oklch(48% .08 240 / .18); background: oklch(100% 0 0 / .82); }
.blog-topic-nav { display: flex; gap: .45rem; margin-bottom: 2.5rem; padding-bottom: .35rem; overflow-x: auto; scrollbar-width: none; }
.blog-topic-nav::-webkit-scrollbar { display: none; }
.blog-topic-nav a { flex: 0 0 auto; padding: .42rem .78rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: oklch(100% 0 0 / .72); font-size: .76rem; font-weight: 750; }
.blog-topic-nav a:hover, .blog-topic-nav a.active { color: #fff; border-color: var(--primary); background: var(--primary); }
.blog-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.blog-section-head > div { display: flex; align-items: baseline; gap: 1rem; }
.blog-section-head h2 { margin: 0; }
.blog-section-head > p { max-width: 42ch; margin: 0; color: var(--muted); text-align: right; }
.blog-section-number { color: var(--coral-deep); font-size: .78rem; font-weight: 800; }
.blog-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.blog-card { grid-column: span 5; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); }
.blog-card-featured { grid-column: span 7; grid-row: span 2; }
.blog-card-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad-photo); }
.blog-card-featured .blog-card-image { aspect-ratio: 16 / 10; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .blog-card-image img { transform: scale(1.035); }
.blog-card-badge { position: absolute; top: 1rem; left: 1rem; padding: .35rem .6rem; border-radius: 4px; color: #fff; background: var(--coral-deep); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.blog-card-body { padding: clamp(1rem, 2.5vw, 1.6rem); }
.blog-card-topic { display: inline-block; margin-bottom: .55rem; color: var(--coral-deep); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.blog-card-body h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.blog-card-body h2 a:hover { color: var(--primary); }
.blog-card-body > p { color: var(--muted); }
.blog-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.blog-empty { padding: 4rem 1.5rem; border: 1px dashed var(--line); text-align: center; }
.blog-empty svg { color: var(--primary); }
.blog-empty h2 { margin-top: .5rem; }
.blog-empty p { color: var(--muted); }
.blog-empty .btn { margin-top: .7rem; }
.blog-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.blog-pagination a { color: var(--primary); font-weight: 800; }
.blog-pagination a:last-child { justify-self: end; }
.blog-subscribe-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 6rem); padding: clamp(2rem, 5vw, 3.5rem); border-radius: 8px; color: #fff; background: linear-gradient(128deg, var(--ocean-deep), oklch(34% .075 206)); box-shadow: var(--shadow); }
.blog-subscribe-band h2 { max-width: 18ch; }
.blog-subscribe-band > div > p { max-width: 52ch; color: oklch(85% .025 210); }
.blog-subscribe-band .footer-kicker { color: var(--coral); }
.blog-reading-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 100; height: 3px; pointer-events: none; }
.blog-reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--coral), var(--seafoam)); box-shadow: 0 0 12px oklch(73% .145 42 / .55); }
.blog-article-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 0; background: linear-gradient(135deg, oklch(97% .025 75), oklch(96% .025 207)); }
.blog-article-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 71px, oklch(42% .04 240 / .035) 72px); }
.blog-article-head { width: min(840px, 90%); text-align: center; }
.blog-back { display: inline-block; margin-bottom: 2rem; color: var(--primary); font-size: .84rem; font-weight: 800; }
.blog-article-meta { justify-content: center; }
.blog-article-head h1 { margin-inline: auto; font-size: clamp(2.8rem, 7vw, 5.75rem); }
.blog-deck { max-width: 64ch; margin: 1.1rem auto; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.blog-byline { display: flex; align-items: center; justify-content: center; gap: .65rem; color: var(--muted); font-size: .86rem; }
.blog-author-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: var(--coral-deep); font-weight: 800; }
.blog-cover-wrap { margin-top: clamp(2rem, 5vw, 4rem); transform: translateY(2.5rem); }
.blog-cover { display: block; width: 100%; max-height: 680px; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow-lg); background: var(--grad-photo); }
.blog-article-layout { display: grid; grid-template-columns: 70px minmax(0, 760px); justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(5rem, 10vw, 8rem) 3rem; }
.blog-share { position: sticky; top: 130px; display: flex; height: max-content; flex-direction: column; align-items: center; gap: .55rem; }
.blog-share > span { margin-bottom: .25rem; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.blog-share a, .blog-share button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--primary); background: #fff; font: 800 .72rem/1 'Bricolage Grotesque', sans-serif; cursor: pointer; transition: transform .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.blog-share a:hover, .blog-share button:hover, .blog-share button.is-copied { transform: translateY(-2px); color: #fff; background: var(--primary); }
.blog-prose { min-width: 0; }
.blog-prose > p { margin: 0 0 1.5em; color: oklch(30% .035 245); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.06rem, 1.7vw, 1.2rem); line-height: 1.85; white-space: pre-line; }
.blog-prose > p:first-child::first-letter { float: left; margin: .08em .12em 0 0; color: var(--coral-deep); font: 400 4.1em/.72 'Instrument Serif', Georgia, serif; }
.blog-prose a { color: var(--primary); text-decoration: underline; text-decoration-color: oklch(48% .12 240 / .35); text-underline-offset: .18em; }
.blog-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.blog-tags span { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: .76rem; font-weight: 700; }
.blog-reaction { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; padding: 1.25rem; border-block: 1px solid var(--line); }
.blog-reaction > div { display: flex; flex-direction: column; }
.blog-reaction span { color: var(--muted); font-size: .84rem; }
.blog-like { display: inline-flex; min-width: 110px; align-items: center; justify-content: center; gap: .45rem; padding: .65rem 1rem; border: 1px solid oklch(53% .16 36 / .25); border-radius: 999px; color: var(--coral-deep); background: oklch(98% .02 45); font: 700 .86rem/1 'Bricolage Grotesque', sans-serif; cursor: pointer; }
.blog-like.is-liked { color: #fff; background: var(--coral-deep); }
.blog-like.is-liked svg { fill: currentColor; }
.blog-like:disabled { opacity: .6; cursor: wait; }
.blog-comments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.blog-comments-head { margin-bottom: 1.5rem; }
.blog-comments-head h2 { margin: 0; }
.blog-comment { display: grid; grid-template-columns: 38px 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.blog-comment-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--primary); background: oklch(92% .04 215); font-weight: 800; }
.blog-comment header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.blog-comment time { color: var(--muted); font-size: .74rem; }
.blog-comment p { margin: .35rem 0 0; color: oklch(37% .035 242); white-space: pre-line; }
.blog-no-comments { padding: 1rem; color: var(--muted); background: oklch(96% .016 215); border-radius: 8px; }
.blog-comment-form-wrap { align-self: start; padding: 1.4rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); }
.blog-comment-form-wrap > p { color: var(--muted); font-size: .86rem; }
.blog-comment-form { display: flex; flex-direction: column; gap: .9rem; }
.blog-comment-form > label:not(.check) { display: flex; flex-direction: column; gap: .3rem; font-size: .84rem; font-weight: 700; }
.blog-comment-form textarea { resize: vertical; }
.blog-consent { display: flex; align-items: flex-start; gap: .55rem; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.blog-consent input { flex: 0 0 auto; margin-top: .18rem; }
.blog-consent a { color: var(--primary); text-decoration: underline; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-notice { padding: .65rem .75rem; border-radius: 6px; font-weight: 700; }
.form-notice.success { color: var(--ok); background: oklch(94% .04 185); }
.form-notice.error { color: var(--danger); background: #fbe9e8; }
.blog-related { padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.blog-related .blog-section-head { margin-bottom: 1.4rem; }

/* ---- Admin blog studio ---- */
.admin-blog .admin-section-head .eyebrow, .admin-blog-comments .eyebrow { margin-bottom: .25rem; font-size: .68rem; }
.blog-editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 1rem; align-items: start; }
.blog-editor-form { border-radius: 8px; }
.blog-cover-preview { position: relative; width: 100%; aspect-ratio: 16 / 6; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--grad-photo); }
.blog-cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.blog-cover-preview > span { position: absolute; right: .65rem; bottom: .65rem; padding: .25rem .5rem; border-radius: 4px; color: #fff; background: oklch(20% .04 240 / .72); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.blog-cover-preview.is-invalid::after { content: 'Enter a valid HTTPS or local image URL'; position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; color: var(--danger); background: oklch(98% .015 35); font-size: .82rem; font-weight: 750; text-align: center; }
.blog-body-input { min-height: 380px; resize: vertical; font-family: Georgia, 'Times New Roman', serif; line-height: 1.7; }
.blog-publish-options { display: flex; flex-wrap: wrap; gap: 1rem; padding: .85rem; border: 1px solid var(--line); border-radius: 6px; background: var(--cream); }
.blog-editor-guide { position: sticky; top: 100px; padding: 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(150deg, #fff, oklch(96% .025 75)); }
.blog-editor-guide h3 { margin-top: .8rem; }
.blog-editor-guide p, .blog-editor-guide li { color: var(--muted); font-size: .82rem; }
.blog-editor-guide ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.admin-blog-list, .admin-blog-comments { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.admin-comment-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.admin-comment-card p { margin: .35rem 0; white-space: pre-line; }
.admin-comment-meta { display: flex; align-items: center; gap: .6rem; }
.pending-title { color: #b98600; }

/* ---- Footer ---- */
.site-footer { position: relative; overflow: hidden; margin-top: auto; color: oklch(91% .018 210); background: linear-gradient(135deg, oklch(30% .075 244), var(--ocean-deep) 52%, oklch(33% .065 212)); }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--coral), var(--seafoam) 48%, var(--sky)); }
.footer-newsletter { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; padding-block: clamp(2.7rem, 6vw, 4.5rem); border-bottom: 1px solid oklch(100% 0 0 / .13); }
.footer-kicker { display: block; margin-bottom: .65rem; color: var(--coral); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-newsletter h2 { max-width: 18ch; margin: 0 0 .7rem; color: #fff; font-size: clamp(2rem, 4.4vw, 3.25rem); }
.footer-newsletter-copy p { max-width: 58ch; margin: 0; color: oklch(86% .02 210); }
.footer-subscribe-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; padding: .4rem; border: 1px solid oklch(100% 0 0 / .16); border-radius: 8px; background: oklch(100% 0 0 / .09); box-shadow: inset 0 1px oklch(100% 0 0 / .06); }
.footer-subscribe-form input { min-width: 0; border: 0; background: transparent; color: #fff; box-shadow: none; }
.footer-subscribe-form input::placeholder { color: oklch(88% .02 210 / .62); }
.footer-subscribe-form input:focus { border-color: transparent; box-shadow: none; }
.footer-subscribe-btn { min-height: 46px; padding-inline: 1.2rem; color: oklch(27% .05 244); background: linear-gradient(135deg, oklch(84% .11 65), var(--coral)); box-shadow: 0 10px 24px -14px oklch(73% .145 42 / .8); }
.footer-subscribe-btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.footer-subscribe-btn:disabled { cursor: wait; opacity: .72; }
.footer-privacy { margin: .65rem 0 0; color: oklch(78% .025 210); font-size: .72rem; }
.footer-subscribe-result { margin: .45rem 0 0; font-size: .82rem; font-weight: 700; }
.footer-subscribe-result.ok { color: oklch(84% .11 173); }
.footer-subscribe-result.err { color: oklch(80% .12 35); }
.footer-main { display: grid; grid-template-columns: minmax(250px, 1.35fr) minmax(140px, .65fr) minmax(155px, .75fr) minmax(245px, 1fr); gap: clamp(1.8rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-brand .brand-logo { align-items: flex-start; color: var(--cream-text); margin-bottom: 1rem; }
.footer-brand .brand-wordmark { font-size: clamp(1.25rem, 1.55vw, 1.45rem); }
.footer-brand .brand-with { color: var(--coral); }
.footer-brand .brand-tagline { color: oklch(86% .02 212); font-size: .4rem; letter-spacing: .22em; }
.footer-tagline { margin: 0 0 .55rem; color: #fff; font-weight: 700; }
.footer-about { max-width: 34ch; margin: 0; color: oklch(79% .025 210); font-size: .88rem; line-height: 1.65; }
.footer-links h4, .footer-contact h4 { margin: 0 0 1rem; color: var(--coral); font-family: 'Bricolage Grotesque', sans-serif; font-size: .72rem; font-style: normal; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-links > a { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 1rem; color: oklch(88% .02 210); font-size: .9rem; border-bottom: 1px solid oklch(100% 0 0 / .08); transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer-links > a:hover { padding-left: .25rem; color: #fff; }
.footer-socials { display: flex; flex-direction: column; gap: .45rem; }
.footer-socials a { display: flex; min-height: 38px; align-items: center; gap: .65rem; color: oklch(88% .02 210); font-size: .9rem; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-socials a:hover { transform: translateX(3px); color: #fff; }
.footer-socials .icon { color: var(--seafoam); }
.footer-contact p { margin: 0 0 1rem; color: oklch(79% .025 210); font-size: .84rem; line-height: 1.6; }
.footer-email, .footer-career-link { display: flex; min-height: 38px; align-items: center; gap: .6rem; color: #fff; font-size: .84rem; font-weight: 700; overflow-wrap: anywhere; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-email:hover, .footer-career-link:hover { transform: translateX(3px); color: var(--sky); }
.footer-email .icon, .footer-career-link .icon { flex: 0 0 auto; color: var(--coral); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem 1.5rem; border-top: 1px solid oklch(100% 0 0 / .13); color: oklch(74% .025 210); font-size: .76rem; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: -1; }
  .hero-media { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero-photo { aspect-ratio: 16/10; min-height: 0; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .footer-newsletter { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { height: 70px; column-gap: .75rem; }
  .header-nav { display: flex; }
  .nav-toggle { display: flex; }
  .header-menu {
    display: block; position: absolute; top: 70px; left: 0; right: 0; grid-column: 1 / -1; width: 100%; height: auto; justify-self: stretch;
    z-index: 60; background: var(--ocean-deep); border-bottom: 1px solid oklch(100% 0 0 / .12); box-shadow: 0 22px 42px -24px oklch(31% .06 242 / .72);
    max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
    transition: max-height .28s ease, opacity .2s ease;
  }
  .site-header.open .header-menu { max-height: 82vh; opacity: 1; visibility: visible; overflow-y: auto; }
  .header-nav { flex-direction: column; align-items: stretch; gap: .15rem; margin: .7rem 0; padding-inline: 5%; }
  .header-nav a { padding: .85rem 1rem; border-radius: var(--radius-sm); color: #fff; }
  .header-nav a:hover { color: #fff; background: oklch(100% 0 0 / .1); }
  .header-nav a::after { display: none; }
  .header-nav a.active { color: #fff; background: oklch(100% 0 0 / .14); box-shadow: inset 3px 0 var(--coral); }
  .header-right { position: static; justify-content: flex-start; flex-wrap: wrap; gap: .6rem; padding: 1rem 5% 1.1rem; border-top: 1px solid var(--line); }
  .links-list { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ig-viewer-shell { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .ig-viewer-info { padding: 1.1rem 1.25rem; }
  .ig-viewer-info p { max-height: 5em; margin: .65rem 0; }
  .ig-viewer-count { margin-top: 0; }
  .ig-viewer-next { right: 14px; }
  .steps { grid-template-columns: 1fr; }
  .panel-head { flex-wrap: wrap; }
  .home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-blog-card:first-child { grid-column: 1 / -1; }
  .home-blog-subscribe, .blog-subscribe-band { grid-template-columns: 1fr; }
  .blog-index-intro { grid-template-columns: minmax(0, 1fr) minmax(210px, 260px); }
  .blog-card, .blog-card-featured { grid-column: span 6; grid-row: auto; }
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-share { position: static; flex-direction: row; }
  .blog-share > span { margin: 0 .25rem 0 0; }
  .blog-comments { grid-template-columns: 1fr; }
  .blog-editor-layout { grid-template-columns: 1fr; }
  .blog-editor-guide { position: static; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .admin-section-head { align-items: flex-start; flex-direction: column; }
  .brand-wordmark { font-size: clamp(1.12rem, 5.2vw, 1.28rem); }
  .brand-tagline { gap: .5em; font-size: .4rem; letter-spacing: .22em; }
  .back-btn { width: 42px; height: 42px; justify-content: center; padding: 0; }
  .back-btn span { display: none; }
  .footer-newsletter { padding-block: 2.5rem; }
  .footer-newsletter h2 { font-size: 2.1rem; }
  .footer-subscribe-form { grid-template-columns: 1fr; padding: .5rem; }
  .footer-subscribe-form input { min-height: 48px; padding-inline: .75rem; }
  .footer-subscribe-btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .home-blog-head, .blog-section-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .home-blog-head h2 { font-size: 2.4rem; }
  .home-blog-grid { grid-template-columns: 1fr; }
  .home-blog-card:first-child { grid-column: auto; }
  .home-blog-empty { align-items: flex-start; flex-wrap: wrap; }
  .home-blog-empty .btn { width: 100%; margin-left: 0; }
  .home-blog-subscribe { grid-template-columns: 1fr; padding: 1rem; }
  .home-blog-subscribe-form { grid-template-columns: 1fr; }
  .blog-index-hero { min-height: 590px; padding-block: 3.5rem; }
  .blog-index-hero::after { bottom: -1.2rem; font-size: 6rem; }
  .blog-index-hero-shade { background: linear-gradient(0deg, oklch(20% .06 242 / .94), oklch(22% .055 240 / .38) 85%); }
  .blog-index-intro { grid-template-columns: 1fr; gap: 1.35rem; }
  .blog-index-intro > .eyebrow, .blog-index-intro > h1, .blog-index-intro > p, .blog-hero-feature { grid-column: 1; grid-row: auto; }
  .blog-index-intro h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .blog-hero-feature { max-width: 310px; }
  .blog-discovery { align-items: stretch; flex-wrap: wrap; }
  .blog-search { min-width: 100%; }
  .blog-discovery .btn { flex: 1; }
  .blog-section-head > p { text-align: left; }
  .blog-grid { display: block; }
  .blog-card { margin-bottom: 1rem; }
  .blog-subscribe-band { width: 100%; border-radius: 0; }
  .blog-cover-wrap { width: 100%; }
  .blog-cover { aspect-ratio: 4 / 3; border-radius: 0; }
  .blog-article-layout { width: min(90%, 760px); }
  .blog-prose > p { font-size: 1.04rem; }
  .blog-reaction { align-items: flex-start; flex-direction: column; }
  .blog-like { width: 100%; }
  .blog-comments { width: min(90%, 760px); }
  .admin-comment-card { flex-direction: column; }
  .blog-cover-preview { aspect-ratio: 4 / 3; }
  .footer-brand { text-align: center; }
  .footer-brand .brand-logo { align-items: center; margin-inline: auto; }
  .footer-brand .brand-wordmark { font-size: 1.35rem; }
  .footer-brand .brand-tagline { margin-top: .34rem; font-size: .42rem; letter-spacing: .22em; }
  .footer-about { margin-inline: auto; }
  .footer-links > a, .footer-socials a, .footer-email, .footer-career-link { min-height: 44px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .hero { padding: 2.4rem 0 2.8rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-media { max-width: 100%; }
  .hero-quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-grid .ig-card:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .ig-viewer { padding: 0; }
  .ig-viewer-shell { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .ig-viewer-close { top: 10px; right: 10px; }
  .loader-mark { font-size: 4.25rem; }
  .page-loader p { font-size: .65rem; }
  /* Let the tab pill scroll instead of overflowing the viewport */
  .tabs-head { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4%; padding: 0 4% .3rem; scrollbar-width: none; }
  .tabs-head::-webkit-scrollbar { display: none; }
  .tab-buttons { width: max-content; }
  .tab-btn { padding: .5rem .85rem; }
  /* Stack section heads and their action button */
  .panel-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .card-grid, .preview-grid, .experts-grid, .expert-admin-grid { grid-template-columns: 1fr; }
  .career-preview-grid { justify-items: center; }
  .career-preview-card { max-width: 560px; min-height: 0; grid-template-columns: 1fr; }
  .career-preview-photo { min-height: 0; aspect-ratio: 16 / 10; background-position: 52% 37%; }
  .career-preview-content { padding: 1.25rem; }
  .career-preview-card .btn { min-height: 44px; }
  .collab-dialog { align-items: flex-end; padding: 0; }
  .collab-card { width: 100%; max-height: 92dvh; overflow-y: auto; border-radius: var(--radius) var(--radius) 0 0; padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); }
  .collab-actions { grid-template-columns: 1fr; }
  .collab-action { min-height: 88px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.3rem; }
  /* Admin tables scroll horizontally on small screens */
  .admin-content { overflow-x: auto; }
  .admin-table { min-width: 560px; }
}
@media (max-width: 560px) {
  /* Show fewer preview items on small screens (top items by screen size) */
  .preview-grid > *:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-fab { right: 16px; bottom: 16px; }
  .container { width: 90%; }
}

/* ============================================================
   Premium polish — depth, motion & refinement
   ============================================================ */

::selection { background: oklch(52% 0.12 240 / .22); color: var(--ink); }

/* Themed scrollbar */
* { scrollbar-width: thin; scrollbar-color: oklch(74% 0.05 235) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: oklch(76% 0.045 235); border: 3px solid transparent; background-clip: padding-box; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: oklch(64% 0.08 236); background-clip: padding-box; }

/* Refined keyboard focus */
:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 2px; border-radius: 6px; }

/* Section headings get a hairline shimmer underline accent */
.panel-head > div:first-child h2, .page-hero h1 { position: relative; }

/* Softer, deeper cards across the board */
.expert-card { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.expert-avatar { transition: transform .5s var(--ease-spring); }
.expert-card:hover .expert-avatar { transform: scale(1.06) translateY(-2px); }
.stat-card, .step, .form-card, .checkout-card, .booking-status-card, .filters, .admin-nav { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.stat-card:hover, .step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Links & IG tiles */
.link-row { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.link-row:hover { box-shadow: var(--shadow-sm); }
.ig-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ig-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Tab pills */
.tab-btn { transition: color .2s var(--ease), background .3s var(--ease), transform .2s var(--ease); }
.tab-btn:not(.active):hover { transform: translateY(-1px); }
.tab-buttons { box-shadow: var(--shadow-sm); }

/* Cart FAB */
.cart-fab { transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease); }
.cart-fab:hover { transform: translateY(-2px) scale(1.06); box-shadow: var(--shadow-glow); }
.cart-fab:active { transform: scale(.96); }

/* Elevated overlays */
.modal-card, .popup-card { box-shadow: var(--shadow-lg); }
.modal-overlay, .popup-overlay { animation: overlayIn .3s var(--ease); }

/* Premium form fields — soft focus ring */
input, textarea, select { transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 4px oklch(66% 0.12 232 / .18); }

/* Product & slot buttons */

@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  /* Hero ambience */
  .hero::before { animation: sunGlow 7s ease-in-out infinite; }
  .hero-photo { animation: floaty 9s ease-in-out infinite; }
  .hero-blob { animation: floaty 12s ease-in-out infinite reverse; }
  @keyframes sunGlow { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

  /* Orchestrated hero entrance */
  .hero-copy > * { animation: heroIn .85s var(--ease) both; }
  .hero-copy > :nth-child(1) { animation-delay: .05s; }
  .hero-copy > :nth-child(2) { animation-delay: .14s; }
  .hero-copy > :nth-child(3) { animation-delay: .23s; }
  .hero-copy > :nth-child(4) { animation-delay: .32s; }
  .hero-copy > :nth-child(5) { animation-delay: .41s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  /* Scroll reveal (classes added by JS) */
  .reveal-init { opacity: 0; transform: translateY(24px); }
  .reveal-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader { transition: none; }
  .loader-letter::after { animation: none; clip-path: inset(0); }
  .loader-line::after { animation: none; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
