:root {
  --navy: #182536;
  --navy-2: #22344a;
  --ink: #17202b;
  --muted: #66717d;
  --paper: #ffffff;
  --soft: #f5f3ee;
  --line: #dfe3e6;
  --accent: #a88a5b;
  --max: 1160px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { max-width: 820px; }
.centered { text-align: center; }
.hidden { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; padding: 8px 12px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,227,230,.9);
}
.nav-wrap {
  min-height: 76px; display: flex; align-items: center;
  justify-content: space-between; gap: 30px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem; font-weight: 700;
}
.brand-sub {
  margin-top: 5px; color: var(--muted); font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover { opacity: .7; }
.nav-cta { background: var(--navy); color: #fff; padding: 10px 15px; border-radius: 999px; }

.hero {
  padding: 0;
  background: #fbfaf7;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  width: min(100%, 1540px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr);
  gap: 0;
  align-items: stretch;
  min-height: 720px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(42px, 5vw, 78px);
}

.eyebrow, .section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 4.65vw, 4.65rem);
  letter-spacing: -.035em;
  margin-bottom: 26px;
  max-width: 780px;
}

h1 span { color: var(--navy); }

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -.025em;
  margin-bottom: 20px;
}

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

.lead {
  font-size: 1.08rem;
  color: #46515e;
  max-width: 700px;
  margin-bottom: 0;
}

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

.button {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  border-radius: 999px;
  padding: 13px 20px;
}

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

.button.primary:hover { background: var(--navy-2); }

.button.secondary {
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
}

.direct-contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: .95rem;
  color: #46515e;
}

.direct-contact a { text-underline-offset: 3px; }

.microcopy {
  margin-top: 18px;
  font-size: .86rem;
  color: var(--muted);
}

.hero-photo-wrap {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #202932;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(130px, 18vw, 300px);
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(251, 250, 247, 1) 0%,
    rgba(251, 250, 247, .96) 18%,
    rgba(251, 250, 247, .72) 54%,
    rgba(251, 250, 247, .30) 78%,
    rgba(251, 250, 247, 0) 100%
  );
  pointer-events: none;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,37,54,.06), rgba(24,37,54,.08));
  z-index: 1;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 54% 42%;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
  transform: translateX(1.5%) scale(1.035);
}

.service-strip {
  background: #f6f1e8;
  border-top: 1px solid rgba(24,37,54,.05);
  border-bottom: 1px solid #e4ded3;
}

.service-strip-grid {
  width: min(100%, 1540px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-strip-item {
  min-height: 122px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--navy);
  border-right: 1px solid #ddd4c6;
}

.service-strip-item:last-child {
  border-right: 0;
}

.service-strip-item:hover {
  background: rgba(255,255,255,.38);
}

.service-icon {
  flex: 0 0 auto;
  min-width: 54px;
  color: var(--accent);
  font-size: 2.3rem;
  line-height: 1;
  text-align: center;
  opacity: .95;
}

.service-copy {
  display: flex;
  flex-direction: column;
}

.service-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 700;
}

.service-strip-number {
  color: var(--accent);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .76rem;
  letter-spacing: .12em;
  font-weight: 800;
}

.section { padding: 92px 0; }
.alt { background: var(--soft); }
.intro { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro p:not(.section-kicker) { font-size: 1.12rem; color: #4e5965; }
.section-heading { margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  padding: 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid rgba(223,227,230,.9);
  box-shadow: 0 10px 35px rgba(24,37,54,.05);
}
.card-number {
  font-size: .78rem; letter-spacing: .14em; font-weight: 800;
  color: var(--accent); margin-bottom: 34px;
}
.card p { color: #53606c; margin-bottom: 0; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.prose p { font-size: 1.07rem; color: #4f5b68; }
.text-link {
  display: inline-block; margin-top: 12px; color: var(--navy);
  font-weight: 800; text-decoration: none;
}
.traditional { background: linear-gradient(180deg, #fff, #faf9f6); }
.traditional p { color: #53606c; font-size: 1.08rem; }

.contact-section { background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-section h2 { color: #fff; }
.contact-section p { color: #dbe1e7; }
.section-kicker.light { color: #d7ba87; }
.contact-direct { margin-top: 28px; display: grid; gap: 10px; }
.contact-direct a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.contact-form { background: #fff; color: var(--ink); padding: 28px; border-radius: var(--radius); }
.contact-form label { display: block; font-size: .9rem; font-weight: 750; margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 7px; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 13px; font: inherit;
  background: #fff; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 3px solid rgba(168,138,91,.25); border-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.form-button { width: 100%; }
.form-note { color: var(--muted) !important; font-size: .81rem; text-align: center; margin-bottom: 0; }

.site-footer { padding: 30px 0; background: #111a26; color: #dfe6ed; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-right { text-align: right; }
.site-footer a { text-underline-offset: 3px; }
.footer-note { color: #9eabb8; font-size: .78rem; }

.simple-page { min-height: 75vh; padding: 80px 0; }
.simple-page h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.simple-page p, .simple-page li { color: #53606c; max-width: 800px; }

@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 45px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-photo-wrap { max-width: 520px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }
}
@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 66px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .68rem; }
  h1 { font-size: 2.65rem; }
  h2 { font-size: 2.15rem; }
  .hero-actions { flex-direction: column; }
  .button { text-align: center; width: 100%; }
  .direct-contact { display: grid; gap: 3px; }
  .direct-contact span { display: none; }
  .contact-form { padding: 20px; }
}


/* V3 hero layout overrides */
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr 44%;
    min-height: 650px;
  }

  .hero-photo-wrap {
    min-height: 650px;
  }

  .hero-copy {
    padding: 54px 36px;
  }

  h1 {
    font-size: clamp(3rem, 5.7vw, 4.25rem);
  }

  .service-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-strip-item:nth-child(2) {
    border-right: 0;
  }

  .service-strip-item:nth-child(-n+2) {
    border-bottom: 1px solid #ddd4c6;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-copy {
    order: 1;
    padding: 46px 24px 40px;
  }

  .hero-photo-wrap {
    order: 2;
    width: 100%;
    min-height: 0;
    height: min(88vw, 620px);
  }

  .hero-photo {
    object-position: 50% 43%;
  }

  h1 {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .service-strip-grid {
    grid-template-columns: 1fr;
  }

  .service-strip-item {
    border-right: 0 !important;
    border-bottom: 1px solid #ddd4c6;
    min-height: 88px;
  }

  .service-strip-item:last-child {
    border-bottom: 0;
  }
}


/* V4 polish */
.hero-copy .lead strong {
  color: var(--navy);
}

.hero-actions .button {
  min-width: 178px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(24,37,54,.06);
}

.button.secondary:hover {
  background: rgba(255,255,255,.82);
}

.nav-cta,
.button.primary {
  background: linear-gradient(180deg, #1e3146, #16263a);
}

.direct-contact {
  margin-top: 26px;
  align-items: center;
}

.direct-contact a {
  text-decoration: none;
  border-bottom: 1px solid rgba(24,37,54,.35);
}

.direct-contact a:hover {
  border-bottom-color: var(--navy);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

@media (max-width: 1050px) {
  .hero-photo {
    object-position: 56% 43%;
  }

  .hero-photo-wrap::before {
    width: clamp(110px, 16vw, 220px);
    background: linear-gradient(
      90deg,
      rgba(251, 250, 247, 1) 0%,
      rgba(251, 250, 247, .94) 20%,
      rgba(251, 250, 247, .62) 58%,
      rgba(251, 250, 247, 0) 100%
    );
  }
}

@media (max-width: 760px) {
  .hero-photo-wrap::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: 26%;
    background: linear-gradient(
      180deg,
      rgba(251, 250, 247, 0) 0%,
      rgba(251, 250, 247, .03) 52%,
      rgba(251, 250, 247, .08) 100%
    );
  }

  .hero-photo {
    object-position: 52% 40%;
    transform: translateX(.5%) scale(1.02);
  }

  .service-strip-item {
    min-height: 92px;
    padding: 18px 22px;
  }

  .service-icon {
    min-width: 44px;
    font-size: 2rem;
  }
}


/* V5 closer match to preferred mockup */
.hero-copy {
  max-width: 860px;
}

@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
  }
}


/* =========================================================
   V6 — EXACT PREFERRED HERO DIRECTION
   Uses the portrait/fade treatment from the user's selected mockup.
   ========================================================= */

.hero {
  padding: 0 !important;
  background: #fbfaf7 !important;
  border-bottom: 0 !important;
}

.hero-grid {
  width: min(100%, 1536px) !important;
  min-height: 790px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 47% 53% !important;
  gap: 0 !important;
  align-items: stretch !important;
}

.hero-copy {
  padding: 65px 38px 58px 64px !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 3 !important;
  background: #fbfaf7 !important;
}

.hero-copy h1 {
  max-width: 700px !important;
  margin: 0 0 28px !important;
  font-size: clamp(3.6rem, 4.65vw, 4.75rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

.hero-copy .lead {
  max-width: 660px !important;
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}

.hero-photo-wrap {
  position: relative !important;
  min-height: 790px !important;
  overflow: hidden !important;
  background: #fbfaf7 !important;
}

/* The preferred source image already contains the exact narrow fade.
   Do not place another fade over it. */
.hero-photo-wrap::before,
.hero-photo-wrap::after {
  display: none !important;
  content: none !important;
}

.hero-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
}

.hero-actions {
  margin-top: 28px !important;
}

.hero-actions .button {
  min-width: 178px !important;
}

.direct-contact {
  margin-top: 25px !important;
}

.microcopy {
  margin-top: 32px !important;
  font-size: .84rem !important;
}

/* Preferred specialty band */
.service-strip {
  background: #f7f2e9 !important;
  border-top: 1px solid #e2ddd4 !important;
  border-bottom: 1px solid #e2ddd4 !important;
}

.service-strip-grid {
  width: min(100%, 1536px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
}

.service-strip-item {
  min-height: 120px !important;
  padding: 26px 32px !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  text-decoration: none !important;
  color: var(--navy) !important;
  border-right: 1px solid #d9d2c7 !important;
  background: transparent !important;
}

.service-strip-item:last-child {
  border-right: 0 !important;
}

.service-icon {
  width: 45px !important;
  min-width: 45px !important;
  color: var(--accent) !important;
  display: block !important;
  line-height: 1 !important;
}

.service-icon svg {
  width: 45px !important;
  height: 45px !important;
  fill: currentColor !important;
  display: block !important;
}

.service-title {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.08rem !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 52% 48% !important;
    min-height: 690px !important;
  }

  .hero-copy {
    padding: 52px 30px 48px 38px !important;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 5.5vw, 4rem) !important;
  }

  .hero-photo-wrap {
    min-height: 690px !important;
  }

  .service-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .service-strip-item:nth-child(2) {
    border-right: 0 !important;
  }

  .service-strip-item:nth-child(-n+2) {
    border-bottom: 1px solid #d9d2c7 !important;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  .hero-copy {
    order: 1 !important;
    padding: 44px 24px 38px !important;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 11vw, 4rem) !important;
  }

  .hero-photo-wrap {
    order: 2 !important;
    min-height: 0 !important;
    height: min(94vw, 610px) !important;
  }

  .hero-photo {
    object-position: 50% 44% !important;
  }

  .service-strip-grid {
    grid-template-columns: 1fr !important;
  }

  .service-strip-item {
    border-right: 0 !important;
    border-bottom: 1px solid #d9d2c7 !important;
    min-height: 92px !important;
    padding: 19px 24px !important;
  }

  .service-strip-item:last-child {
    border-bottom: 0 !important;
  }
}


/* V6.1 — inline contact-form success state */
.form-success {
  padding: 18px 8px 10px;
  text-align: center;
}

.form-success[hidden],
#form-fields[hidden] {
  display: none !important;
}

.form-success .success-kicker {
  margin: 0 0 8px;
  color: var(--accent) !important;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.form-success h3 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.form-success p {
  color: #53606c !important;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.success-reset {
  margin-top: 8px;
}

.contact-form button[disabled] {
  opacity: .7;
  cursor: wait;
}


/* V6.3 — curved lower-left hero fade */
.hero-photo-wrap {
  background: #fbfaf7 !important;
}

.hero-photo-wrap::before,
.hero-photo-wrap::after {
  display: none !important;
  content: none !important;
}

.hero-photo {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
