/* ==========================================================
   FAMILY HOSPITAL LAHORE — STYLESHEET
   Everything is scoped under .fhl so it cannot clash with
   WordPress / Elementor themes.

   EASY EDITS: colours, fonts and sizes are in the first block.
   ========================================================== */

.fhl {
  /* ---- COLOURS ---- */
  --green: #0f5a2a;        /* brand green (from the hospital logo) */
  --green-deep: #0a3b1d;   /* headings, dark sections */
  --green-soft: #eaf1ec;   /* pale green tint */
  --ivory: #f6f5f1;        /* warm paper background */
  --paper: #ffffff;        /* cards, header */
  --ink: #16211b;          /* main text */
  --muted: #5d6a62;        /* secondary text */
  --line: #dcded8;         /* hairlines */
  --gold: #a8843a;         /* small accent */
  --red: #b3261e;          /* emergency */
  --wa: #14803f;           /* WhatsApp */
  --footer: #0a2e19;       /* footer + top bar */
  --base: 17px;            /* base text size */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* ---- FONTS ---- */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* ---- SHAPE ---- */
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 24px 48px -30px rgba(10, 59, 29, .35);

  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: var(--base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}

.fhl *, .fhl *::before, .fhl *::after { box-sizing: border-box; }
:where(.fhl) img { max-width: 100%; display: block; }
:where(.fhl) a { color: inherit; text-decoration: none; }
:where(.fhl) :is(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.fhl) :is(ul, ol) { list-style: none; }
:where(.fhl) button { font: inherit; cursor: pointer; }
:where(.fhl) summary { cursor: pointer; }
.fhl :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
html { scroll-behavior: smooth; }
.fhl ::selection { background: var(--green); color: #fff; }

.fh-wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.fh-section { padding: clamp(64px, 8vw, 112px) 0; scroll-margin-top: 84px; }
.fh-alt { background: var(--ivory); }
.fh-dark { color: rgba(255, 255, 255, .8); }

/* ---------- Typography ---------- */
.fh-h1, .fh-h2 { text-wrap: balance; }
:where(.fhl) p { text-wrap: pretty; }
.fh-h1, .fh-h2, .fh-h3 { font-family: var(--font-display); font-weight: 500; color: var(--green-deep); letter-spacing: -.015em; line-height: 1.1; }
.fh-h1 { font-size: clamp(44px, 6.1vw, 84px); letter-spacing: -.032em; line-height: 1; }
.fh-h2 { font-size: clamp(32px, 3.8vw, 48px); }
.fh-h3 { font-size: 23px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.fh-dark .fh-h2, .fh-dark .fh-h3 { color: #fff; }
.fh-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 56ch; }
.fh-dark .fh-lead { color: rgba(255, 255, 255, .78); }
.fh-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.fh-kicker::before { content: ""; width: 30px; height: 2px; background: var(--gold); }
.fh-dark .fh-kicker { color: #d9c28a; }
.fh-head { max-width: 680px; margin-bottom: 52px; }
.fh-head.center { margin-inline: auto; text-align: center; }
.fh-head.center .fh-kicker { justify-content: center; }
.fh-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.fh-dark .fh-head p { color: rgba(255, 255, 255, .72); }

/* ---------- Buttons ---------- */
.fh-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: var(--radius); font-weight: 600; font-size: 15.5px; border: 1.5px solid transparent; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); transform: translate(var(--tx, 0px), var(--ty, 0px)); white-space: nowrap; line-height: 1.2; letter-spacing: .005em; }
.fh-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sweep, var(--green-deep)); transform: translateY(101%); transition: transform .5s var(--ease); }
.fh-btn:focus-visible::before { transform: none; }
@media (hover: hover) { .fh-btn:hover::before { transform: none; } }
.fh-btn svg { width: 19px; height: 19px; flex: none; transition: transform .4s var(--ease); }
@media (hover: hover) { .fh-btn:hover svg { transform: translateX(3px); } }
.fh-btn-green { background: var(--green); color: #fff; --sweep: var(--green-deep); }
.fh-btn-wa { background: var(--wa); color: #fff; --sweep: color-mix(in srgb, var(--wa) 72%, #000); }
.fh-btn-red { background: var(--red); color: #fff; --sweep: color-mix(in srgb, var(--red) 72%, #000); }
.fh-btn-line { border-color: var(--green); color: var(--green); background: transparent; --sweep: var(--green); }
@media (hover: hover) { .fh-btn-line:hover { color: #fff; } }
.fh-btn-white { background: #fff; color: var(--green-deep); --sweep: var(--green-soft); }
.fh-btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; --sweep: #fff; }
@media (hover: hover) { .fh-btn-ghost:hover { color: var(--green-deep); border-color: #fff; } }

/* ---------- Top bar ---------- */
.fh-util { background: var(--footer); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.fh-util .fh-wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.fh-util span, .fh-util a { display: inline-flex; align-items: center; gap: 8px; }
@media (hover: hover) { .fh-util a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
.fh-util b { color: #fff; font-weight: 600; }
.fh-util .grp { display: flex; gap: 26px; flex-wrap: wrap; }
.fh-util svg { width: 15px; height: 15px; opacity: .8; }
.fh-util .live { width: 8px; height: 8px; border-radius: 50%; background: #4cc38a; }

/* ---------- Header ---------- */
.fh-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.fh-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 86px; transition: height .4s var(--ease); }
.fh-header { transition: box-shadow .4s; }
.fh-header.is-stuck { box-shadow: 0 14px 30px -24px rgba(10, 59, 29, .5); }
.fh-header.is-stuck .fh-nav { height: 68px; }
.fh-header.is-stuck .fh-brand img { width: 44px; height: 44px; }
.fh-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.fh-brand { display: flex; align-items: center; gap: 14px; flex: none; }
.fh-brand img { width: 56px; height: 56px; object-fit: contain; transition: width .4s var(--ease), height .4s var(--ease); }
.fh-brand strong { display: block; font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.05; color: var(--green-deep); letter-spacing: -.01em; }
.fh-brand small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.fh-menu { display: flex; align-items: center; gap: 6px; }
.fh-menu a { white-space: nowrap; padding: 10px 13px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
@media (hover: hover) { .fh-menu a:hover, .fh-menu a.is-active { color: var(--green); border-color: var(--gold); } }
.fh-nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.fh-nav-cta .fh-btn { padding: 12px 22px; font-size: 14.5px; }
.fh-burger { display: none; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; }
.fh-burger span, .fh-burger span::before, .fh-burger span::after { display: block; width: 20px; height: 2px; background: var(--green-deep); position: relative; transition: transform .25s, background .25s; }
.fh-burger span::before, .fh-burger span::after { content: ""; position: absolute; left: 0; }
.fh-burger span::before { top: -6px; }
.fh-burger span::after { top: 6px; }
.fh-burger[aria-expanded="true"] span { background: transparent; }
.fh-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.fh-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.fh-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ivory); padding: clamp(44px, 6vw, 84px) 0 clamp(96px, 10vw, 140px); }
.fh-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.fh-hero h1 { margin-bottom: 24px; }
.fh-hero .fh-lead { margin-bottom: 34px; }
.fh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fh-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--green-deep); }
.fh-trust span { display: inline-flex; align-items: center; gap: 9px; }
.fh-trust span::before { content: ""; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5a2a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.fh-hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4.5; box-shadow: var(--shadow); background: var(--green-soft); }
.fh-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: translate3d(0, var(--py, 0px), 0); scale: 1.1; }
.fh-hero-photo .tag { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 14px 24px 14px 22px; font-size: 14px; font-weight: 600; color: var(--green-deep); border-top-right-radius: var(--radius-lg); }
.fh-hero-photo .tag small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* ---------- Quick access ---------- */
.fh-quick { margin-top: -66px; position: relative; z-index: 3; }
.fh-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.fh-q { display: flex; gap: 18px; align-items: center; padding: 28px 30px; border-left: 1px solid var(--line); transition: background .2s; }
.fh-q:first-child { border-left: 0; }
@media (hover: hover) { .fh-q:hover { background: var(--ivory); } }
.fh-q .ic { width: 56px; height: 56px; border-radius: var(--radius); background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.fh-q .ic svg { width: 27px; height: 27px; }
.fh-q.is-red .ic { background: #fbe9e7; color: var(--red); }
.fh-q strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--green-deep); }
.fh-q small { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.4; margin-top: 3px; }
.fh-q .go { margin-left: auto; color: var(--green); font-size: 22px; transition: transform .2s; }
@media (hover: hover) { .fh-q:hover .go { transform: translateX(4px); } }

/* ---------- Facts ---------- */
.fh-stats { padding: clamp(56px, 7vw, 88px) 0 0; }
.fh-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fh-stat { padding: 6px 30px; border-left: 1px solid var(--line); }
.fh-stat:first-child { border-left: 0; padding-left: 0; }
.fh-stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(42px, 4.8vw, 62px); line-height: 1; letter-spacing: -.03em; color: var(--green); }
.fh-stat span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.5; max-width: 26ch; }

/* ---------- About ---------- */
.fh-about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.fh-about-photo .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.fh-about-photo .main img { width: 100%; height: 100%; object-fit: cover; }
.fh-about-photo figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.fh-about .fh-h2 { margin-bottom: 24px; }
.fh-about p { color: var(--muted); }
.fh-about p + p { margin-top: 16px; }
.fh-values { margin-top: 32px; border-top: 1px solid var(--line); }
.fh-value { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fh-value .ic { width: 26px; height: 26px; color: var(--green); flex: none; margin-top: 2px; }
.fh-value svg { width: 26px; height: 26px; }
.fh-value strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--green-deep); line-height: 1.25; }
.fh-value span { color: var(--muted); font-size: 15.5px; }

/* ---------- Departments (hairline grid) ---------- */
.fh-dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.fh-dept { display: flex; flex-direction: column; gap: 12px; padding: 36px 32px 30px; box-shadow: inset -1px -1px 0 var(--line); transition: background .25s; }
@media (hover: hover) { .fh-dept:hover { background: var(--ivory); } }
.fh-dept .ic { color: var(--green); margin-bottom: 6px; }
.fh-dept .ic svg { width: 36px; height: 36px; }
.fh-dept p { color: var(--muted); font-size: 15.5px; flex: 1; }
.fh-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.fh-tags span { border: 1px solid var(--line); border-radius: 3px; padding: 3px 10px; font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--paper); }
.fh-dept a:not(.fh-btn) { margin-top: 10px; font-weight: 600; font-size: 15px; color: var(--green); display: inline-flex; gap: 8px; align-items: center; }
.fh-dept a:not(.fh-btn)::after { content: "→"; transition: transform .2s; }
@media (hover: hover) { .fh-dept a:not(.fh-btn):hover::after { transform: translateX(4px); } }
.fh-dept.is-emergency { box-shadow: inset 0 4px 0 var(--red), inset -1px -1px 0 var(--line); }
.fh-dept.is-emergency .ic { color: var(--red); }
.fh-extra { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; color: var(--muted); font-size: 15.5px; }
.fh-extra .pill { padding: 6px 16px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--green-deep); font-weight: 600; font-size: 14px; }

/* ---------- Diagnostics feature (dark) ---------- */
.fh-spot { background: var(--green-deep); }
.fh-spot-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.fh-spot .fh-h2 { margin-bottom: 22px; }
.fh-feats { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .18); }
.fh-feat { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.fh-feat strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: #fff; line-height: 1.25; }
.fh-feat span { font-size: 15.5px; color: rgba(255, 255, 255, .72); }
.fh-spot .fh-actions { margin-top: 34px; }

/* ---------- Facilities gallery ---------- */
.fh-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.fh-tile { display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.fh-tile .cap { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--green-deep); }
.fh-tile .cap small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14.5px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.fh-tile.wide { grid-column: span 2; }
.fh-note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.fh-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 20, 13, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.fh-lb.open { display: flex; }
.fh-lb figure { max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.fh-lb img { max-height: 78vh; width: auto; border-radius: var(--radius); object-fit: contain; }
.fh-lb figcaption { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.fh-lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 24px; display: grid; place-items: center; }
@media (hover: hover) { .fh-lb button:hover { background: rgba(255, 255, 255, .15); } }
.fh-lb .x { top: 18px; right: 18px; }
.fh-lb .prev { left: 18px; top: 50%; transform: translateY(-50%); }
.fh-lb .next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Patient information ---------- */
.fh-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.fh-journey { margin-top: 34px; border-top: 1px solid var(--line); counter-reset: j; }
.fh-step { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: j; }
.fh-step::before { content: counter(j, decimal-leading-zero); font-family: var(--font-display); font-size: 30px; font-weight: 500; line-height: 1; color: var(--gold); }
.fh-step strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--green-deep); line-height: 1.25; }
.fh-step span { color: var(--muted); font-size: 15.5px; }
.fh-bring { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fh-bring b { font-weight: 700; font-size: 14px; color: var(--green-deep); margin-right: 6px; }
.fh-bring span.pill { padding: 5px 13px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); font-size: 14px; font-weight: 500; color: var(--green-deep); }
.fh-faqs { margin-top: 34px; border-top: 1px solid var(--line); }
.fh-faq { border-bottom: 1px solid var(--line); }
.fh-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--green-deep); }
.fh-faq summary::-webkit-details-marker { display: none; }
.fh-faq summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 300; font-size: 28px; line-height: 1; color: var(--green); transition: transform .25s; }
.fh-faq[open] summary::after { content: "–"; }
.fh-faq p { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; }

/* ---------- Appointment ---------- */
.fh-book { background: var(--green-soft); }
.fh-book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.fh-book .fh-lead { margin-top: 18px; }
.fh-steps { margin-top: 30px; display: grid; gap: 16px; counter-reset: s; }
.fh-steps li { display: flex; gap: 16px; align-items: flex-start; color: var(--ink); }
.fh-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.fh-callbox { margin-top: 30px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 4px; }
.fh-callbox small { color: var(--muted); font-size: 14px; }
.fh-callbox a { font-family: var(--font-display); font-size: 32px; font-weight: 500; color: var(--green-deep); letter-spacing: -.02em; }
.fh-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 42px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fh-field { display: grid; gap: 7px; }
.fh-field.full { grid-column: 1 / -1; }
.fh-field label { font-weight: 600; font-size: 14px; color: var(--green-deep); }
.fh-field label i { color: var(--red); font-style: normal; }
.fh-field input, .fh-field select, .fh-field textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 15px; border: 1px solid #c9cdc6; border-radius: var(--radius); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.fh-field textarea { min-height: 100px; resize: vertical; }
.fh-field input:focus, .fh-field select:focus, .fh-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 16%, transparent); }
.fh-field input.bad, .fh-field select.bad { border-color: var(--red); }
.fh-form .fh-btn { width: 100%; padding: 17px; font-size: 16.5px; }
.fh-form .hint { grid-column: 1 / -1; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Contact ---------- */
.fh-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.fh-cards { border-top: 1px solid var(--line); align-self: start; }
.fh-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fh-card .ic { color: var(--green); flex: none; }
.fh-card small { display: block; color: var(--muted); font-size: 13.5px; }
.fh-card strong, .fh-card a { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--green-deep); line-height: 1.3; }
@media (hover: hover) { .fh-card a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; } }
.fh-cards + .fh-btn, .fh-contact-grid .fh-btn { margin-top: 26px; }
.fh-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 460px; background: var(--green-soft); }
.fh-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- Call to action ---------- */
.fh-cta { padding: clamp(56px, 7vw, 88px) 0; background: var(--green); color: #fff; }
.fh-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.fh-cta h2 { color: #fff; max-width: 620px; }
.fh-cta p { margin-top: 14px; color: rgba(255, 255, 255, .85); max-width: 54ch; font-size: 18px; }

/* ---------- Footer ---------- */
.fh-footer { position: relative; overflow: hidden; background: var(--footer); color: rgba(255, 255, 255, .7); padding: 76px 0 0; font-size: 15.5px; }
.fh-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 60px; }
.fh-foot-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.fh-foot-brand img { width: 60px; height: 60px; object-fit: contain; filter: brightness(0) invert(1); }
.fh-foot-brand strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: #fff; line-height: 1.05; }
.fh-foot-brand small { color: rgba(255, 255, 255, .55); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fh-footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.fh-footer li + li { margin-top: 12px; }
@media (hover: hover) { .fh-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; } }
.fh-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.fh-foot-bottom .fh-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.fh-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; gap: 12px; justify-items: end; }
.fh-wa { display: inline-flex; align-items: center; background: var(--wa); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
@media (hover: hover) { .fh-wa:hover { background: color-mix(in srgb, var(--wa) 82%, #000); } }
.fh-wa svg { width: 26px; height: 26px; }
.fh-callfab { display: none; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff; place-items: center; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.fh-callfab svg { width: 24px; height: 24px; }

/* ---------- Reveal (subtle) ---------- */
.fh-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.fh-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fhl *, .fhl *::before, .fhl *::after { transition: none !important; scroll-behavior: auto !important; }
  .fh-reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1060px) {
  .fh-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; display: none; box-shadow: 0 30px 40px -28px rgba(0, 0, 0, .3); }
  .fh-menu.open { display: flex; }
  .fh-menu a { padding: 15px 2px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .fh-burger { display: inline-flex; }
  .fh-nav-cta .fh-btn-red { display: none; }
  .fh-hero-grid, .fh-about-grid, .fh-book-grid, .fh-contact-grid, .fh-visit-grid, .fh-spot-grid { grid-template-columns: 1fr; }
  .fh-hero-photo { aspect-ratio: 16 / 10; }
  .fh-about-photo { max-width: 560px; }
  .fh-quick-grid { grid-template-columns: 1fr; }
  .fh-q { border-left: 0; border-top: 1px solid var(--line); }
  .fh-q:first-child { border-top: 0; }
  .fh-dept-grid { grid-template-columns: repeat(2, 1fr); }
  .fh-gallery { grid-template-columns: repeat(2, 1fr); }
  .fh-foot-grid { grid-template-columns: 1fr 1fr; }
  .fh-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .fh-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .fh-util .grp:last-child { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .fhl { font-size: calc(var(--base) - 1px); }
  .fh-wrap { width: min(1200px, 100% - 36px); }
  .fh-nav { height: 72px; }
  .fh-brand img { width: 46px; height: 46px; }
  .fh-brand strong { font-size: 20px; }
  .fh-brand small { display: none; }
  .fh-nav-cta .fh-btn-green { display: none; }
  .fh-util .grp { gap: 14px; }
  .fh-actions .fh-btn { flex: 1 1 100%; }
  .fh-quick { margin-top: -50px; }
  .fh-q { padding: 22px 20px; }
  .fh-dept-grid { grid-template-columns: 1fr; }
  .fh-dept { padding: 30px 24px 26px; }
  .fh-gallery { gap: 22px 14px; }
  .fh-tile .cap { font-size: 17px; }
  .fh-wa:hover { width: 58px; }
  .fh-wa:hover span { opacity: 0; }
  .fh-tile .cap small { font-size: 13px; }
  .fh-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .fh-foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .fh-stat { padding: 6px 18px; }
  .fh-callfab { display: grid; }
  .fh-cta-in .fh-actions { width: 100%; }
}


/* ==========================================================
   INTERACTION LAYER (motion, hover, reveal)
   ========================================================== */
@keyframes fh-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fh-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes fh-settle { from { scale: 1.28; } to { scale: 1.1; } }
.fh-hero .fh-kicker, .fh-hero h1, .fh-hero .fh-lead, .fh-hero .fh-actions, .fh-hero .fh-trust { animation: fh-up .95s var(--ease) both; }
.fh-hero .fh-kicker { animation-delay: .05s; }
.fh-hero h1 { animation-delay: .15s; }
.fh-hero .fh-lead { animation-delay: .32s; }
.fh-hero .fh-actions { animation-delay: .44s; }
.fh-hero .fh-trust { animation-delay: .56s; }
.fh-hero-photo { animation: fh-wipe 1.35s var(--ease) .2s both; }
.fh-hero-photo img { animation: fh-settle 2.4s var(--ease) .2s both; }
.fh-hero-photo .tag { animation: fh-up .8s var(--ease) 1.05s both; }

/* scroll reveals */
.fh-reveal { transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fh-reveal .fh-kicker::before { width: 0; transition: width .9s var(--ease) .25s; }
.fh-reveal.in .fh-kicker::before { width: 30px; }
.fh-wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.fh-wipe.in { clip-path: inset(0 0 0 0); }
.fh-stagger:not(.in) > * { opacity: 0; }
.fh-stagger.in > * { animation: fh-up .85s var(--ease) both; }
.fh-stagger.in > *:nth-child(2) { animation-delay: .07s; } .fh-stagger.in > *:nth-child(3) { animation-delay: .14s; }
.fh-stagger.in > *:nth-child(4) { animation-delay: .21s; } .fh-stagger.in > *:nth-child(5) { animation-delay: .28s; }
.fh-stagger.in > *:nth-child(6) { animation-delay: .35s; } .fh-stagger.in > *:nth-child(7) { animation-delay: .42s; }
.fh-stagger.in > *:nth-child(8) { animation-delay: .49s; } .fh-stagger.in > *:nth-child(9) { animation-delay: .56s; }
.fh-stagger.in > *:nth-child(n+10) { animation-delay: .63s; }

/* quick access: colour floods in */
.fh-q { position: relative; overflow: hidden; isolation: isolate; transition: color .4s; }
.fh-q::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-deep); transform: translateY(101%); transition: transform .55s var(--ease); }
.fh-q.is-red::before { background: var(--red); }
@media (hover: hover) { .fh-q:hover::before { transform: none; } }
.fh-q strong, .fh-q small, .fh-q .ic { transition: color .4s, background .4s; }
@media (hover: hover) { .fh-q:hover strong { color: #fff; } }
@media (hover: hover) { .fh-q:hover small { color: rgba(255, 255, 255, .78); } }
@media (hover: hover) { .fh-q:hover .ic { background: rgba(255, 255, 255, .14); color: #fff; } }
.fh-q .go { transition: transform .45s var(--ease), color .4s; }
@media (hover: hover) { .fh-q:hover .go { color: #fff; transform: translateX(8px); } }

/* values + steps + cards: gentle shift */
.fh-value { transition: padding-left .45s var(--ease); }
@media (hover: hover) { .fh-value:hover { padding-left: 12px; } }
.fh-value .ic { transition: color .35s; }
@media (hover: hover) { .fh-value:hover .ic { color: var(--gold); } }
.fh-step { transition: padding-left .45s var(--ease); }
.fh-step::before { transition: color .35s; }
@media (hover: hover) { .fh-step:hover { padding-left: 10px; } }
@media (hover: hover) { .fh-step:hover::before { color: var(--green); } }
.fh-about-photo .main { background: var(--green-soft); }
.fh-about-photo .main img { transform: translate3d(0, var(--py, 0px), 0); scale: 1.1; transition: scale 1.4s var(--ease); }
@media (hover: hover) { .fh-about-photo:hover .main img { scale: 1.14; } }

/* departments: fill rises, gold line draws, index number */
.fh-dept-grid { counter-reset: d; }
.fh-dept { position: relative; overflow: hidden; isolation: isolate; counter-increment: d; transition: color .4s; }
@media (hover: hover) { .fh-dept:hover { background: var(--paper); } }
.fh-dept::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-deep); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
@media (hover: hover) { .fh-dept:hover::before { transform: scaleY(1); } }
.fh-dept::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease) .08s; }
@media (hover: hover) { .fh-dept:hover::after { transform: scaleX(1); } }
.fh-dept .ic::after { content: counter(d, decimal-leading-zero); position: absolute; top: 38px; right: 32px; font-family: var(--font-display); font-size: 16px; color: var(--muted); letter-spacing: .04em; transition: color .4s; }
.fh-dept .ic svg { transition: transform .6s var(--ease), color .4s; }
@media (hover: hover) { .fh-dept:hover .ic svg { transform: translateY(-5px) scale(1.08); } }
.fh-dept .fh-h3, .fh-dept p, .fh-tags span, .fh-dept a:not(.fh-btn) { transition: color .4s, border-color .4s, background .4s; }
@media (hover: hover) { .fh-dept:hover .fh-h3 { color: #fff; } }
@media (hover: hover) { .fh-dept:hover p { color: rgba(255, 255, 255, .78); } }
@media (hover: hover) { .fh-dept:hover .ic, .fh-dept:hover .ic::after { color: #e3cb8c; } }
@media (hover: hover) { .fh-dept:hover .fh-tags span { background: transparent; border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .86); } }
@media (hover: hover) { .fh-dept:hover a:not(.fh-btn) { color: #fff; } }
@media (hover: hover) { .fh-dept.is-emergency:hover .ic { color: #ff9c93; } }

/* diagnostics explorer */
.fh-spot-view { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.5; background: var(--footer); }
.fh-spot-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.08; pointer-events: none; transition: opacity .8s var(--ease), scale 1.6s var(--ease); }
.fh-spot-view img.is-on { opacity: 1; scale: 1; pointer-events: auto; }
.fh-spot-view .vlabel { position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--green-deep); padding: 13px 24px 13px 22px; font-weight: 700; font-size: 14.5px; border-top-right-radius: var(--radius-lg); opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .6s var(--ease); }
.fh-spot-view .vlabel.is-on { opacity: 1; transform: none; transition-delay: .15s; }
.fh-feat { position: relative; padding: 20px 0 20px 30px; cursor: pointer; opacity: .55; transition: opacity .45s, padding-left .55s var(--ease); }
.fh-feat::before { content: ""; position: absolute; left: 0; top: 31px; width: 12px; height: 2px; background: rgba(255, 255, 255, .55); transition: width .55s var(--ease), background .4s; }
.fh-feat.is-on { opacity: 1; padding-left: 50px; }
.fh-feat.is-on::before { width: 34px; background: var(--gold); }

/* gallery */
.fh-tile { position: relative; }
.fh-tile .pic { display: block; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-soft); }
.fh-tile .pic img { display: block; width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; transition: scale 1.2s var(--ease); scale: 1; }
@media (hover: hover) { .fh-tile:hover .pic img { scale: 1.08; } }
.fh-tile .pic::after { content: ""; position: absolute; inset: 0; background: var(--green-deep); opacity: 0; transition: opacity .5s; pointer-events: none; }
@media (hover: hover) { .fh-tile:hover .pic::after { opacity: .22; } }
.fh-tile .view { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--green-deep); display: grid; place-items: center; opacity: 0; transform: scale(.5) rotate(-45deg); transition: opacity .4s, transform .55s var(--ease); pointer-events: none; }
.fh-tile .view svg { width: 20px; height: 20px; }
@media (hover: hover) { .fh-tile:hover .view { opacity: 1; transform: none; } }
.fh-tile::after { content: ""; display: block; height: 2px; width: 0; background: var(--gold); transition: width .7s var(--ease); margin-top: -4px; }
@media (hover: hover) { .fh-tile:hover::after { width: 100%; } }

/* contact cards */
.fh-card { transition: padding-left .45s var(--ease); }
@media (hover: hover) { .fh-card:hover { padding-left: 12px; } }
.fh-card .ic { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; margin-top: 0; transition: background .4s, color .4s, border-color .4s; }
.fh-card .ic svg { width: 22px; height: 22px; }
@media (hover: hover) { .fh-card:hover .ic { background: var(--green); color: #fff; border-color: var(--green); } }

/* footer links + back to top */
.fh-footer li a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; padding-bottom: 2px; text-decoration: none !important; }
@media (hover: hover) { .fh-footer li a:hover { background-size: 100% 1px; color: #fff; } }
.fh-foot-bottom a { color: rgba(255, 255, 255, .75); font-weight: 600; transition: color .3s, transform .3s var(--ease); display: inline-block; }
@media (hover: hover) { .fh-foot-bottom a:hover { color: #fff; transform: translateY(-3px); } }

/* floating WhatsApp expands on hover */
.fh-wa { width: 58px; height: 58px; padding: 0; gap: 0; justify-content: flex-start; overflow: hidden; border-radius: 999px; transition: width .55s var(--ease), background .3s; }
.fh-wa svg { flex: none; margin-left: 16px; margin-right: 12px; }
.fh-wa span { white-space: nowrap; padding-right: 24px; opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .fh-wa:hover { width: 222px; } }
@media (hover: hover) { .fh-wa:hover span { opacity: 1; transition-delay: .12s; } }

/* form fields */
.fh-field label { transition: color .25s; }
.fh-field:focus-within label { color: var(--green); }

@media (prefers-reduced-motion: reduce) {
  .fh-hero .fh-kicker, .fh-hero h1, .fh-hero .fh-lead, .fh-hero .fh-actions, .fh-hero .fh-trust, .fh-hero-photo, .fh-hero-photo img, .fh-hero-photo .tag { animation: none !important; }
  .fh-wipe { clip-path: none; }
  .fh-stagger:not(.in) > * { opacity: 1; }
  .fh-stagger.in > * { animation: none; }
  .fh-reveal .fh-kicker::before { width: 30px; }
}


/* ==========================================================
   MOVING SECTIONS
   ========================================================== */
/* hero: rings + floating cards */
.fh-hero-media { position: relative; }
.fh-rings { position: absolute; z-index: -1; left: 50%; top: 50%; width: 116%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); fill: none; stroke: var(--green); stroke-width: 1; opacity: .22; animation: fh-spin 90s linear infinite; pointer-events: none; }
@keyframes fh-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.fh-float-card { position: absolute; z-index: 3; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 22px 14px 20px; box-shadow: var(--shadow); animation: fh-up .9s var(--ease) 1.2s both, fh-bob 7s ease-in-out 2.2s infinite; }
.fh-float-card b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--green-deep); letter-spacing: -.01em; }
.fh-float-card span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.fh-float-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--gold); border-radius: 2px; }
.fh-float-card.c1 { right: -22px; top: 12%; }
.fh-float-card.c2 { left: -30px; top: 55%; animation-delay: 1.4s, 3s; }
@keyframes fh-bob { 50% { transform: translateY(-12px); } }

/* heartbeat line draws itself */
.fh-pulse { display: block; width: min(1200px, 100% - 48px); height: 54px; margin: 0 auto 38px; overflow: visible; }
.fh-pulse path { fill: none; stroke: var(--green); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3s var(--ease); }
.fh-draw.in path { stroke-dashoffset: 0; }

/* services band: two opposite marquees */
.fh-strip { margin-top: clamp(56px, 7vw, 92px); background: var(--green-deep); padding: 38px 0 36px; overflow: hidden; display: grid; gap: 22px; }
.fh-marquee { display: flex; width: max-content; animation: fh-marq 70s linear infinite; }
.fh-marquee.rev { animation-direction: reverse; animation-duration: 85s; }
@media (hover: hover) { .fh-strip:hover .fh-marquee { animation-play-state: paused; } }
.fh-marquee .row { display: flex; flex: none; }
.fh-marquee span { display: inline-flex; align-items: center; gap: 46px; padding-right: 46px; white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.02em; line-height: 1.15; color: #fff; transition: color .3s; }
@media (hover: hover) { .fh-marquee span:hover { color: #e3cb8c; } }
.fh-marquee span::after { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; }
.fh-marquee.small span { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); gap: 40px; padding-right: 40px; }
.fh-marquee.small span::after { width: 5px; height: 5px; border-radius: 50%; transform: none; background: rgba(255, 255, 255, .35); }
@keyframes fh-marq { to { transform: translateX(-50%); } }

/* statement fills in as you scroll */
.fh-statement-sec { background: var(--paper); }
.fh-statement { --fill: 100; font-family: var(--font-display); font-weight: 500; font-size: clamp(29px, 4.1vw, 58px); line-height: 1.22; letter-spacing: -.02em; max-width: 24em; background: linear-gradient(180deg, var(--green-deep) calc(var(--fill) * 1% - 14%), color-mix(in srgb, var(--green-deep) 17%, transparent) calc(var(--fill) * 1% + 14%)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* care timeline lights up on scroll */
.fh-journey { position: relative; padding-left: 36px; }
.fh-journey::before, .fh-journey::after { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; }
.fh-journey::before { background: var(--line); }
.fh-journey::after { background: var(--green); transform-origin: 50% 0; transform: scaleY(var(--jp, 0)); }
.fh-step { position: relative; }
.fh-step::after { content: ""; position: absolute; left: -35px; top: 31px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); transition: background .5s, border-color .5s, box-shadow .5s; }
.fh-step.is-lit::after { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--green) 14%, transparent); }
.fh-step.is-lit::before { color: var(--green); }

/* gallery cursor */
.fh-cursor { position: fixed; left: 0; top: 0; z-index: 95; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; opacity: 0; scale: .3; transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0); transition: opacity .3s, scale .5s var(--ease); }
.fh-cursor.on { opacity: 1; scale: 1; }
@media (hover: hover) { .fh-tile .view { display: none; } }

/* footer watermark slides with scroll */
.fh-giant { position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(52px, 13.4vw, 200px); line-height: .82; letter-spacing: -.04em; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); user-select: none; margin: 0 0 -.06em; transform: translate3d(var(--sx, 0vw), 0, 0); }

@media (max-width: 1060px) {
  .fh-rings { width: 112%; }
  .fh-float-card.c1 { right: -6px; }
  .fh-float-card.c2 { left: -6px; }
}
@media (max-width: 640px) {
  .fh-float-card { padding: 10px 16px 10px 15px; }
  .fh-float-card b { font-size: 19px; }
  .fh-float-card span { font-size: 12px; }
  .fh-float-card.c1 { top: 5%; right: 4px; }
  .fh-float-card.c2 { top: 34%; left: 4px; }
  .fh-journey { padding-left: 30px; }
  .fh-step::after { left: -29px; }
  .fh-marquee span { gap: 30px; padding-right: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .fh-rings, .fh-float-card, .fh-marquee { animation: none !important; }
  .fh-pulse path { stroke-dashoffset: 0; }
  .fh-statement { --fill: 100 !important; }
  .fh-strip { overflow-x: auto; }
}


/* ==========================================================
   TYPOGRAPHIC FINISH
   ========================================================== */
.fhl { font-optical-sizing: auto; font-kerning: normal; font-feature-settings: "kern", "liga", "calt"; }
.fhl em { font-style: italic; font-weight: inherit; }
.fh-h1 em, .fh-h2 em { color: var(--green); }
.fh-dark .fh-h2 em, .fh-cta .fh-h2 em { color: #e3cb8c; }
.fh-statement em { font-style: italic; }
.fh-stat b, .fh-float-card b, .fh-step::before, .fh-dept .ic::after { font-variant-numeric: lining-nums; font-feature-settings: "lnum"; }
.fh-skip { position: absolute; left: 16px; top: -64px; z-index: 300; background: var(--paper); color: var(--green-deep); padding: 12px 20px; border-radius: var(--radius); font-weight: 700; box-shadow: var(--shadow); transition: top .2s; }
.fh-skip:focus { top: 16px; }


/* ==========================================================
   ALL-DEVICE POLISH
   ========================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
.fhl a, .fhl button { -webkit-tap-highlight-color: color-mix(in srgb, var(--green) 14%, transparent); }
.fhl button, .fhl a.fh-btn, .fhl summary { touch-action: manipulation; }
.fh-dept-grid { scroll-margin-top: 110px; }

/* department finder */
.fh-find { max-width: 820px; margin: -8px 0 44px; }
.fh-find-box { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1.5px solid #c9cdc6; border-radius: var(--radius-lg); padding: 0 8px 0 20px; transition: border-color .25s, box-shadow .25s; }
.fh-find-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 14%, transparent); }
.fh-find-box svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.fh-find-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; padding: 19px 0; color: var(--ink); -webkit-appearance: none; appearance: none; }
.fh-find-box input::placeholder { color: #7b877f; }
.fh-find-box input::-webkit-search-cancel-button { display: none; }
.fh-find-clear { width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--muted); border-radius: 50%; }
.fh-find-clear:hover { background: var(--green-soft); }
.fh-find-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fh-chipbtn { min-height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--green-deep); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 14.5px; transition: background .25s, color .25s, border-color .25s; }
.fh-chipbtn:hover { border-color: var(--green); }
.fh-chipbtn.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.fh-find-msg { margin-top: 14px; min-height: 1.7em; font-size: 15.5px; color: var(--muted); }
.fh-dept { transition: color .4s, opacity .45s; }
.fh-dept.is-dim { opacity: .3; }
.fh-dept.is-match { outline: 2px solid var(--green); outline-offset: -2px; }

/* appointment form */
.fh-err { min-height: 0; font-size: 13.5px; font-weight: 600; color: #b3261e; }
.fh-err:empty { display: none; }
.fh-quickdates { display: flex; gap: 8px; margin-top: 2px; }
.fh-quickdates .fh-chipbtn { min-height: 36px; padding: 5px 14px; font-size: 13.5px; }
.fh-sent { grid-column: 1 / -1; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 30%, var(--line)); color: var(--ink); }
.fh-sent b { display: block; font-family: var(--font-display); font-size: 21px; color: var(--green-deep); margin-bottom: 6px; }
.fh-sent p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.fh-sent .fh-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.fh-sent[hidden] { display: none; }
.fh-field input:focus-visible, .fh-field select:focus-visible, .fh-field textarea:focus-visible { outline: none; }

/* privacy dialog */
.fh-dialog { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(620px, calc(100% - 32px)); max-height: calc(100% - 48px); background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.fh-dialog::backdrop { background: rgba(8, 20, 13, .66); }
.fh-dialog-in { padding: clamp(24px, 4vw, 38px); display: grid; gap: 14px; }
.fh-dialog p { color: var(--muted); font-size: 15.5px; }
.fh-dialog p b { color: var(--green-deep); }
.fh-dialog .fh-btn { justify-self: start; margin-top: 6px; }
.fh-foot-links { display: inline-flex; gap: 22px; flex-wrap: wrap; }
.fh-footer li a { display: inline-block; padding: 4px 0; }
.fh-foot-bottom a { padding: 8px 0; }

/* mobile action bar (phones + small tablets) */
.fh-dock { display: none; }

/* full-screen mobile menu */
.fh-menu-cta { display: none; }
.fh-brand, .fh-nav-cta { position: relative; z-index: 3; }
html.fh-lock { overflow: hidden; }

@media (max-width: 1060px) {
  .fh-menu { position: fixed; inset: 0; z-index: 2; background: var(--paper); padding: 118px 28px calc(28px + env(safe-area-inset-bottom)); gap: 0; align-items: stretch; overflow-y: auto; overscroll-behavior: contain; box-shadow: none; border: 0; flex-direction: column; }
  .fh-menu a:not(.fh-btn) { padding: 15px 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 7vw, 40px); letter-spacing: -.02em; color: var(--green-deep); border-bottom: 1px solid var(--line); }
  .fh-menu.open a:not(.fh-btn) { animation: fh-up .6s var(--ease) both; }
  .fh-menu.open a:nth-child(2) { animation-delay: .05s; } .fh-menu.open a:nth-child(3) { animation-delay: .1s; }
  .fh-menu.open a:nth-child(4) { animation-delay: .15s; } .fh-menu.open a:nth-child(5) { animation-delay: .2s; }
  .fh-menu.open a:nth-child(6) { animation-delay: .25s; }
  .fh-menu-cta { display: grid; gap: 10px; margin-top: 30px; }
  .fh-menu-cta .fh-btn { width: 100%; padding: 17px; font-size: 16.5px; }
  .fh-header.is-stuck { box-shadow: none; }
}

@media (max-width: 760px) {
  .fh-dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -14px 30px -22px rgba(0, 0, 0, .5); }
  .fh-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 62px; padding: 9px 4px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--green-deep); border-left: 1px solid var(--line); }
  .fh-dock a:first-child { border-left: 0; }
  .fh-dock svg { width: 22px; height: 22px; }
  .fh-dock a.is-red { background: var(--red); color: #fff; border-left-color: var(--red); }
  .fh-dock a:active { background: var(--green-soft); }
  .fh-dock a.is-red:active { background: color-mix(in srgb, var(--red) 80%, #000); }
  .fh-float { display: none; }
  .fh-foot-bottom { padding-bottom: calc(22px + 74px + env(safe-area-inset-bottom)); }
  .fh-nav-cta .fh-btn { display: none; }
  .fh-find-box input { font-size: 16px; padding: 17px 0; }
  .fh-find-chips { gap: 7px; }
  .fh-sent .fh-actions { grid-template-columns: 1fr; }
  .fh-quickdates .fh-chipbtn { min-height: 40px; }
}

@media (max-width: 420px) {
  .fh-h1 { font-size: clamp(38px, 11.4vw, 46px); }
  .fh-kicker { font-size: 11.5px; letter-spacing: .13em; }
  .fh-util .grp:first-child { gap: 12px; }
  .fh-util { font-size: 12.5px; }
  .fh-float-card b { font-size: 17px; }
  .fh-stat b { font-size: 40px; }
}

/* landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .fh-hero { padding-top: 32px; padding-bottom: 96px; }
  .fh-menu { padding-top: 90px; }
  .fh-menu a:not(.fh-btn) { font-size: 24px; padding: 10px 0; }
}

/* large screens */
@media (min-width: 1600px) {
  .fhl { --base: 18px; }
  .fh-wrap { width: min(1400px, 100% - 120px); }
  .fh-section { padding: 128px 0; }
}
@media (min-width: 2200px) {
  .fhl { --base: 20px; }
  .fh-wrap { width: min(1680px, 100% - 200px); }
}

/* nav fit between 1061px and 1260px */
@media (min-width: 1061px) and (max-width: 1260px) {
  .fh-nav { gap: 14px; }
  .fh-menu { gap: 2px; }
  .fh-menu a { padding: 10px 10px; font-size: 14.5px; }
  .fh-nav-cta .fh-btn-green { display: none; }
}
/* long words never break the layout */
.fh-card > div, .fh-value > div, .fh-step > div, .fh-q > div { min-width: 0; }
.fh-card a, .fh-card strong, .fh-footer li, .fh-callbox a { overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .fh-card strong, .fh-card a { font-size: 17px; }
  .fh-card { gap: 14px; }
  .fh-callbox a { font-size: 27px; }
}

@media (min-width: 1261px) and (max-width: 1599px) {
  .fh-nav { gap: 16px; }
  .fh-menu { gap: 2px; }
  .fh-menu a { padding: 10px 11px; }
}

/* comfortable tap targets on touch screens */
@media (pointer: coarse) {
  .fh-dept a:not(.fh-btn) { min-height: 44px; }
  .fh-card a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; }
  .fh-util a { padding: 13px 0; }
  .fh-footer li + li { margin-top: 0; }
  .fh-footer li a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
  .fh-footer li:not(:has(a)) { padding: 10px 0; }
  .fh-foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
  .fh-menu a:not(.fh-btn) { min-height: 56px; }
  .fh-find-chips .fh-chipbtn, .fh-quickdates .fh-chipbtn { min-height: 44px; }
  .fh-faq summary { min-height: 56px; }
}

/* mobile menu buttons keep their own colours */
@media (max-width: 1060px) {
  .fh-menu .fh-btn { padding: 17px; font-size: 16.5px; border-bottom: 1.5px solid transparent; font-family: var(--font-body); letter-spacing: .005em; }
  .fh-menu .fh-btn-red, .fh-menu .fh-btn-wa, .fh-menu .fh-btn-green { color: #fff; }
}
@media (max-width: 480px) {
  .fh-util .hide-xs { display: none; }
  .fh-util .fh-wrap { flex-wrap: nowrap; }
  .fh-util .grp { gap: 12px; flex-wrap: nowrap; white-space: nowrap; }
}

.fh-util b span { display: inline; }
@media (max-width: 360px) {
  .fh-util .fh-wrap, .fh-util .grp { flex-wrap: wrap; row-gap: 0; }
  .fh-util a { padding: 6px 0; }
}


/* ==========================================================
   3D SCENES
   ========================================================== */
.fh-hero-grid { align-items: center; }

/* cinematic building scene: the photo tilts in 3D as you scroll */
.fh-scene { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.fh-scene .fh-pulse { margin-bottom: clamp(44px, 6vw, 72px); }
.fh-scene-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 56px); }
.fh-scene-head .fh-h2 { margin-bottom: 18px; }
.fh-scene-head p { color: var(--muted); font-size: 18px; max-width: 58ch; }
.fh-scene-stage { perspective: 1500px; perspective-origin: 50% 40%; }
.fh-scene-plane { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) scale(var(--sc, 1)); transform-origin: 50% 60%; will-change: transform; }
.fh-scene-img { width: 100%; height: auto; aspect-ratio: 21 / 10; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius-lg); box-shadow: 0 60px 90px -50px rgba(10, 59, 29, .6); }
.fh-scene .fh-stat { position: absolute; z-index: 2; padding: 18px 24px 16px; min-width: 200px; max-width: 250px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-lg); box-shadow: 0 34px 50px -30px rgba(10, 59, 29, .55); }
.fh-scene .fh-stat:first-child { padding-left: 24px; }
.fh-scene .fh-stat b { font-size: clamp(36px, 3.6vw, 52px); }
.fh-scene .fh-stat span { margin-top: 8px; font-size: 14px; max-width: none; }
.fh-scene .fh-stat.s1 { left: -2.5%; top: 9%; transform: translateZ(90px); }
.fh-scene .fh-stat.s2 { right: -2.5%; top: 5%; transform: translateZ(140px); }
.fh-scene .fh-stat.s3 { left: 5%; bottom: -9%; transform: translateZ(120px); }
.fh-scene .fh-stat.s4 { right: 6%; bottom: -11%; transform: translateZ(70px); }

/* department and timeline cards swing in with real depth */
.fh-dept-grid, .fh-journey, .fh-values { perspective: 1500px; }
@keyframes fh-flipin { from { opacity: 0; transform: rotateX(-40deg) translateY(50px) scale(.96); } to { opacity: 1; transform: none; } }
.fh-dept-grid.fh-stagger.in > *, .fh-journey.fh-stagger.in > * { animation-name: fh-flipin; transform-origin: 50% 100%; }

/* facilities: 3D ring carousel */
.fh-ringsec { overflow: hidden; }
.fh-ring-wrap { position: relative; perspective: 1700px; perspective-origin: 50% 46%; height: clamp(470px, 50vw, 620px); margin-top: 8px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.fh-ring-wrap.drag { cursor: grabbing; }
.fh-ring-wrap:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: var(--radius-lg); }
.fh-ring { --w: clamp(220px, 24vw, 310px); --h: calc(var(--w) * 1.34); --r: calc(var(--w) * 1.3); position: absolute; left: 50%; top: 46%; width: var(--w); height: var(--h); margin-left: calc(var(--w) / -2); margin-top: calc(var(--h) / -2); transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(var(--ry, 0deg)); }
.fh-ring .fh-tile { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 40px 60px -36px rgba(10, 59, 29, .6); transform: rotateY(calc(var(--i) * (360deg / var(--n)))) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: left; }
.fh-ring .fh-tile .pic { flex: 1; min-height: 0; }
.fh-ring .fh-tile .pic img { height: 100%; aspect-ratio: auto; }
.fh-ring .fh-tile .cap { padding: 0 6px; font-size: 19px; }
.fh-ring .fh-tile .cap small { font-size: 13.5px; }
.fh-ring .fh-tile::after { display: none; }
.fh-ring-wrap::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 1%; height: 9%; background: radial-gradient(closest-side, color-mix(in srgb, var(--green-deep) 26%, transparent), transparent); pointer-events: none; }
.fh-ring-ctl { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.fh-ring-ctl button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--green-deep); font-size: 26px; line-height: 1; transition: background .25s, color .25s, border-color .25s; }
.fh-ring-ctl button:active { background: var(--green); color: #fff; }
.fh-ring-hint { font-size: 14px; color: var(--muted); min-width: 170px; text-align: center; }

@media (max-width: 1060px) {
}
@media (max-width: 900px) {
  .fh-scene-plane { transform: rotateX(calc(var(--rx, 0deg) * .5)) scale(var(--sc, 1)); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .fh-scene-img { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .fh-scene .fh-stat, .fh-scene .fh-stat.s1, .fh-scene .fh-stat.s2, .fh-scene .fh-stat.s3, .fh-scene .fh-stat.s4 { position: static; transform: none; min-width: 0; max-width: none; padding: 16px 18px; }
  .fh-scene .fh-stat b { font-size: 38px; }
}
@media (max-width: 640px) {
  .fh-ring-wrap { height: 450px; perspective: 1100px; }
  .fh-ring { --w: 206px; }
  .fh-ring .fh-tile .cap { font-size: 17px; }
  .fh-ring-hint { min-width: 0; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .fh-scene-plane { transform: none !important; }
}
@media (hover: hover) { .fh-ring-ctl button:hover { background: var(--green-soft); border-color: var(--green); } }

/* keep the floating stat cards inside the screen at laptop and tablet widths */
.fh-scene .fh-stat.s1 { left: 0; }
.fh-scene .fh-stat.s2 { right: 0; }
@media (max-width: 1280px) {
  .fh-scene .fh-stat.s1 { transform: translateZ(60px); }
  .fh-scene .fh-stat.s2 { transform: translateZ(80px); }
  .fh-scene .fh-stat.s3 { transform: translateZ(70px); }
  .fh-scene .fh-stat.s4 { transform: translateZ(50px); }
}


/* ==========================================================
   FULL 3D LAYER
   ========================================================== */
/* hero: the photo scene turns in 3D with layered depth */
.fh-hero-media, .fh-duo { perspective: 1400px; perspective-origin: 50% 45%; }
.fh-hero-plane { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.fh-hero-plane .fh-float-card.c1 { translate: 0 0 120px; }
.fh-hero-plane .fh-float-card.c2 { translate: 0 0 160px; }
.fh-hero-plane .fh-rings, .fh-duo-plane .fh-rings { transform: translate(-50%, -50%) translateZ(-120px); animation-name: fh-spin3d; }
@keyframes fh-spin3d { to { transform: translate(-50%, -50%) translateZ(-120px) rotate(360deg); } }
.fh-hero-photo { transform: translateZ(0); }
.fh-hero-photo::before { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 38%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .30), transparent); animation: fh-scan 2.4s var(--ease) 1.5s 1 both; }
@keyframes fh-scan { from { transform: translateY(0); opacity: 1; } to { transform: translateY(420%); opacity: 0; } }
.fh-corners { position: absolute; inset: 16px; z-index: 3; pointer-events: none; opacity: .92; background:
  linear-gradient(#fff, #fff) 0 0 / 30px 2px no-repeat, linear-gradient(#fff, #fff) 0 0 / 2px 30px no-repeat,
  linear-gradient(#fff, #fff) 100% 0 / 30px 2px no-repeat, linear-gradient(#fff, #fff) 100% 0 / 2px 30px no-repeat,
  linear-gradient(#fff, #fff) 0 100% / 30px 2px no-repeat, linear-gradient(#fff, #fff) 0 100% / 2px 30px no-repeat,
  linear-gradient(#fff, #fff) 100% 100% / 30px 2px no-repeat, linear-gradient(#fff, #fff) 100% 100% / 2px 30px no-repeat;
  animation: fh-corners 1.3s var(--ease) 1.2s both; }
@keyframes fh-corners { from { inset: 56px; opacity: 0; } to { inset: 16px; opacity: .92; } }

/* cards tilt toward the pointer */
.fh-dept, .fh-callbox, .fh-about-photo .main, .fh-portrait .frame { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.fh-dept { transition: color .4s, opacity .45s, transform .55s var(--ease), box-shadow .55s var(--ease); }
.fh-callbox { transition: transform .55s var(--ease); }
.fh-about-photo .main, .fh-portrait .frame { transition: transform .6s var(--ease); }
.fh-stagger.in > * { animation-fill-mode: backwards; }
@media (hover: hover) {
  .fh-dept:hover { z-index: 3; box-shadow: inset -1px -1px 0 var(--line), 0 40px 60px -34px rgba(10, 59, 29, .55); }
  .fh-dept.is-emergency:hover { box-shadow: inset 0 4px 0 var(--red), inset -1px -1px 0 var(--line), 0 40px 60px -34px rgba(10, 59, 29, .55); }
}
.fh-about-photo::before { content: ""; position: absolute; left: -16px; top: -16px; right: 16px; bottom: 46px; border: 2px solid var(--gold); border-radius: var(--radius-lg); opacity: .75; pointer-events: none; }

/* buttons become tactile 3D keys */
.fh-btn { box-shadow: 0 4px 0 var(--edge, transparent), 0 18px 26px -16px rgba(10, 59, 29, .5); translate: 0 0; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), translate .14s ease, box-shadow .14s ease; }
.fh-btn:active { translate: 0 3px; box-shadow: 0 1px 0 var(--edge, transparent), 0 6px 10px -8px rgba(10, 59, 29, .5); }
.fh-btn-green { --edge: #06280f; }
.fh-btn-wa { --edge: #0a4a25; }
.fh-btn-red { --edge: #6e1510; }
.fh-btn-line { --edge: color-mix(in srgb, var(--green) 45%, transparent); }
.fh-btn-white { --edge: rgba(0, 0, 0, .28); }
.fh-btn-ghost { --edge: rgba(255, 255, 255, .22); box-shadow: 0 4px 0 var(--edge), 0 18px 26px -16px rgba(0, 0, 0, .5); }
.fh-chipbtn { box-shadow: 0 3px 0 var(--line); translate: 0 0; transition: background .25s, color .25s, border-color .25s, translate .12s, box-shadow .12s; }
.fh-chipbtn:active { translate: 0 2px; box-shadow: 0 1px 0 var(--line); }
.fh-chipbtn.is-on { box-shadow: 0 3px 0 var(--green-deep); }
.fh-dock a:active { translate: 0 2px; }

/* services band bends like a drum */
.fh-strip { perspective: 900px; perspective-origin: 50% 50%; }
.fh-marquee { rotate: x 13deg; transform-origin: 50% 100%; }
.fh-marquee.rev { rotate: x -13deg; transform-origin: 50% 0%; }

/* section headings swing up in 3D */
.fh-reveal { transform: perspective(1100px) rotateX(11deg) translateY(30px); transform-origin: 50% 100%; }
.fh-reveal.in { transform: none; }

/* photo viewer flips in */
@keyframes fh-lbin { from { opacity: 0; transform: perspective(1300px) rotateY(-26deg) scale(.9); } to { opacity: 1; transform: none; } }
.fh-lb.open img { animation: fh-lbin .65s var(--ease); }

/* footer lettering leans back in perspective */
.fh-giant { transform: perspective(900px) rotateX(24deg) translate3d(var(--sx, 0vw), 0, 0); transform-origin: 50% 100%; }

@media (max-width: 640px) {
  .fh-hero-plane .fh-float-card.c1 { translate: 0 0 70px; }
  .fh-hero-plane .fh-float-card.c2 { translate: 0 0 90px; }
  .fh-corners { inset: 12px; }
  .fh-about-photo::before { left: -8px; top: -10px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .fh-hero-photo::before, .fh-corners { animation: none !important; }
  .fh-marquee, .fh-marquee.rev { rotate: none; }
  .fh-reveal { transform: none; }
  .fh-giant { transform: translate3d(var(--sx, 0vw), 0, 0); }
}


/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.fh-menu a[aria-current="page"] { color: var(--green); border-color: var(--gold); }
.fh-pagehero { position: relative; isolation: isolate; overflow: hidden; background: var(--ivory); padding: clamp(48px, 6vw, 84px) 0 clamp(76px, 8vw, 116px); }
.fh-pagehero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.fh-crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.fh-crumbs a { color: var(--green); font-weight: 700; }
.fh-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fh-crumbs span::before { content: "/"; margin-right: 10px; opacity: .5; }
.fh-pagehero h1 { margin-bottom: 24px; }
.fh-pagehero .fh-lead { margin-bottom: 34px; }
.fh-pagehero .fh-kicker, .fh-pagehero h1, .fh-pagehero .fh-lead, .fh-pagehero .fh-actions, .fh-crumbs { animation: fh-up .95s var(--ease) both; }
.fh-pagehero h1 { animation-delay: .12s; } .fh-pagehero .fh-lead { animation-delay: .26s; } .fh-pagehero .fh-actions { animation-delay: .38s; }
.fh-duo { position: relative; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 1 / 1.06; }
.fh-duo-plane { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.fh-duo figure { position: absolute; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 44px 70px -40px rgba(10, 59, 29, .7); background: var(--green-soft); }
.fh-duo figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh-duo figcaption { position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--green-deep); padding: 10px 18px 10px 14px; font-weight: 700; font-size: 13px; letter-spacing: .04em; border-top-right-radius: var(--radius); }
.fh-duo .a { width: 56%; aspect-ratio: 1086 / 1448; left: 0; top: 0; translate: 0 0 30px; animation: fh-up 1s var(--ease) .3s both; }
.fh-duo .b { width: 56%; aspect-ratio: 1100 / 1375; right: 0; bottom: 0; translate: 0 0 100px; animation: fh-up 1s var(--ease) .5s both; }

.fh-profile { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.fh-profile.rev { grid-template-columns: 1.22fr .78fr; }
.fh-profile.rev .fh-portrait { order: 2; }
.fh-portrait { position: relative; margin: 0; max-width: 460px; width: 100%; justify-self: center; }
.fh-portrait::before { content: ""; position: absolute; left: -16px; top: -16px; right: 16px; bottom: 46px; border: 2px solid var(--gold); border-radius: var(--radius-lg); opacity: .75; pointer-events: none; }
.fh-profile.rev .fh-portrait::before { left: 16px; right: -16px; }
.fh-portrait .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 924 / 1308; box-shadow: var(--shadow); background: var(--green-soft); }
.fh-portrait .frame img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); scale: 1.08; }
.fh-portrait figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.fh-profile-text .fh-h2 { margin-bottom: 6px; }
.fh-role { color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-bottom: 28px; }
.fh-quote { font-size: clamp(26px, 3.3vw, 46px); max-width: 20em; margin-bottom: 28px; }
.fh-profile-body { color: var(--muted); font-size: 18px; max-width: 56ch; }
.fh-facts .fh-stat:first-child { padding-left: 0; }
.fh-facts .fh-head { margin-bottom: 40px; }

@media (max-width: 1060px) {
  .fh-pagehero-grid, .fh-profile, .fh-profile.rev { grid-template-columns: 1fr; }
  .fh-profile.rev .fh-portrait { order: 0; }
  .fh-duo { margin-inline: auto; justify-self: center; max-width: 480px; }
  .fh-portrait { max-width: 400px; }
}
@media (max-width: 640px) {
  .fh-duo { max-width: 360px; }
  .fh-duo .a { translate: 0 0 18px; } .fh-duo .b { translate: 0 0 60px; }
  .fh-portrait::before { left: -8px; top: -10px; right: 8px; }
  .fh-profile.rev .fh-portrait::before { left: 8px; right: -8px; }
  .fh-profile-body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .fh-pagehero .fh-kicker, .fh-pagehero h1, .fh-pagehero .fh-lead, .fh-pagehero .fh-actions, .fh-crumbs, .fh-duo .a, .fh-duo .b { animation: none !important; }
}

@media (pointer: coarse) {
  .fh-crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin-left: -4px; }
  .fh-crumbs { margin-bottom: 14px; }
}
