:root {
  --ink: #101418;
  --charcoal: #171c20;
  --charcoal-2: #20262b;
  --ivory: #f7f2e9;
  --paper: #fffaf1;
  --muted: #7d756a;
  --line: rgba(24, 28, 30, 0.14);
  --gold: #b89658;
  --sage: #7a8a72;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 18, 20, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 241, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 35px rgba(12, 16, 18, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 15px;
  text-transform: uppercase;
}

.brand-copy small {
  font-size: 12px;
  color: currentColor;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 5vw, 60px) 52px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 12, 14, 0.88), rgba(9, 12, 14, 0.54) 45%, rgba(9, 12, 14, 0.18)),
    linear-gradient(0deg, rgba(9, 12, 14, 0.88), rgba(9, 12, 14, 0) 38%);
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 96px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 20px);
}

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

.button-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #16120b;
}

.button-secondary {
  color: var(--white);
}

.credential-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 940px;
  margin: 48px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.credential-strip div {
  padding: 22px;
  background: rgba(14, 18, 20, 0.34);
}

.credential-strip dt {
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.credential-strip dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

section:not(.hero) {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 60px);
}

.band-light {
  background: var(--ivory);
}

.band-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-grid,
.section-heading,
.expertise-layout,
.timeline,
.contact,
.insight-strip,
.footer {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.intro-copy {
  color: #403c35;
  font-size: 18px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 48px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.service-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.service-card p,
.timeline-item p,
.expertise-panel li,
.contact-copy p {
  color: #5f5a52;
}

.card-number,
.timeline-item span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.expertise-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.expertise-panel,
.signature-panel {
  min-height: 340px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--charcoal-2);
}

.expertise-panel ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.expertise-panel li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.expertise-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.signature-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(184, 150, 88, 0.2), rgba(255, 255, 255, 0.04));
}

.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.25;
}

.signature-panel span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.timeline-item {
  min-height: 240px;
  padding: 28px 24px 10px 0;
  border-right: 1px solid var(--line);
}

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

.insight-strip {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  border-block: 1px solid var(--line);
}

.insight-strip h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.contact-panel {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel a {
  display: grid;
  gap: 6px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel a:last-child {
  border-bottom: 0;
}

.contact-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 60px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-header.is-open .nav-links {
    position: absolute;
    top: 84px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-links a {
    padding: 16px;
  }

  .hero {
    min-height: 94vh;
    padding-top: 114px;
  }

  .credential-strip,
  .section-grid,
  .service-grid,
  .expertise-layout,
  .timeline,
  .insight-strip,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-card,
  .expertise-panel,
  .signature-panel {
    min-height: auto;
  }

  .timeline {
    border-top: 0;
  }

  .timeline-item {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .credential-strip div,
  .service-card,
  .expertise-panel,
  .signature-panel,
  .contact-panel a {
    padding: 22px;
  }
}
