/* Dentora Clinic — modernized theme
   Layout: airy white pages, warm "sand" bands, brand gold used as a fill accent,
   charcoal ink for text. Arch-shaped photo frames echo a tooth crown. */
:root {
  --gold: #efbf04;          /* brand gold (from the current site) */
  --gold-soft: #fbefb8;
  --gold-ink: #8a6d00;      /* gold dark enough for text on white */
  --ink: #1c1a14;
  --ink-2: #57524a;
  --paper: #ffffff;
  --sand: #f6f4ee;
  --line: #e7e2d4;

  --f-display: "Familjen Grotesk", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.2rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--sand { background: var(--sand); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head { display: grid; gap: 16px; max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
@media (max-width: 720px) { .section-head--split { grid-template-columns: 1fr; } }
.mark { background: linear-gradient(transparent 58%, var(--gold) 58%, var(--gold) 92%, transparent 92%); padding-inline: .06em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 var(--step-0)/1 var(--f-body);
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #ffd21f; transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #33302a; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: var(--step--1); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d8d3c6; font-size: var(--step--1); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--gold); }
.topbar a:hover { color: #fff; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .topbar__hide-sm { display: none; } }
@media (max-width: 560px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(28, 26, 20, .35); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .98rem;
  background: none; border: 0; color: inherit; font-family: inherit; cursor: pointer;
  transition: background .2s ease;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--sand); }
.nav__link[aria-current="page"] { background: var(--gold-soft); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav__item--mega { position: relative; }
.nav__item--mega:hover .nav__link svg, .nav__item--mega.is-open .nav__link svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
  width: min(720px, 90vw);
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(28, 26, 20, .35);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega, .nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__link { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background .2s ease; }
.mega__link:hover { background: var(--sand); }
.mega__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--ink); }
.mega__icon svg { width: 24px; height: 24px; }
.mega__title { font-weight: 600; line-height: 1.25; display: block; }
.mega__desc { font-size: .84rem; color: var(--ink-2); line-height: 1.35; display: block; margin-top: 2px; }
.mega__all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; }
.mega__all svg { width: 18px; height: 18px; color: var(--gold); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 8px 6px; }
.header__phone span.ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); }
.header__phone svg { width: 16px; height: 16px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; place-items: center; color: var(--ink); }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 1080px) { .header__phone .txt { display: none; } }
@media (max-width: 960px) {
  .nav, .header__phone { display: none; }
  .header__actions { margin-left: auto; }
  .burger { display: grid; }
}
@media (max-width: 420px) { .header__actions .btn { display: none; } .logo img { height: 38px; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(28, 26, 20, .45); opacity: 0; transition: opacity .3s ease; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer__top img { height: 38px; width: auto; }
.drawer__nav { display: grid; gap: 2px; }
.drawer__nav > a { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer__label { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-top: 20px; margin-bottom: 6px; }
.drawer__services a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 500; }
.drawer__services .mega__icon { width: 36px; height: 36px; border-radius: 10px; }
.drawer__services .mega__icon svg { width: 20px; height: 20px; }
.drawer__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.drawer__foot .btn { width: 100%; }
body.no-scroll { overflow: hidden; }

/* ---------- Home hero ---------- */
/* Full-bleed photo hero, same art direction as the original site:
   doctor on the right, darkened left side, gold headline, white subline, white pill CTA. */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #3b3832;
  min-height: clamp(560px, 78vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(28, 26, 20, .72) 0%, rgba(28, 26, 20, .45) 38%, rgba(28, 26, 20, 0) 62%),
              linear-gradient(0deg, rgba(28, 26, 20, .45) 0%, rgba(28, 26, 20, 0) 30%); }
.hero > .wrap { padding-block: clamp(56px, 9vw, 120px) clamp(28px, 4vw, 44px); display: grid; gap: clamp(36px, 6vw, 72px); }
.hero__copy { display: grid; gap: 22px; max-width: 620px; min-width: 0; }
.hero .eyebrow { color: #fff; }
.hero h1 { font-size: var(--step-4); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; color: var(--gold); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero__lead { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; color: #fff; max-width: 22ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--white { background: #fff; color: var(--gold-ink); }
.btn--white:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }
.btn--glass { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { border-color: #fff; background: rgba(255, 255, 255, .16); }
.hero__bar { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: clamp(16px, 3vw, 40px); align-items: center;
  padding: 16px 22px; border-radius: 20px; background: rgba(28, 26, 20, .38); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); width: max-content; max-width: 100%; }
.hero__bar .item { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; font-size: .92rem; line-height: 1.3; min-width: 0; }
.hero__bar .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.hero__bar .ic svg { width: 17px; height: 17px; }
.hero__bar small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero__bar b { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 1099px) {
  .hero { min-height: clamp(520px, 64vh, 640px); }
  .hero__bg img { object-position: 100% 35%; }
  .hero::before { background: linear-gradient(90deg, rgba(28, 26, 20, .78) 0%, rgba(28, 26, 20, .5) 45%, rgba(28, 26, 20, .05) 75%),
                              linear-gradient(0deg, rgba(28, 26, 20, .55) 0%, rgba(28, 26, 20, 0) 40%); }
  .hero__copy { max-width: 470px; }
}
/* Sticky photo: the image stays pinned under the header while the hero copy and the next section scroll over it.
   clip-path keeps the fixed layer inside the hero; it fills the viewport below the header so it covers the hero at any scroll offset. */
@media (min-width: 761px) {
  .hero { clip-path: inset(0); }
  .hero__bg { position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100vh - var(--header-h)); }
}
/* Desktop: the portrait photo stretched across the full width puts the doctor too close.
   Keep it to the right part of the hero (smaller scale) and fade its left edge into the hero background. */
@media (min-width: 1100px) {
  .hero__bg img { width: 64%; margin-left: auto; object-position: 50% 8%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%); }
  .hero::before { background: linear-gradient(90deg, rgba(28, 26, 20, .5) 0%, rgba(28, 26, 20, .35) 40%, rgba(28, 26, 20, 0) 66%),
                              linear-gradient(0deg, rgba(28, 26, 20, .45) 0%, rgba(28, 26, 20, 0) 30%); }
}
@media (max-width: 760px) { .hero__bar { grid-template-columns: 1fr; width: 100%; } }
@media (max-width: 599px) {
  .hero { min-height: auto; }
  .hero > .wrap { padding-top: min(100vw, 440px); }
  .hero__copy { max-width: none; }
  .hero__bg img { object-position: 62% 0%; }
  .hero::before { background: linear-gradient(0deg, rgba(28, 26, 20, .88) 0%, rgba(28, 26, 20, .6) 45%, rgba(28, 26, 20, 0) 70%); }
  .hero__cta .btn { flex: 1 1 100%; }
}
.arch { position: relative; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.s-card {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.s-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(28, 26, 20, .4); border-color: transparent; }
.s-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); position: relative; }
.s-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.s-card:hover .s-card__img img { transform: scale(1.05); }
.s-card__icon { position: absolute; left: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 14px; background: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 20px -10px rgba(28, 26, 20, .5); }
.s-card__icon svg { width: 26px; height: 26px; }
.s-card__body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.s-card__body h3 { font-size: var(--step-1); }
.s-card__body p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.s-card__body .link-arrow { margin-top: auto; padding-top: 8px; font-size: .95rem; }

/* ---------- About (home) ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
.about__media { position: relative; }
.about__media .arch { aspect-ratio: 4 / 4.6; }
.about__media .small { position: absolute; right: -4%; bottom: -6%; width: 42%; border-radius: 18px; border: 6px solid var(--sand); aspect-ratio: 1; object-fit: cover; }
.about__copy { display: grid; gap: 22px; min-width: 0; }
.about__copy h2 { font-size: var(--step-3); }
.about__name { font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; }
.about__copy p { color: var(--ink-2); max-width: 62ch; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline b { font-family: var(--f-display); font-size: 1.15rem; font-variant-numeric: tabular-nums; color: var(--gold-ink); }

/* ---------- Gallery strip ---------- */
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(150px, 15vw)); gap: 14px; }
.strip a { border-radius: 16px; overflow: hidden; background: var(--sand); }
.strip a:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.strip a:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 160px; } .strip a:first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- Visit / contact band ---------- */
.visit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
@media (max-width: 880px) { .visit { grid-template-columns: 1fr; } }
.visit__card { border-radius: 24px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; align-content: start; min-width: 0; }
.visit__card--ink { background: var(--ink); color: #f1eee6; }
.visit__card--ink h2 { font-size: var(--step-3); color: #fff; }
.visit__card--ink p { color: #c9c3b4; }
.visit__card--gold { background: var(--gold); color: var(--ink); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--gold); }
.contact-list .ic svg { width: 18px; height: 18px; }
.contact-list small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #a49e8f; }
.contact-list a, .contact-list span.v { font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid rgba(28, 26, 20, .18); }
.hours td { text-align: right; font-weight: 600; }
.hours th { font-weight: 500; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours .closed { opacity: .65; font-weight: 500; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; background: rgba(255, 255, 255, .55); padding: 6px 12px; border-radius: 999px; width: max-content; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f8a4a; }
.status.is-closed::before { background: #b23a2a; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px); background: var(--sand); }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero--plain .wrap { grid-template-columns: 1fr; }
.page-hero__copy { display: grid; gap: 20px; min-width: 0; }
.page-hero h1 { font-size: var(--step-4); letter-spacing: -.035em; }
.page-hero p.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 46ch; line-height: 1.5; }
.page-hero__media { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; max-width: 100%; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .page-hero .wrap { grid-template-columns: 1fr; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--step--1); color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b3ad9e; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Service article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.prose { display: grid; gap: clamp(40px, 5vw, 56px); min-width: 0; }
.prose__intro { font-size: var(--step-1); line-height: 1.55; max-width: 60ch; }
.block { display: grid; gap: 16px; max-width: 68ch; }
.block h2 { font-size: var(--step-2); display: flex; gap: 14px; align-items: baseline; }
.block p { color: var(--ink-2); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1a14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks b { font-weight: 600; }
.ticks span { color: var(--ink-2); }
.defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 6px; }
.def { border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.def h3 { font-size: 1.15rem; }
.def p { font-size: .96rem; line-height: 1.55; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 26px; position: relative; }
.steps li::before {
  content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--gold);
  font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; display: grid; place-items: center; position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.steps h3 { font-size: 1.15rem; margin-top: 10px; margin-bottom: 4px; }
.steps p { color: var(--ink-2); }
.callout { background: var(--gold-soft); border-radius: 18px; padding: 22px 24px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; max-width: 68ch; }
.callout svg { width: 28px; height: 28px; color: var(--gold-ink); }
.callout p { color: var(--ink); }

.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.book-card { background: var(--ink); color: #f1eee6; border-radius: 22px; padding: 26px; display: grid; gap: 16px; }
.book-card h3 { font-size: var(--step-1); color: #fff; }
.book-card p { color: #c9c3b4; font-size: .95rem; }
.book-card .row { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; font-size: .95rem; font-variant-numeric: tabular-nums; }
.book-card .row span:last-child { font-weight: 600; color: #fff; }
.book-card .btn { width: 100%; }
.other-card { border: 1px solid var(--line); border-radius: 22px; padding: 10px; }
.other-card h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: 12px 12px 6px; color: var(--gold-ink); font-family: var(--f-body); }
.other-card a { display: grid; grid-template-columns: 36px 1fr 16px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; font-weight: 500; font-size: .96rem; line-height: 1.3; }
.other-card a:hover { background: var(--sand); }
.other-card a > svg { width: 16px; height: 16px; color: var(--ink-2); }
.other-card .mega__icon { width: 36px; height: 36px; border-radius: 10px; }
.other-card .mega__icon svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .aside { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { font-size: var(--step-3); max-width: 18ch; }
.cta-band p { margin-top: 10px; max-width: 48ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { border-color: rgba(28, 26, 20, .3); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Services index ---------- */
.svc-rows { display: grid; gap: 16px; }
.svc-row { display: grid; grid-template-columns: 280px 1fr auto; gap: clamp(20px, 4vw, 44px); align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 24px; transition: background .25s ease, border-color .25s ease; }
.svc-row:hover { background: var(--sand); border-color: transparent; }
.svc-row__img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__body { display: grid; gap: 10px; min-width: 0; }
.svc-row__body h2 { font-size: var(--step-2); }
.svc-row__body p { color: var(--ink-2); max-width: 58ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .82rem; padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.svc-row__go { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin-right: 12px; transition: transform .25s ease; }
.svc-row:hover .svc-row__go { transform: rotate(-45deg); }
.svc-row__go svg { width: 22px; height: 22px; }
@media (max-width: 820px) { .svc-row { grid-template-columns: 1fr; } .svc-row__go { display: none; } }

/* ---------- Gallery page ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--sand); break-inside: avoid; }
.masonry img { width: 100%; transition: transform .6s ease; }
.masonry button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20, 18, 14, .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 12px; }
.lightbox__cap { color: #e8e3d6; text-align: center; margin-top: 12px; font-size: .95rem; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--gold); color: var(--ink); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lightbox__prev { left: 16px; top: 50%; }
.lightbox__next { right: 16px; top: 50%; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field label .req { color: var(--gold-ink); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); width: 100%;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--gold-soft); }
.field .count { font-size: .8rem; color: var(--ink-2); justify-self: end; font-variant-numeric: tabular-nums; }
.form__consent { display: flex; gap: 10px; align-items: start; font-size: .88rem; color: var(--ink-2); }
.form__consent input { margin-top: 4px; accent-color: var(--ink); }
.form__consent a { text-decoration: underline; }
.form__ok { background: var(--gold-soft); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.hp { position: absolute; left: -9999px; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 22px; min-width: 0; }
.panel h2 { font-size: var(--step-2); }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(28, 26, 20, .55); }
.modal__panel { position: relative; background: var(--paper); border-radius: 26px; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; animation: pop .3s cubic-bezier(.2, .8, .2, 1); }
.modal__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.modal__head h2 { font-size: var(--step-2); }
.modal__head p { color: var(--ink-2); margin-top: 6px; font-size: .95rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; flex: none; color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9c3b4; padding-block: clamp(56px, 7vw, 88px) 28px; margin-top: clamp(64px, 9vw, 120px); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand .logo-chip { background: #fff; border-radius: 16px; padding: 12px 16px; width: max-content; }
.footer__brand .logo-chip img { height: 40px; width: auto; }
.footer h3 { font-family: var(--f-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__hours { font-variant-numeric: tabular-nums; }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; max-width: 220px; }
.footer__hours b { color: #fff; font-weight: 600; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; }
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }

/* Footer sits directly after a full-bleed section on some pages */
main > .section:last-child { padding-bottom: 0; }
