:root {
  color-scheme: light;
  --ink: #211e1a;
  --muted: #695f55;
  --paper: #f8f4ed;
  --panel: #ebe3d7;
  --panel-2: #fffdf8;
  --line: #d8cbbb;
  --accent: #7c2f2b;
  --accent-2: #315b53;
  --gold: #a97d3e;
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(35,31,28,.12);
}
body[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4efe6;
  --muted: #c9bca8;
  --paper: #171512;
  --panel: #242018;
  --panel-2: #1d1a16;
  --line: #453c31;
  --accent: #b8695f;
  --accent-2: #86a89b;
  --gold: #d6ae68;
  --white: #211d18;
  --shadow: 0 22px 60px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 22px; padding: 13px clamp(18px, 4vw, 54px) 10px; background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 1.16rem; line-height: 1.1; }
.brand span { display: block; min-height: 1.15em; margin-top: 4px; color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.nav { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 43px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent); flex-wrap: nowrap; }
.nav a, .nav summary { display: inline-flex; align-items: center; min-height: 32px; white-space: nowrap; padding: 6px 10px; border-radius: 4px; color: var(--muted); text-decoration: none; font-size: .84rem; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav a[aria-current="page"], .nav summary:hover, .nav summary[aria-current="page"] { color: var(--ink); background: var(--panel); }
.nav-group { position: relative; }
.nav-group summary::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .72; }
.nav-group[open] summary::after { transform: rotate(225deg) translate(-2px, -1px); }
.nav-group:not([open]) .nav-menu { display: none; }
.nav-menu { position: absolute; top: calc(100% + 9px); left: 50%; z-index: 18; display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 4px; width: min(560px, calc(100vw - 36px)); padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); box-shadow: var(--shadow); transform: translateX(-50%); }
.nav-menu-link { display: grid !important; align-items: start !important; min-height: 66px !important; padding: 11px 12px !important; white-space: normal !important; }
.nav-menu-link span { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.15; }
.nav-menu-link small { display: block; margin-top: 5px; color: var(--muted); font-size: .74rem; line-height: 1.25; }
.header-actions { display: flex; gap: 8px; justify-self: end; }
.language-switch { position: relative; min-height: 38px; }
.language-switch summary { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; background: color-mix(in srgb, var(--white) 78%, transparent); color: var(--ink); cursor: pointer; list-style: none; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-current { font-size: .72rem; font-weight: 850; letter-spacing: 0; }
.language-name { max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .72rem; }
.language-switch summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .72; }
.language-switch[open] summary::after { transform: rotate(225deg) translate(-2px, -1px); }
.language-switch:not([open]) .language-menu { display: none; }
.language-menu { position: absolute; top: calc(100% + 7px); right: 0; z-index: 20; display: grid; gap: 2px; min-width: 190px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: var(--shadow); }
.language-menu a { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; min-height: 34px; padding: 6px 8px; border-radius: 4px; color: var(--muted); text-decoration: none; font-size: .82rem; }
.language-menu a span { font-weight: 850; color: var(--ink); font-size: .72rem; }
.language-menu a em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-menu a:hover, .language-menu a[aria-current="true"] { color: var(--ink); background: var(--panel); }
.theme-toggle, .nav-toggle { border: 1px solid var(--line); background: var(--white); color: var(--ink); min-height: 38px; padding: 7px 11px; border-radius: 4px; align-items: center; justify-content: center; line-height: 1; }
.theme-toggle { display: inline-grid; place-items: center; min-width: 38px; }
.nav-toggle { display: none; white-space: nowrap; }
.nav-toggle-lines { position: relative; width: 17px; height: 12px; display: inline-block; }
.nav-toggle-lines::before, .nav-toggle-lines::after, .nav-toggle-lines { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 1.5px; background-position: center; }
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px; }
.nav-toggle-lines::before { top: 0; }
.nav-toggle-lines::after { bottom: 0; }
.inner { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.narrow { width: min(880px, calc(100% - 36px)); }
.hero { position: relative; min-height: 720px; display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); background: #16120f; }
.subhero { min-height: 470px; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,10,.86), rgba(15,12,10,.42) 48%, rgba(15,12,10,.14)), url("/assets/atelier-kunstpruefung.png") center / cover no-repeat; transform: scale(1.01); opacity: .92; }
.hero-content { position: relative; padding: 132px 0 84px; color: #fffaf0; }
.hero-content h1 { max-width: 900px; margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2.45rem, 7vw, 5.8rem); line-height: 1; letter-spacing: 0; overflow-wrap: break-word; hyphens: auto; }
.subhero .hero-content h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.hero-content p { max-width: 760px; margin: 0 0 26px; font-size: clamp(1.04rem, 1.7vw, 1.23rem); }
.eyebrow, .kicker { font-size: .76rem !important; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 750; }
.hero-actions, .inline-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: 4px; background: var(--accent); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.16); font-weight: 700; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.compact-button { min-height: 38px; padding: 8px 12px; font-size: .9rem; }
.hero .button.secondary, .hero .text-link { color: #fffaf0; }
.text-link, .mini-link { text-underline-offset: 5px; font-weight: 700; }
.section { padding: 82px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.tint, .faq-band { background: var(--panel); }
h2 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.14; }
h3 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 18px; }
.split { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 34px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0,1fr) minmax(280px,.75fr); }
.section-lede { max-width: 780px; color: var(--muted); }
.card-grid, .proof-grid, .reference-grid, .contact-grid, .vita-highlight-grid, .publication-grid, .source-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.card, .proof-item, .package-card, .case-study, details, .mock-form, .image-placeholder, .proof-module, .timeline-item, .fact-panel, .compact-card, .reference-card, .contact-card, .vita-panel, .vita-highlight, .publication-card, .source-box, .source-mini-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 8px 28px rgba(35,31,28,.05); }
.card { min-height: 204px; padding: 24px; text-decoration: none; }
.service-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; color: var(--accent-2); background: color-mix(in srgb, var(--panel) 58%, transparent); border: 1px solid color-mix(in srgb, var(--accent-2) 26%, var(--line)); border-radius: 6px; }
.service-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.35; stroke-linecap: round; stroke-linejoin: round; }
.card span { display: block; margin-bottom: 10px; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.32rem; line-height: 1.2; }
.card p, .proof-item p, .package-card dd, .case-study dd, details p { color: var(--muted); margin: 0; }
.proof-item { padding: 20px; }
.proof-item strong { display: block; color: var(--accent); margin-bottom: 8px; }
.reference-card { position: relative; display: grid; align-content: start; min-height: 176px; padding: 24px; text-decoration: none; overflow: hidden; }
.reference-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--gold)); opacity: .82; }
.reference-card.featured { grid-column: 1 / -1; min-height: 220px; padding: 30px; background: color-mix(in srgb, var(--panel-2) 82%, var(--panel)); }
.reference-card small, .contact-card small { display: block; margin-bottom: 10px; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.reference-card span { display: block; max-width: 760px; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; line-height: 1.2; margin-bottom: 11px; }
.reference-card.featured span { font-size: clamp(1.75rem, 3vw, 2.45rem); }
.reference-card p { max-width: 780px; color: var(--muted); margin: 0 0 18px; }
.reference-card em { align-self: end; color: var(--accent-2); font-style: normal; font-weight: 800; text-underline-offset: 5px; }
.reference-card:hover, .contact-card:hover { border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); transform: translateY(-1px); transition: transform .16s ease, border-color .16s ease; }
.reference-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 14px; margin-top: 24px; }
.reference-gallery figure { min-height: 100%; display: grid; grid-template-rows: auto 1fr; margin: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; box-shadow: 0 8px 28px rgba(35,31,28,.05); }
.gallery-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.reference-gallery img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--panel); }
.reference-gallery figcaption { min-height: 126px; display: grid; grid-template-rows: minmax(2.6em, auto) auto 1em; align-content: end; gap: 10px; padding: 11px 12px 13px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.reference-gallery figcaption > span:first-child { line-height: 1.28; }
.gallery-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gallery-like, .gallery-share { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--accent); font: inherit; font-size: .78rem; font-weight: 800; line-height: 1; cursor: pointer; transition: border-color .16s ease, transform .16s ease, background .16s ease; }
.gallery-like { min-width: 62px; padding: 0 10px; }
.gallery-share { padding: 0 12px; }
.gallery-like:hover, .gallery-share:hover { border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); transform: translateY(-1px); }
.gallery-like[aria-pressed="true"] { background: color-mix(in srgb, var(--accent-2) 14%, var(--panel)); border-color: color-mix(in srgb, var(--accent-2) 42%, var(--line)); }
.gallery-like:disabled { cursor: wait; opacity: .72; transform: none; }
.gallery-feedback { min-height: 1em; color: var(--muted); font-size: .76rem; font-weight: 700; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: clamp(18px, 4vw, 54px); background: rgba(20,17,15,.86); }
.lightbox figure { width: min(980px, 94vw); max-height: 92vh; margin: 0; display: grid; gap: 12px; }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; object-fit: contain; border-radius: 6px; box-shadow: 0 18px 70px rgba(0,0,0,.35); }
.lightbox figcaption { color: #f8f4ed; text-align: center; font-weight: 700; }
.lightbox-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(33,29,24,.62); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.source-box { max-width: 820px; padding: 22px; border-left: 4px solid var(--gold); }
.source-box p { color: var(--muted); margin-bottom: 14px; }
.source-box p:last-child { margin-bottom: 0; }
.source-mini-card { padding: 20px; min-height: 150px; border-top: 3px solid color-mix(in srgb, var(--gold) 68%, var(--line)); }
.source-mini-card small { display: block; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.source-mini-card strong { display: block; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; font-weight: 500; line-height: 1.2; margin-bottom: 10px; }
.source-mini-card p { color: var(--muted); margin: 0; }
.contact-card { display: grid; gap: 4px; min-height: 126px; padding: 22px; text-decoration: none; }
.contact-card strong { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 1.24rem; line-height: 1.2; word-break: break-word; }
.contact-card span { color: var(--accent-2); font-weight: 800; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.social-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 5px; font-size: .78rem; font-weight: 900; line-height: 1; }
.instagram-mark { border-radius: 7px; position: relative; }
.instagram-mark::before { content: ""; width: 8px; height: 8px; border: 1.8px solid currentColor; border-radius: 50%; }
.instagram-mark::after { content: ""; position: absolute; top: 5px; right: 5px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.contact-card .social-mark { margin-right: 6px; vertical-align: -6px; }
.profile-feature { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 46px); align-items: center; }
.portrait-frame { display: block; position: relative; overflow: hidden; min-height: 540px; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; object-position: 50% 42%; }
.portrait-frame.small { min-height: 430px; }
.profile-feature h3 { max-width: 680px; font-size: clamp(1.9rem, 3.2vw, 3.2rem); }
.profile-feature p { max-width: 720px; color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.trust-row span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 4px; color: var(--accent-2); background: color-mix(in srgb, var(--panel) 62%, transparent); font-size: .86rem; font-weight: 800; }
.vita-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 28px; padding: clamp(24px, 4vw, 42px); background: linear-gradient(135deg, color-mix(in srgb, var(--panel-2) 86%, var(--panel)), var(--panel-2)); }
.vita-panel h3 { max-width: 680px; font-size: clamp(1.8rem, 3vw, 3rem); }
.vita-panel p:not(.kicker) { max-width: 720px; color: var(--muted); }
.vita-portrait { display: grid; gap: 14px; }
.vita-metrics { display: grid; gap: 12px; align-content: center; }
.vita-metrics span { display: grid; gap: 3px; padding: 16px; border-left: 4px solid var(--gold); background: color-mix(in srgb, var(--panel) 54%, transparent); }
.vita-metrics strong { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 500; line-height: 1; }
.vita-highlight { padding: 22px; min-height: 150px; }
.vita-highlight span { display: block; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.42rem; line-height: 1.2; margin-bottom: 10px; }
.vita-highlight p { color: var(--muted); margin: 0; }
.publication-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.publication-card { padding: 22px; min-height: 210px; border-top: 4px solid var(--gold); }
.publication-card small { display: block; color: var(--accent-2); font-weight: 900; margin-bottom: 12px; }
.publication-card h3 { font-size: 1.18rem; }
.publication-card p { color: var(--muted); margin: 0; }
.fact-panel { display: grid; gap: 0; overflow: hidden; }
.fact-panel div { padding: 20px; border-bottom: 1px solid var(--line); }
.fact-panel div:last-child { border-bottom: 0; }
.fact-panel strong, .compact-card span { display: block; color: var(--accent); font-weight: 800; margin-bottom: 7px; }
.fact-panel p, .compact-card p { color: var(--muted); margin: 0; }
.compact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.compact-card { min-height: 150px; padding: 22px; text-decoration: none; }
.package-grid, .case-study-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.package-card, .case-study { padding: 24px; }
.package-card dl, .case-study dl { display: grid; gap: 9px; margin: 18px 0; }
.package-card dt, .case-study dt { font-weight: 800; color: var(--accent-2); }
.case-study { border-top: 4px solid var(--gold); }
.proof-module { margin-top: 20px; padding: 20px; border-left: 4px solid var(--gold); }
.proof-module p { color: var(--muted); }
.image-placeholder { min-height: 310px; display: grid; place-items: center; padding: 22px; text-align: center; background: linear-gradient(135deg, var(--panel), var(--panel-2)); }
.image-placeholder div { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; color: var(--accent); }
.image-placeholder figcaption { color: var(--muted); max-width: 320px; }
.timeline { display: grid; gap: 13px; position: relative; }
.timeline-item { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px; border-left: 4px solid color-mix(in srgb, var(--accent) 42%, var(--line)); }
.timeline-item span { color: var(--accent); font-weight: 800; }
.steps { counter-reset: item; list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: item; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 18px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; }
.steps li::before { content: counter(item); width: 40px; height: 40px; border-radius: 50%; background: var(--accent-2); color: var(--paper); display: grid; place-items: center; font-weight: 800; }
.steps li strong, .steps li span { grid-column: 2; }
.steps li strong { display: block; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; font-weight: 500; line-height: 1.2; }
.steps li span { display: block; margin-top: 6px; color: var(--muted); }
.checklist { padding-left: 1.2rem; margin: 18px 0 0; }
.checklist li { margin: 9px 0; }
.summary-action { margin-top: 14px !important; }
.checklist-actions { padding: 20px !important; align-items: stretch; }
.checklist-actions .button { width: 100%; }
.faq-list { display: grid; gap: 10px; margin-top: 24px; }
details { padding: 18px 20px; }
summary { cursor: pointer; font-weight: 760; }
details p { margin-top: 12px; }
.nav-group, .language-switch { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.nav-group p, .language-switch p { margin-top: 0; }
.contact-form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 34px); background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 8px 28px rgba(35,31,28,.05); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: var(--accent); font-weight: 800; }
.contact-form label span, .form-note, .file-summary, .form-status { color: var(--muted); font-size: .92rem; font-weight: 500; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; background: var(--paper); color: var(--ink); font: inherit; }
input[type="file"] { padding: 10px; background: color-mix(in srgb, var(--panel) 42%, var(--paper)); }
.checkbox-line { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; color: var(--muted) !important; font-weight: 600 !important; }
.checkbox-line input { width: auto; margin-top: 3px; }
.form-note { margin: -2px 0 0; }
.file-summary { padding: 11px 12px; background: color-mix(in srgb, var(--panel) 50%, transparent); border: 1px solid var(--line); border-radius: 4px; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { justify-self: start; border: 0; border-radius: 4px; background: var(--accent-2); color: var(--paper); padding: 12px 18px; font-weight: 800; }
.contact-form button:disabled { opacity: .62; cursor: wait; }
.form-status { min-height: 1.3em; margin: 0; }
.form-status[data-state="success"] { color: var(--accent-2); font-weight: 800; }
.form-status[data-state="error"] { color: var(--accent); font-weight: 800; }
.cta { padding: 46px 0; background: var(--accent-2); color: var(--paper); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.cta p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.25; }
.site-footer { padding: 48px 0; background: #1f1b19; color: #f8f2e8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.footer-grid p { color: #d5cabf; margin: 8px 0 0; }
.footer-grid a { color: #f8f2e8; text-underline-offset: 4px; }
@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: inline-flex; gap: 8px; }
  .nav { display: none; grid-column: 1 / -1; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow); }
  .nav.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a, .nav summary { padding: 10px; }
  .nav-group { grid-column: 1 / -1; }
  .nav-group summary { width: 100%; justify-content: space-between; background: color-mix(in srgb, var(--panel) 58%, transparent); }
  .nav-menu { position: static; width: 100%; margin-top: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); transform: none; box-shadow: none; background: color-mix(in srgb, var(--panel-2) 82%, var(--white)); }
  .nav-menu-link { min-height: 62px !important; }
}
@media (max-width: 820px) {
  .hero, .subhero { min-height: 590px; }
  .hero-media { background-position: 58% center; }
  .hero-content { padding: 102px 0 60px; }
  .split, .split.reverse, .card-grid, .proof-grid, .reference-grid, .contact-grid, .profile-feature, .vita-panel, .vita-highlight-grid, .publication-grid, .source-mini-grid, .package-grid, .case-study-grid, .compact-grid, .footer-grid, .cta-inner, .form-grid, .reference-gallery { grid-template-columns: 1fr; display: grid; }
  .reference-card.featured { grid-column: auto; min-height: 190px; }
  .timeline-item { grid-template-columns: 1fr; }
  .portrait-frame, .portrait-frame.small { min-height: 520px; }
}
@media (max-width: 520px) {
  .brand { font-size: 1.02rem; }
  .brand span { max-width: min(210px, 52vw); overflow: hidden; text-overflow: ellipsis; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 10px 14px; }
  .header-actions { width: auto; display: flex; align-items: center; gap: 6px; justify-self: end; }
  .language-switch { min-width: 0; justify-self: auto; }
  .language-switch summary { width: auto; min-width: 46px; max-width: 54px; justify-content: center; padding-inline: 8px; }
  .language-name { display: none; }
  .language-menu { left: auto; right: 0; min-width: min(230px, calc(100vw - 28px)); }
  .theme-toggle, .nav-toggle { height: 38px; align-self: center; }
  .nav-toggle { width: 38px; min-width: 38px; padding: 7px; }
  .nav-toggle span:last-child { display: none; }
  .nav.open { grid-template-columns: 1fr; }
  .nav-menu { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: clamp(2rem, 10.5vw, 2.75rem); hyphens: manual; }
  .section { padding: 56px 0; }
  .steps li { grid-template-columns: 1fr; }
  .portrait-frame, .portrait-frame.small { min-height: 430px; }
}