/* =====================================================================
   Life Line Home Health Services — main stylesheet
   1. Tokens  2. Base  3. Primitives  4. Header  5. Sections (page order)
   6. Footer & CTA bar  7. Motion
   ===================================================================== */

/* 1. Tokens ---------------------------------------------------------- */
:root {
  --bg: oklch(0.985 0.012 95);
  --ink: oklch(0.26 0.02 160);
  --heading: oklch(0.22 0.035 162);
  --muted: oklch(0.46 0.02 160);
  --text-soft: oklch(0.44 0.02 160);
  --text-body: oklch(0.4 0.02 160);
  --line: oklch(0.9 0.015 150);
  --mint: oklch(0.95 0.03 155);
  --mint-2: oklch(0.96 0.025 155);
  --forest-950: oklch(0.16 0.03 162);
  --forest-900: oklch(0.2 0.04 162);
  --forest-800: oklch(0.24 0.05 162);
  --forest-700: oklch(0.3 0.055 162);
  --green-ink: oklch(0.34 0.08 162);
  --link: oklch(0.42 0.09 162);
  --accent: oklch(0.52 0.16 28);
  --accent-strong: oklch(0.45 0.15 28);
  --sun: oklch(0.88 0.14 95);
  --sun-soft: oklch(0.82 0.13 95);
  --sun-ink: oklch(0.22 0.045 162);
  --on-dark: oklch(0.96 0.012 120);
  --on-dark-soft: oklch(0.9 0.015 130);
  --on-dark-muted: oklch(0.88 0.015 130);
  --white-ish: oklch(0.98 0.01 120);

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-telugu: "Noto Sans Telugu", "Nirmala UI", Gautami, sans-serif;

  --container: 1180px;
  --gutter: 20px;
  --section-y: 88px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 599px) {
  :root { --section-y: 64px; }
}

/* 2. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--sun); color: var(--sun-ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--forest-900); color: #fff; font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* 3. Primitives ------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; }

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { margin-bottom: 14px; color: var(--sun-soft); }

.h2 {
  margin: 0;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.015em;
  color: var(--heading);
}
.h2--on-dark { color: inherit; font-weight: 400; }
.h2--lg { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; }
.h2--md { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.01em; }

.card-title {
  margin: 0 0 8px;
  font-family: var(--font-serif); font-weight: 500; font-size: 21px; line-height: 1.2;
}

.section-head {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px;
}
.section-head > * { min-width: 0; }
.section-head--tight { margin-bottom: 32px; }
.section-intro { margin: 0; max-width: 30em; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.section-intro--narrow { max-width: 28em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer; text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }
.btn--sm { padding: 12px 22px; font-size: 14.5px; }
.btn--md { padding: 14px 24px; font-size: 15px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

.btn--sun { background: var(--sun); color: var(--sun-ink); font-weight: 600; }
.btn--sun:hover { color: var(--sun-ink); box-shadow: 0 18px 34px -18px var(--sun); }

.btn--ghost { border: 1px solid oklch(0.98 0.01 120 / 0.55); color: var(--white-ish); font-weight: 500; }
.btn--ghost:hover { background: oklch(0.98 0.01 120 / 0.14); color: var(--white-ish); }

.btn--accent { background: var(--accent); color: #fff; font-weight: 500; box-shadow: 0 10px 24px -14px var(--accent); }
.btn--accent:hover { background: var(--accent-strong); color: #fff; box-shadow: 0 16px 30px -14px var(--accent); }

.btn--forest { background: var(--forest-700); color: #fff; font-weight: 500; }
.btn--forest:hover { background: var(--forest-800); color: #fff; box-shadow: 0 20px 36px -20px var(--forest-700); }

/* Icon tile */
.icon-tile {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--mint); color: var(--green-ink);
}
.icon-tile--sm { width: 40px; height: 40px; border-radius: 12px; }

/* Media frames: image covers its box */
.media { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Soft decorative glows on dark sections */
.glow { position: absolute; border-radius: 50%; pointer-events: none; }

/* 4. Header ---------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}

.topbar {
  display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; align-items: center;
  padding: 9px var(--gutter);
  background: var(--forest-900); color: oklch(0.97 0.01 120);
  font-size: 13.5px; letter-spacing: 0.01em; text-align: center;
}
.topbar__sep { opacity: 0.4; }
.topbar__call { display: inline-flex; align-items: center; gap: 7px; color: var(--sun); }
.topbar__call:hover { color: #fff; }

.pulse { position: relative; display: inline-grid; place-items: center; width: 8px; height: 8px; }
.pulse::before, .pulse::after { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.pulse::before { position: absolute; inset: 0; background: oklch(0.82 0.15 95); animation: ll-ring 2.4s ease-out infinite; }
.pulse::after { position: relative; background: oklch(0.85 0.15 95); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  padding: 16px var(--gutter);
  background: oklch(0.985 0.012 95 / 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}
.site-header.is-scrolled {
  padding-block: 10px;
  background: oklch(0.985 0.012 95 / 0.97);
  box-shadow: 0 14px 34px -26px var(--forest-900);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  max-width: var(--container); margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 14px;
  background: var(--forest-700);
  transition: transform 0.4s var(--ease-spring);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__cross {
  display: block; width: 17px; height: 17px;
  background: var(--sun);
  clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 23px; font-weight: 500; letter-spacing: 0.01em; }
.brand__sub { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: oklch(0.5 0.03 160); }

.site-nav__list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px;
  margin: 0; padding: 0; list-style: none;
  font-size: 14.5px;
}
.site-nav__link {
  display: inline-block; padding: 4px 0;
  color: oklch(0.34 0.02 160);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.site-nav__link:hover { color: oklch(0.24 0.045 162); border-bottom-color: var(--accent); }

.header-call { white-space: nowrap; gap: 9px; }

.nav-toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: transparent; color: var(--heading); cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .site-header__inner { gap: 12px; }
  .header-call { order: 2; }
  .nav-toggle { order: 3; }
  .site-nav { order: 4; flex-basis: 100%; }

  .js .nav-toggle { display: inline-grid; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 2px; }
  .js .site-nav__link { display: block; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .js .site-nav__list li:last-child .site-nav__link { border-bottom: 0; }
}

@media (max-width: 479px) {
  .brand__name { font-size: 21px; }
  .header-call { padding: 12px 14px; }
  .header-call__label { display: none; }
  .topbar__sep { display: none; }
  .topbar { gap: 2px 14px; font-size: 12.5px; }
}

/* 5. Sections -------------------------------------------------------- */

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(560px, 78vh, 820px);
  background: var(--forest-900);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, oklch(0.2 0.04 162 / 0.94) 0%, oklch(0.2 0.04 162 / 0.82) 42%, oklch(0.2 0.04 162 / 0.3) 100%);
}
.hero__inner { position: relative; width: 100%; max-width: var(--container); margin: 0 auto; padding: 120px var(--gutter) 64px; }
.hero__content { max-width: 40rem; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 20px; padding: 8px 14px;
  border: 1px solid oklch(0.88 0.14 95 / 0.4); border-radius: 999px;
  background: oklch(0.2 0.04 162 / 0.5);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sun);
}
.hero__title {
  margin: 0 0 20px;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--white-ish); text-wrap: pretty;
}
.hero__title em { font-style: italic; color: var(--sun); }
.hero__lead {
  max-width: 34em; margin: 0 0 14px;
  font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.6;
  color: oklch(0.93 0.015 130); text-wrap: pretty;
}
.hero__lead strong { font-weight: 600; color: var(--white-ish); }
.hero__telugu { margin: 0 0 30px; font-family: var(--font-telugu); font-weight: 500; font-size: 16px; line-height: 1.75; color: oklch(0.86 0.02 130); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__float {
  position: absolute; right: 24px; bottom: 44px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  max-width: 320px; padding: 18px 20px; border-radius: 16px;
  background: oklch(0.985 0.012 95 / 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 26px 60px -30px var(--forest-900);
  animation: ll-float 7s ease-in-out infinite;
}
.hero__float-badge {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--mint); color: var(--green-ink);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
}
.hero__float-body { min-width: 0; }
.hero__float-title { margin: 0; font-size: 14.5px; font-weight: 600; }
.hero__float-text { margin: 0; font-size: 13px; line-height: 1.45; color: oklch(0.5 0.02 160); }

@media (max-width: 1059px) {
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero__float { position: relative; right: auto; bottom: auto; align-self: flex-start; margin: -28px var(--gutter) 36px; }
}
@media (max-width: 599px) {
  .hero__inner { padding-top: 88px; padding-bottom: 52px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Areas marquee */
.marquee {
  overflow: hidden; padding: 13px 0;
  background: var(--forest-900); color: oklch(0.86 0.02 130);
  border-bottom: 1px solid oklch(0.28 0.04 162);
}
.marquee__track {
  display: flex; width: max-content;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  animation: ll-marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 26px; margin: 0; padding: 0 26px 0 0; list-style: none; }
.marquee__group li { display: flex; gap: 26px; white-space: nowrap; }
.marquee__group li::after { content: "·"; content: "·" / ""; color: var(--sun-soft); }

/* Services */
.services {
  padding: var(--section-y) var(--gutter) 80px;
  background:
    radial-gradient(980px 460px at 10% -10%, oklch(0.95 0.035 155 / 0.8), transparent 68%),
    radial-gradient(720px 380px at 96% 22%, oklch(0.96 0.03 95 / 0.7), transparent 70%),
    var(--bg);
}
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr)); gap: 14px;
  margin: 0; padding: 0; list-style: none;
}
.service-card {
  min-width: 0; padding: 26px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -34px oklch(0.3 0.05 160); border-color: oklch(0.8 0.04 155); }
.service-card .icon-tile { margin-bottom: 16px; }
.service-card__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }

/* When families call us */
.situations {
  padding: 76px var(--gutter) var(--section-y);
  background: linear-gradient(180deg, var(--bg) 0%, oklch(0.968 0.024 140) 45%, var(--bg) 100%);
}
.situations__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.situation {
  position: relative; min-width: 0; overflow: hidden;
  aspect-ratio: 3 / 4.4; border-radius: 18px;
  background: var(--forest-900);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.situation:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -34px var(--forest-900); }
.situation > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.situation__body {
  position: absolute; inset: auto 0 0 0; padding: 60px 20px 20px;
  background: linear-gradient(to top, oklch(0.18 0.035 162 / 0.95), oklch(0.18 0.035 162 / 0));
}
.situation__title { margin-bottom: 6px; color: var(--white-ish); }
.situation__text { margin: 0; font-size: 13.5px; line-height: 1.5; color: oklch(0.9 0.015 130); }

@media (max-width: 519px) {
  .situations__grid { grid-template-columns: 1fr; }
  .situation { aspect-ratio: 4 / 3.6; }
}

/* ICU at home */
.icu {
  position: relative; overflow: hidden;
  padding: var(--section-y) var(--gutter);
  background: var(--forest-900); color: var(--on-dark);
}
.icu__glow { top: -180px; right: -120px; width: 460px; height: 460px; background: oklch(0.32 0.07 162); filter: blur(10px); opacity: 0.45; }
.icu__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: center;
}
.icu__content { min-width: 0; }
.icu .h2 { margin-bottom: 18px; }
.icu__lead { max-width: 34em; margin: 0 0 24px; font-size: 17px; line-height: 1.65; color: var(--on-dark-soft); }
.checklist { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.checklist__item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 14px 16px; border-radius: 12px;
  background: oklch(0.25 0.045 162); border: 1px solid oklch(0.32 0.05 162);
  font-size: 15px; line-height: 1.5;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.checklist__item:hover { transform: translateX(4px); border-color: var(--sun-soft); }
.checklist__item svg { flex: none; margin-top: 1px; color: var(--sun-soft); }
.icu__media { aspect-ratio: 5 / 4; border-radius: 20px; box-shadow: 0 40px 80px -40px oklch(0.1 0.03 162); }

/* Equipment */
.equipment {
  position: relative;
  padding: var(--section-y) var(--gutter);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 20%, var(--bg) 78%),
    linear-gradient(oklch(0.88 0.02 155 / 0.55) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.88 0.02 155 / 0.55) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
}
.equipment__title { margin-bottom: 12px; }
.equipment__intro { max-width: 44em; margin: 0 0 36px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.equipment__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 34px; align-items: start;
}
.equipment__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
  min-width: 0; margin: 0; padding: 0; list-style: none;
}
.equip-item {
  display: grid; gap: 12px; padding: 18px 16px;
  border: 1px solid var(--line); border-radius: 16px;
  background: oklch(0.99 0.008 95 / 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 14.5px; line-height: 1.4;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.equip-item:hover { transform: translateY(-4px); border-color: oklch(0.72 0.08 155); box-shadow: 0 22px 40px -30px oklch(0.3 0.05 160); }
.equip-item--more,
.equip-item--more:hover {
  transform: none; box-shadow: none;
  border: 1px dashed oklch(0.8 0.03 150);
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  color: oklch(0.48 0.03 160);
}
.equip-item--more .icon-tile { background: oklch(0.96 0.015 150); color: oklch(0.45 0.05 162); }
.equipment__media { aspect-ratio: 1 / 1; border-radius: 20px; box-shadow: 0 34px 64px -40px oklch(0.3 0.05 160); }

/* How it works */
.process-wrap { padding: 0 var(--gutter) var(--section-y); }
.process {
  position: relative; overflow: hidden;
  max-width: var(--container); margin: 0 auto; padding: 52px 40px;
  border-radius: 28px; color: var(--on-dark);
  background: linear-gradient(155deg, oklch(0.24 0.048 162) 0%, oklch(0.19 0.036 162) 60%, oklch(0.22 0.05 150) 100%);
}
.process__glow { top: -140px; left: 30%; width: 380px; height: 380px; background: oklch(0.34 0.08 162); filter: blur(14px); opacity: 0.4; }
.process__head {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between;
  margin-bottom: 42px;
}
.process__head > div { min-width: 0; }
.process__title { line-height: 1.04; }
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 16px; align-items: stretch;
  margin: 0; padding: 0; list-style: none;
}
.step {
  min-width: 0; padding: 26px 22px; border-radius: 20px;
  background: oklch(0.27 0.05 162 / 0.75); border: 1px solid oklch(0.34 0.05 162);
  transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--sun-soft); background: oklch(0.3 0.055 162 / 0.9); }
.step__top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step__num {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 14px;
  background: var(--sun); color: var(--forest-900);
  font-family: var(--font-mono); font-size: 15px; font-weight: 500;
}
.step__line {
  flex: 1; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sun-soft), oklch(0.82 0.13 95 / 0));
  transform-origin: left;
  transition: transform 0.9s var(--ease-out) var(--line-delay, 0.2s);
}
.step:nth-child(2) .step__line { --line-delay: 0.3s; }
.step:nth-child(3) .step__line { --line-delay: 0.4s; }
.step:nth-child(4) .step__line { --line-delay: 0.5s; }
.step__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--on-dark-muted); }

@media (max-width: 599px) {
  .process { padding: 36px 22px; border-radius: 22px; }
}

/* Guidance */
.guidance-wrap { padding: 0 var(--gutter) var(--section-y); }
.guidance { max-width: var(--container); margin: 0 auto; padding: 48px 38px; border-radius: 24px; background: var(--mint); }
.guidance__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 36px; }
.guidance__main { min-width: 0; display: flex; flex-direction: column; }
.guidance__title { margin-bottom: 14px; color: inherit; font-weight: 400; font-size: clamp(27px, 3.6vw, 38px); line-height: 1.1; letter-spacing: -0.01em; }
.guidance__intro { max-width: 32em; margin: 0 0 24px; font-size: 15.5px; line-height: 1.62; color: oklch(0.4 0.03 160); }
.guidance__media { flex: 1; min-height: 240px; border-radius: 18px; box-shadow: 0 30px 56px -38px oklch(0.3 0.05 160); }
.guidance__list { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.guide-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--bg); }
.guide-item > svg { flex: none; margin-top: 2px; color: var(--link); }
.guide-item > div { min-width: 0; }
.guide-item__title { margin: 0 0 3px; font-size: 15.5px; font-weight: 600; }
.guide-item__text { margin: 0; font-size: 14px; line-height: 1.55; color: oklch(0.42 0.02 160); }
.guide-item__note { color: oklch(0.5 0.02 160); }

@media (max-width: 599px) {
  .guidance { padding: 32px 20px; border-radius: 20px; }
}

/* About */
.about-wrap { padding: 0 var(--gutter) var(--section-y); }
.about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 44px; align-items: stretch; }
.about__person { min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 26px; }
.portrait { position: relative; flex: none; width: 190px; }
.portrait__backdrop { position: absolute; inset: 14px -12px -14px 12px; border-radius: 20px; background: var(--mint); }
.portrait__frame {
  position: relative; z-index: 1; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: 20px;
  box-shadow: 0 30px 56px -36px oklch(0.3 0.05 160);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__badge {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  margin: -22px 0 0 -10px; padding: 9px 14px; border-radius: 999px;
  background: var(--forest-900); color: var(--sun);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 16px 30px -20px var(--forest-900);
}
.about__bio { min-width: 0; flex: 1 1 220px; }
.about__title { margin-bottom: 6px; }
.about__role { margin: 0 0 16px; font-size: 14.5px; color: oklch(0.48 0.02 160); }
.about__text { margin: 0 0 14px; font-size: 15.5px; line-height: 1.65; color: var(--text-body); }
.about__text:last-child { margin-bottom: 0; }

.areas-card {
  min-width: 0; display: flex; flex-direction: column;
  padding: 32px 30px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
}
.areas-card__title { margin: 0 0 6px; font-family: var(--font-serif); font-weight: 500; font-size: 23px; }
.areas-card__intro { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: oklch(0.48 0.02 160); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chip {
  padding: 8px 14px; border-radius: 999px;
  background: var(--mint-2); color: oklch(0.32 0.04 162); font-size: 13.5px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.chip:hover { background: oklch(0.92 0.045 155); transform: translateY(-2px); }
.chip--more, .chip--more:hover { transform: none; background: transparent; border: 1px dashed oklch(0.82 0.03 150); color: oklch(0.45 0.02 160); }
.areas-card__facts { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid oklch(0.93 0.015 150); }
.fact { display: flex; align-items: center; gap: 13px; margin: 0; font-size: 14.5px; line-height: 1.5; color: oklch(0.36 0.02 160); }
.fact svg { flex: none; color: var(--link); }

@media (max-width: 599px) {
  .areas-card { padding: 26px 20px; }
}

/* Careers */
.careers-wrap { padding: 0 var(--gutter) var(--section-y); }
.careers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  max-width: var(--container); margin: 0 auto; overflow: hidden;
  border-radius: 28px; border: 1px solid oklch(0.9 0.02 150);
  background: linear-gradient(150deg, oklch(0.97 0.025 120) 0%, oklch(0.95 0.035 155) 100%);
}
.careers__content { position: relative; min-width: 0; padding: 50px 40px; }
.careers__title { margin-bottom: 14px; font-size: clamp(28px, 3.8vw, 42px); }
.careers__title em { font-style: italic; color: var(--link); }
.careers__text { max-width: 32em; margin: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--text-body); }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.perk {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  background: oklch(0.99 0.008 95); border: 1px solid oklch(0.88 0.025 150);
  font-size: 13.5px; color: oklch(0.32 0.04 162);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.perk:hover { transform: translateY(-2px); border-color: oklch(0.6 0.1 162); }
.perk svg { color: var(--link); }
.careers__media { position: relative; min-width: 0; min-height: 380px; background: var(--forest-900); }
.careers__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.careers__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(210deg, oklch(0.18 0.035 162 / 0.15) 0%, oklch(0.18 0.035 162 / 0.82) 78%);
}
.earnings { position: absolute; inset: auto 22px 22px 22px; }
.earnings__title {
  margin: 0 0 12px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: oklch(0.85 0.13 95);
}
.earnings__list { display: grid; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.earning {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 14px;
  background: oklch(0.99 0.008 95 / 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.earning__label { font-size: 14.5px; color: oklch(0.3 0.03 160); }
.earning__amount { font-family: var(--font-mono); font-size: 16px; font-weight: 500; color: oklch(0.28 0.05 162); }
.earnings__note { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--on-dark-muted); }

@media (max-width: 599px) {
  .careers { border-radius: 22px; }
  .careers__content { padding: 36px 22px; }
}

/* Contact */
.contact {
  position: relative; overflow: hidden;
  padding: var(--section-y) var(--gutter);
  background: var(--forest-900); color: var(--on-dark);
}
.contact__glow { bottom: -200px; left: -140px; width: 480px; height: 480px; background: oklch(0.3 0.07 162); filter: blur(12px); opacity: 0.4; }
.contact__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; }
.contact__info, .contact__form { min-width: 0; }
.contact__title { margin-bottom: 18px; }
.contact__lead { max-width: 32em; margin: 0 0 32px; font-size: 16.5px; line-height: 1.6; color: var(--on-dark-soft); }
.contact__phones { display: grid; justify-items: start; gap: 12px; margin-bottom: 28px; }
.contact__phone {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--on-dark);
  font-family: var(--font-mono); font-size: clamp(24px, 3.2vw, 32px); letter-spacing: 0.01em;
  transition: transform 0.25s ease, color 0.25s ease;
}
.contact__phone:hover { color: var(--sun); transform: translateX(5px); }
.contact__details { display: grid; gap: 9px; font-style: normal; font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
.contact__details a { color: var(--sun); overflow-wrap: anywhere; }
.contact__details a:hover { color: #fff; }
.contact__address { margin-top: 10px; color: oklch(0.82 0.02 130); }

/* Enquiry form */
.enquiry {
  display: grid; gap: 16px;
  padding: 34px 30px; border-radius: 20px;
  background: var(--on-dark); color: oklch(0.3 0.03 160);
  box-shadow: 0 40px 80px -44px oklch(0.1 0.03 162);
}
.enquiry__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; font-weight: 500; color: oklch(0.3 0.03 160); }
.field__control {
  width: 100%; padding: 13px 15px;
  border: 1px solid oklch(0.87 0.02 150); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 15.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field__control::placeholder { color: oklch(0.6 0.015 160); }
.field__control:focus { border-color: var(--link); box-shadow: 0 0 0 3px oklch(0.42 0.09 162 / 0.14); }
.field__control[aria-invalid="true"] { border-color: var(--accent); }
.field__control[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px oklch(0.52 0.16 28 / 0.16); }
.field__control--textarea { min-height: 96px; resize: vertical; }
.field__control--select {
  appearance: none; -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23476358' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field__error { margin: 0; font-size: 13px; line-height: 1.4; color: var(--accent-strong); }
.field__error:empty { display: none; }
.form-alert { margin: 0; padding: 12px 14px; border-radius: 12px; background: oklch(0.95 0.035 28); color: oklch(0.4 0.13 28); font-size: 14px; line-height: 1.5; }
.enquiry__submit {
  width: 100%; padding: 16px 20px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.enquiry__submit:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 18px 34px -18px var(--accent); }
.enquiry__submit[disabled] { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }
.enquiry__note { margin: 0; font-size: 13px; line-height: 1.55; color: oklch(0.48 0.02 160); }

.form-success { padding: 36px 32px; border-radius: 20px; background: var(--on-dark); color: oklch(0.26 0.03 160); }
.form-success:focus { outline: none; }
.form-success__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%;
  background: var(--mint); color: var(--link);
}
.form-success__title { margin: 0 0 10px; font-family: var(--font-serif); font-weight: 500; font-size: 25px; }
.form-success__text { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--text-body); }

@media (max-width: 599px) {
  .enquiry { padding: 26px 20px; }
  .form-success { padding: 28px 22px; }
}

/* FAQ */
.faq {
  padding: var(--section-y) var(--gutter);
  background: radial-gradient(760px 380px at 88% 8%, oklch(0.95 0.035 155 / 0.7), transparent 68%), var(--bg);
}
.faq__inner { max-width: 880px; margin: 0 auto; }
.faq__title { margin-bottom: 32px; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.faq__list { display: grid; gap: 12px; }
.faq-item {
  padding: 20px 24px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color 0.25s ease;
}
.faq-item:hover { border-color: oklch(0.78 0.05 155); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  list-style: none; cursor: pointer;
  font-size: 16.5px; font-weight: 500; color: oklch(0.28 0.03 160);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { flex: none; font-size: 22px; line-height: 1; color: var(--accent); transition: transform 0.25s ease; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: oklch(0.42 0.02 160); }

@media (max-width: 599px) {
  .faq-item { padding: 18px; }
}

/* 404 */
.not-found { padding: 120px var(--gutter); }
.not-found__text { max-width: 34em; margin: 18px 0 28px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 6. Footer & CTA bar ------------------------------------------------ */
.site-footer { padding: 58px var(--gutter) 34px; background: var(--forest-950); color: var(--on-dark-muted); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 36px; }
.footer__col { min-width: 0; }
.footer__brand-name { margin: 0 0 4px; font-family: var(--font-serif); font-size: 25px; color: var(--on-dark); }
.footer__brand-sub { margin: 0 0 14px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: oklch(0.7 0.03 130); }
.footer__about { margin: 0; font-size: 14.5px; line-height: 1.6; color: oklch(0.82 0.02 130); }
.footer__heading { margin: 0 0 14px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.72 0.03 130); }
.footer__links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.footer__links a { color: var(--on-dark-muted); overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--sun); }
.footer__address { font-style: normal; font-size: 14.5px; line-height: 1.62; color: oklch(0.84 0.02 130); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  max-width: var(--container); margin: 36px auto 0; padding-top: 20px;
  border-top: 1px solid oklch(0.26 0.03 162);
  font-size: 13px; color: oklch(0.68 0.02 130);
}

.cta-bar {
  position: sticky; bottom: 0; z-index: 40;
  display: flex; gap: 10px;
  padding: 10px 14px;
  background: oklch(0.985 0.012 95 / 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid oklch(0.88 0.02 150);
}
.cta-bar__btn {
  flex: 1 1 0; min-height: 48px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 12px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; text-align: center;
  transition: background-color 0.25s ease;
}
.cta-bar__btn--solid { background: var(--forest-700); color: #fff; }
.cta-bar__btn--solid:hover { background: var(--forest-800); color: #fff; }
.cta-bar__btn--outline { border: 1px solid var(--forest-700); color: var(--forest-700); }
.cta-bar__btn--outline:hover { background: var(--mint); color: var(--forest-700); }

/* Desktop already has the header call button — the sticky bar is for phones/tablets only. */
@media (min-width: 900px) {
  .cta-bar { display: none; }
}

/* 7. Motion ---------------------------------------------------------- */
@keyframes ll-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ll-ring { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
@keyframes ll-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes ll-head-in { from { opacity: 0; transform: translateY(0.42em) rotate(1.2deg); } to { opacity: 1; transform: none; } }
@keyframes ll-failsafe { to { opacity: 1; transform: none; } }

/* Word-by-word heading reveal (spans are created by main.js) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.06em; }
[data-split] .w > span { display: inline-block; }
.motion [data-split].is-split-in .w > span { animation: ll-head-in 0.72s var(--ease-out) var(--word-delay, 0ms) both; }

/* Scroll reveal — only when JS confirmed motion is wanted (see <head>) */
.motion [data-reveal] {
  transition:
    opacity 0.7s var(--ease-out) var(--reveal-delay, 0ms),
    transform 0.7s var(--ease-out) var(--reveal-delay, 0ms);
}
.motion [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(22px); }
/* If main.js never runs, reveal everything after 3s instead of leaving it hidden. */
.motion:not(.motion-ready) [data-reveal]:not(.is-visible) { animation: ll-failsafe 0.01s linear 3s forwards; }
.motion .step:not(.is-visible) .step__line { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
