:root {
  --bg: #f7f7f7;
  --paper: #ffffff;
  --ink: #0d0d0f;
  --ink-muted: #5c5c62;
  --accent: #c84b2a;
  --accent-hover: #a63d22;
  --navy: #12141c;
  --slate: #d9e1e8;
  --border: rgba(13, 13, 15, 0.12);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

h1,
h2,
h3,
.logo,
.hero-title,
.section-title,
.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-header {
  padding: var(--page-pad);
  padding-bottom: 0;
}

.header-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.header-tagline--center {
  text-align: center;
}

.header-auth {
  text-align: right;
}

.header-auth a {
  font-weight: 500;
}

.header-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: none;
  color: var(--accent);
}

.header-cta-bar {
  margin-top: 1.25rem;
}

.hero {
  padding: 0 var(--page-pad);
  margin-top: -0.5rem;
}

.hero-title {
  font-size: clamp(4.5rem, 18vw, 14rem);
  line-height: 0.88;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.hero-image-wrap {
  margin: 1.5rem var(--page-pad) 0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  width: 100%;
  max-height: min(70vh, 640px);
  object-fit: cover;
  border-radius: 2px;
}

.section-pad {
  padding: clamp(3rem, 8vw, 6rem) var(--page-pad);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
  font-weight: 600;
}

.section-eyebrow--small {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-muted);
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.intro-copy p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 42ch;
}

.stats {
  display: grid;
  gap: 2rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0;
  line-height: 1;
  font-weight: 700;
}

.stat-label {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 22ch;
}

.services-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.service-card,
.benefit {
  padding: 1.5rem 1.75rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.service-card h3,
.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.service-card p,
.benefit p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.92;
  flex: 1;
}

.service-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.service-card--dark,
.benefit--dark {
  background: var(--ink);
}

.service-card--accent,
.benefit--accent {
  background: var(--accent);
}

.service-card--navy,
.benefit--navy {
  background: var(--navy);
}

.benefits-lead {
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin: 0 0 2rem;
}

.testimonial-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  margin: 0;
  min-height: 280px;
}

.testimonial-media {
  background: var(--ink);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.testimonial-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.testimonial-media figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.testimonial-media strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.testimonial-quote {
  margin: 0;
  background: var(--slate);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
}

.testimonial-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  font-weight: 500;
}

.contact-intro {
  color: var(--ink-muted);
  margin: 0 0 2rem;
}

.contact-form {
  max-width: 720px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  border-radius: 0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a9b6cc;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  margin-bottom: 1.25rem;
}

.interest-tags {
  border: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.interest-tags label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  background: var(--paper);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.45rem 0.85rem;
  font-size: 0.7rem;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
}

.site-footer {
  padding: var(--page-pad);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.footer-tagline {
  margin: 0;
  color: var(--ink-muted);
  max-width: 36ch;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.footer-legal,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.footer-logo {
  text-align: center;
  font-size: clamp(3rem, 12vw, 8rem);
  margin: 0;
  line-height: 0.9;
  opacity: 0.08;
  user-select: none;
}

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

@media (max-width: 900px) {
  .header-columns {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .header-tagline--center,
  .header-auth {
    text-align: left;
  }

  .intro-grid,
  .testimonial-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
