:root {
  --bg: #f5efe6;
  --bg-strong: #efe3d2;
  --surface: rgba(255, 250, 244, 0.72);
  --surface-strong: #e7d6c4;
  --line: rgba(94, 83, 72, 0.18);
  --line-strong: rgba(94, 83, 72, 0.3);
  --text: #2b2622;
  --muted: #5e5348;
  --accent: #b89b76;
  --accent-deep: #8f7454;
  --graphite: #342e29;
  --white: #fffdf9;
  --shadow: 0 24px 80px rgba(69, 54, 39, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(194, 169, 135, 0.2), transparent 30%),
    radial-gradient(circle at right center, rgba(231, 214, 196, 0.85), transparent 26%),
    linear-gradient(180deg, #f8f3eb 0%, #f5efe6 55%, #f1e7d9 100%);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  z-index: -1;
}

.site-shell::before {
  top: -140px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: rgba(194, 169, 135, 0.18);
}

.site-shell::after {
  bottom: 12%;
  left: -120px;
  width: 320px;
  height: 320px;
  background: rgba(231, 214, 196, 0.45);
}

.site-header,
.hero,
.section,
.site-footer,
.not-found {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 18px 24px;
  background: rgba(247, 242, 235, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(64, 49, 35, 0.06);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: fit-content;
}

.brand-mark,
.kicker,
.eyebrow,
.quote-tag {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  font-size: 0.84rem;
  font-weight: 700;
}

.brand-text {
  color: var(--muted);
  font-size: 0.76rem;
}

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

.nav-group {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-parent::after {
  content: "+";
  color: var(--muted);
}

.nav-group:hover .nav-parent,
.nav-group:focus-within .nav-parent,
.nav-group.is-active .nav-parent {
  background: rgba(194, 169, 135, 0.16);
}

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  padding: 16px;
  display: grid;
  gap: 10px;
  background: rgba(255, 251, 246, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-panel a {
  color: var(--muted);
}

.nav-panel a:hover {
  color: var(--text);
}

.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle,
.mobile-only {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 36px;
  align-items: stretch;
  padding: 82px 0 64px;
}

.hero-home {
  min-height: calc(100vh - 150px);
  align-items: center;
}

.hero-subpage {
  padding-top: 74px;
}

.hero-copy,
.hero-panel,
.service-card,
.principles article,
.quote-grid article,
.cta-card,
.feature-band,
.site-footer,
.not-found {
  position: relative;
}

.hero-copy h1,
.section-intro h2,
.feature-band h2,
.not-found h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 8vw, 7rem);
}

.hero-copy .lead,
.section-intro p,
.feature-band p,
.cta-card p,
.service-card p,
.principles p,
.quote-grid p,
.site-footer p,
.not-found p {
  color: var(--muted);
}

.lead {
  max-width: 62ch;
  margin: 26px 0 0;
  font-size: 1.05rem;
}

.eyebrow,
.kicker,
.quote-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #cfb596 100%);
  color: var(--white);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 12px 24px rgba(143, 116, 84, 0.18);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(143, 116, 84, 0.2);
}

.button-secondary {
  background: rgba(255, 251, 246, 0.72);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 251, 246, 0.96);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--accent-deep);
  font-weight: 700;
}

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

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card,
.cta-card,
.service-card,
.principles article,
.quote-grid article,
.feature-band,
.site-footer,
.not-found {
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card p,
.service-card p,
.principles p,
.quote-grid p,
.cta-card p {
  margin-bottom: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.hero-metrics div {
  padding: 22px;
  background: rgba(43, 38, 34, 0.9);
  color: rgba(255, 249, 241, 0.84);
  border-radius: var(--radius-lg);
}

.hero-metrics dt {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
}

.hero-metrics dd {
  margin: 0;
  font-size: 0.9rem;
}

.section {
  padding: 22px 0 32px;
}

.section-grid {
  display: grid;
  gap: 28px;
}

.section-intro {
  max-width: 70ch;
}

.section-intro.narrow {
  max-width: 56ch;
}

.section-intro h2,
.feature-band h2,
.not-found h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.service-grid,
.principles,
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.service-card h3,
.principles h3,
.quote-grid h3,
.site-footer h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.service-card:hover,
.principles article:hover,
.quote-grid article:hover {
  transform: translateY(-4px);
}

.service-card,
.principles article,
.quote-grid article {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.principles article:hover,
.quote-grid article:hover,
.feature-band:hover {
  border-color: var(--line-strong);
  background: rgba(255, 251, 246, 0.84);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.feature-band.alternate {
  grid-template-columns: 0.95fr 1.05fr;
}

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

.feature-list div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list div:last-child {
  border-bottom: 0;
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.soft-surface {
  position: relative;
}

.soft-surface::before {
  content: "";
  position: absolute;
  inset: 18px -24px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 169, 135, 0.16), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.cta-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 80px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 24px;
  margin-bottom: 32px;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

.not-found {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 1080px) {
  .site-header {
    border-radius: 32px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(194, 169, 135, 0.16);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--graphite);
    border-radius: 999px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(251, 247, 241, 0.98);
    border-radius: 28px;
    box-shadow: var(--shadow);
  }

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

  .nav-group {
    width: 100%;
  }

  .nav-parent {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-panel {
    position: static;
    min-width: 0;
    padding: 12px 0 18px;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-group.is-open .nav-panel {
    display: grid;
  }

  .mobile-only {
    display: inline-flex;
    margin-top: 10px;
  }

  .hero,
  .feature-band,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-metrics,
  .service-grid,
  .principles,
  .quote-grid,
  .service-grid-single {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 24px, 1180px);
  }

  .site-header {
    padding: 16px 18px;
  }

  .hero {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-card,
  .cta-card,
  .service-card,
  .principles article,
  .quote-grid article,
  .feature-band,
  .site-footer,
  .not-found {
    padding: 22px;
    border-radius: 24px;
  }

  .button {
    width: 100%;
  }

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