:root {
  --bg: #f6f0e3;
  --bg-deep: #ecdfc1;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: #172413;
  --surface-dark-2: #24361f;
  --text: #243224;
  --text-muted: #5c6957;
  --line: rgba(36, 50, 36, 0.12);
  --line-strong: rgba(36, 50, 36, 0.22);
  --accent: #dcb54a;
  --accent-strong: #b68618;
  --accent-deep: #7e5f15;
  --accent-soft: rgba(220, 181, 74, 0.16);
  --olive: #65752e;
  --olive-deep: #33411a;
  --shadow: 0 28px 72px rgba(23, 36, 19, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1160px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(220, 181, 74, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(101, 117, 46, 0.16), transparent 22rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 56%, #f1e8d6 100%);
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--surface-dark);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.6rem;
}

.section-heading h2,
.hero h1,
.intro-card h2,
.about-copy h2,
.brand-panel-copy h2,
.cta-panel h2,
.contact-copy h2,
.inner-page h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.section-heading p,
.hero-lead,
.intro-card p,
.service-card p,
.value-card p,
.process-card p,
.about-copy p,
.quote-card p,
.contact-copy p,
.form-note,
.footer-copy,
.inner-page p,
.highlight-strip span,
.hero-proof span,
.brand-panel-copy p,
.principle-card p,
.signal-stack p,
.contact-cards span,
.prompt-list li {
  color: var(--text-muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(36, 50, 36, 0.08);
  background: rgba(251, 247, 239, 0.72);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(251, 247, 239, 0.94);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-logo {
  width: 3.3rem;
  height: auto;
  flex: none;
}

.brand-text {
  display: grid;
  gap: 0.06rem;
  font-size: 0.95rem;
}

.brand-text span {
  color: var(--text-muted);
}

.brand-text small {
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a,
.footer-nav a,
.back-link {
  text-decoration: none;
}

.nav-cta {
  padding: 0.78rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
}

.nav-toggle {
  display: none;
  padding: 0.7rem 1rem;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.hero {
  position: relative;
  padding-top: 7.2rem;
  padding-bottom: 4.5rem;
  overflow: clip;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  animation: drift 12s ease-in-out infinite;
}

.hero-orb-a {
  top: 2rem;
  right: -4rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(220, 181, 74, 0.34), transparent 70%);
}

.hero-orb-b {
  left: -4rem;
  bottom: 0;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(101, 117, 46, 0.2), transparent 70%);
  animation-delay: -4s;
}

.hero-grid {
  position: absolute;
  inset: 8rem 4vw auto;
  height: 24rem;
  border-radius: 2rem;
  background-image:
    linear-gradient(rgba(36, 50, 36, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 50, 36, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent);
}

.hero-layout,
.intro-grid,
.about-layout,
.contact-layout,
.footer-layout {
  display: grid;
  gap: 1.5rem;
}

.hero-layout {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}

.intro-grid,
.about-layout,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid,
.value-grid,
.process-grid {
  display: grid;
  gap: 1.35rem;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.hero-copy,
.hero-panel,
.intro-card,
.service-card,
.value-card,
.process-card,
.quote-card,
.about-aside,
.contact-form-card,
.contact-cards article,
.cta-panel,
.principle-card,
.inner-page-wrap,
.contact-prompts {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: clamp(2rem, 4vw, 3.4rem);
  border-radius: var(--radius-xl);
}

.hero h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(3.5rem, 8vw, 6.4rem);
}

.hero-lead {
  max-width: 40rem;
  margin: 0 0 2rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff9ee;
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  box-shadow: 0 18px 34px rgba(23, 36, 19, 0.2);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(182, 134, 24, 0.3);
  background: rgba(220, 181, 74, 0.08);
}

.hero-points,
.about-list,
.prompt-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points,
.about-list {
  display: grid;
  gap: 0.9rem;
}

.hero-points li,
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.78rem;
}

.hero-points li::before,
.about-list li::before,
.prompt-list li::before {
  content: "";
  flex: none;
  width: 0.72rem;
  height: 0.72rem;
  margin-top: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--olive));
  box-shadow: 0 0 0 0.35rem var(--accent-soft);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-proof article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
}

.hero-proof strong,
.highlight-strip strong,
.prompt-title {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-panel {
  padding: 1.25rem;
  color: #fbf5e8;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top, rgba(220, 181, 74, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(23, 36, 19, 0.97), rgba(36, 54, 31, 0.95));
  overflow: hidden;
}

.hero-panel .signal-label,
.hero-panel p,
.hero-panel span {
  color: rgba(251, 245, 232, 0.74);
}

.brand-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-xl) - 0.5rem);
  background: rgba(255, 255, 255, 0.05);
}

.panel-logo {
  width: 5.6rem;
  height: auto;
}

.signal-card {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-xl) - 0.5rem);
  background: rgba(255, 255, 255, 0.04);
}

.signal-label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-stack {
  display: grid;
  gap: 1rem;
}

.signal-stack article,
.service-card,
.value-card,
.process-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

.signal-stack article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.signal-stack span,
.service-index,
.process-card span,
.value-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.signal-stack h3,
.service-card h3,
.value-card h3,
.process-card h3,
.brand-panel-copy h2,
.contact-copy h2,
.principle-card h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
}

.highlight-strip {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.highlight-strip div {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.intro-band {
  padding-top: 2rem;
}

.intro-card,
.about-aside,
.contact-form-card,
.contact-prompts {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top left, rgba(220, 181, 74, 0.08), transparent 22rem);
}

.section-dark {
  color: #fbf5e8;
  background:
    radial-gradient(circle at top right, rgba(220, 181, 74, 0.16), transparent 22rem),
    linear-gradient(180deg, var(--surface-dark) 0%, #10190f 100%);
}

.section-dark .section-heading p,
.section-dark .value-card p,
.section-dark .value-label {
  color: rgba(251, 245, 232, 0.78);
}

.section-dark .value-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.about-section,
.cta-section {
  padding-top: 2rem;
}

.about-aside {
  display: grid;
  gap: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.quote-card,
.principle-card {
  padding: 1.7rem;
  border-radius: var(--radius-lg);
}

.quote-card p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-family: "Instrument Serif", Georgia, serif;
  line-height: 1.12;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  color: #fbf5e8;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 20%, rgba(220, 181, 74, 0.18), transparent 14rem),
    linear-gradient(135deg, rgba(23, 36, 19, 0.98), rgba(36, 54, 31, 0.96));
}

.cta-panel .eyebrow,
.cta-panel h2 {
  color: #fbf5e8;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-cards article {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
}

.contact-cards a,
.contact-cards p {
  margin: 0;
  font-weight: 700;
  text-decoration: none;
}

.contact-prompts {
  margin-top: 1rem;
}

.prompt-title {
  color: var(--text);
  font-size: 0.95rem;
}

.prompt-list {
  display: grid;
  gap: 0.9rem;
}

.prompt-list li {
  display: flex;
  gap: 0.78rem;
  align-items: flex-start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.form-note a {
  color: var(--text);
  font-weight: 600;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.status-banner {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: rgba(220, 181, 74, 0.15);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.status-banner.is-error {
  background: rgba(201, 82, 82, 0.12);
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-layout {
  grid-template-columns: 1.5fr auto auto;
  align-items: end;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a,
.footer-meta,
.back-link {
  color: var(--text-muted);
}

.footer-meta {
  margin: 0;
}

.inner-page-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.inner-page {
  width: 100%;
  padding: 4rem 0;
}

.inner-page-wrap {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
}

.inner-page h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.inner-page-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .intro-grid,
  .about-layout,
  .contact-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

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

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(251, 247, 239, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .brand-text small {
    display: none;
  }

  .brand-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-copy,
  .hero-panel,
  .intro-card,
  .contact-form-card,
  .contact-prompts,
  .cta-panel,
  .inner-page-wrap,
  .quote-card,
  .principle-card {
    padding: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-logo {
    width: 2.9rem;
  }
}

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

  .hero-orb,
  .reveal {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}
