:root {
  --paper: #fbf7ee;
  --paper-alt: #f8f1e6;
  --ink: #211f1c;
  --muted: #625d55;
  --faint: #857b6c;
  --line: #d8cbb8;
  --line-strong: #b89f7b;
  --accent: #7f2d2a;
  --accent-soft: #f2e2dc;
  --green: #9a7a35;
  --copper: #7f2d2a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Georgia, "Times New Roman", serif;
  --mono: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
  text-decoration-color: rgba(35, 79, 103, 0.34);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 36px, 1060px);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 36px, 820px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-open .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  padding: 82px 0;
}

.hero {
  padding: 92px 0 78px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 64px;
  align-items: start;
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 4.9rem;
}

h2 {
  margin-bottom: 22px;
  font-size: 2.75rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 1.55rem;
  line-height: 1.36;
}

.hero-text,
.section-intro {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary:hover {
  background: #63211f;
  color: #fff;
}

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

.button-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.profile-panel,
.subject-card,
.approach-card,
.contact-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.68);
}

.profile-panel {
  align-self: start;
  padding: 20px;
}

.profile-photo {
  width: min(100%, 245px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.profile-summary {
  padding: 0;
}

.panel-label {
  margin-bottom: 13px;
}

.fact-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li,
.check-list li {
  position: relative;
  padding-left: 20px;
}

.fact-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.77em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.about-section {
  background: var(--paper-alt);
}

.prose {
  color: #3f3d39;
  font-size: 1.06rem;
}

.prose p {
  margin-bottom: 22px;
}

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

.muted-section {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.alt-section {
  border-block: 1px solid var(--line);
  background: var(--paper-alt);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: 62px;
  align-items: start;
}

.subject-card {
  padding: 28px;
}

.subject-card h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  width: min(100%, 740px);
  margin-bottom: 32px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.approach-card {
  min-height: 250px;
  border: 0;
  padding: 24px;
  background: var(--paper);
}

.step-number {
  display: block;
  margin-bottom: 38px;
  color: var(--copper);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
}

.approach-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.preparation-note {
  width: min(100%, 780px);
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: #42403b;
}

.rates-section {
  padding: 72px 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.rates-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.85fr);
  gap: 58px;
  align-items: start;
}

.rates-section h2 {
  margin-bottom: 0;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 400px);
  gap: 70px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  font-style: normal;
}

.contact-link {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 650;
  text-decoration-color: var(--line-strong);
}

.contact-button {
  width: fit-content;
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--paper-alt);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 1060px) {
  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-grid {
    gap: 42px;
  }

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

  .approach-card {
    min-height: 210px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(100% - 24px, 1060px);
  }

  .header-inner {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 66px 12px auto;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 58px 0 56px;
  }

  .hero-grid,
  .split-grid,
  .rates-panel,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-subtitle {
    font-size: 1.28rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 16px;
  }

  .profile-panel,
  .subject-card,
  .contact-card {
    padding: 22px;
  }

  .profile-photo {
    width: min(100%, 230px);
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .approach-card {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 20px;
  }

}

@media (max-width: 390px) {
  .brand-name {
    font-size: 0.98rem;
  }

  .contact-link {
    font-size: 1rem;
  }

  h1 {
    font-size: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
