:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-soft: #111113;
  --surface: #16161a;
  --surface-strong: #1a1a1e;
  --text: #f5f0eb;
  --muted: #aaa49f;
  --quiet: #77716c;
  --accent: #c9a96e;
  --accent-light: #e0c992;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 20px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #fafaf8;
  --bg-soft: #f2f0ed;
  --surface: #ffffff;
  --surface-strong: #e8e5e0;
  --text: #1a1a1a;
  --muted: #5a5754;
  --quiet: #817d78;
  --accent: #a8873a;
  --accent-light: #8b6e28;
  --border: rgba(0, 0, 0, 0.09);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.10);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--muted);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.16;
}

p {
  margin: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 650;
  white-space: nowrap;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta):focus-visible {
  color: var(--text);
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--accent);
  color: #0a0a0b;
}

.button-secondary {
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border));
  color: var(--text);
}

.nav-cta:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--accent-light);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  cursor: pointer;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 30px;
  color: var(--quiet);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 94px;
}

.service-hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  top: -220px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 67%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(46px, 6vw, 76px);
  letter-spacing: -0.035em;
}

.hero-copy h1 em {
  color: var(--accent);
  font-weight: inherit;
}

.hero-copy > p {
  max-width: 650px;
  margin-top: 26px;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 140px 24px 24px 24px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.fact-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fact {
  padding: 28px 30px;
  text-align: center;
}

.fact + .fact {
  border-left: 1px solid var(--border);
}

.fact strong {
  display: block;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
}

.fact span {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-size: 13px;
}

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(34px, 4.4vw, 50px);
}

.section-heading p {
  margin-top: 16px;
  font-size: 17px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
  gap: 72px;
  align-items: start;
}

.prose {
  display: grid;
  gap: 20px;
  font-size: 17px;
}

.prose h2 {
  margin-bottom: 6px;
  font-size: clamp(34px, 4vw, 48px);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  border-bottom: 1px solid var(--border);
  padding: 0 0 18px 30px;
  position: relative;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 13%, transparent);
}

.feature-item h3 {
  font-size: 21px;
}

.feature-item p {
  margin-top: 5px;
  color: var(--quiet);
  font-size: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.gallery figcaption {
  padding: 14px 16px 16px;
  color: var(--quiet);
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 0 22px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  padding: 20px 32px 20px 0;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--accent);
  font-family: "Inter", sans-serif;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 0 22px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px 20px;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.related-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.related-link span:last-child {
  color: var(--accent);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 28px;
  padding: 42px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface));
}

.cta-band h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.cta-band p {
  max-width: 680px;
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  color: var(--quiet);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .nav-links .optional {
    display: none;
  }

  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-media,
  .hero-media img {
    min-height: 460px;
  }

  .hero-media {
    border-radius: 90px 20px 20px 20px;
  }

  .content-grid {
    gap: 44px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery figure:last-child {
    grid-column: 1 / -1;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 20px;
  }

  .nav-links .nav-cta {
    min-height: 40px;
    padding: 0 16px;
    font-size: 12px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .service-hero {
    padding: 38px 0 70px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 400px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact + .fact {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .section {
    padding: 76px 0;
  }

  .gallery,
  .related-links {
    grid-template-columns: 1fr;
  }

  .gallery figure:last-child {
    grid-column: auto;
  }

  .cta-band {
    padding: 30px 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
