:root {
  --bg: #0b0907;
  --bg-soft: #120f0c;
  --surface: #17120e;
  --surface-2: #1d1712;
  --cream: #f1e8d8;
  --muted: #c5b7a3;
  --gold: #c9a45f;
  --gold-light: #e1c27d;
  --line: rgba(201, 164, 95, 0.26);
  --line-strong: rgba(201, 164, 95, 0.52);
  --danger: #efb0a3;
  --success: #b8d8b0;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
  --section-space: 96px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}
h1 { max-width: 14ch; margin-bottom: 24px; font-size: clamp(3.3rem, 7vw, 6rem); }
h2 { max-width: 18ch; margin-bottom: 24px; font-size: clamp(2.5rem, 5vw, 4.25rem); }
h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
p { max-width: 65ch; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 820px); }
.section { padding-block: var(--section-space); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); margin-bottom: 0; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--cream);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 9, 7, 0.96);
  backdrop-filter: blur(14px);
}
.nav { min-height: 88px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; min-width: 250px; align-items: center; gap: 12px; text-decoration: none; }
.brand picture, .brand img { width: 56px; height: 56px; flex: 0 0 56px; object-fit: cover; border-radius: 50%; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 0.7rem; }
.nav-menu { display: flex; margin-left: auto; align-items: center; gap: 24px; }
.nav-menu a { padding-block: 12px; color: var(--muted); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.nav-menu a:hover { color: var(--cream); }
.language-switch { display: flex; padding-left: 18px; border-left: 1px solid var(--line); gap: 6px; }
.language-switch a {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.language-switch a[aria-current="page"] { color: var(--gold-light); }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; }
.nav-toggle span { display: block; height: 2px; margin-block: 5px; background: var(--gold-light); transition: transform 180ms ease, opacity 180ms ease; }

.hero { min-height: calc(100vh - 88px); display: grid; align-items: center; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; padding-block: 72px; align-items: center; grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr); gap: 48px; }
.hero-grid-text { grid-template-columns: minmax(0, 820px); }
.hero-lead { margin-bottom: 34px; color: var(--muted); font-size: 1.08rem; }
.service-language { color: var(--gold-light) !important; font-size: 0.9rem; font-weight: 650; }
.hero-copy .service-language { margin: -18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { min-width: 0; }
.hero-media img { width: 100%; filter: saturate(0.86) contrast(1.02); }

.button {
  min-height: 48px;
  display: inline-flex;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button.primary { background: var(--gold); color: #171006; }
.button.primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.button.secondary { background: transparent; color: var(--cream); }
.button.secondary:hover { background: rgba(201, 164, 95, 0.1); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--gold-light); font-weight: 650; }

.npc-intro { background: var(--bg-soft); }
.npc-intro .narrow > p { color: var(--muted); font-size: 1.08rem; }
.npc-intro .narrow { width: min(calc(100% - 48px), var(--container)); }
.npc-visual { display: grid; margin-top: 58px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr); gap: 42px; }
.brain-quote-art img { width: 100%; }
.source-quote { margin: 52px 0 0; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.npc-visual .source-quote { margin: 0; }
.source-quote p { max-width: none; margin-bottom: 12px; color: var(--gold-light); font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.35rem); font-style: italic; line-height: 1.25; }
.source-quote p span { display: block; }
.source-quote cite { color: var(--muted); font-size: 0.82rem; font-style: normal; }

.topics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.topic-card { overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.topic-card[open] { border-color: var(--line-strong); background: var(--surface-2); }
.topic-card summary { position: relative; min-height: 300px; list-style: none; }
.topic-card summary::-webkit-details-marker { display: none; }
.topic-card picture, .topic-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.topic-card img { object-fit: cover; opacity: 0.76; transition: opacity 180ms ease; }
.topic-card summary::after { content: "+"; position: absolute; top: 18px; right: 20px; color: var(--gold-light); font-size: 1.5rem; line-height: 1; }
.topic-card[open] summary::after { content: "−"; }
.topic-card summary span {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  max-width: 15ch;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}
.topic-card p { margin: 0; padding: 0 24px 24px; color: var(--muted); font-size: 0.94rem; }

.process-section { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step-item { min-width: 0; }
.step-card {
  width: 100%;
  min-height: 240px;
  display: flex;
  padding: 26px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--cream);
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.step-card:hover, .step-card[aria-expanded="true"] { border-color: var(--line-strong); background: var(--surface-2); }
.step-label { margin-bottom: auto; color: var(--gold-light); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; }
.step-title { margin-block: 28px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.08; }
.step-cue { color: var(--muted); font-size: 0.78rem; font-weight: 650; }
.step-cue span { display: inline-block; margin-left: 5px; color: var(--gold-light); transition: transform 180ms ease; }
.step-card[aria-expanded="true"] .step-cue span { transform: rotate(45deg); }
.step-panel { padding: 18px 8px 2px; color: var(--muted); font-size: 0.93rem; }
.step-panel:not([hidden]) { animation: reveal 260ms ease both; }
.section-cta { display: flex; margin-top: 44px; align-items: center; gap: 18px; flex-wrap: wrap; }
.section-cta p { width: 100%; margin-bottom: 0; color: var(--muted); }

.services-section { border-bottom: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.service-card { min-height: 350px; padding: 34px; background: var(--bg); }
.service-number { color: var(--gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; }
.service-card h3 { max-width: 12ch; margin: 54px 0 18px; }
.service-card > p:not(.service-number) { color: var(--muted); font-size: 0.95rem; }
.service-card .service-price { display: flex; margin: 26px 0 0; align-items: baseline; gap: 10px; color: var(--cream); }
.service-card .service-price strong { color: var(--cream); font-family: var(--font-display); font-size: 2.7rem; font-weight: 600; line-height: 1; }
.service-card .service-price span { color: var(--gold-light); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.service-card .service-total { margin-top: 7px; color: var(--muted); font-size: 0.82rem; }
.service-card a { display: inline-block; margin-top: 18px; color: var(--gold-light); font-weight: 650; }

.about-section { background: var(--bg-soft); }
.about-grid { display: grid; align-items: center; grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 108px); }
.portrait { overflow: hidden; border-radius: var(--radius); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy p { color: var(--muted); }
.about-copy em { color: var(--cream); }

.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 72px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; min-height: 68px; display: flex; padding: 18px 52px 18px 0; align-items: center; list-style: none; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; color: var(--gold-light); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 52px 20px 0; color: var(--muted); }

.contact-form-section { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(48px, 8vw, 104px); }
.direct-contact { display: grid; margin-top: 32px; gap: 12px; font-style: normal; }
.direct-contact a { width: fit-content; color: var(--gold-light); }
.contact-form { display: grid; position: relative; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.contact-form > label { margin: 16px 0 7px; font-size: 0.82rem; font-weight: 650; }
.contact-form > label:nth-of-type(n+3), .contact-form select, .contact-form textarea, .contact-form .privacy-note, .contact-form .consent, .contact-form button, .contact-form .form-status { grid-column: 1 / -1; }
.contact-form > label:nth-of-type(1), .contact-form > label:nth-of-type(2) { grid-column: auto; }
.contact-form > input:nth-of-type(1), .contact-form > input:nth-of-type(2) { grid-column: auto; }
.contact-form > input:nth-of-type(n+3) { grid-column: 1 / -1; }
.contact-form label span { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(241, 232, 216, 0.2);
  border-radius: 3px;
  background: var(--bg);
  color: var(--cream);
}
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.privacy-note { margin: 18px 0 8px; color: var(--gold-light); font-size: 0.82rem; }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { width: 20px; min-height: 20px; margin-top: 4px; flex: 0 0 20px; accent-color: var(--gold); }
.consent span { font-size: 0.82rem; }
.contact-form button { width: fit-content; margin-top: 22px; }
.contact-form button[disabled] { cursor: wait; opacity: 0.65; }
.form-status { min-height: 28px; margin: 14px 0 0; color: var(--muted); font-size: 0.85rem; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--success); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { padding-block: 56px 32px; border-top: 1px solid var(--line); background: #080605; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.7fr; gap: 48px; }
.footer-grid > div, .footer-grid nav { display: grid; align-content: start; gap: 10px; }
.footer-grid strong { font-family: var(--font-display); font-size: 1.5rem; }
.footer-grid span, .footer-grid a { color: var(--muted); font-size: 0.82rem; }
.footer-notes { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-notes p { max-width: 90ch; margin-bottom: 6px; color: #948777; font-size: 0.75rem; }

.legal-page { min-height: 70vh; }
.legal-page .narrow { padding-block: var(--section-space); }
.legal-page h1 { max-width: none; font-size: clamp(3rem, 6vw, 5rem); }
.legal-page h2 { margin-top: 48px; font-size: 2.2rem; }
.legal-page p, .legal-page li { color: var(--muted); }

[hidden] { display: none !important; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .nav-menu { gap: 14px; }
  .nav-menu a { font-size: 0.78rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 0.6fr 1.4fr; gap: 42px; }
}

@media (max-width: 820px) {
  :root { --section-space: 64px; }
  .container, .narrow { width: min(calc(100% - 32px), var(--container)); }
  .nav { min-height: 76px; }
  .brand { min-width: 0; margin-right: auto; }
  .brand picture, .brand img { width: 48px; height: 48px; flex-basis: 48px; }
  .brand small { display: none; }
  .nav-toggle { display: block; order: 2; }
  .language-switch { order: 1; margin-left: auto; padding-left: 0; border-left: 0; }
  .nav-menu {
    position: fixed;
    z-index: 99;
    inset: 76px 0 auto;
    display: grid;
    max-height: calc(100vh - 76px);
    margin: 0;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-menu a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 64px 44px; grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .npc-visual { grid-template-columns: 1fr; gap: 28px; }
  .services-grid, .about-grid, .faq-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 44px; }
  .portrait { max-width: 520px; }
  .contact-grid { gap: 36px; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(3rem, 16vw, 4.3rem); }
  h2 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .brand strong { font-size: 1.12rem; }
  .language-switch a { min-width: 38px; }
  .hero-actions, .section-cta { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .section-cta .button { width: 100%; }
  .topics-grid, .steps { grid-template-columns: 1fr; }
  .topic-card summary { min-height: 270px; }
  .step-card { min-height: 210px; }
  .services-grid { display: block; background: transparent; }
  .service-card { min-height: 0; padding: 30px 0; border-top: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 1px solid var(--line); }
  .service-card h3 { margin-top: 32px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form > label, .contact-form > input { grid-column: 1 / -1 !important; }
  .source-quote { padding-inline: 0; }
}

@media (max-width: 360px) {
  .brand picture, .brand img { width: 42px; height: 42px; flex-basis: 42px; }
  .brand strong { font-size: 1rem; }
  .language-switch a { min-width: 34px; font-size: 0.72rem; }
  .nav-toggle { width: 44px; height: 44px; }
}

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