:root {
  --navy-950: #061523;
  --navy-900: #0A2038;
  --navy-850: #0C2540;
  --navy-800: #0E2A47;
  --navy-700: #143258;
  --navy-600: #1B3D6B;
  --wood: #C68A5F;
  --wood-strong: #B4774A;
  --bone: #F4EFE7;
  --bone-soft: #E9E2D5;
  --ink: #0A1626;
  --muted: rgba(244, 239, 231, 0.72);
  --muted-strong: rgba(244, 239, 231, 0.88);
  --hairline: rgba(244, 239, 231, 0.10);
  --hairline-strong: rgba(244, 239, 231, 0.18);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--wood); }
ul, ol { padding: 0; margin: 0; }
li { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--navy-950);
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
}
.utility-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 40px;
  gap: 16px;
}
.utility-right { display: flex; gap: 24px; }
.utility-right a { transition: color 0.2s; }
.utility-right a:hover { color: var(--wood); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 32, 56, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(140deg, var(--wood) 0%, var(--wood-strong) 100%);
  color: var(--navy-900);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  border-radius: 3px;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.005em;
}
.brand-name em { color: var(--wood); }

.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--muted-strong);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--bone); }
.nav-cta {
  background: var(--wood);
  color: var(--navy-900) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--wood-strong); transform: translateY(-1px); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 22px;
  font-weight: 500;
}
.eyebrow-light { color: var(--bone); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--bone);
  margin: 0;
}
h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 22px; }
h3 { font-size: 22px; }

.section-head { max-width: 760px; margin: 0 auto 64px; }
.section-head.center { text-align: center; }
.section-sub { color: var(--muted-strong); font-size: 17px; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 0 0;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(198, 138, 95, 0.10), transparent 60%),
    radial-gradient(700px 400px at 90% 30%, rgba(20, 50, 88, 0.6), transparent 70%),
    var(--navy-900);
}
.hero-inner { max-width: 920px; }
.hero-title {
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 1.02;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.hero-title em { color: var(--wood); }
.hero-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted-strong);
  max-width: 600px;
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  gap: clamp(32px, 6vw, 80px);
  padding: 32px 0 80px;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--wood);
  font-weight: 500;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary { background: var(--wood); color: var(--navy-900); }
.btn-primary:hover { background: var(--wood-strong); transform: translateY(-1px); color: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--hairline-strong); }
.btn-ghost:hover { border-color: var(--wood); color: var(--wood); }
.btn-ghost-light { color: var(--bone); border-color: rgba(244,239,231,0.5); }
.btn-ghost-light:hover { border-color: var(--bone); background: rgba(244,239,231,0.08); }
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* ---------- Hardwood plank divider ---------- */
.plank-divider {
  height: 36px;
  background:
    repeating-linear-gradient(
      90deg,
      #6b4226 0 92px,
      #4a2d1c 92px 95px,
      #7a4d2c 95px 200px,
      #4a2d1c 200px 203px,
      #6f4427 203px 312px,
      #4a2d1c 312px 315px,
      #80532f 315px 432px,
      #4a2d1c 432px 435px,
      #66401f 435px 540px,
      #4a2d1c 540px 543px
    );
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
}
.plank-divider::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* ---------- Sections ---------- */
section { padding: clamp(80px, 10vw, 130px) 0; }

/* ---------- Services ---------- */
.services { background: var(--navy-850); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-col {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 36px;
}
.service-col-head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}
.service-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(198, 138, 95, 0.12);
  border: 1px solid rgba(198, 138, 95, 0.3);
  border-radius: 6px;
  font-size: 20px;
}
.service-col-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 0;
  color: var(--bone);
}
.service-col-sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 4px 0 0;
}
.service-list { display: grid; gap: 22px; }
.service-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
}
.service-list .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--wood);
  padding-top: 3px;
}
.service-list .num.plus {
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}
.service-list h4 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--bone);
}
.service-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Why ---------- */
.why { background: var(--navy-700); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.why-copy h2 { margin-bottom: 28px; }
.why-copy p { color: var(--muted-strong); margin: 0 0 18px; font-size: 16px; }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.trust-grid li {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 24px;
}
.trust-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(198, 138, 95, 0.12);
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: 16px;
}
.trust-grid h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 8px;
}
.trust-grid p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Process ---------- */
.process { background: var(--navy-850); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 32px 28px;
}
.step-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  color: var(--wood);
  margin-bottom: 12px;
  line-height: 1;
  border-bottom: 1px solid rgba(198, 138, 95, 0.4);
  padding-bottom: 14px;
  width: 36px;
}
.step h3 { font-size: 21px; margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Area ---------- */
.area { background: var(--navy-900); }
.area .container.center { text-align: center; }
.area .section-sub { max-width: 580px; margin: 0 auto 40px; }
.town-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 28px;
}
.town-pills li {
  padding: 8px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted-strong);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, color 0.2s;
}
.town-pills li:hover { border-color: var(--wood); color: var(--wood); }
.area-foot { color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: clamp(110px, 14vw, 180px) 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-900);
}
.cta-floor {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(10, 32, 56, 0.82) 0%,
      rgba(10, 32, 56, 0.55) 45%,
      rgba(10, 32, 56, 0.85) 100%),
    repeating-linear-gradient(
      92deg,
      #6b4226 0 110px,
      #4a2d1c 110px 113px,
      #7a4d2c 113px 230px,
      #4a2d1c 230px 233px,
      #6f4427 233px 360px,
      #4a2d1c 360px 363px,
      #80532f 363px 480px,
      #4a2d1c 480px 483px
    );
}
.cta-floor::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 220px at 50% 100%, rgba(244, 239, 231, 0.12), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(255,255,255,0.04));
  pointer-events: none;
}
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner > p { color: var(--muted-strong); max-width: 540px; margin: 0 auto 32px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-tag { color: var(--muted); font-family: var(--serif); margin: 16px 0 0; }
.footer-tag em { color: var(--wood); }
.site-footer h5 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
  font-weight: 500;
  margin: 0 0 18px;
}
.site-footer ul li { color: var(--muted-strong); padding: 4px 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .utility-inner { font-size: 12px; }
  .utility-right { gap: 14px; }
  .utility-right a:first-child { display: none; }
  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-col { padding: 28px; }
  .trust-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-stats { gap: 32px; padding-bottom: 56px; }
}
@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .header-inner { height: 64px; }
  .utility-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
