:root {
  --ink: #101412;
  --ink-soft: #1b211e;
  --paper: #f5f1e8;
  --paper-deep: #e9e3d6;
  --coral: #ef5b4c;
  --coral-dark: #c83f33;
  --sea: #3db9ab;
  --muted: #626a65;
  --line: rgba(16, 20, 18, 0.15);
  --white: #fffef9;
  --shadow: 0 22px 70px rgba(16, 20, 18, 0.13);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { 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;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }
button, select, input { font: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 241, 232, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 16px 16px;
  color: var(--white);
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
  box-shadow: inset 0 -4px 0 var(--coral);
}

.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 19px; }
.brand-place {
  margin-top: 6px;
  color: var(--coral-dark);
  font-size: 10px;
  letter-spacing: 0.2em;
}

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

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--coral);
  transition: right 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 0; }

.nav-cta {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 999px;
}

.nav-cta::after { display: none; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.hero { padding: 34px 0 74px; }

.hero-card {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 10, 0.94) 0%, rgba(8, 12, 10, 0.72) 45%, rgba(8, 12, 10, 0.16) 78%),
    linear-gradient(0deg, rgba(8, 12, 10, 0.56), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 70%);
  padding: 84px 70px 170px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.89;
  letter-spacing: -0.065em;
  font-weight: 500;
}

.accent-script {
  display: block;
  color: var(--coral);
  font-style: italic;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 254, 249, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.search-panel {
  position: absolute;
  z-index: 4;
  left: 44px;
  right: 44px;
  bottom: 36px;
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 254, 249, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.24);
  backdrop-filter: blur(16px);
}

.field {
  min-width: 0;
  padding: 5px 16px;
  border-right: 1px solid var(--line);
}

.field label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field select {
  width: 100%;
  padding: 4px 26px 4px 0;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 750;
}

.primary-button {
  min-height: 60px;
  padding: 0 26px;
  border: 0;
  border-radius: 16px;
  color: var(--white);
  background: var(--coral);
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover { transform: translateY(-2px); background: var(--coral-dark); }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.trust-item {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--paper);
}

.trust-number {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-family: Georgia, serif;
  font-style: italic;
}

.trust-item strong { display: block; font-size: 14px; }
.trust-item span:last-child { color: var(--muted); font-size: 13px; }

.section { padding: 92px 0; }
.section-dark { color: var(--white); background: var(--ink); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-head h2,
.editorial-copy h2,
.page-title {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-intro {
  max-width: 500px;
  margin-bottom: 4px;
  color: var(--muted);
}

.section-dark .section-intro { color: rgba(255, 254, 249, 0.62); }

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

.area-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.area-card::before {
  content: attr(data-index);
  position: absolute;
  right: 20px;
  top: 8px;
  color: rgba(16,20,18,0.045);
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 1;
}

.area-card:hover,
.area-card.selected {
  transform: translateY(-5px);
  border-color: rgba(239, 91, 76, 0.58);
  box-shadow: 0 18px 45px rgba(16,20,18,0.1);
}

.area-card.selected { outline: 3px solid rgba(239, 91, 76, 0.18); }

.area-kicker {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.area-card h3 {
  position: relative;
  margin: 16px 0 10px;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.area-card p { position: relative; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.results-note {
  min-height: 25px;
  margin: 22px 0 0;
  color: var(--coral-dark);
  font-weight: 750;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
}

.editorial-image-wrap {
  position: relative;
  min-height: 600px;
}

.editorial-image {
  width: calc(100% - 42px);
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
}

.photo-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  color: var(--white);
  background: var(--coral);
  transform: rotate(-2deg);
}

.photo-stamp strong {
  display: block;
  margin-bottom: 4px;
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-style: italic;
  line-height: 1;
}

.photo-stamp span { font-size: 13px; font-weight: 750; }

.editorial-copy .eyebrow { margin-bottom: 18px; }
.editorial-copy h2 { margin-bottom: 26px; }
.editorial-copy > p { color: rgba(255,254,249,0.68); }

.guide-list { margin: 30px 0 0; padding: 0; list-style: none; }
.guide-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.guide-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
}
.guide-list p { margin: 0; color: rgba(255,254,249,0.62); font-size: 14px; }
.guide-index { color: var(--coral); font-family: Georgia, serif; font-style: italic; font-size: 1.45rem; }

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

.step-card {
  padding: 32px;
  border-top: 4px solid var(--ink);
  background: var(--paper-deep);
}
.step-card:nth-child(2) { border-color: var(--coral); }
.step-card:nth-child(3) { border-color: var(--sea); }
.step-label { color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.step-card h3 { margin: 18px 0 10px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.step-card p { margin: 0; color: var(--muted); }

.notice {
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255,255,255,0.5);
  font-size: 14px;
}

.notice strong { color: var(--ink); }

.site-footer {
  padding: 54px 0 30px;
  color: rgba(255,254,249,0.76);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 60px;
  padding-bottom: 44px;
}

.footer-brand { margin-bottom: 20px; color: var(--white); }
.footer-copy { max-width: 430px; color: rgba(255,254,249,0.58); }
.footer-title { margin-bottom: 14px; color: var(--white); font-size: 13px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,254,249,0.66); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--coral); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,254,249,0.48);
  font-size: 12px;
}

.legal-main { padding: 70px 0 100px; }
.legal-hero {
  padding: 64px;
  border-radius: 32px;
  color: var(--white);
  background: var(--ink);
}
.legal-hero .eyebrow { margin-bottom: 18px; }
.legal-hero .page-title { max-width: 780px; margin-bottom: 24px; }
.legal-hero p { max-width: 720px; margin-bottom: 0; color: rgba(255,254,249,0.68); }
.legal-content {
  width: min(780px, 100%);
  margin: 54px auto 0;
}
.legal-content h2 {
  margin: 42px 0 12px;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--coral-dark); }
.legal-content .updated { color: var(--coral-dark); font-weight: 750; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
}
.skip-link:focus { top: 12px; }

@media (max-width: 900px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 26px 20px 34px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 35px rgba(16,20,18,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 17px; }
  .nav-cta { text-align: center; }
  .hero-card { min-height: 720px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(8,12,10,0.94), rgba(8,12,10,0.28) 80%); }
  .hero-content { width: 100%; padding: 64px 34px 220px; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .primary-button { grid-column: 1 / -1; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-image-wrap { min-height: 530px; }
  .editorial-image { height: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header .shell { width: min(100% - 24px, 1180px); }
  .nav-wrap { min-height: 68px; }
  .nav-links { inset: 68px 0 auto; }
  .hero { padding: 14px 0 52px; }
  .hero-card { min-height: 760px; border-radius: 24px; }
  .hero-image { object-position: 60% center; }
  .hero-content { padding: 46px 24px 270px; }
  h1 { font-size: clamp(3.1rem, 17vw, 5rem); }
  .hero-lead { font-size: 1rem; }
  .search-panel { left: 14px; right: 14px; bottom: 14px; grid-template-columns: 1fr; border-radius: 18px; }
  .field { padding: 5px 12px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .primary-button { min-height: 54px; }
  .trust-row { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head h2 { margin-bottom: 16px; }
  .areas-grid, .steps { grid-template-columns: 1fr; }
  .area-card { min-height: 250px; }
  .editorial-grid { gap: 38px; }
  .editorial-image-wrap { min-height: 410px; }
  .editorial-image { width: calc(100% - 22px); height: 390px; }
  .photo-stamp { width: 148px; padding: 18px; }
  .photo-stamp strong { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .legal-main { padding: 24px 0 70px; }
  .legal-hero { padding: 38px 24px; border-radius: 24px; }
}

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