/* ==========================================================================
   Vision Vet — "Clinical Optics" design system
   Light, precise, luminous. Built around the eye / lens motif.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Surfaces */
  --bg: #f6f9fc;
  --bg-2: #edf3f9;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.64);
  --glass-strong: rgba(255, 255, 255, 0.86);

  /* Ink */
  --ink: #0b1f3a;
  --ink-2: #34496a;
  --muted: #5c6f8a;
  --line: rgba(11, 31, 58, 0.08);
  --line-2: rgba(11, 31, 58, 0.15);

  /* Brand (from the Vision Vet logo) */
  --navy: #1f4f8a;
  --blue: #2aa7df;
  --blue-ink: #0a6aa0;
  --sky: #e2f3fb;
  --green: #7dc36b;
  --green-ink: #2e7a22;
  --mint: #e8f6e3;
  --alert: #e5484d;

  --grad: linear-gradient(120deg, #1f4f8a 0%, #2aa7df 55%, #7dc36b 100%);
  --grad-deep: linear-gradient(125deg, #0c2c52 0%, #1f4f8a 45%, #1683bd 100%);

  /* Shape */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --r-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.05), 0 2px 8px rgba(11, 31, 58, 0.04);
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.04), 0 14px 34px -14px rgba(11, 31, 58, 0.2);
  --shadow-lg: 0 40px 90px -40px rgba(15, 60, 110, 0.45);

  --font-display: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
::selection { background: rgba(42, 167, 223, 0.25); }
:focus-visible { outline: 3px solid rgba(42, 167, 223, 0.65); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.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;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Ambient background ---------- */
.aura { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aura span {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: drift 26s var(--ease) infinite alternate;
}
.aura span:nth-child(1) { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: radial-gradient(circle, #bfe6f8 0%, transparent 65%); }
.aura span:nth-child(2) { width: 44vmax; height: 44vmax; right: -16vmax; top: 8vmax; background: radial-gradient(circle, #d7e3f7 0%, transparent 65%); animation-duration: 32s; animation-delay: -8s; }
.aura span:nth-child(3) { width: 40vmax; height: 40vmax; left: 20vmax; bottom: -22vmax; background: radial-gradient(circle, #dcf2d3 0%, transparent 65%); animation-duration: 38s; animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(4vmax, 3vmax, 0) scale(1.08); }
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.12 0 0 0 0 0.23 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* faint optical grid */
.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31, 79, 138, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 79, 138, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

.progress {
  position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 120;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { position: relative; padding-block: clamp(64px, 10vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.stack > * + * { margin-top: var(--stack, 1rem); }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 32px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Typography ---------- */
.display, h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 6.6vw, 5.9rem); line-height: .98; letter-spacing: -.02em;
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: -.015em;
}
h3, .h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.display em, h1 em, h2 em, .h2 em {
  font-style: italic;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tnum { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary {
  color: #fff; background: linear-gradient(135deg, #1f4f8a 0%, #1877b6 100%);
  box-shadow: 0 12px 26px -12px rgba(31, 79, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(31, 79, 138, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--ghost { color: var(--ink); background: var(--glass-strong); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { color: var(--ink); background: #fff; border-color: rgba(31, 79, 138, .35); transform: translateY(-2px); }
.btn--white { color: var(--navy); background: #fff; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35); }
.btn--white:hover { color: var(--navy); transform: translateY(-2px); }
.btn--line-white { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.btn--line-white:hover { color: #fff; background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--navy); }
.link-arrow .i { transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Pills / chips / tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .84rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pill b { color: var(--ink); font-weight: 800; }
a.pill:hover { color: var(--ink); border-color: var(--line-2); }
.pulse { position: relative; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(229, 72, 77, .12); }
.pulse::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--alert); }
.pulse::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 2px solid var(--alert); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--sky); color: var(--blue-ink);
}
.tag--green { background: var(--mint); color: var(--green-ink); }
.tag--navy { background: rgba(31, 79, 138, .1); color: var(--navy); }
.tag--amber { background: #fdf1dc; color: #8a5300; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h); padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 rgba(11, 31, 58, .04), 0 10px 30px -18px rgba(11, 31, 58, .25);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: height .4s var(--ease), box-shadow .4s var(--ease), background-color .4s;
}
.site-header.is-scrolled .nav { --header-h: 64px; background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 rgba(11, 31, 58, .05), 0 16px 40px -20px rgba(11, 31, 58, .35); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .logo img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 9px 13px; border-radius: 999px;
  font-size: .9rem; font-weight: 650; color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(31, 79, 138, .06); }
.nav-links a[aria-current="page"] { color: var(--navy); background: var(--sky); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-phone { gap: 8px; }
.nav-phone .pulse { width: 18px; height: 18px; }
.nav-phone .pulse::before { width: 6px; height: 6px; }

.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2);
  background: #fff; cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.menu-sheet {
  position: fixed; inset: 0; z-index: 90; padding: 110px var(--gutter) 40px;
  background: rgba(246, 249, 252, .94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.menu-sheet[data-open] { opacity: 1; visibility: visible; }
.menu-sheet ul { list-style: none; display: grid; gap: 2px; }
.menu-sheet li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-sheet[data-open] li { opacity: 1; transform: none; }
.menu-sheet[data-open] li:nth-child(2) { transition-delay: .03s; } .menu-sheet[data-open] li:nth-child(3) { transition-delay: .06s; }
.menu-sheet[data-open] li:nth-child(4) { transition-delay: .09s; } .menu-sheet[data-open] li:nth-child(5) { transition-delay: .12s; }
.menu-sheet[data-open] li:nth-child(6) { transition-delay: .15s; } .menu-sheet[data-open] li:nth-child(7) { transition-delay: .18s; }
.menu-sheet a.menu-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.1; color: var(--ink); text-decoration: none;
}
.menu-sheet a.menu-link small { font-family: var(--font-sans); font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.menu-sheet a.menu-link[aria-current="page"] { color: var(--navy); font-style: italic; }

@media (max-width: 1080px) {
  .nav-links, .nav-end .nav-phone { display: none; }
  .burger { display: block; }
}
@media (min-width: 1081px) { .menu-sheet { display: none; } }

/* ---------- Glass card ---------- */
.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--glass); border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  padding: clamp(22px, 3vw, 32px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card--solid { background: var(--surface); }
.card--lift:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15, 60, 110, .35), inset 0 0 0 1px rgba(31, 79, 138, .12); }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(42, 167, 223, .14), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(145deg, #fff, var(--sky)); color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(31, 79, 138, .1), 0 6px 14px -8px rgba(31, 79, 138, .5);
}
.card-icon .i { width: 22px; height: 22px; }
.card-icon--green { background: linear-gradient(145deg, #fff, var(--mint)); color: var(--green-ink); }
.card-icon--red { background: linear-gradient(145deg, #fff, #fde8e8); color: #b4232a; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy .lead { max-width: 54ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .i { color: var(--green-ink); }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.iris { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iris .ring-rotate { transform-origin: 0 0; animation: spin 90s linear infinite; }
.iris .ring-rotate--rev { animation-duration: 140s; animation-direction: reverse; }
.iris .iris-look { transition: transform .08s linear; }
.iris .pupil { transform-origin: 0 0; transition: transform .8s var(--ease); }
.iris.dilate .pupil { transform: scale(1.28); }
.iris .iris-fibers { transform-origin: 0 0; animation: breathe 7s ease-in-out infinite; }
.iris .scan { transform-origin: 0 0; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

.hero-photo {
  position: absolute; left: -8%; bottom: 2%; width: 56%; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); transform: rotate(-3deg);
  animation: floaty 9s ease-in-out infinite;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px;
  background: var(--glass-strong); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .82rem; line-height: 1.25; color: var(--muted); font-weight: 600;
  animation: floaty 8s ease-in-out infinite;
}
.float-chip b { display: block; color: var(--ink); font-size: .95rem; font-weight: 800; }
.float-chip .card-icon { width: 40px; height: 40px; border-radius: 12px; }
.float-chip--a { right: -2%; top: 10%; animation-delay: -2s; }
.float-chip--b { right: 2%; bottom: 20%; animation-delay: -5s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 26px 28px; display: grid; gap: 4px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-2); }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* ---------- Announcement ---------- */
.announce {
  display: flex; align-items: center; gap: 18px; padding: 14px 16px 14px 14px; border-radius: 22px;
  background: linear-gradient(100deg, rgba(232, 246, 227, .9), rgba(226, 243, 251, .9));
  border: 1px solid rgba(46, 122, 34, .15);
}
.announce p { margin: 0; font-weight: 600; color: var(--ink-2); }
.announce p b { color: var(--ink); }
.announce .btn { margin-left: auto; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento > .card { display: flex; flex-direction: column; gap: 14px; min-height: 250px; }
.b-7 { grid-column: span 7; } .b-5 { grid-column: span 5; } .b-4 { grid-column: span 4; }
.b-6 { grid-column: span 6; } .b-8 { grid-column: span 8; } .b-12 { grid-column: span 12; }
.bento h3 { font-size: 1.35rem; }
.bento p { color: var(--ink-2); margin: 0; }
.bento .card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.card-media { position: relative; border-radius: 20px; overflow: hidden; margin: -6px -6px 4px; aspect-ratio: 16 / 9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card--split { flex-direction: row !important; align-items: stretch; }
.card--split .card-body { display: flex; flex-direction: column; gap: 14px; flex: 1 1 55%; }
.card--split .card-media { flex: 1 1 45%; aspect-ratio: auto; margin: -10px -10px -10px 0; min-height: 220px; }
.price-from { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--navy); }
.price-from small { font-family: var(--font-sans); font-size: .8rem; color: var(--muted); font-weight: 600; margin-right: 4px; }

.list-dots { list-style: none; display: grid; gap: 8px; }
.list-dots li { position: relative; padding-left: 20px; color: var(--ink-2); }
.list-dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.ticks li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7a22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks--blue li::before { background-color: var(--sky); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6aa0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding-block: 26px;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 40px; white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--ink); line-height: 1;
}
.marquee-item:nth-child(even) { font-style: italic; color: var(--navy); }
.marquee-item::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--ink) 0 30%, var(--blue) 32% 62%, var(--green) 64% 100%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; position: relative; }
.step { display: grid; gap: 14px; align-content: start; }
.step-num {
  font-family: var(--font-display); font-size: 4.2rem; line-height: .9; letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { margin: 0; color: var(--ink-2); }
.steps--line::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 62px; height: 1px; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(31, 79, 138, .35) 0 6px, transparent 6px 12px);
}

/* ---------- Feature panel ---------- */
.panel {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(42, 167, 223, .18), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(125, 195, 107, .18), transparent 60%),
    rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.panel-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.panel--deep { background: var(--grad-deep); color: #e6f0fa; border-color: transparent; box-shadow: var(--shadow-lg); }
.panel--deep h2, .panel--deep h3 { color: #fff; }
.panel--deep h2 em { background: linear-gradient(100deg, #9fdcf7, #c5ecb7); -webkit-background-clip: text; background-clip: text; }
.panel--deep .lead, .panel--deep p { color: #cfe0f1; }
.panel--deep .eyebrow { color: #9fdcf7; }
.panel--deep .eyebrow::before { background: linear-gradient(90deg, #9fdcf7, #c5ecb7); }
.panel-watermark { position: absolute; right: -120px; top: 50%; width: 520px; translate: 0 -50%; opacity: .12; z-index: -1; pointer-events: none; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stat { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.mini-stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--navy); font-weight: 400; }
.mini-stat span { font-size: .8rem; font-weight: 700; color: var(--muted); }

/* Lens frame (circular image with optical rings) */
.lens { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; }
.lens-img { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 31, 58, .6), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.lens-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.lens-img::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 35%); }
.lens-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.lens-rings .rot { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
.lens-rings .rot--rev { animation-duration: 90s; animation-direction: reverse; }
.lens-badge {
  position: absolute; right: 2%; bottom: 10%; padding: 14px 18px; border-radius: 20px; text-align: left;
  background: var(--glass-strong); border: 1px solid #fff; box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lens-badge b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--navy); }
.lens-badge s { color: var(--muted); font-size: .85rem; }
.lens-badge span { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); }

/* ---------- About teaser / quote ---------- */
.quote { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
.quote::before { content: "“"; display: block; font-size: 4.5rem; line-height: .6; height: .45em; color: var(--blue); }
.person { display: flex; align-items: center; gap: 14px; }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line-2); }
.person b { display: block; }
.person span { font-size: .85rem; color: var(--muted); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Horizontal gallery strip ---------- */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip > * { scroll-snap-align: start; }
.shot { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .85rem; font-weight: 700; color: var(--ink);
}

/* ---------- Deep CTA ---------- */
.cta-band { text-align: left; }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end; }
.contact-tiles { display: grid; gap: 10px; }
.contact-tile {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
  transition: background-color .25s, transform .35s var(--ease);
}
.contact-tile:hover { background: rgba(255, 255, 255, .16); color: #fff; transform: translateY(-2px); }
.contact-tile .i { width: 22px; height: 22px; color: #9fdcf7; }
.contact-tile small { display: block; font-size: .75rem; color: #b9cfe6; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-tile b { font-size: 1.08rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero .display { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.page-hero-copy { display: grid; gap: 22px; justify-items: start; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 700; color: var(--muted); list-style: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }

/* ---------- Two-column content ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.sticky { position: sticky; top: 110px; }

.prose { color: var(--ink-2); max-width: 70ch; }
.prose p { line-height: 1.75; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { margin: 1.6em 0 .5em; }
.prose h4 { margin: 1.4em 0 .4em; font-size: 1rem; }
.prose ul { list-style: none; display: grid; gap: 6px; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.prose > :first-child { margin-top: 0; }

/* ---------- Pricing ---------- */
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
}
.seg::before {
  content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px;
  background: linear-gradient(135deg, #1f4f8a, #1877b6); box-shadow: 0 6px 16px -8px rgba(31, 79, 138, .8);
  transition: transform .45s var(--ease);
}
.seg[data-mode="member"]::before { transform: translateX(100%); }
.seg button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 10px 20px; border-radius: 999px;
  font-size: .88rem; font-weight: 750; color: var(--ink-2); transition: color .3s; white-space: nowrap;
}
.seg button[aria-pressed="true"] { color: #fff; }

.pricing { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: stretch; }
.price-table { list-style: none; display: grid; }
.price-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding: 16px 2px;
  border-bottom: 1px dashed var(--line-2);
}
.price-row:last-child { border-bottom: 0; }
.price-row::after { content: none; }
.price-name { font-weight: 700; color: var(--ink); }
.price-name small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.price-leader { align-self: center; height: 1px; }
.price-val { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; transition: color .3s; }
.is-member .price-val { color: var(--green-ink); }
.price-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

.plan {
  display: flex; flex-direction: column; gap: 18px; position: relative;
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)) padding-box,
    var(--grad) border-box !important;
  box-shadow: var(--shadow-lg) !important;
}
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font-family: var(--font-display); font-weight: 400; font-size: 4.4rem; line-height: .9; letter-spacing: -.03em; color: var(--ink); }
.plan-price s { color: var(--muted); font-size: 1.1rem; }
.plan-price span { color: var(--muted); font-weight: 600; }

/* ---------- Form / Tally ---------- */
.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; align-items: start; }
.form-card { padding: clamp(20px, 3vw, 36px); min-height: 420px; }
.tally-embed iframe { width: 100%; border: 0; min-height: 520px; }
.form-fallback { display: grid; gap: 18px; justify-items: start; }
.form-fallback .card-icon { width: 56px; height: 56px; }

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: 18px;
  background: rgba(226, 243, 251, .7); border: 1px solid rgba(10, 106, 160, .15); color: var(--ink-2); font-size: .92rem;
}
.notice .i { color: var(--blue-ink); width: 22px; height: 22px; margin-top: 2px; }
.notice p:last-child { margin: 0; }

.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dl {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.dl:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(31, 79, 138, .2); }
.dl .card-icon { width: 42px; height: 42px; border-radius: 12px; }
.dl-name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.dl-name small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
.dl-links { margin-left: auto; display: flex; gap: 6px; }
.dl-links a {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; text-decoration: none;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; background: var(--sky); color: var(--blue-ink);
}
.dl-links a:hover { background: var(--navy); color: #fff; }

/* ---------- CPD ---------- */
.cpd-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.book-card { display: grid; gap: 18px; }
.book-card .plan-price b { font-size: 4rem; }
.book-meta { list-style: none; display: grid; gap: 10px; padding: 16px 0; border-block: 1px solid var(--line); }
.book-meta li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.book-meta .i { color: var(--blue-ink); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.chip {
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .8); cursor: pointer; border-radius: 999px; padding: 8px 16px;
  font-size: .86rem; font-weight: 700; color: var(--ink-2); transition: all .25s var(--ease);
}
.chip:hover { border-color: rgba(31, 79, 138, .35); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .count { margin-left: auto; font-size: .85rem; color: var(--muted); font-weight: 600; }

.topics { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.topic {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px 14px 14px;
  border-radius: 18px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
  animation: pop .5s var(--ease) both;
}
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(31, 79, 138, .18); }
.topic-n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--navy);
  background: radial-gradient(circle at 35% 30%, #fff, var(--sky)); box-shadow: inset 0 0 0 1px rgba(31, 79, 138, .12);
}
.topic-t { font-weight: 700; color: var(--ink); line-height: 1.3; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(31, 79, 138, .15); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4f8a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--mint); }
.faq .faq-body { padding: 0 22px 20px; color: var(--ink-2); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 8px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--navy), var(--blue), var(--green)); border-radius: 2px; opacity: .5; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 92px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; }
.timeline li::before { content: ""; width: 14px; height: 14px; margin-left: 7px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px rgba(42, 167, 223, .15); translate: 0 2px; }
.timeline .year { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--navy); }
.timeline p { margin: 0; color: var(--ink-2); }

/* ---------- Compare slider ---------- */
.compare { --pos: 50%; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow-lg); user-select: none; background: #111; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .c-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .c-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .35); pointer-events: none; }
.compare .c-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4f8a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type="range"]:focus-visible ~ .c-handle::after { box-shadow: 0 0 0 4px rgba(42, 167, 223, .7), 0 8px 24px rgba(0, 0, 0, .3); }
.compare .c-label { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .9); color: var(--ink); pointer-events: none; }
.compare .c-label--l { left: 14px; }
.compare .c-label--r { right: 14px; }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-item { display: grid; gap: 12px; text-decoration: none; color: inherit; }
.g-item .shot { aspect-ratio: 3 / 2; }
.g-item .shot::after {
  content: ""; position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; opacity: 0; transform: scale(.8);
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4f8a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: all .35s var(--ease);
}
.g-item:hover .shot::after, .g-item:focus-visible .shot::after { opacity: 1; transform: none; }
.g-item h3 { font-size: 1.05rem; }
.g-item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.g-item:hover h3 { color: var(--navy); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 22, 42, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox[open] { animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb-figure { margin: 0; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
.lb-figure img { width: 100%; max-height: 72vh; object-fit: contain; background: #0b1f3a; }
.lb-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 22px; }
.lb-cap { font-weight: 700; color: var(--ink); flex: 1; }
.lb-count { font-size: .85rem; color: var(--muted); font-weight: 700; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2);
  background: #fff; cursor: pointer; color: var(--ink); transition: background-color .2s, transform .3s var(--ease);
}
.icon-btn:hover { background: var(--sky); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.big-link { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; color: var(--ink); text-decoration: none; word-break: break-word; }
.big-link:hover { color: var(--navy); }
.hours { list-style: none; display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); font-weight: 600; color: var(--ink-2); }
.hours li:last-child { border-bottom: 0; }
.hours b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ext-links { display: grid; gap: 10px; }
.ext-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ext-link small { display: block; color: var(--muted); font-weight: 600; }
.ext-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: clamp(48px, 7vw, 80px) 0 28px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.site-footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .94rem; }
.site-footer ul a:hover { color: var(--navy); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-word {
  font-family: var(--font-display); font-size: clamp(4rem, 17vw, 15rem); line-height: .8; letter-spacing: -.04em; text-align: center;
  margin-top: 40px; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(31, 79, 138, .14), rgba(31, 79, 138, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  border-radius: 22px; background: rgba(255, 255, 255, .86); border: 1px solid #fff; box-shadow: 0 20px 40px -16px rgba(11, 31, 58, .4);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { --h: 48px; padding: 0 12px; font-size: .9rem; }

/* ---------- Reveal ("focus pull") ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px); filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid, .page-hero-grid, .panel-grid, .split, .cta-grid, .pricing, .form-shell, .cpd-layout { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-visual { max-width: 480px; margin-top: 12px; }
  .b-7, .b-5, .b-4, .b-8 { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
  .section-head--split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .page-hero-visual { max-width: 420px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { top: 8px; }
  .nav { --header-h: 64px; padding-left: 16px; padding-right: 8px; }
  .site-header .wrap { padding-inline: 10px; }
  .logo img { height: 32px; }
  .nav-end .btn--primary { display: none; }
  .hero-photo { left: -2%; width: 60%; }
  .float-chip { font-size: .74rem; padding: 8px 12px 8px 8px; }
  .float-chip b { font-size: .84rem; }
  .float-chip .card-icon { width: 32px; height: 32px; }
  .float-chip--a { right: 0; top: 4%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .b-7, .b-5, .b-4, .b-6, .b-8, .b-12 { grid-column: auto; }
  .card--split { flex-direction: column !important; }
  .card--split .card-media { margin: 0 -10px -10px; min-height: 200px; }
  .steps, .grid-2, .grid-3, .grid-4, .ticks--2, .downloads, .topics, .contact-grid { grid-template-columns: 1fr; }
  .steps--line::before { display: none; }
  .announce { flex-wrap: wrap; }
  .announce .btn { margin-left: 0; }
  .mini-stats { grid-template-columns: repeat(3, 1fr); }
  .mini-stat { padding: 12px; }
  .mini-stat b { font-size: 1.7rem; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 84px; }
  .timeline li { grid-template-columns: 28px 70px 1fr; }
  .timeline .year { font-size: 1.5rem; }
  .plan-price b { font-size: 3.6rem; }
  .dl { flex-wrap: wrap; }
  .dl-links { margin-left: 56px; }
  .topic { grid-template-columns: 44px 1fr; }
  .topic .tag { grid-column: 2; justify-self: start; }
  .topic-n { width: 40px; height: 40px; font-size: 1.2rem; }
  .price-val { font-size: 1.7rem; }
  .seg button { padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 16px; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

@media print {
  .site-header, .mobile-bar, .aura, .progress, .footer-word { display: none !important; }
  body::before { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* ==========================================================================
   Page-level components
   ========================================================================== */
.card.stats { padding: 0; }
.steps { list-style: none; }
.logo img, .footer-brand img { mix-blend-mode: multiply; }
.bento .big-link { font-size: 1.9rem; }
.lens--sm { max-width: 360px; }

.panel--deep .mini-stat { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.panel--deep .mini-stat b { color: #fff; }
.panel--deep .mini-stat span { color: #b9cfe6; }
.panel--deep .lens-badge span, .panel--deep .lens-badge s { color: var(--muted); }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 22px; text-decoration: none; color: inherit; }
.svc h3 { font-size: 1.02rem; }
.svc p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.svc .link-arrow { font-size: .9rem; }
a.svc:hover { color: inherit; }

.benefits .card { min-height: 150px; }
.benefits h3 { font-size: 1rem; }
.benefit-cta { text-decoration: none; color: inherit; background: linear-gradient(140deg, rgba(226, 243, 251, .9), rgba(232, 246, 227, .9)); }
.benefit-cta:hover { color: inherit; }

.contact-mini { display: grid; gap: 10px; }
.contact-mini a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease); }
.contact-mini a:hover { color: var(--ink); border-color: rgba(31, 79, 138, .25); transform: translateY(-2px); }
.contact-mini .i { width: 22px; height: 22px; color: var(--blue-ink); }
.contact-mini small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }

.timeline.card { padding: 18px 26px; }

@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 44px 1fr; padding: 16px; }
  .bento .big-link { font-size: 1.7rem; }
}

/* ---------- Refinements ---------- */
.g-item { align-content: start; }
@media (max-width: 760px) {
  .topic { row-gap: 4px; padding-block: 12px; }
  .topic .tag { padding: 2px 8px; font-size: .66rem; }
}
