:root {
  --ink: #0d1526;
  --ink-soft: #17223a;
  --paper: #f7f5f0;
  --paper-bright: #fcfbf8;
  --paper-muted: #ebe8e1;
  --bronze: #b88f5c;
  --bronze-light: #d6b78f;
  --bronze-dark: #76542f;
  --text: #172033;
  --text-soft: #526071;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.78);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(13, 21, 38, 0.16);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --container: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--paper); color: var(--text); font-family: var(--font-body); line-height: 1.7; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--bronze); color: var(--ink); }
* { scrollbar-color: var(--bronze) var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--bronze); border: 3px solid var(--ink); border-radius: 999px; }
:focus-visible { outline: 2px solid var(--bronze-dark); outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--bronze-light); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; transform: translateY(-150%); background: var(--paper); color: var(--ink); padding: .75rem 1rem; border-radius: 8px; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(5rem, 9vw, 8.5rem); }
.section-paper { background: var(--paper); }
.section-soft { background: var(--paper-muted); }
.section-ink { background: var(--ink); color: var(--white); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 5.2vw, 5.35rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { color: var(--text-soft); font-size: 1rem; font-weight: 300; }
.section-ink p { color: var(--white-soft); }
.section-intro { max-width: 620px; }
.section-intro h2 { margin-bottom: 1.5rem; }
.section-intro > p { max-width: 65ch; font-size: 1.06rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(13, 21, 38, .94); border-bottom: 1px solid var(--line-dark); color: var(--white); transition: background .3s ease, border-color .3s ease; }
.site-header.scrolled { background: var(--ink); border-color: rgba(184, 143, 92, .42); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-wrapper { display: inline-flex; align-items: center; gap: .8rem; min-width: max-content; }
.brand-logo-svg { width: 34px; height: 34px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; }
.brand-copy small { color: var(--bronze-light); font-size: .75rem; letter-spacing: .04em; margin-top: .3rem; }
.nav-desktop { display: none; }
.nav-menu { display: flex; gap: 1.9rem; }
.nav-item-link, .header-contact { color: rgba(255,255,255,.76); font-size: .87rem; padding-block: .6rem; text-underline-offset: 6px; transition: color .2s ease; }
.nav-item-link:hover, .nav-item-link.active, .header-contact:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--bronze); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-contact { display: none; }
.mobile-nav-toggle { width: 46px; height: 46px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--line-dark); border-radius: 50%; cursor: pointer; position: relative; z-index: 1002; }
.mobile-nav-toggle span { width: 20px; height: 1px; background: var(--white); transition: transform .3s var(--ease), opacity .2s ease; }
.mobile-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer { position: fixed; inset: 78px 0 0; z-index: 1001; min-height: calc(100dvh - 78px); padding: 2.25rem max(1rem, calc((100vw - var(--container)) / 2)); background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .25s ease, transform .35s var(--ease), visibility 0s .35s; }
.mobile-drawer.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.mobile-drawer-links { display: flex; flex-direction: column; }
.mobile-drawer-link { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); color: var(--white); font-family: var(--font-display); font-size: clamp(1.5rem, 7vw, 2.25rem); }
.mobile-drawer-link.active { color: var(--bronze-light); }

.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.45rem; border: 1px solid transparent; border-radius: 999px; font-size: .91rem; font-weight: 600; line-height: 1.2; text-align: center; transition: transform .25s var(--ease), background .25s ease, color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--bronze); color: var(--ink); }
.btn-primary:hover { background: var(--bronze-light); }
.btn-block { width: 100%; }
.text-action { display: inline-flex; align-items: center; gap: .5rem; color: var(--bronze-dark); font-size: .92rem; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(118,84,47,.32); text-underline-offset: 5px; }
.text-action:hover { text-decoration-color: currentColor; }
.text-action-light { color: var(--bronze-light); text-decoration-color: rgba(214,183,143,.38); }

.hero { position: relative; padding-top: 78px; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-grid { position: static; min-height: clamp(620px, 45vw, 900px); display: grid; align-items: center; padding-block: 3.25rem; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 850px; }
.hero-emphasis { color: var(--bronze); font-style: italic; font-weight: 400; }
.hero-lead { max-width: 62ch; color: var(--white-soft); font-size: clamp(1rem, 1.8vw, 1.13rem); margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.appointment-note { max-width: 62ch; margin-top: 1.25rem; color: rgba(255,255,255,.68); font-size: .82rem; }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.editorial-split { display: grid; gap: 3.5rem; }
.editorial-split .section-intro p { margin-bottom: 1.5rem; }
.editorial-quote { align-self: end; max-width: 560px; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.editorial-quote p { font-family: var(--font-display); color: var(--text); font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.25; }
.editorial-quote footer { color: var(--text-soft); font-size: .77rem; margin-top: 1.5rem; }
.section-ink .editorial-quote { border-color: var(--line-dark); }
.section-ink .editorial-quote p { color: var(--white); }
.section-ink .editorial-quote footer { color: var(--white-soft); }

.process-layout { display: grid; gap: 3rem; }
.process-list { counter-reset: steps; }
.process-list li { counter-increment: steps; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--line-dark); }
.process-list li::before { content: counter(steps, decimal-leading-zero); color: var(--bronze-light); font-family: var(--font-display); font-size: .9rem; }
.process-list li > span { color: var(--white); font-family: var(--font-display); font-size: 1.35rem; }
.process-list li p { grid-column: 2; max-width: 58ch; margin-top: .35rem; }
.process-link { grid-column: 1 / -1; justify-self: start; }

.conditions-layout { display: grid; gap: 3rem; }
.conditions-list { display: grid; }
.conditions-list article { padding: 1.5rem 0; border-top: 1px solid var(--line-light); }
.conditions-list h3 { margin-bottom: .7rem; }
.conditions-list p { max-width: 52ch; }

.modes-heading { font-family: var(--font-body); font-size: 14px; color: var(--bronze-dark); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; margin-bottom: 2rem; }
.modes-layout { display: grid; gap: 2rem; }
.mode-panel { padding-top: 1.75rem; border-top: 1px solid var(--line-light); }
.mode-panel h2, .mode-panel h3 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 1rem; }
.mode-panel p { max-width: 55ch; }
.mode-panel span { display: block; color: var(--bronze-dark); font-size: .78rem; margin-top: 1.5rem; }

.faq-layout { display: grid; gap: 3rem; }
.faq-accordion-wrap { max-width: 760px; }
.faq-entry { border-top: 1px solid var(--line-dark); }
.faq-entry:last-child { border-bottom: 1px solid var(--line-dark); }
.faq-entry h3 { font-family: var(--font-body); }
.faq-trigger-btn { width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; border: 0; background: transparent; color: var(--white); text-align: left; cursor: pointer; font-size: 1rem; font-weight: 400; }
.faq-toggle { position: relative; width: 24px; height: 24px; flex: none; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 15px; height: 1px; background: var(--bronze-light); transition: transform .25s var(--ease); }
.faq-toggle::after { transform: rotate(90deg); }
.faq-trigger-btn[aria-expanded="true"] .faq-toggle::after { transform: rotate(0); }
.faq-body-collapse { padding: 0 3rem 1.5rem 0; }
.faq-body-collapse p { max-width: 64ch; }

.invitation-layout { display: grid; gap: 2.5rem; align-items: end; }
.invitation-layout h2 { max-width: 820px; }
.invitation-layout > div { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.invitation-layout > div p { max-width: 40ch; font-size: .78rem; }

.site-footer { background: #080d18; color: var(--white); padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer-main { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-identity { display: flex; flex-direction: column; align-items: flex-start; }
.footer-identity strong { font-family: var(--font-display); font-size: 1.5rem; }
.footer-identity > span { color: var(--bronze-light); font-size: .75rem; margin-top: .25rem; }
.footer-identity p { color: rgba(255,255,255,.62); max-width: 46ch; font-size: .8rem; margin-top: 1rem; }
.footer-main nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; color: rgba(255,255,255,.68); font-size: .82rem; }
.footer-main a { text-underline-offset: 5px; }
.footer-main a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--bronze); }
.footer-note { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.footer-note p, .footer-note span { color: rgba(255,255,255,.54); font-size: .75rem; max-width: 92ch; }

/* Inner pages */
.page-hero { padding: 9.5rem 0 5rem; background: var(--ink); color: var(--white); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; color: rgba(255,255,255,.54); font-size: .75rem; margin-bottom: 2rem; }
.breadcrumbs a { color: var(--bronze-light); text-decoration: underline; text-underline-offset: 4px; }
.page-hero h1 { max-width: 940px; }
.page-hero > .container > p { max-width: 65ch; color: var(--white-soft); margin-top: 1.5rem; font-size: 1.05rem; }
.page-content { background: var(--paper); }
.profile-layout, .consult-layout, .contact-layout { display: grid; gap: 3.5rem; }
.profile-photo { position: relative; width: min(100%, 450px); }
.profile-photo picture { display: block; }
.profile-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 18%; border-radius: var(--radius); filter: saturate(.92); }
.profile-photo figcaption { position: absolute; right: -.75rem; bottom: .75rem; z-index: 1; width: 82%; display: flex; flex-direction: column; gap: .3rem; margin: 0; padding: 1rem 1.1rem; background: var(--ink); border-radius: 12px; box-shadow: 0 14px 32px rgba(13, 21, 38, .12); }
.profile-photo figcaption strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.2; }
.profile-photo figcaption span { display: block; color: var(--bronze-light); font-size: .78rem; font-weight: 500; letter-spacing: .025em; }
.prose { max-width: 70ch; }
.prose h2 { margin: 3.5rem 0 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .75rem; }
.prose p + p { margin-top: 1.15rem; }
.prose ul { margin-top: 1.25rem; }
.prose li { padding: .85rem 0; border-top: 1px solid var(--line-light); color: var(--text-soft); }
.fact-list { display: grid; margin-top: 2rem; }
.fact-list div { padding: 1.25rem 0; border-top: 1px solid var(--line-light); }
.fact-list dt { font-family: var(--font-display); font-size: 1.2rem; }
.fact-list dd { color: var(--text-soft); font-size: .86rem; margin-top: .4rem; }
.consult-flow { counter-reset: flow; }
.consult-flow article { counter-increment: flow; padding: 2rem 0; border-top: 1px solid var(--line-light); }
.consult-flow article::before { content: counter(flow, decimal-leading-zero); color: var(--bronze-dark); font-family: var(--font-display); font-size: .8rem; }
.consult-flow h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); margin: .5rem 0 .75rem; }
.consult-flow p { max-width: 65ch; }
.aside-note { align-self: start; padding: 1.75rem 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.aside-note h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.aside-note p { font-size: .86rem; }
.aside-note .btn { margin-top: 1.25rem; }
.contact-primary h2, .contact-details h2 { margin-bottom: 1.5rem; }
.contact-intro { max-width: 62ch; margin-bottom: 2rem; }
.contact-method { padding: 1.5rem 0; border-top: 1px solid var(--line-light); }
.contact-method h3 { margin-bottom: .5rem; }
.contact-method p { font-size: .88rem; margin-bottom: .75rem; }
.contact-method a:not(.btn) { color: var(--bronze-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.booking-steps { margin: 2rem 0; }
.booking-steps li { display: grid; grid-template-columns: 1.7rem 1fr; gap: .8rem; padding: 1rem 0; border-top: 1px solid var(--line-light); color: var(--text-soft); font-size: .88rem; counter-increment: booking; }
.booking-steps { counter-reset: booking; }
.booking-steps li::before { content: counter(booking); width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border: 1px solid var(--bronze); border-radius: 50%; color: var(--bronze-dark); font-size: .68rem; }

.reveal-on-scroll { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .container { width: min(100% - 4rem, var(--container)); }
  .conditions-list, .modes-layout { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .footer-main { grid-template-columns: 1.5fr .75fr 1fr; }
  .footer-note { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .invitation-layout { grid-template-columns: 1.5fr .7fr; }
}

@media (min-width: 980px) {
  .nav-desktop { display: block; }
  .header-contact { display: inline-flex; }
  .mobile-nav-toggle, .mobile-drawer { display: none; }
  .hero-copy { max-width: 640px; }
  .editorial-split { grid-template-columns: 1fr .9fr; gap: 7rem; }
  .process-layout, .conditions-layout, .faq-layout { grid-template-columns: .72fr 1.28fr; gap: 7rem; }
  .profile-layout { grid-template-columns: .75fr 1.25fr; gap: 6rem; }
  .profile-photo { position: sticky; top: 110px; align-self: start; }
  .profile-photo figcaption { right: -2rem; }
  .consult-layout { grid-template-columns: 1.4fr .6fr; gap: 7rem; }
  .contact-layout { grid-template-columns: 1.1fr .9fr; gap: 7rem; }
  .aside-note { position: sticky; top: 120px; }
}

@media (max-width: 979px) {
  .hero-grid { position: relative; min-height: 0; padding-block: 3.25rem 2rem; }
  .hero-copy { order: 1; }
  .hero-art { position: relative; inset: auto; order: 2; width: 100%; margin-top: 2.5rem; }
  .hero-art img { width: 100%; height: auto; aspect-ratio: 20 / 9; object-fit: contain; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .appointment-note { font-size: .8rem; }
}

@media (max-width: 759px) {
  .hero-copy { display: contents; }
  .hero h1 { position: relative; z-index: 1; order: 1; }
  .hero-lead { position: relative; z-index: 1; order: 2; }
  .hero-art {
    order: 3;
    justify-self: center;
    width: clamp(186px, 58vw, 230px);
    aspect-ratio: 3 / 4;
    margin-top: 2rem;
    border: 2px solid var(--bronze);
    border-radius: 22px;
    overflow: hidden;
  }
  .hero-art img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 84% center;
  }
  .hero-actions { position: relative; z-index: 1; order: 4; width: 100%; margin-top: 1.5rem; }
  .appointment-note { position: relative; z-index: 1; order: 5; }
  .profile-photo figcaption { right: auto; bottom: -.75rem; left: 50%; transform: translateX(-50%); }
}

@media (max-width: 540px) {
  .container { width: min(100% - 1.5rem, var(--container)); }
  .header-inner { height: 72px; }
  .mobile-drawer { top: 72px; min-height: calc(100dvh - 72px); }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .75rem; }
  .hero { padding-top: 72px; }
  .hero-grid { padding-block: 3.25rem 2rem; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .section { padding-block: 4.75rem; }
  .page-hero { padding: 7.5rem 0 3.75rem; }
  .page-hero h1 { font-size: 2.7rem; }
  .faq-trigger-btn { min-height: 72px; font-size: .92rem; }
  .footer-main { gap: 2rem; }
}

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