:root {
  --bg: #f7f2eb;
  --surface: #ffffff;
  --surface-alt: #efe3d5;
  --surface-strong: #d7bea5;
  --border: #ceb59b;
  --border-strong: #8c6646;
  --text: #111111;
  --muted: #4f4033;
  --accent: #6d4c36;
  --accent-deep: #3f2a1e;
  --shadow: 0 18px 60px rgba(93, 65, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 190, 165, 0.4), transparent 35%),
    linear-gradient(180deg, #fffdfb 0%, var(--bg) 55%, #f3ebe1 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-footer,
.hero,
.trust-band,
.advisor-panel,
.contact-panel,
.service-card,
.benefit-card,
.faq-list details {
  box-shadow: var(--shadow);
}

.site-header,
.site-footer,
.hero,
.trust-band,
.advisor-panel,
.contact-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(140, 102, 70, 0.16);
  border-radius: 999px;
  padding: 16px 22px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-alt), var(--surface-strong));
  color: var(--accent-deep);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

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

.brand-name {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
}

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

.site-nav a[aria-current="page"] {
  color: var(--accent-deep);
}

.hero,
.trust-band {
  position: relative;
  overflow: hidden;
}

.hero {
  margin-top: 28px;
  padding: 56px;
  border: 1px solid rgba(140, 102, 70, 0.14);
  border-radius: 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
}

.hero::after,
.trust-band::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 190, 165, 0.55), transparent 70%);
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.95;
  max-width: 10ch;
  margin-bottom: 20px;
}

.hero-text,
.section-heading p,
.advisor-copy,
.service-card p,
.benefit-card p,
.faq-list p,
.contact p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.button-secondary {
  background: transparent;
  color: var(--accent-deep);
}

.hero-points {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-points li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

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

.hero-card {
  align-self: start;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(140, 102, 70, 0.16);
  background: linear-gradient(180deg, #fffdfa 0%, #f5eadf 100%);
  padding: 28px;
}

.hero-headshot {
  width: min(240px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 1px solid rgba(140, 102, 70, 0.18);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), rgba(215, 190, 165, 0.18));
  box-shadow: 0 18px 40px rgba(93, 65, 42, 0.12);
}

.hero-headshot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.14);
}

.hero-card-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid rgba(140, 102, 70, 0.16);
}

.hero-stat:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.hero-stat span,
.hero-card-note {
  color: var(--muted);
}

.hero-stat strong {
  font-size: 1.05rem;
}

.section-grid {
  padding: 84px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.trust-band h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 14px;
}

.advisor-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  border-radius: 32px;
  padding: 28px;
  border: 1px solid rgba(140, 102, 70, 0.16);
}

.portrait-frame {
  min-height: 320px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(109, 76, 54, 0.92), rgba(63, 42, 30, 0.85)),
    var(--surface-strong);
  display: grid;
  place-items: end start;
  padding: 24px;
}

.portrait-frame span {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.card-grid,
.benefit-grid,
.metrics {
  display: grid;
  gap: 18px;
}

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

.service-card,
.benefit-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(140, 102, 70, 0.14);
  border-radius: 24px;
  padding: 24px;
}

.service-card h3,
.benefit-card h3 {
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.section-action {
  margin-top: 26px;
}

.trust-band {
  margin-top: 84px;
  padding: 38px;
  border-radius: 34px;
  border: 1px solid rgba(140, 102, 70, 0.14);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

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

.metrics article {
  border-left: 1px solid rgba(140, 102, 70, 0.18);
  padding-left: 18px;
}

.metrics strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.metrics span {
  color: var(--muted);
  line-height: 1.7;
}

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

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

.faq-list details {
  border-radius: 22px;
  border: 1px solid rgba(140, 102, 70, 0.14);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.92);
}

summary {
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 600;
  list-style: none;
}

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

.faq-list details p {
  margin-top: 14px;
}

.contact-panel {
  border-radius: 32px;
  border: 1px solid rgba(140, 102, 70, 0.16);
  padding: 28px;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(109, 76, 54, 0.18);
  border-color: var(--border-strong);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.account-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 18px;
}

.admin-tab {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-tab[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
}

.admin-tab:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  align-items: start;
}

.admin-help {
  border-radius: 32px;
  border: 1px solid rgba(140, 102, 70, 0.16);
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.admin-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.admin-row-end {
  justify-content: flex-end;
}

.admin-grow {
  flex: 1 1 260px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 56px;
}

.hero--blog .hero-copy h1 {
  max-width: none;
}

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

.comment-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.comment-meta {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.comment-body {
  margin: 10px 0 0;
  white-space: pre-wrap;
}

.comment-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.blog-posts .section-heading p {
  max-width: 58ch;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(140, 102, 70, 0.14);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 12px;
}

.post-cover {
  width: 100%;
  height: 180px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(140, 102, 70, 0.12);
}

.post-meta {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.post-read,
.inline-link {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.post {
  padding-top: 64px;
}

.post-title {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  margin-bottom: 10px;
}

.post-shell {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(140, 102, 70, 0.14);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.post-shell p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.post-shell p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .trust-band,
  .advisor-panel,
  .card-grid,
  .post-grid,
  .benefit-grid,
  .form-grid,
  .admin-split,
  .metrics {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    border-radius: 28px;
    align-items: flex-start;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .site-header,
  .site-footer,
  .hero,
  .advisor-panel,
  .trust-band,
  .contact-panel {
    padding: 20px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .site-header {
    position: static;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .button {
    width: 100%;
  }
}
