:root {
  --bg: #f6f3ee;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-dark: #15171a;
  --text: #16181b;
  --muted: #5f646b;
  --line: rgba(22, 24, 27, 0.12);
  --line-strong: rgba(22, 24, 27, 0.2);
  --accent: #3e556c;
  --accent-soft: rgba(62, 85, 108, 0.12);
  --shadow: 0 24px 60px rgba(19, 26, 33, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top right,
      rgba(62, 85, 108, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #f9f7f2 0%, var(--bg) 100%);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 24, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 24, 27, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 88%);
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(10px);
}

.section-shell,
.header-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-lockup strong {
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.brand-lockup span {
  font-size: 0.74rem;
  color: var(--muted);
}

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

.site-nav a,
.nav-toggle {
  font: inherit;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.section {
  padding: 6rem 0;
}

.hero {
  padding-top: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.78fr);
  gap: 2rem;
  align-items: start;
}

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

.hero h1,
.section-heading h2,
.highlight-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 6.3rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.section-heading h2,
.highlight-copy h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  max-width: 12ch;
}

.hero-intro,
.section-heading p:last-child,
.service-card p,
.approach-card p:last-child,
.process-step p,
.principle-card p:last-child,
.contact-copy p,
.contact-actions p,
.hero-facts dd {
  margin: 0;
  color: var(--muted);
}

.offer-line {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-intro {
  max-width: 40rem;
  margin-top: 1.35rem;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

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

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

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.66);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  padding-right: 1rem;
}

.hero-facts dt,
.service-index,
.process-step span {
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-facts dd {
  margin-inline-start: 0;
}

.offer-tags span {
  border-color: rgba(62, 85, 108, 0.22);
  background: rgba(62, 85, 108, 0.08);
  color: var(--text);
  font-weight: 600;
}

.hero-sidebar {
  display: grid;
  gap: 1rem;
}

.sidebar-card,
.service-card,
.approach-card,
.process-step,
.principle-card,
.contact-panel,
.highlight-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sidebar-card,
.service-card,
.approach-card,
.principle-card {
  padding: 1.5rem;
}

.sidebar-card-primary {
  background: rgba(255, 255, 255, 0.9);
}

.sidebar-label,
.card-label {
  margin: 0 0 0.8rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar-card-primary h2 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.2;
}

.clean-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tag-row span {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.9rem;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.services-grid,
.approach-panels,
.principles-grid {
  display: grid;
  gap: 1rem;
}

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

.approach-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 2rem;
  align-items: start;
}

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

.service-card h3,
.approach-card h3,
.principle-card h3,
.process-step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.3rem;
  line-height: 1.2;
}

.section-highlight {
  padding-top: 1rem;
}

.highlight-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--surface-dark);
  color: #f3f2ef;
}

.highlight-panel .eyebrow {
  color: rgba(243, 242, 239, 0.72);
}

.highlight-list {
  display: grid;
  gap: 0;
}

.highlight-list p {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(243, 242, 239, 0.12);
  color: rgba(243, 242, 239, 0.86);
}

.highlight-list p:first-child {
  padding-top: 0.15rem;
}

.process-list {
  display: grid;
  gap: 1rem;
}

.process-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
}

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

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 2rem;
  align-items: end;
  padding: 2rem;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

@media (max-width: 1040px) {
  .hero-grid,
  .approach-grid,
  .highlight-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 1rem 0;
    min-height: unset;
  }

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

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 0.5rem;
  }

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

  .hero-facts,
  .services-grid,
  .approach-panels,
  .principles-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 560px) {
  .section-shell,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1,
  .section-heading h2,
  .highlight-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .sidebar-card,
  .service-card,
  .approach-card,
  .principle-card,
  .highlight-panel,
  .contact-panel {
    padding: 1.25rem;
    border-radius: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
