/* Kilkenny Physiotherapy — City Physiotherapy & Sports Injury Clinic
   Warm, photographic: real treatment-room photos, cream and linen grounds, her teal as the accent. */

:root {
  --ink: #1c3633;          /* deep green: headings, dark surfaces */
  --deep: #142624;
  --teal: #1d7f7b;         /* buttons and accents (white text passes AA) */
  --teal-hi: #8fd6d2;      /* accent on photographs */
  --brand: #4fbfbd;        /* the logo's teal */
  --teal-soft: #e2f1ee;
  --cream: #f8f4ee;
  --linen: #f0e8dc;
  --paper: #fffdf9;
  --sand: #e6d9c6;
  --text: #283330;
  --muted: #5d6965;
  --line: rgba(60, 48, 32, .12);
  --on-photo: #fbf8f3;
  --on-photo-muted: rgba(251, 248, 243, .82);
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-1: 0 1px 2px rgba(60,45,30,.06), 0 8px 22px -10px rgba(60,45,30,.18);
  --shadow-2: 0 2px 6px rgba(60,45,30,.06), 0 26px 50px -22px rgba(60,45,30,.34);
  --shadow-3: 0 30px 70px -24px rgba(20,18,14,.5), 0 10px 22px -12px rgba(20,18,14,.3);
  --ease: cubic-bezier(.2,.7,.2,1);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1220px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font: 400 17px/1.68 var(--sans); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--ink); font-optical-sizing: auto; }
h2 { font-size: clamp(2.1rem, 1.2rem + 3.1vw, 3.6rem); text-wrap: balance; }
h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; }
em { font-style: italic; color: var(--teal); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { position: relative; padding: clamp(84px, 9vw, 140px) 0; isolation: isolate; }
.cream { background: var(--cream); }
.linen { background: var(--linen); }
.paper { background: var(--paper); }

.kicker { font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: "+"; font: 400 1.25rem/1 var(--sans); letter-spacing: 0; color: var(--brand); }
.kicker.light { color: var(--teal-hi); }
.kicker.light::before { color: var(--teal-hi); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 20px; }
.section-head > p:not(.kicker) { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px clamp(30px, 5vw, 80px); align-items: end; }
.section-head.split h2 { margin-bottom: 0; }
.section-head.split > p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center > p { margin-inline: auto; }
.section-head.center .kicker { justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 .98rem/1 var(--sans); text-decoration: none; letter-spacing: -.005em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; white-space: nowrap; }
.btn-lg { padding: 19px 30px; font-size: 1.04rem; }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 26px -12px rgba(16,90,87,.75); }
.btn-teal:hover { background: #186e6a; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 18px 32px -12px rgba(16,90,87,.8); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: 0 16px 34px -16px rgba(0,0,0,.6); }
.btn-light:hover { transform: translateY(-2px); background: #fff; }
.btn-line { background: transparent; color: var(--ink); box-shadow: 0 0 0 1.5px rgba(28,54,51,.22) inset; }
.btn-line:hover { box-shadow: 0 0 0 1.5px var(--teal) inset; color: var(--teal); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.link-btn span { transition: transform .25s var(--ease); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .35s, box-shadow .35s, height .35s;
  background: linear-gradient(180deg, rgba(20,24,22,.42), rgba(20,24,22,0)); }
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; width: 214px; flex: none; position: relative; }
.brand img { width: 100%; height: auto; transition: opacity .35s; }
.brand-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.scrolled { background: rgba(255,253,249,.92); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(60,45,30,.45); --header-h: 68px; }
.site-header.scrolled .brand-dark { opacity: 1; }
.site-header.scrolled .brand-light { opacity: 0; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a { display: block; padding: 10px 13px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: #fff; transition: background .2s, color .2s; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.nav a:not(.btn):hover { background: rgba(255,255,255,.14); }
.site-header.scrolled .nav a:not(.btn) { color: var(--text); text-shadow: none; }
.site-header.scrolled .nav a:not(.btn):hover { background: var(--teal-soft); }
.nav .btn { color: #fff; margin-left: 8px; text-shadow: none; }
.nav-toggle { display: none; }

/* Hero: full-bleed photograph */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; color: var(--on-photo); isolation: isolate; overflow: hidden; background: #3b3128; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 30%; animation: settle 16s var(--ease) both; transform-origin: 60% 30%; }
@keyframes settle { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(22,20,16,.18) 0%, rgba(22,20,16,0) 26%, rgba(22,20,16,.08) 46%, rgba(18,22,20,.72) 78%, rgba(14,20,18,.88) 100%),
    linear-gradient(90deg, rgba(14,20,18,.66) 0%, rgba(14,20,18,.3) 42%, rgba(14,20,18,0) 66%); }
.hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: calc(var(--header-h) + 80px) 0 clamp(48px, 7vw, 92px); }
.hero-copy { max-width: 720px; }
.eyebrow { font-size: .92rem; font-weight: 600; letter-spacing: .02em; color: var(--on-photo-muted); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--teal-hi); }
.hero h1 { color: #fff; font-size: clamp(3rem, 1.4rem + 5.6vw, 6rem); line-height: .98; letter-spacing: -.035em; font-weight: 400; margin-bottom: 24px; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.22); }
.hero h1 em { color: var(--teal-hi); }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--on-photo-muted); max-width: 560px; margin-bottom: 34px; text-shadow: 0 1px 16px rgba(0,0,0,.3); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-niamh { flex: none; margin: 0; display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; max-width: 360px;
  background: rgba(255,253,249,.94); color: var(--text); box-shadow: var(--shadow-3); }
.hero-niamh img { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--brand); flex: none; }
.hero-niamh figcaption { display: grid; line-height: 1.3; }
.hero-niamh strong { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--ink); }
.hero-niamh span { font-size: .84rem; color: var(--muted); }

/* Trust strip under the hero */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-row { list-style: none; margin-block: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, auto) 1fr; gap: 18px clamp(24px, 4vw, 56px); align-items: center; }
.trust-row li { display: grid; line-height: 1.3; padding-left: 18px; border-left: 2px solid var(--brand); }
.trust-row strong { font-family: var(--serif); font-weight: 500; font-size: 1.16rem; color: var(--ink); }
.trust-row span { font-size: .88rem; color: var(--muted); }
.trust-row .trust-iscp { border: 0; padding: 0; justify-self: end; }
.trust-iscp img { width: 170px; }

/* Carousel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 10px 4px 40px; margin: -10px -4px -6px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.round-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; background: var(--paper); color: var(--ink); font-size: 1.2rem; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); transition: transform .25s var(--ease), background .2s, color .2s; }
.round-btn:hover { transform: translateY(-2px); background: var(--teal); color: #fff; }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; background: var(--paper); color: var(--ink); }
.carousel-progress { flex: 1; height: 2px; border-radius: 2px; background: rgba(60,48,32,.14); overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 30%; border-radius: 2px; background: var(--teal); transition: width .3s var(--ease), margin .3s var(--ease); }

/* Condition cards: tall photographs with the words on them */
.cond-track { grid-auto-columns: max(280px, calc((100% - 44px) / 3.15)); }
.cond-card { position: relative; display: flex; align-items: flex-end; cursor: pointer; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #6b5d4e; box-shadow: 0 2px 6px rgba(60,45,30,.08), 0 18px 30px -18px rgba(60,45,30,.42); color: #fff; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cond-card:hover { transform: translateY(-6px); box-shadow: 0 2px 6px rgba(60,45,30,.08), 0 24px 34px -18px rgba(40,30,20,.5); }
.cond-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.cond-card:hover img { transform: scale(1.05); }
.cond-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,18,16,0) 30%, rgba(16,18,16,.5) 50%, rgba(12,16,14,.8) 68%, rgba(10,14,12,.92) 100%); }
.cond-body { width: 100%; padding: 26px 26px 28px; display: grid; gap: 8px; }
.cond-body h3 { color: #fff; font-size: 1.65rem; font-weight: 400; }
.cond-body p { color: rgba(255,255,255,.86); margin: 0; font-size: .98rem; line-height: 1.55; }
.cond-body .link-btn { margin-top: 8px; color: #fff; justify-self: start; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s; }
.cond-card:hover .link-btn { background: rgba(255,255,255,.28); }
.cond-card:hover .link-btn span { transform: translateX(4px); }

/* Sheets (dialogs) */
dialog { border: 0; padding: 0; }
.sheet { width: min(760px, 100% - 32px); max-height: min(88vh, 900px); border-radius: var(--radius-lg); background: var(--paper); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0,0,0,.6); overflow: auto; }
.sheet::backdrop, .video-modal::backdrop { background: rgba(26,22,18,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .45s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.sheet-body { padding: 30px clamp(22px, 4vw, 44px) 40px; }
.sheet-body h3 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); font-weight: 400; margin-bottom: 18px; }
.sheet-body p { color: #3c4643; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.6rem; line-height: 1; background: rgba(255,253,249,.94); color: var(--ink); box-shadow: var(--shadow-1); z-index: 2; }
.sheet-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 13px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: var(--teal-soft); color: #175f5c; }

/* Photo band */
.band { position: relative; min-height: clamp(520px, 72vh, 760px); display: grid; align-items: center; color: var(--on-photo); isolation: isolate; overflow: hidden; background: #4a3f34; }
.band-bg, .band-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.band-bg img { object-fit: cover; object-position: 50% 40%; }
.band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,20,18,.82) 0%, rgba(14,20,18,.6) 45%, rgba(14,20,18,.12) 85%); }
.band-inner { padding: clamp(80px, 9vw, 130px) 0; }
.band blockquote { margin: 0 0 34px; max-width: 760px; }
.band blockquote p { margin: 0; font: 400 clamp(1.9rem, 1.1rem + 2.6vw, 3.2rem)/1.15 var(--serif); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.band blockquote em { color: var(--teal-hi); }
@supports (animation-timeline: view()) {
  .band-bg img { height: 125%; top: -12.5%; animation: band-drift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes band-drift { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
}

/* Treatments */
.treat-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.treat-grid > *, .visit-grid > *, .about-grid > *, .orth-grid > *, .ins-grid > * { min-width: 0; }
.treat-photo { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); background: var(--sand); }
.treat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.treat-photo img.on { opacity: 1; transform: none; }
.tabs { position: relative; }
.tablist { position: relative; display: flex; gap: 6px; border-bottom: 1px solid rgba(60,48,32,.16); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 14px 16px 16px; font-weight: 700; font-size: 1rem; color: var(--muted); white-space: nowrap; transition: color .3s; }
.tablist button:hover { color: var(--ink); }
.tablist button[aria-selected="true"] { color: var(--ink); }
.tab-ink { position: absolute; z-index: 0; bottom: -1px; height: 3px; left: 0; width: 0; border-radius: 3px; background: var(--teal); transition: transform .45s var(--ease), width .45s var(--ease); }
.tabpanel { display: grid; gap: 16px; }
.tabpanel:not([hidden]) { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
.t-card { padding: 26px 28px 28px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-1), 0 0 0 1px rgba(60,48,32,.06); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.t-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2), 0 0 0 1px rgba(60,48,32,.06); }
.t-card h3 { margin: 0 0 10px; }
.t-card p { color: var(--muted); margin-bottom: .6em; }
.t-card p:last-child { margin-bottom: 0; }
.t-for { margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal) !important; }
.t-highlight { background: var(--ink); }
.t-highlight h3 { color: #fff; }
.t-highlight p { color: rgba(255,255,255,.8); }

/* Photo frames */
.photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); background: var(--sand); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.tall { aspect-ratio: 4 / 5; }

/* Orthotics */
.orth-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.orth-visual { position: relative; padding-bottom: 40px; }
.orth-visual .photo-frame { width: 88%; }
.orth-stat { position: absolute; right: 0; bottom: 0; width: min(290px, 62%); padding: 26px 26px 24px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-3); }
.stat-num { font: 400 clamp(3rem, 2rem + 3vw, 4.4rem)/1 var(--serif); letter-spacing: -.04em; color: var(--teal); margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); margin: 0; font-size: .98rem; line-height: 1.5; }
.orth-copy h2 { margin-bottom: 20px; }
.orth-copy > p:not(.kicker) { color: var(--muted); font-size: 1.1rem; }
.orth-types { list-style: none; padding: 0; display: grid; gap: 0; margin: 30px 0 24px; border-top: 1px solid var(--line); }
.orth-types li { display: flex; gap: 20px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: transform .3s var(--ease); }
.orth-types li:hover { transform: translateX(6px); }
.orth-types li > span { flex: none; font: italic 400 1.6rem/1 var(--serif); color: var(--brand); width: 26px; }
.orth-types strong { font-size: 1.06rem; color: var(--ink); }
.orth-types p { margin: 2px 0 0; color: var(--muted); font-size: .96rem; }
.small-print { font-size: .94rem; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-visual { position: relative; padding: 0 0 70px; }
.about-video { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); text-align: left; background: #000; }
.about-video img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.about-video:hover img { transform: scale(1.04); }
.about-video .play { position: absolute; left: 50%; top: 44%; width: 78px; height: 78px; transform: translate(-50%, -50%); box-shadow: 0 0 0 12px rgba(255,255,255,.24), 0 18px 36px -10px rgba(0,0,0,.5); }
.about-niamh { position: absolute; right: -10px; bottom: 0; margin: 0; display: flex; align-items: center; gap: 16px; padding: 12px 26px 12px 12px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-3); }
.about-niamh img { width: 104px; height: 104px; border-radius: 50%; box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--brand); }
.about-niamh figcaption { display: grid; line-height: 1.3; }
.about-niamh strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.about-niamh span { font-size: .88rem; color: var(--muted); }
.play { position: relative; width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--teal); }
.play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 30px; }
.steps li { display: flex; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.step-n { flex: none; font: italic 400 1.9rem/1 var(--serif); color: var(--brand); width: 24px; }
.steps strong { display: block; margin-bottom: 2px; color: var(--ink); }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* Videos */
.vid-track { grid-auto-columns: max(290px, calc((100% - 44px) / 3)); }
.vid-card { display: block; border: 0; padding: 0; cursor: pointer; text-align: left; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 6px rgba(60,45,30,.06), 0 18px 30px -18px rgba(60,45,30,.36); transition: transform .45s var(--ease); }
.vid-card:hover { transform: translateY(-5px); }
.vid-thumb { position: relative; display: block; overflow: hidden; }
.vid-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.vid-card:hover img { transform: scale(1.05); }
.vid-card .play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; transform: translate(-50%, -50%); transition: transform .3s var(--ease); box-shadow: 0 0 0 10px rgba(255,255,255,.28), 0 14px 30px -8px rgba(0,0,0,.45); }
.vid-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.vid-meta { display: block; padding: 18px 22px 22px; }
.vid-meta strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.18rem; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.vid-meta small { color: var(--muted); font-size: .9rem; }
.vid-note { margin: 0; }
.video-modal { width: min(1100px, 100% - 24px); background: #000; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 120px -10px rgba(0,0,0,.8); }
.video-modal[open] { animation: sheet-in .4s var(--ease); }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Insurance */
.ins-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.ins-grid h2 { margin-bottom: 20px; }
.ins-grid p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.ins-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ins-logos li { grid-column: span 2; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 10px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1), 0 0 0 1px rgba(60,48,32,.06); transition: transform .35s var(--ease); }
.ins-logos li:nth-child(4) { grid-column: 2 / span 2; }
.ins-logos li:hover { transform: translateY(-4px); }
.ins-logos img { max-height: 118px; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* Guides */
.guide-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 34px 26px 30px; border-radius: var(--radius-lg); background: var(--linen); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s; }
.guide:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.guide img { width: 200px; filter: drop-shadow(0 18px 20px rgba(60,45,30,.25)); transition: transform .5s var(--ease); }
.guide:hover img { transform: rotate(-3deg) translateY(-4px); }
.guide strong { font-family: var(--serif); font-weight: 500; font-size: 1.24rem; line-height: 1.25; max-width: 280px; color: var(--ink); }
.dl { color: var(--teal); font-weight: 700; font-size: .92rem; }

/* Visit: photograph behind, form on a card */
.visit { color: var(--on-photo); background: #3a3129; overflow: hidden; }
.visit-bg, .visit-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.visit-bg img { object-fit: cover; object-position: 60% 50%; }
.visit-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,20,18,.9) 0%, rgba(14,20,18,.78) 50%, rgba(14,20,18,.55) 100%); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.visit h2 { color: #fff; margin-bottom: 30px; }
.visit h2 em { color: var(--teal-hi); }
.info-list { margin: 0 0 30px; display: grid; }
.info-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.info-list dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal-hi); padding-top: 4px; }
.info-list dd { margin: 0; color: var(--on-photo); }
.info-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(143,214,210,.5); }
.info-list a:hover { border-color: var(--teal-hi); }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(120,220,170,.16); color: #a6f0c8; }
.open-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-now.closed { background: rgba(255,255,255,.12); color: var(--on-photo-muted); }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; min-height: 300px; background: #e9e4da; box-shadow: var(--shadow-3); }
.map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -40px 0 0 -20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); box-shadow: 0 10px 20px -6px rgba(0,0,0,.45), 0 0 0 3px #fff; animation: bob 2.6s ease-in-out infinite; }
.map-pin span { position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.map-pin::before { content: ""; position: absolute; left: 6px; bottom: -10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(29,127,123,.25); transform: rotate(45deg) scale(1.6); z-index: -1; animation: ripple 2.6s ease-out infinite; }
@keyframes bob { 50% { transform: rotate(-45deg) translate(3px, -3px); } }
@keyframes ripple { from { opacity: .9; } to { opacity: 0; transform: rotate(45deg) scale(3); } }
.map-card { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 14px 14px 14px 18px; border-radius: 18px; background: rgba(255,253,249,.96); color: var(--text); box-shadow: var(--shadow-2); }
.map-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.map-card p strong { display: block; color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 1.12rem; }
.map-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.map-credit { position: absolute; right: 8px; top: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(255,253,249,.85); color: #4b5552; font-size: .75rem; }
.map-note { margin: 12px 0 0; font-size: .84rem; color: var(--on-photo-muted); }
.areas { margin-top: 20px; color: var(--on-photo-muted); font-size: .95rem; }

.book-card { position: sticky; top: calc(var(--header-h) + 20px); padding: clamp(26px, 3.4vw, 42px); border-radius: var(--radius-lg); background: var(--paper); color: var(--text); box-shadow: var(--shadow-3); }
.book-card h3 { font-size: 2.1rem; font-weight: 400; margin-bottom: 10px; }
.book-sub { color: var(--muted); }
.book-form { display: grid; gap: 16px; margin-top: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-form label { display: grid; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.book-form small { font-weight: 500; color: var(--muted); }
.book-form input, .book-form textarea { font: 500 1rem var(--sans); color: var(--text); padding: 14px 16px; border-radius: 14px; border: 0; background: #fff; box-shadow: 0 0 0 1.5px rgba(60,48,32,.16) inset; transition: box-shadow .2s; width: 100%; }
.book-form textarea { resize: vertical; min-height: 92px; }
.book-form input:focus, .book-form textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--teal) inset, 0 0 0 5px rgba(29,127,123,.14); }
.book-form input[aria-invalid="true"] { box-shadow: 0 0 0 2px #c0574d inset; }
.pick { border: 0; padding: 0; margin: 0; }
.pick legend { font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.pick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick label { position: relative; display: block; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span { display: block; text-align: center; padding: 12px 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1.5px rgba(60,48,32,.16) inset; font-weight: 600; cursor: pointer; transition: all .2s; }
.pick input:checked + span { background: var(--teal-soft); box-shadow: 0 0 0 2px var(--teal) inset; color: #175f5c; }
.pick input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--linen); line-height: 1.5; }
.form-note a { color: var(--teal); font-weight: 700; }
.form-status { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #17694f; }
.form-status.err { color: #b24a40; }
.or-call { margin: 18px 0 0; text-align: center; color: var(--muted); }
.or-call a { color: var(--teal); font-weight: 700; }

/* Footer */
.site-footer { background: var(--deep); color: rgba(240,236,228,.72); padding: 72px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand img { width: 220px; margin-bottom: 18px; }
.site-footer h4 { font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-hi); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #f2eee6; }
.site-footer a:hover { color: var(--teal-hi); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }

.mobile-call { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Privacy page */
.doc-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 60px; background: linear-gradient(160deg, #2a4440, var(--ink) 55%, var(--deep)); color: var(--on-photo); }
.doc-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.5rem + 3vw, 3.8rem); margin-top: 10px; }
.doc-hero p { color: var(--on-photo-muted); max-width: 640px; margin-top: 16px; }
.doc { padding: 60px 0 100px; background: var(--paper); }
.doc .wrap { max-width: 760px; }
.doc h2 { font-size: 1.7rem; margin: 44px 0 14px; }
.doc p, .doc li { color: #3c4643; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--teal); font-weight: 600; }
.draft-flag { display: inline-block; margin-top: 18px; padding: 8px 14px; border-radius: 10px; background: rgba(232,196,150,.16); color: #f0d9b0; font-size: .88rem; font-weight: 600; box-shadow: 0 0 0 1px rgba(232,196,150,.3) inset; }

/* Responsive */
@media (max-width: 1120px) {
  .nav ul { gap: 0; }
  .nav a { padding: 10px 9px; font-size: .9rem; }
  .brand { width: 186px; }
  .trust-row { grid-template-columns: repeat(4, auto); }
  .trust-row .trust-iscp { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255,255,255,.16); cursor: pointer; box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .site-header.scrolled .nav-toggle { background: var(--teal-soft); box-shadow: none; }
  .burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; position: relative; transition: transform .3s var(--ease), background .3s; }
  .site-header.scrolled .burger, .site-header.scrolled .burger::before, .site-header.scrolled .burger::after { background: var(--ink); }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .nav-open .burger { background: transparent !important; }
  .nav-open .burger::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .burger::after { transform: translateY(-6px) rotate(-45deg); }
  .nav ul { position: fixed; inset: var(--header-h) 12px auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px; border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-3);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-open .nav ul { opacity: 1; transform: none; pointer-events: auto; }
  .nav ul a:not(.btn) { color: var(--text) !important; text-shadow: none; padding: 14px 16px; font-size: 1.05rem; }
  .nav ul.simple { position: static; flex-direction: row; opacity: 1; transform: none; pointer-events: auto; background: none; box-shadow: none; padding: 0; }
  .nav ul.simple a:not(.btn) { color: #fff !important; padding: 10px 12px; font-size: .95rem; }
  .site-header.scrolled .nav ul.simple a:not(.btn) { color: var(--text) !important; }
  .nav ul.simple .nav-cta-li { display: none; }
  .nav .btn { display: flex; margin: 8px 0 0; width: 100%; padding: 16px; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 34px; }
  .section-head.split { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .treat-grid { grid-template-columns: 1fr; }
  .treat-photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .orth-grid, .about-grid, .ins-grid, .visit-grid { grid-template-columns: 1fr; }
  .orth-visual { max-width: 560px; }
  .about-visual { max-width: 620px; }
  .book-card { position: relative; top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cond-track { grid-auto-columns: max(260px, 42%); }
  .vid-track { grid-auto-columns: max(280px, 46%); }
  .guide-row { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .band-shade { background: linear-gradient(180deg, rgba(14,20,18,.35) 0%, rgba(14,20,18,.82) 100%); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .brand { width: 170px; }
  .hero { min-height: 100svh; }
  .hero-bg img { object-position: 50% 0%; }
  .hero-shade { background: linear-gradient(180deg, rgba(22,20,16,.35) 0%, rgba(22,20,16,0) 14%, rgba(18,22,20,0) 34%, rgba(16,20,18,.78) 54%, rgba(12,18,16,.95) 72%, rgba(12,18,16,.97) 100%); }
  .hero-inner { padding: calc(var(--header-h) + 36svh) 0 calc(28px + env(safe-area-inset-bottom)); gap: 0; }
  .eyebrow, .hero-niamh { display: none; }
  .hero h1 { font-size: clamp(2.7rem, 12.4vw, 3.5rem); margin-bottom: 16px; }
  .lede { font-size: 1.02rem; line-height: 1.55; margin-bottom: 24px; }
  .hero-ctas { width: 100%; flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn-teal { flex: 1; padding-inline: 18px; }
  .btn-call { flex: none; width: 58px; height: 58px; padding: 0; }
  .btn-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn-call::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
  .trust-row { padding: 22px 0; gap: 18px 14px; }
  .trust-row li { padding-left: 12px; }
  .trust-row strong { font-size: 1.04rem; }
  .trust-row span { font-size: .82rem; }
  .carousel-track { margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; }
  .cond-track { grid-auto-columns: 80%; gap: 14px; }
  .vid-track { grid-auto-columns: 84%; gap: 14px; }
  .cond-body { padding: 22px; }
  .cond-body h3 { font-size: 1.5rem; }
  .band { min-height: 0; align-items: end; }
  .band-inner { padding: 260px 0 56px; }
  .band-bg img { object-position: 50% 30%; }
  .tablist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; overflow: visible; margin-bottom: 20px; }
  .tablist button { padding: 13px 10px; font-size: .94rem; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px rgba(60,48,32,.1) inset; white-space: normal; }
  .tablist button[aria-selected="true"] { background: var(--teal); color: #fff; box-shadow: 0 10px 20px -12px rgba(16,90,87,.8); }
  .tab-ink { display: none; }
  .t-card { padding: 22px 20px 24px; }
  .orth-visual .photo-frame { width: 100%; aspect-ratio: 5 / 4; }
  .orth-visual .photo-frame img { object-position: 50% 70%; }
  .orth-stat { position: relative; width: auto; margin: -60px 18px 0; }
  .orth-visual { padding-bottom: 0; }
  .about-visual { padding-bottom: 0; }
  .about-niamh { position: relative; right: auto; margin: -36px auto 0; width: max-content; max-width: 100%; }
  .about-niamh img { width: 76px; height: 76px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 16px 0; }
  .field-row { grid-template-columns: 1fr; }
  .info-list > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .ins-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ins-logos li, .ins-logos li:nth-child(4) { grid-column: auto; }
  .ins-logos li:last-child { grid-column: 1 / -1; aspect-ratio: auto; height: 120px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sheet > img { aspect-ratio: 16 / 9; }
  .map { aspect-ratio: 4 / 5; }
  .map-card { flex-direction: column; align-items: stretch; }
  .map-actions .btn { flex: 1; }
  .visit-shade { background: linear-gradient(180deg, rgba(14,20,18,.82), rgba(14,20,18,.92)); }
  .mobile-call { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 999px;
    background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 16px 40px -12px rgba(16,60,58,.7);
    transform: translateY(160%); transition: transform .4s var(--ease); }
  .mobile-call::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
  .mobile-call.show { transform: none; }
  .site-footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
