/* Phen Fitness — site styles
   Layout: dark gym-floor ground, oversized condensed headlines, one lime accent from the brand */
:root {
  --ink: #070907;
  --panel: #0e130f;
  --panel-2: #141a15;
  --line: rgba(230, 245, 220, 0.09);
  --fg: #eef2ea;
  --muted: #9aa59a;
  --lime: #a3e635;
  --lime-hi: #c8ff38;
  --beat: #ff1616; /* heartbeat red from the logo */
  --on-lime: #0a0d06;
  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 0.9; letter-spacing: 0.005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.lead { color: var(--muted); max-width: 52ch; font-size: clamp(16px, 1.3vw, 18px); }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.loader::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(90vw, 760px); aspect-ratio: 1; transform: translate(-50%, -54%); background: radial-gradient(closest-side, rgba(163,230,53,.10), rgba(163,230,53,0) 70%); pointer-events: none; }
.loader-inner { display: grid; justify-items: center; gap: 26px; }
.ld-mark { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.ld-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ld-ring circle { fill: none; stroke-width: 1; }
.ld-ring .track { stroke: rgba(255,255,255,.08); }
.ld-ring .arc { stroke: var(--lime); stroke-linecap: round; }
.ld-icon { width: 104px; height: 104px; border-radius: 50%; will-change: transform; }
.ld-icon img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.ecg { width: min(260px, 64vw); height: 36px; overflow: visible; }
.ecg path { fill: none; stroke: var(--beat); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; filter: drop-shadow(0 0 4px rgba(255,22,22,.4)); }
.wm-loader { height: 34px; }
.loader-count { position: absolute; right: var(--gutter, 24px); bottom: calc(26px + env(safe-area-inset-bottom, 0px)); font-family: var(--mono); color: var(--muted); font-size: 11px; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.loader-count span { color: var(--fg); }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lime), var(--lime-hi)); transform-origin: left; transform: scaleX(0); }
.no-motion .loader, .no-js .loader { display: none; }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; transition: padding .4s; }
.nav.scrolled { background: rgba(7, 9, 7, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.scrolled .nav-in { padding-block: 12px; }
/* Logo: icon + wordmark, same order and sizes as the live site header */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-icon { position: relative; width: 36px; height: 36px; flex: none; }
.brand-icon img { width: 100%; height: 100%; border-radius: 50%; }
.brand-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--beat); opacity: 0; pointer-events: none; }
.wm { height: 25px; width: auto; display: block; overflow: visible; }
.wm path { fill: var(--fg); }
.wm-l { display: inline-block; transform-box: fill-box; transform-origin: 50% 100%; }
.brand:hover .brand-icon img, .brand:focus-visible .brand-icon img { animation: beat 1s ease-in-out; }
.brand:hover .brand-ring, .brand:focus-visible .brand-ring { animation: ripple 1s ease-out; }
.brand:hover .wm-l, .brand:focus-visible .wm-l { animation: wave .7s cubic-bezier(.3,.7,.3,1) calc(var(--i) * 35ms); }
.brand:hover .wm-l path { fill: var(--fg); }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.09); } 28% { transform: scale(1); } 42% { transform: scale(1.05); } 60% { transform: scale(1); } }
@keyframes ripple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes wave { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-9%); } }
.brand .wm-l:nth-child(n+6) path { transition: fill .3s calc(var(--i) * 20ms); }
.brand:hover .wm-l:nth-child(n+6) path { fill: var(--lime); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-in .brand-icon { width: 34px; height: 34px; }
.foot-in .wm { height: 24px; }
@media (max-width: 420px) { .nav .wm { height: 21px; } .nav .brand { gap: 9px; } }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 12px; }
@media (max-width: 980px) { .nav-links { display: none; } }
.nav-links { gap: clamp(16px, 2vw, 28px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; font-family: var(--body); position: relative; overflow: hidden; isolation: isolate; transition: color .35s, border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime); transform: translateY(101%); transition: transform .45s cubic-bezier(.7,0,.2,1); border-radius: inherit; }
.btn:hover { color: var(--on-lime); border-color: var(--lime); }
.btn:hover::before { transform: translateY(0); }
.btn-primary { background: var(--lime); color: var(--on-lime); border-color: var(--lime); box-shadow: 0 0 0 0 rgba(163,230,53,.5); }
.btn-primary::before { background: var(--fg); }
.btn-primary:hover { box-shadow: 0 0 40px 4px rgba(163,230,53,.35); }
.btn-sm { padding: 10px 18px; font-size: 13px; white-space: nowrap; }
.btn .arrow { transition: transform .35s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero { position: relative; padding-top: 130px; padding-bottom: 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.hero h1 { font-size: clamp(56px, 9.2vw, 150px); overflow-wrap: anywhere; }
.hero h1 .accent { color: var(--lime); }
.line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.line > span { display: inline-block; will-change: transform; }
.hero-copy { display: grid; gap: 28px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; min-height: 420px; border-radius: 6px; overflow: hidden; background: var(--panel); max-width: 100%; }
.hero-media > img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; object-position: 50% 30%; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
@media (max-width: 860px) {
  /* Mobile hero: full-bleed photo behind the copy, copy anchored to the bottom */
  .hero {
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-end;
    padding-top: 96px;
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); /* room for the EREPS seal */
  }
  .hero-grid { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero-copy { position: relative; z-index: 2; gap: 16px; }
  .hero-media { position: absolute; inset: 0; z-index: 0; min-height: 0; aspect-ratio: auto; border-radius: 0; }
  .hero-media > img { object-position: 43% 50%; } /* keep Phen centered in a portrait crop */
  /* Scrim: dark at the top for the nav, clear around his face, solid ink behind the text */
  .hero-media::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom,
      rgba(7, 9, 7, .78) 0%, rgba(7, 9, 7, 0) 18%,
      rgba(7, 9, 7, .45) 32%, rgba(7, 9, 7, .80) 46%, rgba(7, 9, 7, .92) 66%, var(--ink) 90%);
  }
  .hero-media .hero-seal { right: auto; left: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: fit-content; }

  /* Smaller, tighter type */
  .hero h1 { font-size: clamp(38px, 11vw, 56px); line-height: .92; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .hero .lead { font-size: 15px; line-height: 1.5; max-width: 36ch; color: #d3dbd0; }
  .hero-actions { display: grid; gap: 10px; }
  .hero-actions .btn { justify-content: center; min-height: 48px; padding: 12px 22px; }
  .hero-actions .btn:not(.btn-primary) { background: rgba(7, 9, 7, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}
/* The hero already has a primary CTA: keep the header uncluttered until the page scrolls */
@media (max-width: 560px) {
  .nav:not(.scrolled) .nav-right .btn-sm { display: none; }
}

/* Ticker */
.ticker { background: var(--lime); color: var(--on-lime); overflow: hidden; border-block: 1px solid var(--lime-hi); transform: rotate(-1.5deg); margin-block: 24px 40px; width: 104%; margin-left: -2%; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track span { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 3vw, 40px); text-transform: uppercase; padding: 10px 0; white-space: nowrap; }
.ticker-track i { font-style: normal; padding-inline: 22px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 28px 0; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { font-family: var(--display); font-size: clamp(48px, 6vw, 84px); line-height: .9; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .4em; color: var(--lime); vertical-align: top; margin-left: 4px; }
.stat > span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(48px, 7vw, 110px); }
.section-head > div { display: grid; gap: 16px; min-width: 0; max-width: 100%; }
section { position: relative; }
.pad { padding-block: clamp(72px, 10vw, 140px); }

/* Services horizontal */
.services { overflow: hidden; }
.h-track { display: flex; gap: 20px; width: max-content; padding-inline: var(--gutter); will-change: transform; }
.card { width: max(330px, 27vw); flex: none; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; transform-style: preserve-3d; transition: border-color .4s; position: relative; min-height: 460px; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(163,230,53,.13), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover { border-color: rgba(163,230,53,.45); }
.card:hover::after { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-n { font-family: var(--display); font-size: 20px; color: var(--lime); }
.card h3 { font-size: 40px; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; color: var(--muted); font-size: 14px; }
.card li { display: flex; gap: 10px; }
.card li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--lime); margin-top: 11px; }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.price b { font-family: var(--display); font-size: 40px; line-height: 1; }
.price small { color: var(--muted); font-size: 13px; }
.card.featured { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.card.featured .card-tag, .card.featured .card-n, .card.featured ul, .card.featured .price small { color: var(--on-lime); }
.card.featured li::before { background: var(--on-lime); }
.card.featured .price { border-color: rgba(10,13,6,.2); }
.card.featured::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.35), transparent 45%); }
.h-bar { display: flex; align-items: center; gap: 20px; margin: 36px var(--gutter) 0; }
.h-progress { flex: 1; height: 2px; background: var(--line); }
.h-controls { display: flex; gap: 8px; }
.h-controls .icon-btn:disabled { opacity: .35; cursor: default; background: var(--panel); color: var(--fg); }
.h-progress span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
@media (max-width: 899px) {
  .h-track { width: auto; flex-direction: column; }
  .card { width: 100%; min-height: 0; }
  .h-bar { display: none; }
}

/* Before / after */
.ba-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ba-copy { display: grid; gap: 22px; min-width: 0; }
.ba-copy h2 { font-size: clamp(48px, 6.4vw, 100px); }
.formula { font-family: var(--mono); font-size: 13px; color: var(--fg); border-left: 2px solid var(--lime); padding: 4px 0 4px 14px; }
.ba { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--panel); user-select: none; touch-action: pan-y; max-width: 100%; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); } /* tone is matched in the image files now */
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--lime); transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; font-size: 22px; font-weight: 700; box-shadow: 0 0 0 8px rgba(163,230,53,.18); }
.ba-label { position: absolute; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(7,9,7,.78); padding: 6px 10px; border-radius: 4px; pointer-events: none; }
.ba-label.l { left: 16px; }
.ba-label.r { right: 16px; color: var(--lime); }
@media (max-width: 480px) {
  /* two labels no longer fit on one line side by side: let each wrap in its own half */
  .ba-label { bottom: 10px; font-size: 10px; letter-spacing: .06em; line-height: 1.35; padding: 5px 8px; max-width: calc(50% - 14px); }
  .ba-label.l { left: 10px; }
  .ba-label.r { right: 10px; text-align: right; }
}
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 4px; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: minmax(0, 1fr); } }

/* Gallery */
.gallery { overflow: hidden; }
.g-row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.g-row + .g-row { margin-top: 16px; }
.g-item { width: clamp(200px, 22vw, 300px); aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; position: relative; background: var(--panel); flex: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s; filter: grayscale(.35) brightness(.85); }
.g-item:hover img { transform: scale(1.08); filter: none; }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; font-size: 13px; font-weight: 500; background: linear-gradient(transparent, rgba(7,9,7,.9)); transform: translateY(100%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.g-item:hover figcaption, .g-item:focus-within figcaption { transform: none; }
.g-skew { will-change: transform; }

/* Quote */
.quote { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 5vw, 76px); line-height: 1.02; max-width: 20ch; margin: 0; text-wrap: balance; }
.quote .w { opacity: .18; transition: none; }
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.quote-by .stars { color: var(--lime); letter-spacing: 3px; }
.quote-by small { color: var(--muted); }

/* CTA */
.cta { text-align: left; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(64px, 12vw, 200px); }
.cta h2 .accent { color: var(--lime); -webkit-text-stroke: 0; }
.cta h2 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.cta-row { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; margin-top: 44px; }
.magnet-wrap { display: inline-block; padding: 20px; margin: -20px; }
.magnet { width: 180px; height: 180px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--lime); color: var(--on-lime); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; will-change: transform; box-shadow: 0 0 60px rgba(163,230,53,.25); }
.magnet span { display: block; will-change: transform; pointer-events: none; }
.contacts { display: grid; gap: 8px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.contacts a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); }
.contacts a:hover { border-color: var(--lime); }

/* EREPS seal (hero + qualifications) */
.seal { position: relative; display: grid; place-items: center; width: var(--seal, 112px); aspect-ratio: 1; flex: none; perspective: 700px; text-decoration: none; }
.seal-coin { position: relative; width: 64%; aspect-ratio: 1; border-radius: 50%; transform-style: preserve-3d; will-change: transform; }
.seal-coin img { width: 100%; height: 100%; border-radius: 50%; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 3px rgba(7,9,7,.6); }
.seal-coin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%); background-size: 300% 100%; background-position: 150% 0; mix-blend-mode: overlay; animation: glint 4.5s ease-in-out infinite 3.5s; }
@keyframes glint { 0%, 70% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; overflow: visible; }
.seal-ring text { font-family: var(--mono); font-size: 8.6px; letter-spacing: 2.1px; text-transform: uppercase; fill: var(--fg); }
.seal-ring .dot { fill: var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
.seal:hover .seal-coin, .seal:focus-visible .seal-coin { animation: flip 1s cubic-bezier(.3,.7,.3,1); }
.seal:hover .seal-ring { animation-duration: 4s; }
@keyframes flip { to { transform: rotateY(360deg); } }
.seal-shock { position: absolute; inset: 18%; border-radius: 50%; border: 2px solid #22b8cf; opacity: 0; pointer-events: none; }
.hero-seal { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 4px; background: rgba(7,9,7,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 4px 18px 4px 4px; text-decoration: none; }
.hero-seal .seal { --seal: 92px; }
.hero-seal-copy { display: grid; line-height: 1.25; }
.hero-seal-copy b { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.hero-seal-copy small { font-size: 12px; color: var(--lime); }
@media (max-width: 480px) { .hero-seal .seal { --seal: 76px; } .hero-seal-copy b { font-size: 18px; } }

/* Qualifications */
.q-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.q-side { position: sticky; top: 100px; display: grid; gap: 24px; justify-items: start; min-width: 0; }
.q-side .seal { --seal: min(250px, 62vw); }
.q-side .seal-ring text { font-size: 7.4px; letter-spacing: 2.6px; }
.q-summary { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.q-summary li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.q-summary li i { font-style: normal; width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(163,230,53,.14); color: var(--lime); font-family: var(--mono); font-size: 12px; }
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert { position: relative; display: grid; grid-template-rows: auto 1fr; text-align: left; font: inherit; color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 0; overflow: hidden; cursor: pointer; transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s; will-change: transform; }
.cert:hover, .cert:focus-visible { border-color: rgba(163,230,53,.5); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.cert-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e6dc; }
.cert-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cert:hover .cert-img img { transform: scale(1.06); }
.cert-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: color-dodge;
  background: linear-gradient(115deg, transparent 20%, rgba(163,230,53,.55) 38%, rgba(255,255,255,.7) 48%, rgba(34,184,207,.55) 58%, transparent 78%);
  background-size: 250% 250%; background-position: var(--hx, 50%) var(--hy, 50%); }
.cert:hover .cert-img::after { opacity: .55; }
.cert-body { display: grid; gap: 4px; padding: 14px 16px 16px; align-content: start; }
.cert-body small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cert-body b { font-size: 16px; line-height: 1.3; }
.cert-body span { font-size: 13px; color: var(--muted); }
.cert-view { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 12px; font-weight: 700; background: var(--lime); color: var(--on-lime); padding: 5px 10px; border-radius: 999px; transform: translateY(-6px); opacity: 0; transition: opacity .3s, transform .3s; }
.cert:hover .cert-view, .cert:focus-visible .cert-view { opacity: 1; transform: none; }
.cert.is-ereps .cert-img::before { content: "EREPS"; position: absolute; left: 10px; top: 10px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; background: #22b8cf; color: #04181c; padding: 3px 7px; border-radius: 3px; }
@media (max-width: 1000px) { .q-grid { grid-template-columns: minmax(0, 1fr); } .q-side { position: static; } }
@media (max-width: 640px) {
  .certs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cert { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: none; }
  .cert-img { aspect-ratio: auto; min-height: 92px; }
  .cert-view { display: none; }
}

/* Certificate viewer */
.lb { position: fixed; inset: 0; z-index: 95; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: rgba(4,6,4,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lb[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1100px; width: 100%; margin-inline: auto; }
.lb-top div { display: grid; min-width: 0; }
.lb-top small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.lb-top b { font-size: 17px; overflow-wrap: anywhere; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-stage img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-nav { display: flex; justify-content: center; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: 18px; cursor: pointer; transition: background .25s, color .25s; }
.icon-btn:hover { background: var(--lime); color: var(--on-lime); }

/* Availability */
.av-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.av-box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.av-box-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.av-box h3 { font-size: 30px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.open { color: var(--lime); border-color: rgba(163,230,53,.4); }
.status.open::before { background: var(--lime); box-shadow: 0 0 0 0 rgba(163,230,53,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(163,230,53,0); } 100% { box-shadow: 0 0 0 0 rgba(163,230,53,0); } }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); font-size: 15px; }
.hours li b { font-weight: 700; }
.hours li span { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours li.closed { background: transparent; color: var(--muted); }
.hours li.closed span { font-style: italic; font-family: var(--body); }
.hours li.today { border-color: var(--lime); }
.hours li.today b::after { content: "Today"; margin-left: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-lime); background: var(--lime); padding: 2px 6px; border-radius: 3px; vertical-align: 2px; }
.tz-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.step { display: grid; gap: 10px; }
.step + .step { margin-top: 22px; }
.step-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; color: var(--fg); background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip small { color: var(--muted); margin-left: 6px; font-size: 12px; }
.chip:hover { border-color: rgba(163,230,53,.5); }
.chip[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); border-color: var(--lime); font-weight: 700; }
.chip[aria-pressed="true"] small { color: var(--on-lime); }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: none; width: 64px; display: grid; justify-items: center; gap: 2px; padding: 10px 0; font: inherit; color: var(--fg); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.day small { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.day b { font-family: var(--display); font-size: 26px; line-height: 1; }
.day:hover { border-color: rgba(163,230,53,.5); }
.day[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.day[aria-pressed="true"] small { color: var(--on-lime); }
.day:disabled { opacity: .3; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { font: inherit; font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--fg); background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 10px 0; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.slot:hover { border-color: rgba(163,230,53,.5); }
.slot[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); border-color: var(--lime); font-weight: 500; }
.slots-empty { color: var(--muted); font-size: 14px; grid-column: 1 / -1; margin: 0; }
.field { width: 100%; font: inherit; font-size: 15px; color: var(--fg); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--lime); }
.preview { font-size: 14px; line-height: 1.55; background: var(--ink); border: 1px dashed rgba(163,230,53,.35); border-radius: 8px; padding: 14px 16px; margin: 0; user-select: all; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview.muted { color: var(--muted); user-select: none; }
.send { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.send .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.send-note { font-size: 13px; color: var(--muted); min-height: 1.4em; margin: 0; }
@media (max-width: 900px) { .av-grid { grid-template-columns: minmax(0, 1fr); } }



/* Custom cursor */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 90; border-radius: 50%; display: none; }
.cursor { width: 6px; height: 6px; background: var(--lime); margin: -3px 0 0 -3px; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(163,230,53,.6); display: none; place-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-lime); transition: width .3s, height .3s, margin .3s, background .3s, border-color .3s; }
.cursor-ring.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--lime); border-color: var(--lime); }
.cursor, .cursor-ring { opacity: 0; }
body.cursor-on .cursor, body.cursor-on .cursor-ring { opacity: 1; }
@media (pointer: fine) {
  body.has-cursor .cursor { display: block; }
  body.has-cursor .cursor-ring { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .quote .w { opacity: 1; }
}

/* Phone menu */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--fg); cursor: pointer; place-items: center; position: relative; z-index: 71; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s cubic-bezier(.7,0,.2,1), opacity .2s; position: relative; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) { .menu-btn { display: grid; } }
@media (max-width: 420px) { .nav-right .btn-sm { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--ink); display: grid; align-content: center; gap: 28px; padding: calc(90px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); clip-path: circle(0% at calc(100% - 40px) 40px); visibility: hidden; transition: clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s .7s; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 11vw, 64px); line-height: 1.05; text-decoration: none; opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1), color .2s; }
.mobile-menu nav a:hover { color: var(--lime); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 50ms); }
.mobile-menu-foot { display: flex; flex-wrap: wrap; gap: 10px; }
.menu-open { overflow: hidden; }
.menu-open .nav { z-index: 72; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* How I help */
.goals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.goal { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px 22px; display: grid; gap: 12px; align-content: start; overflow: hidden; transition: border-color .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.goal::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.7,0,.2,1); }
.goal:hover { border-color: rgba(163,230,53,.4); transform: translateY(-4px); }
.goal:hover::before { transform: scaleX(1); }
.goal-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(163,230,53,.12); color: var(--lime); }
.goal-icon svg { width: 22px; height: 22px; }
.goal h3 { font-size: 30px; }
.goal p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 1000px) { .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .goals { grid-template-columns: minmax(0, 1fr); } }

/* Services extras */
.card .card-link { font: inherit; font-size: 13px; font-weight: 700; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--lime); justify-self: start; }
.card-actions { display: grid; gap: 14px; }
.card .btn { justify-content: center; }
.card.featured .btn { background: var(--on-lime); color: var(--lime); border-color: var(--on-lime); }
.card.featured .btn::before { background: var(--fg); }
.card.featured .btn:hover { color: var(--on-lime); }
.expect { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.expect > div { padding: 24px 22px 0 0; display: grid; gap: 8px; align-content: start; }
.expect > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.expect b { font-size: 16px; }
.expect p { margin: 0; color: var(--muted); font-size: 14px; }
.expect-title { grid-column: 1 / -1; padding: 0 0 8px !important; border: 0 !important; }
@media (max-width: 900px) {
  .expect { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .expect > div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) { .expect { grid-template-columns: minmax(0, 1fr); } .expect > div + div { padding-left: 0; border-left: 0; } }

/* Story */
.story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.story-media { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--panel); max-width: 100%; }
/* object-position stays at the top and the parallax buffer is small, so his head is never cropped */
.story-media img { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; object-position: 50% 0%; }
.story-year { position: absolute; left: 16px; bottom: 12px; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 9vw, 120px); line-height: .85; color: var(--lime); mix-blend-mode: normal; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.story-year small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--fg); font-weight: 500; }
.story-copy { display: grid; gap: 22px; min-width: 0; }
.story-copy h2 { font-size: clamp(44px, 5.6vw, 88px); }
.pull { margin: 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; border-left: 2px solid var(--lime); padding-left: 18px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
.values li i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); font-size: 13px; font-weight: 700; }
.values b { display: block; }
.values span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .story-grid { grid-template-columns: minmax(0, 1fr); } .story-media { aspect-ratio: 4 / 4.4; } }

/* How it works (a real sequence, so numbered) */
.steps-block { margin-top: clamp(64px, 8vw, 110px); display: grid; gap: 12px; }
.steps-h { font-size: clamp(32px, 4vw, 52px); margin-bottom: 28px; }
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; counter-reset: step; }
.steps-line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.steps-line span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(1); }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 2px solid var(--lime); color: var(--lime); font-family: var(--mono); font-size: 13px; position: relative; z-index: 1; }
.steps b { font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps-line { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-line span { transform-origin: top; }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .steps li::before { grid-row: span 2; }
}

/* Testimonials */
.t-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.t-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: grid; gap: 18px; align-content: space-between; margin: 0; }
.t-card blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-card .stars { color: var(--lime); letter-spacing: 3px; font-size: 13px; }
.t-card small { color: var(--muted); display: block; }
@media (max-width: 760px) { .t-more { grid-template-columns: minmax(0, 1fr); } }

/* Resources */
.res { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.res a { position: relative; display: grid; gap: 10px; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 24px 22px; text-decoration: none; overflow: hidden; transition: border-color .4s, background .4s; }
.res a::after { content: "↗"; position: absolute; top: 18px; right: 20px; color: var(--lime); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.res a:hover { border-color: rgba(163,230,53,.45); background: var(--panel-2); }
.res a:hover::after { transform: translate(4px, -4px); }
.res b { font-size: 17px; padding-right: 20px; }
.res span { color: var(--muted); font-size: 14px; }
.res-kind { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime) !important; }
.res-foot { margin-top: 24px; }
@media (max-width: 1000px) { .res { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .res { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.channel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: grid; gap: 12px; align-content: start; transition: border-color .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.channel:hover { border-color: rgba(163,230,53,.4); transform: translateY(-4px); }
.channel-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.channel h3 { font-size: 34px; }
.channel .handle { font-family: var(--mono); font-size: 15px; user-select: all; }
.channel p { margin: 0; color: var(--muted); font-size: 14.5px; }
.channel .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (max-width: 900px) { .channels { grid-template-columns: minmax(0, 1fr); } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 16px; margin-top: 16px; }
.start-box, .info-box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 2.4vw, 30px); min-width: 0; }
.start-box h3, .info-box h3 { font-size: 30px; margin-bottom: 20px; }
.start { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.start li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.start li::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); font-weight: 700; font-size: 14px; }
.start b { display: block; }
.start span { color: var(--muted); font-size: 14.5px; }
.start-note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.info { margin: 0; display: grid; gap: 0; }
.info div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info dt { color: var(--muted); }
.info dd { margin: 0; overflow-wrap: anywhere; }
.info dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info dd a:hover { border-color: var(--lime); }
.info .verified { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-lime); background: var(--lime); padding: 2px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr)); gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--lime); }
.foot-brand { display: grid; gap: 14px; justify-items: start; }
.foot-brand .brand-icon { width: 34px; height: 34px; }
.foot-brand .wm { height: 24px; }
.foot-brand p { margin: 0; max-width: 36ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Floating chat button */
.float-chat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: #229ed9; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .3s, box-shadow .3s; }
.float-chat:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(34,158,217,.35); }
.float-chat svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 520px) { .float-chat span { display: none; } .float-chat { padding: 14px; } }

/* Assessment details dialog */
.modal { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: rgba(4,6,4,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal-box { width: min(760px, 100%); max-height: 100%; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; overscroll-behavior: contain; }
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.modal-head h3 { font-size: clamp(30px, 4vw, 44px); }
.modal-head p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.modal-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.modal-cols section { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.modal-cols h4 { margin: 0; font-size: 17px; }
.modal-cols p { margin: 0; color: var(--muted); font-size: 14px; }
.modal-cols ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.modal-cols li::marker { color: var(--lime); }
.modal-cols small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
@media (max-width: 640px) { .modal-cols { grid-template-columns: minmax(0, 1fr); } }

/* Without the animation library, services wrap into a grid instead of the pinned sideways row */
.no-motion .h-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); width: auto; }
.no-motion .card { width: auto; min-height: 0; }
.no-motion .h-bar { display: none; }

/* Ambient background: a slow lime glow behind the hero and fine film grain over the page */
.hero > .wrap { position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; z-index: 0; right: -12%; top: -8%; width: min(70vw, 900px); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(163,230,53,.11), rgba(163,230,53,0) 72%); pointer-events: none; animation: ambient 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes ambient { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-6%, 8%, 0) scale(1.12); } }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@media (max-width: 860px) { .hero::before { display: none; } .hero > .wrap { position: static; z-index: auto; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
