:root {
  --ink: #14213d;
  --ink-2: #1b2a4a;
  --paper: #f3f1e7;
  --paper-2: #eae7d9;
  --brass: #b08d57;
  --brass-dark: #8f6f3f;
  --rule-red: #a23e2f;
  --text: #1b1b18;
  --slate: #5b5b4f;
  --white: #ffffff;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Public Sans", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --max: 1180px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--brass-dark);
  outline-offset: 3px;
}

/* ---------- utility topbar ---------- */
.topbar {
  background: var(--ink);
  color: #d9dce6;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a {
  color: #d9dce6;
}
.topbar a:hover {
  color: var(--brass);
}
.topbar .est {
  color: var(--brass);
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 1px 0 var(--brass);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-text .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.15;
}
.brand-text .tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
nav.primary ul {
  display: flex;
  gap: 34px;
}
nav.primary a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav.primary a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--rule-red);
  transition: width 0.25s ease;
}
nav.primary a:hover::after {
  width: 100%;
}
.cta-btn {
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.cta-btn:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}
.cta-btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.cta-btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  width: 42px;
  height: 38px;
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

/* ---------- section scaffolding ---------- */
section {
  padding: 96px 0;
  position: relative;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rule-red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--rule-red);
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 18px;
}
.lead {
  font-size: 17px;
  color: var(--slate);
  max-width: 620px;
}

/* ---------- hero ---------- */
.hero {
  padding-top: 76px;
  padding-bottom: 88px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: 1px solid #d9d5c4;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--rule-red);
}
.hero .lead {
  margin-bottom: 34px;
  font-size: 18px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
}
.hero-tags span {
  border: 1px solid #c9c4ae;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--paper);
}

/* ledger stat card */
.ledger-card {
  background: var(--white);
  border: 1px solid #dcd8c6;
  border-left: 5px solid var(--rule-red);
  box-shadow: 0 18px 40px -20px rgba(20, 33, 61, 0.35);
  padding: 30px 30px 12px;
}
.ledger-card .lc-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px dashed #c9c4ae;
  padding-bottom: 14px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.lc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dashed #dedaca;
}
.lc-row:last-child {
  border-bottom: none;
}
.lc-row .label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.lc-row .value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- about ---------- */
.about {
  background: var(--paper);
}
.about .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media img {
  border-radius: 2px;
  filter: saturate(0.92) contrast(1.02);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-media .seal {
  position: absolute;
  bottom: -26px;
  left: -26px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 3px solid var(--brass);
  font-family: var(--mono);
}
.about-media .seal .yr {
  font-size: 22px;
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
}
.about-media .seal .lbl {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.about-copy p {
  color: var(--slate);
  margin-bottom: 16px;
  font-size: 15.5px;
}
.about-points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
.about-points li {
  padding-left: 16px;
  border-left: 2px solid var(--rule-red);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* ---------- services ---------- */
.services {
  background: var(--ink);
  color: var(--paper);
}
.services .eyebrow {
  color: var(--brass);
}
.services .eyebrow::before {
  background: var(--brass);
}
.services h2 {
  color: var(--paper);
}
.services .lead {
  color: #b9becb;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #2a3757;
  margin-top: 48px;
  border: 1px solid #2a3757;
}
.svc-card {
  background: var(--ink-2);
  padding: 34px 28px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.svc-card:hover {
  background: #213056;
  transform: translateY(-3px);
}
.svc-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
  border: 1px solid #3b4a72;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.svc-card h3 {
  color: var(--paper);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.svc-card p {
  color: #aeb4c6;
  font-size: 14px;
}

/* ---------- approach ---------- */
.approach {
  background: var(--paper-2);
}
.approach-flow {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.approach-flow::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--brass) 0 8px,
    transparent 8px 16px
  );
  z-index: 0;
}
.af-step {
  position: relative;
  padding: 0 18px;
  text-align: left;
}
.af-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  background: var(--paper-2);
}
.af-step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.af-step p {
  font-size: 13.5px;
  color: var(--slate);
}

/* ---------- why choose ---------- */
.why {
  background: var(--paper);
}
.why .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.why-list {
  margin-top: 30px;
}
.why-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e0dccb;
}
.why-list li:first-child {
  padding-top: 0;
}
.why-list .wnum {
  font-family: var(--mono);
  color: var(--rule-red);
  font-weight: 600;
  font-size: 13px;
  padding-top: 3px;
}
.why-list .wtext h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
  font-family: var(--sans);
}
.why-list .wtext p {
  font-size: 13.5px;
  color: var(--slate);
}
.why-media {
  position: relative;
}
.why-media img {
  border-radius: 2px;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: saturate(0.92);
}
.why-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--brass);
  z-index: -1;
}

/* ---------- locations ---------- */
/* ---------- locations ---------- */
.locations {
  background: var(--paper);
  border-top: 1px solid #e0dccb;
  border-bottom: 1px solid #e0dccb;
}
.locations .wrap {
  display: grid;
  grid-template-columns: 0.7fr 1.9fr;
  gap: 56px;
  align-items: start;
}
.loc-heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.18;
}
.loc-heading .accent {
  color: var(--rule-red);
}
.loc-sub {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--slate);
  max-width: 230px;
}
.loc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.loc-item {
  text-align: center;
}
.loc-photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 14px 28px -16px rgba(20, 33, 61, 0.4);
  border: 1px solid #e0dccb;
}
.loc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.loc-item:hover .loc-photo img {
  transform: scale(1.06);
}
.loc-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 33, 61, 0) 55%,
    rgba(20, 33, 61, 0.55) 100%
  );
}
.loc-name {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.loc-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--slate);
  border-top: 1px dashed #d9d5c4;
  padding-top: 22px;
}
.loc-note .pin {
  color: var(--rule-red);
  font-size: 15px;
}
/* ---------- cta banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--brass) 0%, var(--brass-dark) 100%);
  color: var(--ink);
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 {
  color: var(--ink);
  margin-bottom: 14px;
}
.cta-banner p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: #3a2e17;
  font-size: 16px;
}
.cta-banner .cta-btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.cta-banner .cta-btn:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- footer ---------- */
footer {
  background: var(--ink-2);
  color: #aeb4c6;
  padding: 64px 0 28px;
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid #33406a;
}
.foot-brand .name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 10px;
}
.foot-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 260px;
}
footer h5 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
}
footer li {
  margin-bottom: 10px;
  font-size: 13.5px;
}
footer a:hover {
  color: var(--brass);
}
.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #7c84a0;
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- testimonials ---------- */
.testimonials {
  background: var(--paper);
}
.testimonials .wrap {
  text-align: center;
}
.testimonials .eyebrow {
  justify-content: center;
}
.testimonials .eyebrow::before {
  display: none;
}
.testimonials h2 {
  margin-bottom: 12px;
}
.testimonials .lead {
  margin: 0 auto 48px;
  text-align: center;
}

.testi-swiper {
  position: relative;
  padding: 4px 4px 46px;
}
.testi-swiper .swiper-wrapper {
  align-items: stretch;
}

.testi-card {
  height: 100%;
  background: var(--white);
  border: 1px solid #e0dccb;
  border-radius: 4px;
  padding: 36px 32px 30px;
  text-align: left;
  box-shadow: 0 20px 40px -28px rgba(20, 33, 61, 0.35);
  display: flex;
  flex-direction: column;
}
.testi-quote {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--brass);
  margin-bottom: 14px;
}
.testi-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  flex-grow: 1;
}
.testi-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed #dedaca;
}
.testi-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.testi-loc {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--slate);
  margin-top: 2px;
}

/* nav arrows */
.testi-swiper .swiper-button-prev,
.testi-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  top: 44%;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brass);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.testi-swiper .swiper-button-prev:hover,
.testi-swiper .swiper-button-next:hover {
  background: var(--brass);
  color: var(--white);
}
.testi-swiper .swiper-button-prev::after,
.testi-swiper .swiper-button-next::after {
  font-size: 15px;
  font-weight: 700;
}
.testi-swiper .swiper-button-prev {
  left: -6px;
}
.testi-swiper .swiper-button-next {
  right: -6px;
}

/* pagination dots */
.testi-swiper .swiper-pagination {
  bottom: 0;
}
.testi-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #c9c4ae;
  opacity: 1;
}
.testi-swiper .swiper-pagination-bullet-active {
  background: var(--rule-red);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  nav.primary {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero .wrap,
  .about .wrap,
  .why .wrap {
    grid-template-columns: 1fr;
  }
  .about .wrap {
    gap: 80px;
  }
  .about-media {
    order: -1;
    max-width: 360px;
  }
  .why-media {
    order: -1;
    max-width: 360px;
  }
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 0;
  }
  .approach-flow::before {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .locations .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .loc-sub {
    max-width: none;
  }
  .loc-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testi-swiper .swiper-button-prev {
    left: -2px;
  }
  .testi-swiper .swiper-button-next {
    right: -2px;
  }
}
@media (max-width: 640px) {
  header .wrap {
    flex-wrap: wrap;
    gap: 20px;
  }
  .wrap {
    padding: 0 20px;
  }
  section {
    padding: 64px 0;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .cta-btn {
    text-align: center;
  }
  .about-points {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .cta-btn {
    width: 100%;
  }
  .topbar .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-swiper {
    padding-left: 2px;
    padding-right: 2px;
  }
  .testi-swiper .swiper-button-prev,
  .testi-swiper .swiper-button-next {
    display: none;
  }
}
