/* =========================================================
   Dr Eye Vision — shared styles
   Palette drawn from the eye itself: teal sclera-shadow,
   amber iris. Display face Poppins, body face Inter.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --teal:        #0E3A3A;  /* deep slate-teal — trust, medical    */
  --teal-deep:   #0A2A2A;  /* darker teal for overlays            */
  --mist:        #F3F6F5;  /* soft near-white background          */
  --white:       #FFFFFF;
  --amber:       #E0A45E;  /* warm iris accent — used sparingly   */
  --amber-soft:  #F0D7B5;
  --ink:         #11201F;  /* primary text                        */
  --muted:       #5C6B6A;  /* secondary text                      */
  --line:        #C2C2C2;  /* hairline dividers                   */

  --display: 'Poppins', system-ui, -apple-system, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;

  --maxw: 1300px;
  --pad: clamp(1.25rem, 5vw, 4rem);

  --ease: cubic-bezier(.22, .61, .36, 1);

  --radius: 14px;  /* corner rounding for images, cards and block surfaces */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* off-canvas nav / decorative art must never widen the page */
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  color: var(--ink);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 5.6vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.9rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 600; }
p  { margin: 0 0 1.1em; max-width: 68ch; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }

/* prose that lives inside an already-constrained column should fill it,
   not re-clamp to a narrower measure (which reads as ragged/broken). */
.intro__grid p, .service__body p, .form-card p, .contact-item p,
.diff p, .quote-card p, .measure p { max-width: none; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
/* white against the mist body — gives pages an alternating light rhythm */
.section--tint { background: var(--white); }
/* teal section — invert heading + lead text for contrast */
.section--teal { background: var(--teal); color: rgba(255,255,255,.86); }
.section--teal h2 { color: var(--white); }
.section--teal .lead { color: rgba(255,255,255,.78); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.center { text-align: center; }
.measure { max-width: 90ch; margin-inline: auto; }
.measure--wide { max-width: 900px; margin-inline: auto; }
/* left-anchored section intro — heading/lead capped for readability but
   aligned to the content's left edge (not centred in the wrap) */
.section-head { max-width: 46ch; }
.section-head .lead { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center;
  padding: 1.1rem var(--pad);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), transform .4s var(--ease);
}
.site-header.hidden { transform: translateY(-100%); }
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.7rem;
}
/* pages that open on a light background need dark header text from the top */
.site-header--light .brand__name { color: var(--ink); }
.site-header--light .brand__mark {
  filter: brightness(0) saturate(100%) invert(17%) sepia(28%) saturate(1093%) hue-rotate(127deg) brightness(94%) contrast(94%);
}
.site-header--light .nav a { color: var(--ink); }
.site-header--light .nav a[aria-current="page"] { color: var(--amber); }
.site-header--light .nav-toggle span { color: var(--ink); }
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand__mark { width: 64px; height: 40px; flex-shrink: 0; display: block; object-fit: contain; }
.brand__name {
  font-family: var(--display); font-weight: 500; font-size: 1.35rem;
  letter-spacing: .005em; line-height: 1; color: var(--white);
  transition: color .4s var(--ease);
}
.brand__name b { font-weight: 500; }
.site-header.scrolled .brand__name { color: var(--ink); }
/* logo art is a fixed light-grey SVG; recolour it to teal when the nav turns white */
.brand__mark { transition: filter .4s var(--ease); }
.site-header.scrolled .brand__mark {
  filter: brightness(0) saturate(100%) invert(17%) sepia(28%) saturate(1093%) hue-rotate(127deg) brightness(94%) contrast(94%);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav a {
  font-size: 0.92rem; font-weight: 500; letter-spacing: .01em;
  color: var(--white); position: relative; padding: .2rem 0;
  transition: color .3s var(--ease);
}
.site-header.scrolled .nav a { color: var(--ink); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--amber); }
.site-header.scrolled .nav a[aria-current="page"] { color: var(--amber); }

.nav-cta {
  border: 1px solid currentColor; border-radius: 999px;
  padding: .5rem 1.1rem !important;
}
.nav-cta::after { display: none; }

/* ---------- Services dropdown ---------- */
.nav-sub { position: relative; display: flex; align-items: center; }
.nav-sub__trigger { display: inline-flex; align-items: center; }
.nav-sub__trigger .caret {
  display: inline-block; width: 6px; height: 6px; margin-left: .5rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  font-size: 0; /* hide the ▾ glyph — the chevron is drawn with borders */
  /* nudge up so the rotated square sits optically centred on the text */
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s var(--ease);
}
.nav-sub:hover .nav-sub__trigger .caret,
.nav-sub:focus-within .nav-sub__trigger .caret { transform: translateY(1px) rotate(225deg); }
.nav-sub__menu {
  position: absolute; top: calc(100% + .8rem); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px; padding: .55rem 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 50px -24px rgba(14,58,58,.45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
/* invisible bridge so the pointer can cross the gap to the menu */
.nav-sub__menu::before { content: ''; position: absolute; top: -0.9rem; left: 0; right: 0; height: .9rem; }
.nav-sub:hover .nav-sub__menu,
.nav-sub:focus-within .nav-sub__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.site-header .nav-sub__menu a {
  display: block; padding: .55rem 1.3rem; font-size: .92rem; color: var(--ink);
}
.site-header .nav-sub__menu a::after { display: none; }
.site-header .nav-sub__menu a:hover { color: var(--amber); background: var(--mist); }
.site-header .nav-sub__menu a[aria-current="page"] { color: var(--amber); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; position: relative; margin-left: 1rem;
}
.nav-toggle span {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  color: var(--white); transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.site-header.scrolled .nav-toggle span { color: var(--ink); }
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-size: .95rem; font-weight: 500;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--amber); color: var(--teal-deep); }
.btn--solid:hover { box-shadow: 0 10px 24px -10px rgba(224,164,94,.7); }
.btn--ghost { border-color: var(--teal); color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: var(--white); }
.btn--light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--teal-deep); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   Hero (video)
   ========================================================= */
.hero {
  position: relative; min-height: 80svh;
  display: flex; align-items: center;
  color: var(--white); overflow: hidden;
  text-align: center;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
/* darkening overlay so the hero text stays legible */
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: rgb(0 0 0 / 30%);
}
.hero__inner { max-width: 900px; margin-inline: auto; }
.hero h1 { margin-bottom: 1.4rem; color: var(--white); }
.hero h1 em { font-style: normal; color: var(--amber-soft); }
.hero .lead { color: rgba(255,255,255,.86); max-width: 48ch; margin-inline: auto; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.scroll-hint .dot {
  width: 1px; height: 38px;
  background: linear-gradient(rgba(255,255,255,.7), transparent);
  animation: drift 2.2s var(--ease) infinite;
}
@keyframes drift { 0%{transform:scaleY(.3);opacity:0} 40%{opacity:1} 100%{transform:scaleY(1);opacity:0} }

/* =========================================================
   Page hero (interior pages, no video)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(8rem, 14vw, 11rem) clamp(3.5rem, 7vw, 6rem);
  background: var(--teal); color: var(--white);
}
.page-hero h1 { font-weight: 500; margin-bottom: 1rem; color: var(--white); }
.page-hero h1 em { font-style: normal; color: var(--amber-soft); }
/* keep the intro line centred and readable even as the container widens */
.page-hero .lead { color: rgba(255,255,255,.86); max-width: 54ch; margin-inline: auto; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--amber); margin-bottom: 1.4rem; }
.page-hero > .wrap { position: relative; z-index: 1; }
/* ghost of the page's own anatomical plate, tucked into the corner */
.page-hero__art {
  position: absolute; z-index: 0; pointer-events: none;
  right: clamp(-6rem, -3vw, -2rem); bottom: -18%;
  width: clamp(320px, 34vw, 520px); height: auto;
  color: rgba(255,255,255,.08);
}
@media (max-width: 700px) { .page-hero__art { display: none; } }

/* =========================================================
   Intro / generic prose blocks
   ========================================================= */
.intro__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
/* media-led rows: give the image column a square, top-aligned frame */
.intro__grid--media { align-items: start; }
.intro__grid--media > :first-child { position: sticky; top: 6rem; }
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem); margin-top: clamp(2rem, 4vw, 2.75rem);
}
.stat {
  position: relative; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem clamp(1.25rem, 3vw, 4rem);
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
}
/* three tiles can't share a phone-width row — stack them */
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat b {
  font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 600;
  color: var(--teal); display: block; line-height: 1; letter-spacing: -.02em;
}
.stat span { display: block; margin-top: .45rem; font-size: .82rem; color: var(--muted); letter-spacing: .02em; line-height: 1.35; }

/* intro heading sits above the bio text in the right column */
/* research interests list */
.intro__interests { margin-top: 2rem; }
.intro__interests h3 {
  font-family: var(--body); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 1rem;
}
.intro__interests ul {
  list-style: none; padding: 0; margin: 0;
}
.intro__interests li {
  position: relative; padding-left: 1.7rem; color: var(--ink);
  margin-bottom: .55rem;
}
.intro__interests li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 600; line-height: 1.65;
}

/* intro media — a square image (or placeholder) */
.intro__media {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
  border-radius: var(--radius);
  box-shadow: 0px 10px 40px -10px rgb(15 58 58 / 60%);
}
/* landscape variant for mid-page rows where a square would tower over short text */
.intro__media--landscape { aspect-ratio: 4 / 3; }
/* portrait sources cropped to landscape: keep the face in frame */
.intro__media--face { object-position: 50% 22%; }
/* flip a media row so the image sits on the right (source order keeps text last) */
.intro__grid--flip > :first-child { order: 2; }
@media (max-width: 860px) { .intro__grid--flip > :first-child { order: 0; } }
.intro__media--placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(-45deg, rgba(14,58,58,.04) 0 12px, transparent 12px 24px),
    var(--mist);
  border: 1px dashed var(--line); color: var(--muted);
}
/* on teal sections invert the placeholder tint so it reads on dark */
.section--teal .intro__media--placeholder {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.55);
}
.intro__media--placeholder span {
  font-family: var(--body); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600;
}

/* =========================================================
   Service teaser cards (home)
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards--2col { grid-template-columns: repeat(2, 1fr); }
.cards-cta { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.9rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -28px rgba(14,58,58,.5); border-color: var(--amber-soft); }
.card .icon { width: auto; height: clamp(120px, 16vw, 160px); max-width: 100%; margin: 0 auto 1.5rem; color: var(--teal); display: block; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .96rem; color: var(--muted); margin-bottom: 1.1rem; }
.card .more { font-size: .9rem; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: .4rem; }
.card .more .arrow { transition: transform .25s var(--ease); }
.card:hover .more .arrow { transform: translateX(4px); }

/* =========================================================
   Service "anatomical plates" (services page)
   Each service is a labelled medical illustration — the drawing
   leads, with leader-line labels naming the key structures.
   ========================================================= */
.service {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 7vw, 5.5rem); align-items: center;
}
.service + .service { margin-top: clamp(3.5rem, 8vw, 6.5rem); }

/* the plate: aged-paper tint, corner caption, fine baseline rule */
.plate {
  position: relative; color: var(--teal);
  display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(180deg, #FBFCFB 0%, #F0F4F2 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.75rem, 3.5vw, 3rem) 0;
}
/* corner registration marks — like an old plate */
.plate::before, .plate::after {
  content: ''; position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--amber); opacity: .55;
}
.plate::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.plate::after  { bottom: 46px; right: 12px; border-left: 0; border-top: 0; }
/* the illustration sits centred in the plate, capped so it never crowds the frame */
.plate__art {
  display: block; width: auto; height: auto;
  max-width: min(78%, 280px); max-height: 280px;
  margin: clamp(.5rem, 2vw, 1.5rem) auto 0;
  color: var(--teal); overflow: visible;
}

/* ----- hover animation: each illustration animates an on-subject part ----- */
.svg-anim * { transform-box: fill-box; transform-origin: center; }

/* cataract: the clouding clears away — fades out completely — as the lens animates */
.svg-cataract__clouding { transition: opacity .6s var(--ease), transform .6s var(--ease); transform-origin: 125px 124px; }
.plate:hover .svg-cataract__clouding,
.card:hover .svg-cataract__clouding { opacity: 0; transform: scale(.96); }
/* the pupil deepens (fill-opacity .3 → .8) in step with the clouding */
.svg-cataract__pupil { transition: fill-opacity .5s var(--ease); }
.plate:hover .svg-cataract__pupil,
.card:hover .svg-cataract__pupil { animation: pupil-deepen 2.4s var(--ease) infinite; }
@keyframes pupil-deepen {
  0%, 100% { fill-opacity: .3; }
  50%      { fill-opacity: .8; }
}

/* glaucoma: the pressure arrows pulse outward toward the optic nerve */
.svg-glaucoma__arrows { transform-origin: 60px 125px; }
.plate:hover .svg-glaucoma__arrows,
.card:hover .svg-glaucoma__arrows { animation: pressure-push 1.8s var(--ease) infinite; }
@keyframes pressure-push {
  0%, 100% { transform: translateX(0); opacity: .85; }
  50%      { transform: translateX(7px); opacity: 1; }
}

/* general: the examination rays sweep (rotate gently) and the lid blinks once */
.svg-general__rays { transform-origin: 135px 112px; transition: opacity .4s var(--ease); }
.plate:hover .svg-general__rays,
.card:hover .svg-general__rays { animation: rays-sweep 6s linear infinite; }
@keyframes rays-sweep { to { transform: rotate(360deg); } }
.svg-general__lid { transition: transform .45s var(--ease); transform-origin: 135px 112px; }
.plate:hover .svg-general__lid,
.card:hover .svg-general__lid { animation: blink 2.6s var(--ease) infinite; }
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  96%           { transform: scaleY(.06); }
}
/* caption strip along the base — the plate's name + figure ref */
.plate__caption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin: clamp(1rem, 2.5vw, 1.6rem) 0 0; padding: .85rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--body); font-size: .78rem; letter-spacing: .03em; color: var(--muted);
}
.plate__caption b { color: var(--teal); font-weight: 600; }
.plate__caption .fig { color: var(--amber); font-weight: 600; letter-spacing: .08em; }

.service:nth-child(even) .plate { order: 2; }

/* CTA row at the foot of a service body */
.service__cta { margin-top: 1.6rem; }

/* the condition tag — names the domain (these are parallel, not a sequence) */
.service__tag {
  display: inline-block; font-family: var(--body); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem; margin-bottom: 1.1rem; background: var(--white);
}
.service ul { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.service li { position: relative; padding-left: 1.7rem; margin-bottom: .6rem; color: var(--muted); }
.service li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 600; line-height: 1.65;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--teal); color: var(--white); text-align: center;
}
/* blurred parallax background image — drop assets/cta-banner.jpg to enable.
   Sits over the teal base; fades out when the CTA button is hovered. */
.cta-band::before {
  content: ''; position: absolute; inset: -40px; z-index: -1;
  background: url('../assets/cta-banner.jpg') center / cover no-repeat fixed;
  filter: blur(24px) saturate(1.1);
  opacity: .55;
  transition: filter .6s var(--ease);
}
/* darken the image slightly so text stays legible */
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(10,42,42,.45), rgba(10,42,42,.65));
}
/* on hover of the Book a consultation button, the blur clears (image stays) */
.cta-band:has(.btn:hover)::before { filter: blur(0) saturate(1.1); }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band h2 em { font-style: normal; color: var(--amber-soft); }
.cta-band p { color: rgba(255,255,255,.82); margin-inline: auto; margin-bottom: 2rem; }
/* keep content above the image layers */
.cta-band > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .cta-band::before { background-attachment: scroll; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); }
.contact-item { margin-bottom: 1.6rem; }
.contact-item .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--amber); font-weight: 600; margin-bottom: .25rem; }
.contact-item .value { font-size: 1.1rem; color: var(--ink); }

/* bordered, shadowed container around the enquiry form */
.form-card {
  background: #e5e5e5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 30px 60px -30px rgba(14,58,58,.35);
}

.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1px solid var(--line);
  background: var(--white); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(224,164,94,.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--muted); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer .brand { margin-bottom: .9rem; }
.site-footer .brand__name { color: var(--white); }
.site-footer h4 { font-family: var(--body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a:hover { color: var(--amber-soft); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }
.site-footer p { color: rgba(255,255,255,.7); margin: .8rem 0 0; font-size: .92rem; max-width: 34ch; }

/* =========================================================
   Scroll reveal — gentle fade + rise
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
/* staggered children */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* =========================================================
   Content-pack components
   ========================================================= */
/* trust bar — four divided proof-points below the hero */
.trust-bar { background: var(--teal-deep); color: var(--white); padding-block: clamp(1.6rem, 3vw, 2.4rem); }
.trust-bar ul {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--maxw);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-bar li {
  position: relative; text-align: center;
  padding: .3rem clamp(1rem, 2.5vw, 2rem);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(.82rem, 1.05vw, .92rem); font-weight: 500; line-height: 1.4;
  color: rgba(255,255,255,.9);
}
/* hairline amber divider between cells */
.trust-bar li + li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 2.2em; background: rgba(224,164,94,.4);
}
@media (max-width: 860px) {
  .trust-bar ul { grid-template-columns: 1fr 1fr; gap: 1.1rem 0; }
  .trust-bar li:nth-child(3)::before { display: none; }
  .trust-bar li:nth-child(odd)::before { display: none; }
}
@media (max-width: 460px) {
  .trust-bar ul { grid-template-columns: 1fr; gap: .9rem; }
  .trust-bar li::before { display: none !important; }
}

/* differentiators — horizontal drag slider, "A Different Kind of Specialist" */
.slider { position: relative; }
.slider__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .5rem; margin: 0 calc(var(--pad) * -1); padding-inline: var(--pad);
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.dragging { cursor: grabbing; scroll-snap-type: none; }
.slider__track.dragging a { pointer-events: none; }
/* show ~3 cards on wide screens, still scrollable */
@media (min-width: 1000px) { .slider__track { grid-auto-columns: calc((100% - 3rem) / 3); } }

.diff {
  scroll-snap-align: start; position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem; user-select: none; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* line-art eye icon, same visual language as the About expertise cards */
.diff .icon { width: auto; height: 110px; max-width: 100%; margin: 0 auto 1.3rem; color: var(--teal); display: block; }
.diff:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -30px rgba(14,58,58,.5); border-color: var(--amber-soft); }
.diff h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.diff p { font-size: .95rem; color: var(--muted); margin: 0; max-width: none; }

/* spotlight — a soft circle around the pointer reveals the eye close-up,
   greyscale at .2 opacity; plain mist shows by default (and on touch) */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('../assets/eye-image-closeup-1.png') center / cover no-repeat;
  filter: grayscale(1);
  opacity: calc(var(--spot, 0) * .2);
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0 45%, transparent 100%);
  mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0 45%, transparent 100%);
  transition: opacity .4s var(--ease);
}
.spotlight > .wrap { position: relative; z-index: 1; }

/* custom drag cursor — a floating "‹ ›" badge that follows the pointer
   over tracks that can be dragged or swiped (mouse pointers only) */
.drag-cursor {
  position: fixed; top: 0; left: 0; z-index: 300;
  width: 62px; height: 62px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--teal);
  box-shadow: 0 10px 30px -12px rgba(14,58,58,.5);
  display: flex; align-items: center; justify-content: center; gap: 2px;
  pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.4);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.drag-cursor svg { width: 15px; height: 15px; }
.drag-cursor.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.drag-cursor.down { transform: translate(-50%, -50%) scale(.85); }
/* hide the native cursor where the badge takes over */
.has-drag-cursor .slider__track,
.has-drag-cursor .slider__track.dragging,
.has-drag-cursor .featured__viewport { cursor: none; }

/* slider controls — arrows + progress bar */
.slider__controls { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.2rem; }
.slider__arrows { display: flex; gap: .7rem; }
.slider__btn {
  width: 48px; height: 48px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--white); color: var(--teal);
  display: grid; place-items: center; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}
.slider__btn:hover:not(:disabled) { background: var(--teal); color: var(--white); border-color: var(--teal); }
.slider__btn:disabled { opacity: .35; cursor: default; }
.slider__btn svg { width: 18px; height: 18px; }
.slider__progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.slider__progress-bar { position: absolute; inset: 0 auto 0 0; width: 33%; background: var(--teal); transition: transform .3s var(--ease), width .3s var(--ease); }
/* on teal sections the controls invert */
.section--teal .slider__btn { background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.section--teal .slider__btn:hover:not(:disabled) { background: var(--white); color: var(--teal); border-color: var(--white); }
.section--teal .slider__progress { background: rgba(255,255,255,.2); }
.section--teal .slider__progress-bar { background: var(--amber); }

/* quote cards — testimonials grid (equal-height rows, aligned captions) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem; margin: 0; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -30px rgba(14,58,58,.5); border-color: var(--amber-soft); }
.quote-card::before { content: '\201C'; font-family: var(--display); font-size: 3rem; line-height: .7; color: var(--amber); margin-bottom: .4rem; }
.quote-card blockquote { margin: 0 0 1.4rem; font-size: .97rem; color: var(--ink); }
.quote-card blockquote p { margin: 0; max-width: none; }
/* push caption to the bottom so all captions align across the row */
.quote-card figcaption { margin-top: auto; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.quote-card figcaption b { display: block; color: var(--teal); font-weight: 600; margin-bottom: .1rem; }

/* publications — hanging reference list */
.pub-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.pub-list li { border-left: 2px solid var(--amber); padding: .25rem 0 .25rem 1.25rem; margin-bottom: 1.1rem; font-size: .92rem; color: var(--muted); max-width: 75ch; }
.pub-list li b { color: var(--ink); font-weight: 600; }

/* credentials — three stacked blocks, each an eyebrow + a clean definition list */
.creds-block + .creds-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.creds-block__head {
  display: flex; align-items: baseline; gap: 1rem;
  padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 2px solid var(--teal);
}
.creds-block__head h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.creds-block__count { margin-left: auto; font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }

/* creds — year/detail rows; two columns on wide screens, one when narrow */
.creds { list-style: none; padding: 0; margin: 0; column-gap: clamp(2rem, 5vw, 4rem); }
.creds--2col { columns: 2; }
.creds li {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-size: .95rem; color: var(--muted); line-height: 1.45;
  break-inside: avoid;
}
.creds .year { font-family: var(--display); font-weight: 600; color: var(--amber); font-size: .92rem; padding-top: .05rem; }
.creds b { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) { .creds--2col { columns: 1; } }

/* arrow list — generic version of the .service list bullets */
.arrow-list { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.arrow-list li { position: relative; padding-left: 1.7rem; margin-bottom: .6rem; color: var(--muted); }
.arrow-list li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 600; line-height: 1.65; }

/* steps — the patient journey as numbered stages (a true sequence:
   consultation → surgery → recovery), set like figure references */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: left;
}
.step { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.step__num {
  font-family: var(--body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; color: var(--amber);
}
.step h3 { font-size: 1.15rem; margin: .55rem 0 .45rem; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; max-width: none; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* flags — red-flag symptoms that need same-day assessment (teal sections) */
.flags {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 2.4rem auto 0; max-width: 880px;
}
.flags li {
  border: 1px solid rgba(255,255,255,.22); border-left: 3px solid var(--amber);
  border-radius: 10px; padding: 1.05rem 1.3rem;
  text-align: left; font-size: .95rem; line-height: 1.45;
  color: rgba(255,255,255,.92); background: rgba(255,255,255,.04);
}
.flags b { display: block; color: var(--white); font-weight: 600; margin-bottom: .15rem; }
@media (max-width: 700px) { .flags { grid-template-columns: 1fr; } }

/* pending — visibly-marked placeholder for details still to come */
.pending { display: inline-block; border: 1px dashed var(--amber); border-radius: 4px; background: rgba(224,164,94,.07); color: var(--muted); font-size: .88rem; padding: .12rem .6rem; }

/* text link — inline links within prose */
.text-link { color: var(--teal); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); transition: color .25s var(--ease); }
.text-link:hover { color: var(--amber); }

/* eyebrow — small uppercase label above a heading */
.eyebrow {
  display: block; font-family: var(--body); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 1.1rem;
}

/* =========================================================
   Featured testimonial (testimonials page hero carousel)
   Left: intro column. Right: one large quote card at a time.
   ========================================================= */
.featured {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.featured__intro h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.05; }
.featured__intro .lead { margin-top: 1.4rem; }
.nobreak { white-space: nowrap; }

.featured__stage { position: relative; min-width: 0; }
/* no overflow clipping needed — slides stack in place rather than sliding */
.featured__viewport { position: relative; width: 100%; }
/* slides stack in a single grid cell — the active one fades in, so the
   viewport can never be left showing two half slides */
.featured__slides { display: grid; width: 100%; }
.featured__slide {
  grid-area: 1 / 1; width: 100%; min-width: 0; box-sizing: border-box; padding: 4px;
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.featured__slide.is-active,
.featured__slides:not(:has(.is-active)) .featured__slide:first-child {
  opacity: 1; visibility: visible;
  transition: opacity .6s var(--ease);
}
.featured__card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex; flex-direction: column; min-height: 380px;
  box-shadow: 0 40px 80px -50px rgba(14,58,58,.5);
}
.featured__mark { font-family: var(--display); font-size: 4rem; line-height: .6; color: var(--amber); }
.featured__quote {
  font-family: var(--display); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.32; color: var(--ink);
  margin: 1.6rem 0 0; max-width: none;
  /* clamp very long quotes so cards stay a sensible height */
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.featured__cite {
  margin-top: auto; padding-top: 1.6rem;
  font-size: .92rem; color: var(--muted); font-style: normal;
}
.featured__cite b { display: block; color: var(--teal); font-weight: 600; font-size: 1rem; margin-bottom: .1rem; }

.featured__controls { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }

@media (max-width: 860px) {
  .featured { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .featured__card { min-height: 0; }
  .featured__quote { font-size: clamp(1.2rem, 5vw, 1.5rem); -webkit-line-clamp: 8; }
  .nobreak { white-space: normal; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem var(--pad);
    background: var(--white); transform: translateX(100%);
    transition: transform .4s var(--ease); box-shadow: -10px 0 40px -20px rgba(0,0,0,.4);
  }
  .nav.open { transform: none; }
  .nav a, .site-header .nav a { color: var(--ink); font-size: 1.1rem; }
  .nav-cta { border-color: var(--teal); }
  .nav-toggle { display: block; z-index: 60; }
  .nav-toggle.open span { color: var(--ink); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* dropdown becomes an always-visible indented group in the drawer */
  .nav-sub { flex-direction: column; align-items: flex-start; }
  .nav-sub__trigger .caret { display: none; }
  .nav-sub__menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: .5rem 0 0 1.1rem; margin: 0;
    background: transparent; border: 0; box-shadow: none;
  }
  .nav-sub__menu::before { display: none; }
  .site-header .nav-sub__menu a { padding: .3rem 0; font-size: .98rem; color: var(--muted); }
  .site-header .nav-sub__menu a:hover { background: transparent; }

  .intro__grid, .service, .contact__grid { grid-template-columns: 1fr; }
  .intro__grid--media > :first-child { position: static; top: auto; }
  /* on stacked layout, cap the square media so it isn't full-width-tall */
  .intro__grid--media .intro__media { max-width: 420px; margin-inline: auto; }
  .service:nth-child(even) .service__art { order: 0; }
  .cards, .quotes { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bottom { flex-direction: column; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint .dot { animation: none; }
  .btn:hover, .card:hover { transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
