/* Praxis Franca Pelkmann – Stylesheet */

/* ---------- Schriften (lokal, keine externen Abrufe) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #faf8f3;
  --surface: #f2eee4;
  --ink: #23211c;
  --muted: #67625a;
  --line: #e4ddce;
  --gold: #c2b83a;
  --gold-soft: #ece6b4;
  --gold-deep: #6f6718;
  --dark: #1f1d19;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; font-variation-settings: "SOFT" 50, "opsz" 144; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px;
  border-radius: 999px; font-size: 16px; font-weight: 500; letter-spacing: 0; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 248, 243, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 40px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.main-nav a:not(.btn):hover { color: var(--ink); background: var(--surface); }
.main-nav .btn { height: 42px; padding: 0 18px; font-size: 15px; margin-left: 10px; }
.menu-toggle { display: none; }

/* ---------- Aktuelles-Banner ---------- */
.notice-wrap { padding-top: 20px; }
.notice {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start;
  padding: 18px 20px 18px 18px; border-radius: 18px;
  background: linear-gradient(135deg, #f6f1cf, #f3eedf); border: 1px solid #e6dd9f;
}
.notice .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: #fff; }
.notice .dot svg { width: 20px; height: 20px; }
.notice h2 { font-size: 15px; font-weight: 600; letter-spacing: .02em; margin-bottom: 2px; }
.notice p { font-size: 15px; line-height: 1.6; color: #4b4637; }
.notice-close {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.6); display: grid; place-items: center; transition: background .2s;
}
.notice-close:hover { background: #fff; }
.notice-close svg { width: 14px; height: 14px; }
.notice-wrap.hidden { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(52px, 7.4vw, 104px); margin: 22px 0 22px; }
.hero .subtitle { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; max-width: 30ch; }
.hero .welcome { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero .welcome h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-bottom: 14px; letter-spacing: -0.01em; }
.hero .welcome p { color: var(--muted); max-width: 60ch; }
.hero .welcome p + p { margin-top: 14px; }
.hero .welcome .highlight { color: var(--ink); font-weight: 500; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.portrait { position: relative; }
.portrait .frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: 0 30px 60px -30px rgba(60, 50, 20, .35);
}
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait .badge {
  position: absolute; left: -28px; bottom: 44px; width: 112px; height: 112px; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center; box-shadow: 0 16px 40px -16px rgba(60, 50, 20, .35);
}
.portrait .badge img { width: 64px; animation: float 6s ease-in-out infinite; }
.hero .glow {
  position: absolute; right: -200px; top: 20px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(194, 184, 58, .22), rgba(194, 184, 58, 0)); pointer-events: none;
}
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head .quote { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 400; }

/* ---------- Karten ---------- */
.works { background: var(--surface); border-radius: 40px 40px 0 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius); padding: 12px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(60, 50, 20, .35); }
.card .media { overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card .media img.theo { object-position: center 58%; }
.card:hover .media img { transform: scale(1.04); }
.card .body { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 22px 14px 14px; align-items: start; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.card p { grid-column: 1; color: var(--muted); font-size: 16px; }
.card .arrow {
  grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.card .arrow svg { width: 18px; height: 18px; }
.card:hover .arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }

/* ---------- Über mich ---------- */
.about .grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; width: 100%; box-shadow: 0 30px 60px -30px rgba(60, 50, 20, .35); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about .intro-col { margin-bottom: 48px; }
.about h2 { font-size: clamp(48px, 5.6vw, 76px); margin: 20px 0 26px; }
.about .intro { color: var(--muted); }

.timeline { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.tl-item { border-bottom: 1px solid var(--line); }
.tl-item h3 { margin: 0; font-weight: inherit; font-size: inherit; }
.tl-head {
  width: 100%; display: grid; grid-template-columns: 110px 1fr 40px; gap: 4px 24px; align-items: start;
  padding: 28px 4px; border: 0; background: none; text-align: left; cursor: pointer;
}
.tl-year { grid-column: 1; grid-row: 1 / span 2; padding-top: 4px; font-size: 14px; font-weight: 500; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.tl-title { grid-column: 2; font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; }
.tl-sub { grid-column: 2; color: var(--muted); font-size: 16px; line-height: 1.5; }
.tl-icon {
  grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); position: relative; transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease);
}
.tl-icon::before, .tl-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.tl-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.tl-head:hover .tl-icon { border-color: var(--ink); }
.tl-head[aria-expanded="true"] .tl-icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.tl-body { display: grid; grid-template-rows: 1fr; }
.js .tl-body { grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.js .tl-item.open .tl-body { grid-template-rows: 1fr; }
.tl-body > div { overflow: hidden; }
.tl-body p {
  margin: 0 56px 28px 138px; padding: 18px 22px; border-radius: 14px; background: var(--surface);
  color: #48443c; font-size: 16px; line-height: 1.65;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #f4f1ea; padding: clamp(72px, 9vw, 120px) 0 36px; border-radius: 40px 40px 0 0; position: relative; overflow: hidden; }
.site-footer .claim { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 136px); line-height: 1; letter-spacing: -0.03em; }
.site-footer .claim .accent { color: var(--gold); }
.site-footer .bottom { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-top: clamp(56px, 8vw, 110px); padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .contact strong { display: block; font-weight: 600; font-size: 18px; margin-bottom: 14px; }
.site-footer .contact a, .site-footer .contact span { display: flex; align-items: center; gap: 12px; padding: 4px 0; color: rgba(244,241,234,.85); width: fit-content; }
.site-footer .contact a:hover { color: var(--gold); }
.site-footer .contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer nav a { color: rgba(244,241,234,.85); width: fit-content; padding: 2px 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.site-footer nav a:hover { color: #fff; background-size: 100% 1px; }
.site-footer .logo-mark { width: 54px; }
.site-footer .watermark { position: absolute; right: -80px; top: -60px; width: 420px; opacity: .05; pointer-events: none; }

/* ---------- Detailseiten (Praxis / Theo) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 48px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 96px); margin: 20px 0 0; }
.page-hero .lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.page-hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.feature-img { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-img.theo img { object-position: center 20%; }
.next-card {
  display: grid; grid-template-columns: 1fr 1fr; margin: clamp(72px, 9vw, 120px) 0 0;
  background: var(--surface); border-radius: 28px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.next-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(60,50,20,.35); }
.next-card .text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.next-card h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 18px 0 18px; }
.next-card p { color: var(--muted); }
.next-card .img { min-height: 380px; overflow: hidden; }
.next-card .img img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: transform .9s var(--ease); }
.next-card:hover .img img { transform: scale(1.04); }
.next-card .arrow { margin-top: 28px; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.next-card .arrow svg { width: 18px; height: 18px; }
.page-end { height: clamp(64px, 9vw, 120px); }

/* ---------- Rechtliches ---------- */
.legal { padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 9vw, 120px); }
.legal h1 { font-size: clamp(40px, 5.4vw, 72px); margin: 20px 0 48px; max-width: 18ch; }
.legal .card-prose { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 64px); max-width: 860px; }
.prose { color: #48443c; font-size: 16.5px; line-height: 1.75; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; word-break: break-word; }
.prose a:hover { color: var(--ink); }
.prose ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prose li p { margin: 0 0 6px; }
.prose .sec { font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 40px 0 14px; line-height: 1.3; }
.prose .sec strong { font-weight: 500; }

/* ---------- Theo-Seite ---------- */
.theo-hero .grid { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.theo-hero h1 { font-size: clamp(44px, 5.4vw, 80px); }
.theo-hero .lead { margin-top: 28px; }
.theo-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(60, 50, 20, .35); }
.theo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (max-width: 767px) {
  .theo-hero .grid { grid-template-columns: 1fr; }
  .theo-photo { border-radius: 20px; }
}

/* ---------- Bildband (Startseite) ---------- */
.mosaic { padding: clamp(72px, 9vw, 120px) 0 0; }
.mosaic-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: 20px; align-items: end; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic .m1 { aspect-ratio: 4 / 3.4; }
.mosaic .m2 { aspect-ratio: 3 / 4.4; }
.mosaic .m3 { aspect-ratio: 1 / 1; margin-bottom: 48px; }
.mosaic .m4 { aspect-ratio: 4 / 4.6; }

/* ---------- Galerie (Praxis) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(160px, 18vw, 250px); grid-auto-flow: dense; gap: 20px; margin-top: 20px; }
.g-item { display: block; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g-item:hover img { transform: scale(1.04); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(20, 18, 14, .92); }
.lightbox.open { display: flex; animation: lb-in .25s ease; }
.lightbox img { max-width: min(1400px, 100%); max-height: 86vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1023px) {
  .about .grid { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; max-width: 560px; }
  .mosaic-grid { grid-template-columns: 1fr 1fr; }
  .mosaic .m3 { margin-bottom: 0; }
}
@media (max-width: 767px) {
  .mosaic-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 12px; padding-bottom: 8px; scrollbar-width: none; }
  .mosaic-grid::-webkit-scrollbar { display: none; }
  .mosaic figure { flex: 0 0 72%; scroll-snap-align: start; aspect-ratio: 4 / 5 !important; margin-bottom: 0 !important; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 12px; }
  .g-item { border-radius: 14px; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .about .grid { grid-template-columns: 1fr; }
  .about .intro-col { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .site-footer .bottom { grid-template-columns: 1fr 1fr; }
  .site-footer .bottom .brandcol { grid-column: 1 / -1; }
  .tl-body p { margin-left: 4px; }
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  :root { --header-h: 66px; --radius: 18px; }
  body { font-size: 16px; }
  .brand { font-size: 16px; }
  .brand img { width: 34px; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(255,255,255,.6); cursor: pointer; padding: 0;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; grid-area: 1 / 1; }
  .menu-toggle span:nth-child(1) { transform: translateY(-5px); }
  .menu-toggle span:nth-child(3) { transform: translateY(5px); }
  .menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }
  .main-nav {
    position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 4px);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 48px -20px rgba(40,30,10,.3);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav a:not(.btn) { font-size: 18px; padding: 14px 16px; color: var(--ink); }
  .main-nav .btn { margin: 6px 0 0; height: 52px; justify-content: center; font-size: 16px; }

  .notice { grid-template-columns: 1fr auto; padding: 16px; }
  .notice .dot { display: none; }

  .hero { padding: 28px 0 64px; }
  .hero .grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait { order: -1; max-width: 400px; width: 86%; margin: 0 auto; }
  .portrait .badge { width: 84px; height: 84px; left: -16px; bottom: 28px; }
  .portrait .badge img { width: 48px; }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }

  .works { border-radius: 28px 28px 0 0; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card h3 { font-size: 24px; }

  .tl-head { grid-template-columns: 1fr 40px; gap: 4px 16px; padding: 24px 0; }
  .tl-year { grid-row: 1; grid-column: 1; padding: 0; }
  .tl-title { grid-column: 1; grid-row: 2; font-size: 19px; }
  .tl-sub { grid-column: 1; grid-row: 3; }
  .tl-icon { grid-column: 2; grid-row: 1 / span 3; }
  .tl-body p { margin: 0 0 24px; }

  .site-footer { border-radius: 28px 28px 0 0; }
  .site-footer .bottom { grid-template-columns: 1fr; gap: 32px; }

  .page-hero .grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .next-card { grid-template-columns: 1fr; border-radius: 22px; }
  .next-card .img { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .legal .card-prose { border-radius: 20px; }
}
