/* Δρ. Στέφανος Στεφανάκης
   Deep blue as the main colour, gold only as a fine detail (hairlines, small labels, markers).
   One modern family, Geologica, in light weights for display and regular for reading. */

:root {
  --navy: #0D1F3C;       /* main colour: dark surfaces */
  --navy-2: #0A182F;     /* footer */
  --blue: #1E4F96;       /* buttons and links on light */
  --blue-2: #173F7A;
  --sky: #E9EEF5;        /* pale blue tint for panels */
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --ink: #0D1F3C;
  --slate: #56627A;
  --line: #D8DEE8;
  --gold: #C4A15A;       /* detail only */
  --gold-deep: #A8843F;  /* the logo on white */
  --gold-text: #86672B;  /* small gold text on light surfaces (4.9:1) */
  --gold-soft: rgba(196,161,90,.55);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --font: "Geologica", system-ui, sans-serif;
  --gutter: clamp(20px, 4.5vw, 72px);
  --header: 92px;
  --section: clamp(88px, 13vh, 160px);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); overflow-x: clip; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--paper); color: var(--ink); font: 300 1.125rem/1.75 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
b, strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .page-head :focus-visible, .approach :focus-visible, .bio-close :focus-visible, .note :focus-visible, .site-foot :focus-visible, .menu :focus-visible, header.top:not(.scrolled) :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { font-weight: 300; text-wrap: balance; letter-spacing: -.03em; line-height: 1.05; }
p { text-wrap: pretty; }
a, button { touch-action: manipulation; }
.btn, button { -webkit-user-select: none; user-select: none; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--navy); color: var(--white); padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.65; color: var(--slate); max-width: 56ch; }
.muted { color: var(--slate); }
.link { color: var(--blue); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: color .2s ease; }
/* A short gold hairline that draws itself in: the recurring detail */
.kicker { display: flex; align-items: center; gap: 14px; font-size: .95rem; font-weight: 400; color: var(--gold-text); letter-spacing: .01em; }
.kicker::before { content: ""; width: 44px; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.kicker.in::before { transform: scaleX(1); }
.hero .kicker, .page-head .kicker, .approach .kicker, .bio-close .kicker { color: var(--gold); }

/* ---------- Header: transparent over the dark top of each page, white once scrolled ---------- */
header.top { position: fixed; inset: 0 0 auto; z-index: 30; color: var(--white); padding-top: env(safe-area-inset-top, 0px); transition: background .4s ease, color .4s ease, box-shadow .4s ease; }
header.top.scrolled { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); transition: height .4s var(--ease); }
header.top.scrolled .wrap { height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { height: 48px; width: auto; flex: none; color: var(--gold); transition: color .4s ease, height .4s var(--ease); }
header.top.scrolled .brand-mark { color: var(--gold-deep); height: 42px; }
body.menu-open header.top .brand-mark { color: var(--gold); }
.brand-text { display: grid; line-height: 1.25; }
.brand-name { font-weight: 400; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-role { font-size: .85rem; opacity: .7; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: .98rem; font-weight: 400; }
.main-nav a:not(.btn) { text-decoration: none; opacity: .82; padding: 6px 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: opacity .2s ease, background-size .4s var(--ease); }
.main-nav a[aria-current]:not(.btn) { opacity: 1; background-size: 100% 1px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 26px; border-radius: 999px; background: var(--blue); color: var(--white); text-decoration: none; font: 400 1rem/1.2 var(--font); border: 0; cursor: pointer; transition: background .25s ease, color .25s ease, transform .2s var(--ease), box-shadow .3s ease; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn.light { background: var(--white); color: var(--navy); }
.btn.line-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
header.top .btn { min-height: 44px; padding: 10px 20px; background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .main-nav a:not(.btn):hover { opacity: 1; background-size: 100% 1px; }
  .btn:hover { background: var(--blue-2); box-shadow: 0 10px 28px rgba(13,31,60,.22); transform: translateY(-1px); }
  .btn.light:hover { background: var(--white); color: var(--blue); }
  .btn.line-light:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--white); }
  .btn.line:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
  header.top .btn:hover { background: var(--gold); color: var(--navy); box-shadow: none; transform: none; }
  .link:hover { color: var(--blue-2); }
}

/* Phone menu */
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; color: inherit; }
.menu-toggle i, .menu-toggle i::before { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-toggle i { top: 19px; }
.menu-toggle i::before { content: ""; left: 0; right: 0; top: 9px; }
.menu-toggle[aria-expanded="true"] i { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::before { transform: translateY(-9px) rotate(-90deg); }
.menu { position: fixed; inset: 0; z-index: 25; background: var(--navy); color: var(--white); padding: calc(var(--header) + 32px + env(safe-area-inset-top, 0px)) var(--gutter) 130px; display: flex; flex-direction: column; gap: 10px; }
.menu[hidden] { display: none; }
.menu a { font-size: 2.2rem; font-weight: 300; letter-spacing: -.02em; text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .55s var(--ease); }
.menu a[aria-current] { color: var(--gold); }
.menu.open a { opacity: 1; transform: none; }
.menu a:nth-child(2) { transition-delay: .05s; } .menu a:nth-child(3) { transition-delay: .1s; } .menu a:nth-child(4) { transition-delay: .15s; }
.menu-hours { margin-top: auto; color: rgba(255,255,255,.65); }
body.menu-open header.top { background: transparent; color: var(--white); box-shadow: none; }

/* ---------- Reveals ---------- */
.rv-letters .w { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rv-letters .ch { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1.1s var(--ease), opacity .7s ease; transition-delay: calc(var(--i) * 32ms + .25s); }
.rv-letters.in .ch { transform: none; opacity: 1; }
.rv-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.rv-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.rv-words.in .w > span { transform: none; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms + 100ms); }
.rv.in { opacity: 1; transform: none; }
/* Photographs are revealed with an upward wipe (images only, so clip-path is safe) */
.wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); }
.wipe img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.wipe.in { clip-path: inset(0 0 0 0); }
.wipe.in img { transform: scale(1); }

/* ---------- Home: full-screen hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--navy); color: var(--white); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46vw); overflow: hidden; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header) + 40px) clamp(24px, 5vw, 96px) 150px var(--gutter); max-width: 820px; justify-self: end; width: 100%; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6.6rem); font-weight: 200; letter-spacing: -.045em; line-height: .98; margin-top: 26px; }
.hero h1 .pre { display: block; font-size: .32em; font-weight: 300; letter-spacing: -.01em; color: rgba(255,255,255,.7); margin-bottom: .5em; }
.hero .lead { color: rgba(255,255,255,.78); margin-top: clamp(24px, 4vh, 38px); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero .hours { margin-top: 26px; font-size: .95rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 10px; }
.hero .hours::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-photo { position: relative; height: 100%; min-height: 100svh; overflow: hidden; }
.hero-photo img { object-position: 50% 14%; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.ready .hero-photo img { transform: scale(1); }
/* the photograph slides open, then a soft shade at the top keeps the header readable */
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--navy); transform-origin: right; transition: transform 1.4s var(--ease-io) .15s; }
.ready .hero-photo::before { transform: scaleX(0); }
.hero-photo::after { content: ""; position: absolute; inset: 0 0 auto; height: 180px; z-index: 1; background: linear-gradient(rgba(13,31,60,.55), transparent); }

/* Credentials card, lifted over the bottom of the hero */
.creds { position: relative; z-index: 4; margin-top: -96px; }
.creds ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); border-radius: 22px; box-shadow: 0 30px 70px rgba(13,31,60,.14), 0 2px 6px rgba(13,31,60,.05); overflow: hidden; }
.creds li { padding: clamp(24px, 3vw, 38px); position: relative; }
.creds li + li::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.creds .num { display: block; font-size: clamp(2.2rem, 3.4vw, 3.1rem); font-weight: 200; letter-spacing: -.04em; line-height: 1; color: var(--blue); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.creds b { display: block; font-weight: 400; font-size: 1.05rem; line-height: 1.35; margin-bottom: 4px; }
.creds span:not(.num) { color: var(--slate); font-size: .95rem; line-height: 1.5; display: block; }

/* Areas */
.areas { padding: var(--section) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 7vh, 72px); }
.sec-head .kicker { margin-bottom: 18px; }
.area-list { list-style: none; }
.area-list a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 52px; gap: 24px clamp(32px, 5vw, 80px); align-items: center; padding: clamp(26px, 4vh, 38px) 0; text-decoration: none; border-top: 1px solid var(--line); }
.area-list li:last-child a { border-bottom: 1px solid var(--line); }
/* a gold line runs across the row on hover */
.area-list a::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.area-list h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 300; transition: transform .5s var(--ease), color .3s ease; }
.area-list p { color: var(--slate); }
.area-list .arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s ease, border-color .3s ease, color .3s ease, transform .4s var(--ease); }
.area-list .arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .area-list a:hover::after { transform: scaleX(1); }
  .area-list a:hover h3 { transform: translateX(10px); color: var(--blue); }
  .area-list a:hover .arrow { background: var(--navy); border-color: var(--navy); color: var(--white); transform: rotate(-45deg); }
}

.area-list a:active { background: var(--sky); }
.jump a:active, .link:active { opacity: .7; }

/* Approach */
.approach { background: var(--navy); color: var(--white); overflow: hidden; }
.approach .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 120px); align-items: center; padding-top: var(--section); padding-bottom: var(--section); }
.approach figure { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; }
/* parallax layer: 10% spare above and below, so moving it never shows an edge */
.par { position: absolute; left: 0; right: 0; top: -10%; bottom: -10%; will-change: transform; }
.approach blockquote { font-size: clamp(1.8rem, 3.2vw, 2.9rem); font-weight: 200; letter-spacing: -.025em; line-height: 1.22; }
.approach .by { margin-top: 28px; }
.approach .prose { margin-top: 30px; color: rgba(255,255,255,.72); max-width: 54ch; }

/* Visit */
.visit { padding: var(--section) 0; }
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.visit .kicker { margin-bottom: 18px; }
.visit .lead { margin-top: 18px; }
.info-list { list-style: none; margin-top: 36px; }
.info-list li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list li > span:first-child { color: var(--slate); font-size: .98rem; }
.info-list a { text-decoration: none; }
.info-list .tel { font-variant-numeric: tabular-nums; font-weight: 400; color: var(--blue); }
.map { border-radius: 22px; overflow: hidden; min-height: 460px; background: var(--sky); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.55) contrast(1.05); }

/* ---------- Inner pages: a dark head under the transparent header ---------- */
.page-head { background: var(--navy); color: var(--white); padding: calc(var(--header) + clamp(48px, 9vh, 110px)) 0 clamp(56px, 9vh, 110px); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -10vw; top: -30%; width: 55vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(196,161,90,.18); pointer-events: none; }
.page-head h1 { font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 200; letter-spacing: -.045em; margin-top: 22px; }
.page-head .lead { color: rgba(255,255,255,.75); margin-top: 26px; }

/* Biography */
.bio { padding-top: var(--section); }
.bio .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 7vw, 120px); padding-bottom: var(--section); }
.bio section + section { margin-top: clamp(56px, 9vh, 96px); }
.bio h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 22px; }
.bio section > p { max-width: 64ch; }
.bio section > p + p { margin-top: 1.1em; }
.bio aside { position: sticky; top: 100px; align-self: start; }
.bio aside figure { aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; margin-bottom: 34px; }
.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 20px 28px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); }
.timeline li:last-child::before { background: var(--gold); }
.timeline b { display: block; font-size: 1rem; font-weight: 400; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.timeline span { font-size: .98rem; line-height: 1.5; color: var(--slate); }
.pull { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 200; letter-spacing: -.02em; line-height: 1.3; padding-left: 26px; border-left: 1px solid var(--gold); margin: 34px 0; max-width: 32ch; color: var(--blue); }
/* Closing photograph of the biography, full width, with the appointment call over it */
.bio-close { position: relative; height: min(88vh, 820px); overflow: hidden; color: var(--white); }
.bio-close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,31,60,.82) 0%, rgba(13,31,60,.45) 45%, transparent 75%); }
.bio-close .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.bio-close .h2 { max-width: 14ch; }
.bio-close .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* Conditions and treatments */
.jump { position: sticky; top: 76px; z-index: 10; background: rgba(246,247,249,.94); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump a { flex: none; text-decoration: none; font-size: .95rem; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); transition: border-color .2s ease, background .25s ease, color .25s ease; }
.jump a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.area { padding: clamp(64px, 10vh, 110px) 0 0; }
.area .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); }
.area-head { position: sticky; top: 170px; align-self: start; }
.area-head h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.area-head p { margin-top: 18px; color: var(--slate); }
.group + .group { margin-top: 40px; }
.group-title { font-size: .92rem; color: var(--gold-text); margin-bottom: 6px; display: flex; align-items: center; gap: 12px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--gold-soft); }
.entries { list-style: none; }
.entries li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.entries h3 { font-size: 1.45rem; font-weight: 400; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 8px; }
.entries p { color: var(--slate); max-width: 62ch; }
.note { margin-top: clamp(72px, 11vh, 120px); padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: var(--navy); color: rgba(255,255,255,.85); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.note p { max-width: 60ch; }
.spacer { height: var(--section); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); padding-top: var(--section); padding-bottom: var(--section); }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-photo { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; }
.contact-photo img { object-position: 50% 30%; }
.big-tel { display: block; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 200; letter-spacing: -.035em; line-height: 1.15; text-decoration: none; font-variant-numeric: tabular-nums; color: var(--blue); transition: color .2s ease; }
.contact-block + .contact-block { margin-top: 44px; }
.contact-block .label { color: var(--gold-text); font-size: .92rem; margin-bottom: 10px; }
.tel-row + .tel-row { margin-top: 26px; }
.tel-row .label { margin-bottom: 2px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 13px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.closed td { color: var(--slate); }
.mt { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .big-tel:hover { color: var(--navy); } }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy-2); color: rgba(255,255,255,.7); padding: clamp(64px, 10vh, 100px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 1rem; }
.site-foot a { color: var(--white); text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-foot .foot-brand { display: inline-block; color: var(--gold); margin-bottom: 22px; }
.foot-mark { display: block; height: 64px; width: auto; }
.foot-name { font-size: 1.6rem; font-weight: 200; letter-spacing: -.02em; color: var(--white); margin-bottom: 6px; }
.foot-label { color: var(--gold); font-size: .9rem; margin-bottom: 8px; }
.foot-legal { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; margin-top: clamp(44px, 7vh, 72px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.5); }
.foot-legal p { max-width: 70ch; }
.credit { display: inline; font-size: .72rem; line-height: 1.8; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5) !important; }
.credit .heart { display: inline-block; vertical-align: -.22em; margin: 0 .3em; width: 1.15em; height: 1.15em; fill: var(--gold); animation: beat 1.8s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.16); } 24% { transform: scale(1); } 36% { transform: scale(1.1); } 48% { transform: scale(1); } }
@media (hover: hover) and (pointer: fine) { .credit:hover { color: var(--white) !important; } .site-foot a:hover { color: var(--gold); } }

.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root { --header: 72px; }
  header.top.scrolled .wrap { height: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .brand-mark, header.top.scrolled .brand-mark { height: 38px; }
  .brand-name { font-size: 1.05rem; }
  .brand-role { font-size: .8rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  /* the photo leaves room for the kicker, the name and the call bar on the first screen */
  .hero-photo { order: -1; min-height: 0; height: clamp(250px, calc(100svh - 300px), 64svh); }
  .hero-photo::after { height: 140px; }
  .hero-photo img { object-position: 50% 12%; }
  .hero-text { padding: 34px var(--gutter) 130px; justify-self: stretch; }
  .hero h1 { margin-top: 18px; }
  .creds { margin-top: -84px; }
  /* one credential per row on phones */
  .creds ul { grid-template-columns: 1fr; border-radius: 18px; }
  .creds li { padding: 22px 24px; }
  .creds li + li { border-top: 1px solid var(--line); }
  .creds li + li::before { display: none; }
  .creds .num { font-size: 2rem; white-space: nowrap; }
  .sec-head, .approach .wrap, .visit .wrap, .bio .wrap, .area .wrap, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .area-list a { grid-template-columns: minmax(0, 1fr) 52px; }
  .area-list p { grid-column: 1 / -1; grid-row: 2; }
  .bio aside, .area-head { position: static; }
  .bio aside { display: contents; }
  .bio aside figure { order: -1; margin-bottom: 0; max-width: 520px; }
  .bio .timeline { order: 2; padding-top: 8px; }
  .contact-side { display: contents; }
  .contact-photo { order: -1; }
  .bio-close { height: 78svh; }
  .bio-close::after { background: linear-gradient(0deg, rgba(13,31,60,.88) 0%, rgba(13,31,60,.4) 50%, transparent 80%); }
  .bio-close .wrap { justify-content: flex-end; padding-bottom: 48px; }
  .jump { top: 64px; }
  .info-list li { grid-template-columns: 1fr; gap: 2px; }
  .map, .map iframe { min-height: 320px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .callbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.97); box-shadow: 0 -1px 0 var(--line); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; text-decoration: none; font-weight: 400; font-size: .98rem; }
  .callbar-call { flex: 1; background: var(--blue); color: var(--white); }
  .callbar-call svg { width: 16px; height: 16px; fill: currentColor; }
  .callbar a:active { transform: scale(.98); }
  .callbar-map { padding: 0 20px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-words .w > span, .rv-letters .ch { opacity: 1; transform: none; transition: none; }
  .wipe, .wipe img { clip-path: none; transform: none; transition: none; }
  .hero-photo::before { display: none; }
  .hero-photo img { transform: none; }
  .kicker::before { transform: scaleX(1); transition: none; }
  .menu a { opacity: 1; transform: none; transition: none; }
  .credit .heart { animation: none; }
}
