:root {
  color-scheme: light;
  /* Extra space below the sticky header when jumping to in-page anchors (scroll math only; no layout shift). */
  --anchor-scroll-buffer: 4px;
  --bg: #f6f1e3;
  --surface: #ebe2cc;
  --ink: #2f3424;
  --muted: #6a6a52;
  --accent: #8a9460;
  --accent-strong: #5c6840;
  --button-bg: var(--accent-strong);
  --button-bg-hover: var(--accent);
  --border: #dccfb4;
  --white: #fcf8ec;
  --header-bg: rgba(246, 241, 227, 0.92);
  --header-border: rgba(220, 207, 180, 0.75);
  --card-bg: rgba(252, 248, 236, 0.78);
  --focus-ring: rgba(138, 148, 96, 0.4);
  --error: #8a4030;
  --success-bg: #e5ecd8;
  --success-border: #7d8f5c;
  --shadow: 0 1px 2px rgba(60, 60, 40, 0.06);
  --radius: 12px;
  --section-divider: rgba(47, 52, 36, 0.07);
  --transition-link: 150ms ease;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1f1810;
  --surface: #2c241a;
  --ink: #f1e8d4;
  --muted: #c2b39a;
  --accent: #b3bd86;
  --accent-strong: #d5dca8;
  --button-bg: var(--accent);
  --button-bg-hover: var(--accent-strong);
  --border: #3f3527;
  --white: #2f261c;
  --header-bg: rgba(31, 24, 16, 0.92);
  --header-border: rgba(63, 53, 39, 0.85);
  --card-bg: rgba(44, 36, 26, 0.82);
  --focus-ring: rgba(179, 189, 134, 0.4);
  --error: #f3b9a8;
  --success-bg: rgba(179, 189, 134, 0.16);
  --success-border: #9aaf72;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
  --section-divider: rgba(241, 232, 212, 0.06);
  --hero-bg: #261f17;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #1f1810;
    --surface: #2c241a;
    --ink: #f1e8d4;
    --muted: #c2b39a;
    --accent: #b3bd86;
    --accent-strong: #d5dca8;
    --button-bg: var(--accent);
    --button-bg-hover: var(--accent-strong);
    --border: #3f3527;
    --white: #2f261c;
    --header-bg: rgba(31, 24, 16, 0.92);
    --header-border: rgba(63, 53, 39, 0.85);
    --card-bg: rgba(44, 36, 26, 0.82);
    --focus-ring: rgba(179, 189, 134, 0.4);
    --error: #f3b9a8;
    --success-bg: rgba(179, 189, 134, 0.16);
    --success-border: #9aaf72;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
    --section-divider: rgba(241, 232, 212, 0.06);
    --hero-bg: #261f17;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Aligns native anchor scrolling (e.g. hash on load, reduced-motion fallback) with the sticky bar + buffer. */
  scroll-padding-top: calc(4.55rem + var(--anchor-scroll-buffer));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  transition:
    color var(--transition-link),
    text-decoration-color var(--transition-link);
}

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

h2,
h3 {
  font-size: 1.5rem;
}

h2 {
  margin-bottom: 1rem;
}

h3 {
  margin-bottom: 0.65rem;
}

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

ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

li + li {
  margin-top: 0.4rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

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

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

.section-shell {
  width: min(100% - 2rem, 1040px);
  margin-inline: auto;
  padding: 5rem 0;
}

main > section:not(:last-child) {
  position: relative;
}

main > section:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--section-divider);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--header-border);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}

.nav-shell {
  position: relative;
  display: flex;
  width: min(100% - 2rem, 1040px);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.8vw, 1rem);
  margin-inline: auto;
}

.brand {
  position: relative;
  z-index: 12;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(0.35rem, 1.2vw, 0.7rem);
  color: var(--ink);
  font-size: clamp(0.95rem, 2.1vw, 1.4rem);
  white-space: nowrap;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: clamp(1.9rem, 4.2vw, 2.6rem);
  min-width: 2.5rem;
  width: auto;
}

.brand-mark img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

[data-theme="dark"] .brand-mark img {
  filter: brightness(1.05) saturate(0.95);
}

.nav-links {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.45rem, 1.4vw, 1rem);
  white-space: nowrap;
}

.nav-links a {
  color: var(--muted);
  font-size: clamp(0.78rem, 1.25vw, 0.95rem);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.nav-cta {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: clamp(0.4rem, 1vw, 0.55rem) clamp(0.55rem, 1.4vw, 0.9rem);
  background: var(--white);
}

.nav-toggle {
  position: relative;
  z-index: 12;
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle i {
  font-size: 1.35rem;
  line-height: 1;
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(138, 148, 96, 0.18), transparent 30rem),
    radial-gradient(circle at 85% 80%, rgba(220, 207, 180, 0.35), transparent 28rem),
    linear-gradient(135deg, var(--bg), var(--surface));
}

[data-theme="dark"] .hero {
  background: var(--hero-bg);
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  align-items: center;
}

.not-found-content {
  max-width: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .hero {
    background: var(--hero-bg);
  }
}

.hero-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 3rem;
}

.hero-grid {
  align-items: start;
}

.split-section {
  align-items: center;
}

#about .about-body {
  align-items: start;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.about-section-title {
  margin: 0 0 2rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.hero-copy {
  max-width: 38rem;
  font-size: 1rem;
}

.eyebrow,
.role,
.small-text,
small {
  color: var(--accent-strong);
  font-size: 0.95rem;
}

.eyebrow,
.role {
  margin-bottom: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button-bg);
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color var(--transition-link),
    border-color var(--transition-link),
    transform var(--transition-link),
    color var(--transition-link);
  cursor: pointer;
}

.button:hover {
  border-color: var(--button-bg-hover);
  background: var(--button-bg-hover);
  transform: translateY(-1px);
}

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

.button-secondary:hover {
  color: var(--white);
}

.hero-card,
.portrait-card,
.info-panel,
.contact-form,
.card,
.team-card,
.service-list article,
.faq-list details,
.guide-document {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 0;
  display: block;
  overflow: hidden;
  line-height: 0;
}

.hero-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card-caption {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-logo {
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto 1.25rem;
}

[data-theme="dark"] .hero-logo {
  filter: brightness(1.05) saturate(0.95);
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  border: none;
  box-shadow: none;
  margin: 0;
}

[data-theme="dark"] .hero-photo {
  filter: brightness(0.92) saturate(0.9);
}

.hero-orb {
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 0 auto 1.5rem;
  border-radius: 55% 45% 48% 52%;
  background:
    radial-gradient(circle at 42% 38%, rgba(252, 248, 236, 0.95) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 52%, rgba(92, 104, 64, 0.78) 0 28%, transparent 29%),
    radial-gradient(circle at 50% 50%, rgba(138, 148, 96, 0.4), rgba(235, 226, 204, 0.92));
}

[data-theme="dark"] .hero-orb {
  background:
    radial-gradient(circle at 42% 38%, rgba(241, 232, 212, 0.92) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 52%, rgba(194, 179, 154, 0.7) 0 28%, transparent 29%),
    radial-gradient(circle at 50% 50%, rgba(179, 189, 134, 0.32), rgba(44, 36, 26, 0.95));
}

.hero-card p {
  margin-bottom: 0;
  color: var(--ink);
}

.portrait-card,
.info-panel,
.contact-form:not(:has(.form-success)) {
  padding: 1.4rem;
}

.contact-form:has(.form-success) {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.portrait-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.portrait-card .small-text {
  margin-bottom: 0;
}

.portrait-name {
  margin: 0;
  color: var(--ink);
}

.portrait {
  display: block;
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}

[data-theme="dark"] .portrait {
  filter: brightness(0.94) saturate(0.95);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.services-heading {
  width: 100%;
  max-width: none;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
  text-align: left;
  padding: 1.5rem 1.4rem;
}

.team-card-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.team-card-copy {
  min-width: 0;
  padding-top: 0.15rem;
  display: flex;
  flex-direction: column;
}

.team-card-copy .portrait-name {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

.team-card-copy .small-text {
  line-height: 1.35;
  margin: 0 0 0.85rem;
}

.team-card .team-bio {
  margin: 0;
  line-height: 1.65;
}

.team-portrait {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}

[data-theme="dark"] .team-portrait {
  filter: brightness(0.94) saturate(0.95);
}

.card-grid,
.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

.card,
.service-list article {
  padding: 1.2rem;
}

.card p:last-child,
.service-list p:last-child,
.faq-list p:last-child {
  margin-bottom: 0;
}

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

.guide-heading {
  width: min(100%, 720px);
  max-width: none;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  text-align: center;
}

.guide-document {
  width: min(100%, 720px);
  margin-inline: auto;
  padding: clamp(1.75rem, 4.5vw, 3rem);
}

.guide-lead {
  margin: 0 0 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--section-divider);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.guide-section {
  margin: 0;
}

.guide-section + .guide-section {
  margin-top: 2.5rem;
}

.guide-section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.guide-section-header h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.55rem);
  letter-spacing: -0.005em;
}

.guide-section-subtitle {
  display: inline-block;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0;
}

.guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, var(--bg));
  color: var(--accent-strong);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
}

.guide-step-number .ph-bold {
  font-size: 1.05rem;
  line-height: 1;
}

.guide-section p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

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

.guide-checklist {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.guide-checklist li {
  position: relative;
  margin: 0;
  padding-left: 1.65rem;
  color: var(--muted);
  line-height: 1.6;
}

.guide-checklist li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.guide-resource {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 0.45rem;
  max-width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  text-decoration: none;
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  transition:
    background-color var(--transition-link),
    color var(--transition-link);
  vertical-align: top;
}

.guide-resource:hover {
  background: color-mix(in srgb, var(--accent) 18%, var(--bg));
}

[data-theme="dark"] .guide-resource {
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
}

[data-theme="dark"] .guide-resource:hover {
  background: color-mix(in srgb, var(--accent) 22%, var(--bg));
}

.guide-resource-icon {
  display: block;
  flex-shrink: 0;
  margin-top: 0.18rem;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
}

.guide-resource-copy,
.guide-resource-title,
.guide-resource-source {
  display: block;
  max-width: 100%;
}

.guide-resource-title {
  text-decoration: none;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition-link);
}

.guide-resource-source {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
}

.guide-resource:hover .guide-resource-title {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.18em;
}

.guide-closing {
  margin-top: 2.75rem;
  padding: 1.6rem 1.6rem 1.75rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 14%, var(--card-bg));
}

[data-theme="dark"] .guide-closing {
  background: color-mix(in srgb, var(--accent) 20%, var(--card-bg));
}

.guide-closing .guide-section-header {
  margin-bottom: 0.65rem;
}

.guide-closing-cta {
  margin-top: 1.5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-feature {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.testimonial-feature::before {
  content: "\201D";
  position: absolute;
  top: 0;
  right: 0.1em;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(20rem, 40vw, 32rem);
  line-height: 1;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-quote {
  margin: 0 0 1rem;
}

.testimonial-feature .testimonial-quote {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.testimonial-feature .testimonial-quote p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink);
}

.testimonial-quote p {
  margin: 0;
}

.testimonial-quote p::before {
  content: "\201C";
}

.testimonial-quote p::after {
  content: "\201D";
}

.testimonial-feature .testimonial-quote p::before,
.testimonial-feature .testimonial-quote p::after {
  content: none;
}

.testimonial-feature .testimonial-quote p:first-child::before {
  content: "\201C";
}

.testimonial-feature .testimonial-quote p:last-child::after {
  content: "\201D";
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.testimonial-feature .testimonial-author {
  margin-top: 0;
  padding-top: 0;
  border: none;
}

.testimonial-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.25;
  color: var(--ink);
}

.testimonial-meta {
  color: var(--accent-strong);
  font-size: 0.95rem;
}

.booking-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  color: var(--ink);
}

.booking-note .ph-duotone {
  font-size: 1.6rem;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}

.service-area {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(360px, 1.35fr);
  align-items: start;
  gap: 1.5rem;
}

.service-area-map {
  padding: 0;
}

.service-area-map img {
  width: 100%;
  height: auto;
}

.service-area-copy {
  max-width: 34rem;
}

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

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 1.2rem;
  list-style: none;
}

.faq-list summary::marker {
  content: "";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .ph-bold {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 1.05rem;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform var(--transition-link);
}

.faq-list details[open] summary .ph-bold {
  transform: rotate(0deg);
}

.faq-list details > p {
  padding: 0 1.2rem 1rem;
  margin-top: 0;
}

.faq-list details[open] summary {
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-list details[open] > p {
  margin-top: 0.7rem;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .faq-list details {
      interpolate-size: allow-keywords;
    }

    .faq-list details::details-content {
      block-size: 0;
      overflow-y: clip;
      transition:
        block-size 0.15s cubic-bezier(0.33, 1, 0.68, 1),
        content-visibility 0.15s allow-discrete;
    }

    .faq-list details[open]::details-content {
      block-size: auto;
    }
  }
}

.contact-section {
  align-items: start;
}

.contact-photo-wrap {
  margin-top: 1.75rem;
  max-width: min(100%, 420px);
}

.contact-photo-wrap .hero-card {
  width: 100%;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label {
  color: var(--ink);
  font-weight: 600;
}

label span {
  color: var(--muted);
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 0.85rem;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

textarea {
  resize: vertical;
}

.form-error {
  margin: 0 0 1rem;
  color: var(--error);
}

.form-error:is(:empty, [hidden]) {
  display: none;
  margin: 0;
}

.form-success {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--success-border);
  border-radius: var(--radius);
  background: var(--success-bg);
}

.form-success h3 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 1.125rem;
}

.form-success p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer a {
  text-decoration: none;
  text-decoration-color: transparent;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: currentColor;
}

.site-footer .footer-email:hover {
  text-decoration: none;
  text-decoration-color: transparent;
}

.site-footer .footer-email:hover .footer-email-text {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: currentColor;
}

.footer-inner {
  padding-block: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr minmax(3rem, 6vw) 1fr 1.2fr;
  column-gap: 2rem;
  row-gap: 2.5rem;
  align-items: start;
}

.footer-brand {
  grid-column: 1;
  display: grid;
  gap: 0.85rem;
  max-width: 22rem;
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
}

.footer-grid .footer-column:first-of-type {
  grid-column: 3;
}

.footer-grid .footer-column:last-of-type {
  grid-column: 4;
}

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

.footer-brand .small-text {
  margin: 0;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
  width: fit-content;
}

.footer-email .ph-bold {
  font-size: 1.1rem;
  line-height: 1;
}

.footer-email:hover {
  color: var(--accent-strong);
}

.footer-email-text {
  text-decoration: none;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition-link);
}

.footer-column {
  display: grid;
  gap: 0.75rem;
}

.footer-grid .footer-column {
  padding-top: 0.75rem;
}

.footer-heading {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.footer-list li {
  margin: 0;
}

.footer-list a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-list a:hover {
  color: var(--accent-strong);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
}

.theme-picker {
  display: flex;
  align-items: center;
}

.theme-options {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--theme-option-radius);
  background: var(--bg);
  padding: 0.35rem;
  box-shadow: var(--shadow);
  --theme-option-radius: 999px;
}

.theme-option {
  border: 0;
  border-radius: var(--theme-option-radius);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition:
    background-color var(--transition-link),
    color var(--transition-link),
    box-shadow var(--transition-link);
}

.theme-option:hover:not([aria-pressed="true"]) {
  background: var(--white);
  color: var(--accent-strong);
}

.theme-option[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.theme-option[aria-pressed="true"]:hover {
  background: var(--surface);
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero-grid,
  .split-section,
  .service-area {
    grid-template-columns: 1fr;
  }

  #about .about-body {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .service-list,
  .three-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .guide-document {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .guide-section + .guide-section {
    margin-top: 2rem;
  }

  .guide-closing {
    margin-top: 2.25rem;
  }

  .guide-section-header {
    gap: 0.7rem;
  }

  .guide-step-number {
    min-width: 1.85rem;
    height: 1.85rem;
    font-size: 0.9rem;
  }

  .guide-section-header h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 760px) {
  :root {
    --anchor-scroll-buffer: 9px;
  }

  html {
    scroll-padding-top: calc(4.75rem + var(--anchor-scroll-buffer));
  }

  .section-shell {
    padding: 3.5rem 0;
  }

  .site-header::after {
    content: "";
    position: absolute;
    z-index: 13;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: var(--header-border);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-link);
  }

  body.nav-open .site-header::after {
    opacity: 1;
  }

  .brand {
    font-size: clamp(1.1rem, 4.4vw, 1.35rem);
  }

  .brand-mark {
    height: clamp(2.25rem, 8vw, 2.6rem);
    min-width: 2.75rem;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    z-index: 11;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    min-height: 100dvh;
    border: 0;
    background: var(--bg);
    padding: 6rem max(1.5rem, 9vw) 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem) scale(0.98);
    transition:
      opacity var(--transition-link),
      transform var(--transition-link),
      visibility var(--transition-link);
    visibility: hidden;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .nav-links a {
    color: var(--ink);
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.35rem, 10vw, 4rem);
    line-height: 1;
    padding: 0.1rem 0;
  }

  .nav-cta {
    border: 0;
    border-radius: 0;
    background: transparent;
    margin-top: 0;
    padding: 0.1rem 0;
    text-align: left;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand {
    grid-column: auto;
    max-width: none;
    padding-right: 0;
  }

  .footer-grid .footer-column:first-of-type,
  .footer-grid .footer-column:last-of-type {
    grid-column: auto;
  }

  .footer-grid .footer-column {
    padding-top: 0;
  }

  .footer-brand .brand-mark {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .theme-options {
    flex-wrap: wrap;
  }

  .card-grid,
  .service-list,
  .three-column {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1.35rem 1.15rem;
  }

  .team-card-copy {
    padding-top: 0;
    width: 100%;
    text-align: left;
  }

  .team-card-media {
    max-width: 220px;
  }

  .testimonial-feature {
    padding: clamp(1.25rem, 5vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
