:root {
  --bg: #faf7f2;
  --bg-tint: #f1ece3;
  --surface: #ffffff;
  --ink: #2b2a28;
  --ink-soft: #5d5a55;
  --line: #e3ddd2;
  --accent: #34493f;
  --accent-soft: #dfe7e1;
  --warm: #b0724f;
  --radius: 18px;
  --shadow: 0 10px 30px -18px rgba(43, 42, 40, 0.35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1,
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -0.01em;
}

.hero-title {
  font-family: var(--serif);
  line-height: 1.2;
  margin-bottom: 0.6em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.narrow {
  max-width: 820px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.9em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #283a31;
}

.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.btn-light {
  background: #fff;
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
}

.brand-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

.nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  white-space: nowrap;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}

.nav ul a:hover,
.nav ul a.is-active {
  border-bottom-color: var(--warm);
}

.nav-cta {
  padding: 10px 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bar {
  top: 21px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav ul a {
    display: block;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
  }
}

.hero {
  padding-block: 76px 36px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 28px 36px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hero-facts li {
  position: relative;
  padding-left: 16px;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm);
}

.hero-facts strong {
  font-weight: 600;
}

.hero-portrait {
  margin: 0;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 400px;
  justify-self: center;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: 200px 200px var(--radius) var(--radius);
  background: var(--accent-soft);
  z-index: -1;
}

.hero-avatar {
  display: none;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .hero {
    padding-block: 20px 40px;
  }

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

  .hero-portrait {
    display: none;
  }

  .hero-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
  }

  .hero-intro .eyebrow {
    margin: 0;
  }

  .hero-avatar {
    display: block;
    flex: none;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 5px var(--accent-soft);
  }
}

.section {
  padding-block: 88px;
}

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

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.prose p {
  color: var(--ink-soft);
}

.prose p:first-child {
  font-size: 1.12rem;
  color: var(--ink);
}

@media (max-width: 860px) {
  .section {
    padding-block: 64px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.card p {
  color: var(--ink-soft);
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.tags li {
  font-size: 0.78rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 400px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.approach {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.approach-num {
  display: block;
  font-family: var(--serif);
  color: var(--warm);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.approach p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.steps {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px;
}

.steps ol {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
  margin: 28px 0 0;
}

.steps li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-family: var(--serif);
  margin-bottom: 8px;
}

.steps span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps {
    padding: 32px 24px;
  }
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.col-title {
  font-size: 1.1rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.timeline .year {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warm);
  padding-top: 2px;
}

.timeline strong {
  display: block;
  font-weight: 600;
}

.timeline div span {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.publication {
  margin-top: 56px;
  background: var(--surface);
  border-left: 3px solid var(--warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
}

.publication-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

.publication-meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 860px) {
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.price-card h3 {
  font-size: 1.1rem;
}

.price-card p:last-child {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

.price {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--accent);
}

.price-card-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.info-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.info h3 {
  font-size: 1.05rem;
}

.info p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .pricing,
  .info-row {
    grid-template-columns: 1fr;
  }

  .info-row {
    gap: 8px;
  }
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 12px;
  margin-bottom: 56px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-main {
  grid-row: span 2;
}

.gallery img:nth-child(2) {
  grid-row: span 2;
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 220px;
  }

  .gallery-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .gallery img:nth-child(2) {
    grid-row: auto;
  }

  .gallery img:nth-child(4) {
    display: none;
  }
}

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

.practical-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}

address {
  font-style: normal;
  margin-bottom: 0.8em;
}

.small {
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: " →";
}

.access {
  list-style: none;
  padding: 0;
  margin: 0;
}

.access li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  padding-block: 7px;
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-bottom: 0.8em;
}

.hours th,
.hours td {
  text-align: left;
  padding-block: 7px;
  border-bottom: 1px solid var(--line);
}

.hours th {
  font-weight: 600;
  padding-right: 12px;
}

.hours td {
  text-align: right;
}

.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--accent);
}

@media (max-width: 960px) {
  .practical {
    grid-template-columns: 1fr;
  }
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--warm);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  color: var(--ink-soft);
  padding-bottom: 8px;
}

.cta-band {
  background: var(--accent);
  color: #fff;
  padding-block: 64px;
}

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

.cta-band h2 {
  margin-bottom: 0.2em;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.emergency {
  padding-block: 32px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.emergency p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

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

.site-footer .brand-name {
  color: var(--ink);
  margin-bottom: 0.3em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.copyright {
  margin-top: 32px;
  font-size: 0.8rem;
}

.legal {
  padding-block: 48px 88px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 1.8em;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

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

  * {
    transition: none !important;
  }
}
