*,
*::before,
*::after {
  box-sizing: border-box;
  font-style: normal !important;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:root {
  --paper: #efe8dc;
  --paper-2: #f7f3eb;
  --ink: #171613;
  --ink-soft: #3f3c36;
  --muted: #6f6a61;
  --line: #d4cbbc;
  --rust: #9a3f24;
  --forest: #1a2820;
  --forest-2: #24352a;
  --sand: #c8b79a;
  --cream: #f3ebdd;
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

em,
i,
cite,
dfn,
address,
var,
q,
blockquote,
h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
li,
span,
button,
label {
  font-style: normal;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--cream);
  color: var(--ink);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--forest);
  color: var(--cream);
  border-bottom: 1px solid rgba(243, 235, 221, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(26, 40, 32, 0.96);
  backdrop-filter: blur(14px);
}

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

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark .name {
  font-family: "Cormorant", "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  line-height: 1.1;
}

.wordmark .role {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--sand);
  font-weight: 400;
}

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

.site-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 235, 221, 0.82);
}

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

.site-nav .nav-cta {
  border: 1px solid rgba(243, 235, 221, 0.35);
  padding: 0.5rem 0.85rem;
  color: var(--cream);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0.55rem;
  width: 1.4rem;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.6rem, 6vw, 5.2rem) 0 clamp(2.4rem, 5.5vw, 4.8rem);
  min-height: calc(100vh - 4.5rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant", "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5.1vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.hero-lead {
  margin: 1.35rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(243, 235, 221, 0.84);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--cream);
  color: var(--forest);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #fffaf1;
}

.btn-ghost {
  border-color: rgba(243, 235, 221, 0.35);
  color: var(--cream);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(243, 235, 221, 0.08);
}

.hero-visual {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}

.section-label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}

.section-head h2,
.block-title {
  margin: 0;
  font-family: "Cormorant", "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 38rem;
}

.practice {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.practice p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
  font-weight: 300;
}

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

.aside-note {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.aside-note h3 {
  margin: 0 0 0.7rem;
  font-family: "Cormorant", "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.aside-note p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.7rem;
  min-height: 100%;
}

.card h3 {
  margin: 0 0 0.7rem;
  font-family: "Cormorant", "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 500;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.types {
  background: var(--forest-2);
  color: var(--cream);
}

.types .section-label {
  color: var(--sand);
}

.types .section-head p {
  color: rgba(243, 235, 221, 0.78);
}

.type-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(243, 235, 221, 0.14);
}

.type-item {
  padding: 1.8rem 1.3rem 1.9rem 0;
  border-bottom: 1px solid rgba(243, 235, 221, 0.14);
}

.type-item:not(:last-child) {
  padding-right: 1.6rem;
  margin-right: 1.6rem;
  border-right: 1px solid rgba(243, 235, 221, 0.14);
}

.type-item h3 {
  margin: 0 0 0.7rem;
  font-family: "Cormorant", "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.type-item p {
  margin: 0;
  color: rgba(243, 235, 221, 0.72);
  font-weight: 300;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.step {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--rust);
}

.step h3 {
  margin: 0 0 0.65rem;
  font-family: "Cormorant", "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.contact {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--forest);
  color: var(--cream);
  padding: clamp(2.2rem, 5vw, 4rem);
}

.contact-panel h2 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant", "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.contact-panel p {
  margin: 0;
  color: rgba(243, 235, 221, 0.8);
  font-weight: 300;
}

.email-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: "Cormorant", "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  border-bottom: 1px solid rgba(243, 235, 221, 0.35);
  line-height: 1.3;
}

.email-link:hover,
.email-link:focus-visible {
  border-bottom-color: var(--cream);
}

.site-footer {
  background: var(--forest);
  color: rgba(243, 235, 221, 0.72);
  border-top: 1px solid rgba(243, 235, 221, 0.08);
  padding: 1.6rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer-inner strong {
  color: var(--cream);
  font-weight: 500;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--cream);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem var(--gutter) 1.4rem;
    background: var(--forest-2);
    border-bottom: 1px solid rgba(243, 235, 221, 0.1);
  }

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

  .hero-inner,
  .section-head,
  .practice-grid,
  .cards,
  .type-list,
  .steps,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
    align-items: start;
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }

  .hero h1 {
    max-width: none;
  }

  .type-item:not(:last-child) {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
  }

  .hero-visual {
    min-height: 0;
    max-width: 28rem;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .hero-inner {
    min-height: 0;
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
