:root {
  --color-navy: #1c2a3a;
  --color-navy-light: #2a3d52;
  --color-navy-dark: #141f2b;
  --color-ink-soft: #4f6277;
  --color-cream: #fafbfc;
  --color-white: #ffffff;
  --color-border: rgba(28, 42, 58, 0.14);
  --color-border-light: rgba(28, 42, 58, 0.08);
  --color-footer-text: #9aa5b3;
  --color-footer-muted: #6f7b8a;
  --color-link-hover: #223245;
  --color-link-hover-footer: #d9e1ea;
  --shadow-soft: 0 8px 30px rgba(28, 42, 58, 0.06);
  --shadow-panel: 0 18px 40px rgba(28, 42, 58, 0.08);
  --shadow-button-hover: 0 14px 28px rgba(28, 42, 58, 0.16);
  --container-wide: 1200px;
  --container-narrow: 1040px;
  --font-serif: "Libre Baskerville", "Baskerville Old Face", Georgia, serif;
  --transition-base: 0.25s ease;
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--color-navy);
  background:
    radial-gradient(circle at top left, rgba(28, 42, 58, 0.03), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a,
.button {
  color: inherit;
  text-decoration: none;
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base),
    opacity var(--transition-base);
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  isolation: isolate;
  --page-mark-left: 50%;
  --page-mark-width: 165vw;
  --page-mark-shift-x: -66%;
  --page-mark-top: 20rem;
}

.container {
  width: min(calc(100% - 3rem), var(--container-wide));
  margin: 0 auto;
}

.container-narrow {
  width: min(calc(100% - 3rem), var(--container-narrow));
}

.section-heading {
  margin: 0 auto 4.5rem;
  max-width: 42rem;
  text-align: center;
}

.section-eyebrow,
.hero-kicker {
  margin: 0 0 1rem;
  color: var(--color-ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.15rem, 2.6vw, 3.25rem);
  line-height: 1.1;
  font-weight: 400;
}

.section-heading p,
.about-copy p,
.contact-copy p,
.service-card p,
.process-step p,
.contact-method a,
.footer-subtitle,
.footer-note,
.footer-contact a,
.hero-text,
.hero-note {
  color: var(--color-ink-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(28, 42, 58, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.2rem;
}

.site-brand {
  position: relative;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  place-items: center;
  gap: 0.25rem;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(28, 42, 58, 0.14);
  border-radius: 999px;
  color: var(--color-navy);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.36rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.36rem) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;
  font-size: 0.94rem;
}

.site-nav-phone {
  display: none;
}

.site-nav a,
.header-phone,
.phone-link,
.contact-method a,
.footer-contact a {
  position: relative;
}

.site-nav a::after,
.header-phone::after,
.phone-link::after,
.contact-method a::after,
.footer-contact a::after,
.site-brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-phone:hover,
.header-phone:focus-visible,
.phone-link:hover,
.phone-link:focus-visible,
.contact-method a:hover,
.contact-method a:focus-visible,
.site-brand:hover,
.site-brand:focus-visible {
  color: var(--color-link-hover);
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.header-phone:hover::after,
.header-phone:focus-visible::after,
.phone-link:hover::after,
.phone-link:focus-visible::after,
.contact-method a:hover::after,
.contact-method a:focus-visible::after,
.footer-contact a:hover::after,
.footer-contact a:focus-visible::after,
.site-brand:hover::after,
.site-brand:focus-visible::after {
  opacity: 0.7;
  transform: scaleX(1);
}

.header-phone {
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
}

.has-section-mark {
  position: relative;
  overflow: hidden;
}

.section-mark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.section-mark-image {
  position: absolute;
  left: var(--page-mark-left);
  top: calc(var(--page-mark-top) - var(--section-mark-offset, 0px));
  width: var(--page-mark-width);
  max-width: none;
  transform: translate(var(--page-mark-shift-x), -50%);
}

.section-mark-blue .section-mark-image {
  opacity: 0.03;
}

.section-mark-white .section-mark-image {
  opacity: 0.75;
}

.hero-section,
.services-section,
.about-section,
.section-divider {
  overflow: hidden;
}

.hero-section {
  padding: 5.5rem 0 7.75rem;
  text-align: center;
}

.hero-content,
.services-section .container,
.about-section .container,
.section-divider .divider-line {
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: clamp(10rem, 14vw, 13rem);
  margin: 0 auto;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 6.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.hero-title span {
  white-space: nowrap;
}

.hero-text {
  width: min(100%, 42rem);
  margin: 0 auto 3rem;
  font-size: clamp(1.13rem, 2.5vw, 1.6rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  cursor: pointer;
}

.button-primary {
  padding: 1rem 2.25rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(28, 42, 58, 0.08);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-navy-light);
  box-shadow: var(--shadow-button-hover);
  transform: translateY(-1px);
}

.button-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(28, 42, 58, 0.12);
}

.button-block {
  width: 100%;
}

.hero-note {
  max-width: 26rem;
  margin: 1.35rem auto 0;
  font-size: 0.92rem;
  line-height: 1.8;
}

.section-divider {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.divider-line {
  width: 6rem;
  height: 1px;
  background: var(--color-navy);
  opacity: 0.2;
}

.services-section,
.about-section,
.process-section,
.contact-section {
  padding: 6rem 0;
}

.services-section {
  background: var(--color-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  align-items: stretch;
}

.service-card {
  padding: 0 0 0 1.5rem;
}

.service-card:first-child {
  padding-left: 0;
  padding-right: 1.5rem;
}

.service-card h3 {
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.service-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
}

.service-card-bordered {
  border-right: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 5.5rem;
  align-items: center;
}

.about-photo-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-panel);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy p {
  margin: 0 0 1.2rem;
  font-size: 1rem;
}

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

.process-step {
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.process-number {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-cream);
  box-shadow: 0 10px 20px rgba(28, 42, 58, 0.04);
  font-size: 1.1rem;
}

.process-step h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 400;
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.85;
}

.contact-section {
  background: linear-gradient(180deg, #fafbfc 0%, #f5f8fb 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4.5rem;
}

.contact-copy p {
  margin: 0 0 2rem;
}

.contact-methods {
  display: grid;
  gap: 1.6rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-method svg {
  margin-top: 0.2rem;
}

.contact-label {
  margin: 0 0 0.25rem;
  color: var(--color-navy);
  font-weight: 600;
}

.contact-email {
  overflow-wrap: anywhere;
}

.contact-panel {
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 42, 58, 0.08);
  border-radius: 0.65rem;
  box-shadow: var(--shadow-panel);
}

.contact-panel h3 {
  margin: 0 0 1.5rem;
  font-size: 1.55rem;
  font-weight: 400;
}

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

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(28, 42, 58, 0.14);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-navy);
  font-size: 0.95rem;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(28, 42, 58, 0.24);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(28, 42, 58, 0.08);
  background: var(--color-white);
}

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-success {
  padding: 2rem 0 0.5rem;
  text-align: center;
}

.form-success svg {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
}

.success-title {
  margin: 0 0 0.5rem;
  color: var(--color-navy);
  font-weight: 600;
}

.site-footer {
  padding: 3rem 0;
  background: var(--color-navy-dark);
}

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

.footer-grid > div:nth-child(2) {
  text-align: center;
}

.footer-name {
  margin: 0 0 0.5rem;
  color: var(--color-white);
  font-weight: 600;
}

.footer-subtitle {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.footer-note,
.footer-bottom p {
  margin: 0;
  color: var(--color-footer-muted);
  font-size: 0.78rem;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  margin: 0 0 0.35rem;
}

.footer-contact a {
  color: var(--color-footer-text);
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.button-primary.is-submitting,
.button-primary.is-submitted,
.button-primary:disabled {
  background: #8f98a3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-primary.is-submitted {
  letter-spacing: 0.01em;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-delay-1 {
  transition-delay: 0.05s;
}

.reveal-delay-2 {
  transition-delay: 0.12s;
}

.reveal-delay-3 {
  transition-delay: 0.18s;
}

.reveal-delay-4 {
  transition-delay: 0.24s;
}

.reveal-delay-5 {
  transition-delay: 0.3s;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    gap: 1rem;
    padding: 0.9rem 0;
  }

  .site-brand {
    grid-area: brand;
  }

  .nav-toggle {
    display: inline-grid;
    grid-area: toggle;
  }

  .header-phone {
    display: none;
  }

  .site-nav {
    grid-area: nav;
    display: grid;
    gap: 0.2rem;
    justify-items: stretch;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
      max-height var(--transition-base),
      opacity var(--transition-base),
      transform var(--transition-base),
      padding var(--transition-base),
      border-color var(--transition-base);
  }

  .site-nav.is-open {
    max-height: 22rem;
    padding: 1rem;
    border-color: rgba(28, 42, 58, 0.1);
    opacity: 1;
    transform: translateY(0);
    box-shadow: var(--shadow-soft);
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
  }

  .site-nav a::after {
    bottom: 0.4rem;
  }

  .site-nav-phone {
    display: block;
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(28, 42, 58, 0.08);
    font-weight: 600;
  }

  .about-grid,
  .contact-grid,
  .process-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:first-child {
    padding: 0;
  }

  .service-card-bordered {
    border-right: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
  }

  .about-photo-wrap {
    order: 2;
  }

  .about-copy {
    order: 1;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .container,
  .container-narrow {
    width: min(calc(100% - 2rem), var(--container-wide));
  }

  .hero-section,
  .services-section,
  .about-section,
  .process-section,
  .contact-section {
    padding: 4.5rem 0;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

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

  .contact-panel {
    padding: 1.5rem;
  }

  .section-heading {
    margin-bottom: 3rem;
  }

  .footer-grid > div:nth-child(2) {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

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


.footer-disclaimer {
  margin-top: 0.75rem;
  color: var(--color-footer-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}
