:root {
  --cream: #faf9f6;
  --ink: #202120;
  --muted: #626463;
  --blue: #303331;
  --line: #dedfda;
  --accent: #252826;
}
body { background: #e9eae6; }
.site-shell { border-color: var(--line); box-shadow: 0 20px 65px #191c1910; }
header, .byline, dialog { background: var(--cream); }
nav, .section, .byline, details { border-color: var(--line); }
.brand-role, .hero p, .hero-actions .textlink, .byline strong, .byline p { color: var(--muted); }
.eyebrow, .value .number, .steps .number, summary:after { color: #575c58; }
.hero-copy > .eyebrow:after, .hero-name em:after, .dot { background: #727b73; }
.nav-cta { color: var(--ink); border-color: #b6bcb6; }
.button, .hero-actions .button, .contact .button { background: var(--accent); border-color: var(--accent); color: #fff; }
.button:hover, .hero-actions .button:hover { background: #444a45; border-color: #444a45; }
.portrait:before { background: #c8cec6; }
.photo-slide img { filter: none; }
.photo-slide:first-child img { filter: drop-shadow(-8px 6px 12px #0000000a); }
.photo-slide:nth-child(2) { background: #d7dbd5; }
.slide-controls { background: #faf9f6ed; border-color: #d1d6d0; }
.slide-dot { width: 44px; height: 44px; padding: 18px; }
.slide-dot:before { background: #b2b8b1; }
.slide-dot.is-active:before { background: #252826; }
.slide-pause { color: var(--ink); width: 44px; height: 44px; }
.contact { background: #eceee9; }
.value { border-color: #cdd2cb; }
.hero:before, .hero:after { display: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #7f8f80; }
.mobile-contact { display: none; }
@media (max-width: 820px) {
  html { scroll-padding-top: 18px; }
  body { padding: 0 0 calc(82px + env(safe-area-inset-bottom)); background: var(--cream); }
  .site-shell { border: 0; border-radius: 0; box-shadow: none; width: 100%; overflow: hidden; }
  .wrap { padding-inline: 22px; }
  nav { height: 66px; padding-inline: 22px; }
  .brand { display: block; font-size: 13px; letter-spacing: 1.1px; }
  .brand-role { display: block; font-size: 9px; margin-top: 3px; }
  .navlinks { display: none; }
  .hero { padding-block: 0; }
  .hero-top { display: flex; flex-direction: column; min-height: 0; gap: 0; padding-top: 24px; }
  .hero-copy { display: contents; width: auto; padding: 0; }
  .hero-copy > .eyebrow { display: none; }
  .hero-copy > .hero-name { order: 1; width: 100%; font-size: clamp(32px, 8.6vw, 45px); max-width: 100%; margin: 0 0 14px; line-height: 1.07; letter-spacing: -.035em; text-wrap: balance; }
  .hero-copy > .hero-name em { white-space: normal; }
  .hero-name em:after { display: none; }
  .hero-name em { color: #5c665d; }
  .hero-copy > p { order: 2; font-size: 15px; line-height: 1.6; margin: 0; width: 100%; max-width: none; }
  .hero-copy > .hero-actions { order: 3; display: flex; flex-direction: column; width: 100%; gap: 0; margin: 18px 0 0; }
  .hero-actions .button { min-width: 0; width: 100%; min-height: 50px; padding: 14px 20px; font-size: 14px; border-radius: 6px; }
  .hero-actions .textlink { display: none; }
  .portrait { order: 4; position: relative; top: auto; bottom: auto; right: auto; width: min(100%, 390px); margin: 22px auto 0; max-width: none; }
  .photo-frame { aspect-ratio: 1.48; }
  .photo-slide:first-child img { width: 94%; left: 3%; bottom: auto; top: -5%; height: auto; }
  .portrait:before { inset: 35px 10px -10px 65px; border-radius: 55% 15% 0 0; transform: rotate(-5deg); }
  .photo-slide:nth-child(2) { inset: 0 10px; border-radius: 55px 4px 0 0; }
  .photo-slide:nth-child(2) img { width: 120%; left: -10%; top: -20%; }
  .slide-controls { right: 5px; bottom: 4px; padding: 0 2px; gap: 0; margin: 0; }
  .byline { padding: 16px 0 22px; margin: 0; }
  .byline strong { font-size: 13px; }
  .byline p { margin-top: 5px; font-size: 11px; line-height: 1.6; letter-spacing: 0; text-transform: none; }
  .section { padding: 38px 0; }
  .intro, .faq { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .section h2, .contact h2 { font-size: 34px; line-height: 1.12; }
  .intro p, .value p, .steps p, details p, .contact p { font-size: 15px; line-height: 1.7; }
  .values, .steps { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
  .value { display: block; padding-top: 20px; }
  .number { display: none; }
  .value h3, .steps h3 { font-size: 25px; margin-bottom: 10px; }
  details { padding: 17px 0; }
  summary { min-height: 44px; align-items: center; font-size: 15px; }
  .contact .button { width: 100%; min-width: 0; min-height: 50px; border-radius: 6px; }
  .contact small, .foot { font-size: 12px; line-height: 1.6; }
  .mobile-contact { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #faf9f6f5; backdrop-filter: blur(10px); }
  .mobile-contact .button { width: 100%; min-width: 0; min-height: 50px; border-radius: 6px; font-size: 14px; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; border-radius: 12px; }
  select, textarea { font-size: 16px; }
  .modal-buttons { flex-wrap: wrap; }
  .modal-buttons .button { min-width: 0; flex: 1; min-height: 48px; }
  .plain { min-height: 48px; }
}
@media (max-width: 350px) {
  .wrap { padding-inline: 18px; }
  .hero-copy > .hero-name { font-size: 31px; }
}
