:root {
  --bg: #f7f3eb;
  --bg-soft: #fffdf8;
  --surface: rgba(255, 253, 248, 0.78);
  --surface-strong: #fffaf1;
  --line: rgba(92, 78, 58, 0.16);
  --text: #342b23;
  --muted: #6f6254;
  --accent: #ba8a5d;
  --accent-soft: #ead6bd;
  --shadow: 0 24px 60px rgba(90, 70, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 32%),
    radial-gradient(circle at bottom right, rgba(234, 214, 189, 0.5), transparent 28%),
    linear-gradient(180deg, #f9f6ef 0%, #f3ede3 100%);
}

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

img {
  max-width: 100%;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-mark,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand-mark {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-subline,
.eyebrow,
.panel-label,
.location-note,
.timeline-year {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
  padding-top: 0.5rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
}

.hero-copy,
.hero-panel,
.intro-band,
.card,
.wide-info-box,
.location-card,
.value-item,
.subpage-hero,
.timeline,
.legal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.subpage-hero,
.legal-card {
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 4rem;
  min-height: 32rem;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -3rem -6rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 214, 189, 0.9), rgba(234, 214, 189, 0));
}

h1 {
  margin: 0.5rem 0 1rem;
  max-width: 12ch;
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  line-height: 0.98;
}

.hero-text,
.intro-band p,
.card p,
.wide-info-box p,
.location-card p,
.value-item p,
.subpage-hero p,
.timeline-entry p,
.legal-copy p,
.legal-card p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  border: 0;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #fffdf8;
}

.button-secondary {
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid var(--line);
}

.hero-panel {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-quote {
  margin: 0.75rem 0 2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  line-height: 1.25;
}

.panel-image {
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.panel-stack {
  display: grid;
  gap: 1.25rem;
}

.stat-number {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.35rem;
}

.stat-label {
  color: var(--muted);
  line-height: 1.6;
}

.intro-band {
  margin: 1.5rem 0 5rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius-md);
}

.intro-band h2 {
  margin: 1.8rem 0 0.55rem;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

.intro-band h2:first-child {
  margin-top: 0;
}

.intro-band p {
  max-width: 72ch;
  margin: 0 0 0.85rem;
}

.content-section {
  margin-bottom: 5rem;
}

.inquiry-section {
  margin-top: -2.5rem;
}

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.inquiry-dropdown {
  position: relative;
  padding-bottom: 0.45rem;
}

.inquiry-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 0.9rem;
}

.inquiry-dropdown .button:hover {
  transform: none;
}

.inquiry-menu {
  position: absolute;
  left: 0;
  top: calc(100% - 0.35rem);
  z-index: 20;
  min-width: 11rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.15rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.inquiry-dropdown:hover .inquiry-menu,
.inquiry-dropdown:focus-within .inquiry-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.inquiry-menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  color: var(--text);
  font-weight: 600;
}

.inquiry-menu a:hover {
  background: rgba(234, 214, 189, 0.45);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.6rem;
}

h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.08;
}

.card-grid,
.location-grid,
.values-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.wide-info-box,
.location-card,
.value-item {
  padding: 1.6rem;
  border-radius: var(--radius-md);
}

.wide-info-box {
  margin-top: 1.25rem;
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  line-height: 1.12;
}

.values-section {
  padding-bottom: 1rem;
}

.site-footer {
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-title {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.subpage-main {
  display: grid;
  gap: 2rem;
}

.subpage-hero {
  padding: 3rem;
}

.vita-hero-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  margin-top: 1.25rem;
}

.vita-hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  object-fit: cover;
}

.timeline {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.timeline-entry {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.timeline-entry + .timeline-entry {
  border-top: 1px solid var(--line);
}

.legal-shell {
  max-width: 980px;
}

.legal-main {
  max-width: 760px;
  margin: 3rem auto 0;
}

.legal-card {
  margin-top: 1rem;
  padding: 2rem;
}

.legal-card h2,
.legal-copy h2 {
  margin: 1.7rem 0 0.55rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-card h2:first-child,
.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-card a,
.legal-copy a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.18em;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer,
  .section-grid,
  .card-grid,
  .location-grid,
  .values-grid,
  .vita-hero-layout,
  .timeline-entry {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .site-header {
    border-radius: 30px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-copy {
    min-height: auto;
    padding: 2.4rem;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 1.2rem), var(--container));
    padding-top: 0.6rem;
  }

  .site-header,
  .hero-panel,
  .intro-band,
  .card,
  .wide-info-box,
  .location-card,
  .value-item,
  .subpage-hero,
  .timeline,
  .legal-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.45rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .legal-card h2,
  .legal-copy h2 {
    font-size: 1.25rem;
  }
}
