:root {
  --phthalo: #123f36;
  --phthalo-deep: #08241f;
  --phthalo-soft: #dcebe6;
  --gold: #c89f3c;
  --gold-soft: #f2e3bd;
  --ink: #141615;
  --muted: #5f6863;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: rgba(18, 63, 54, 0.14);
  --shadow: 0 24px 70px rgba(8, 36, 31, 0.16);
  --heading: "Fraunces", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.88);
  box-shadow: 0 16px 42px rgba(8, 36, 31, 0.12);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 12px 34px rgba(8, 36, 31, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--phthalo-deep);
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--phthalo);
  color: var(--gold-soft);
  font-family: var(--heading);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--phthalo-soft);
  color: var(--phthalo-deep);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--phthalo-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 56px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 128px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--phthalo-deep);
  font-family: var(--heading);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-title {
  max-width: 780px;
  font-size: 4.5rem;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--phthalo);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(18, 63, 54, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--phthalo-deep);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 36, 31, 0.02), rgba(8, 36, 31, 0.5));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  width: min(330px, calc(100% - 44px));
  padding: 20px;
  border: 1px solid rgba(242, 227, 189, 0.5);
  border-radius: 8px;
  background: rgba(8, 36, 31, 0.84);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.25rem;
  line-height: 1.18;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.logo-strip span {
  padding: 18px;
  background: var(--white);
  color: var(--phthalo);
  font-weight: 800;
  text-align: center;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.approach-content h2,
.contact-copy h2 {
  font-size: 3rem;
}

.section-heading p:not(.eyebrow),
.approach-content > p,
.contact-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 52px rgba(8, 36, 31, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card div {
  padding: 28px;
}

.service-index {
  color: var(--gold);
  font-weight: 900;
}

.service-card h3,
.insight-item h3,
.timeline-step h3 {
  margin-top: 8px;
  font-size: 1.55rem;
}

.service-card p,
.insight-item p,
.timeline-step p {
  margin: 12px 0 0;
  color: var(--muted);
}

.approach {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.approach-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.approach-media img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.timeline-step span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--phthalo-deep);
  font-weight: 900;
}

.insight {
  padding-top: 48px;
}

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

.insight-item {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(242, 227, 189, 0.22);
  border-radius: 8px;
  background: var(--phthalo-deep);
  color: var(--white);
}

.insight-item span {
  display: block;
  width: 46px;
  height: 4px;
  margin-bottom: 36px;
  border-radius: 99px;
  background: var(--gold);
}

.insight-item h3 {
  color: var(--white);
}

.insight-item p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
  padding: 46px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-action {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--phthalo-soft), var(--white));
}

.contact-action p {
  max-width: 460px;
  margin: 0;
  color: var(--phthalo-deep);
  font-size: 1.18rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.footer-meta p {
  margin: 0;
}

.footer-meta p:first-child {
  color: var(--muted);
}

.reveal {
  will-change: transform, opacity;
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 24px, 680px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(251, 250, 246, 0.98);
    box-shadow: 0 16px 42px rgba(8, 36, 31, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .approach,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    min-height: auto;
    padding-top: 122px;
  }

  .hero-title {
    font-size: 3.15rem;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 430px;
  }

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

  .section {
    padding: 82px 0;
  }

  .approach-media img {
    min-height: 420px;
  }

  .contact-section {
    padding: 32px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .logo-strip,
  .section,
  .contact-section,
  .site-footer {
    width: calc(100% - 28px);
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-action .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .hero-panel {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 16px;
  }

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

  .logo-strip span {
    padding: 14px;
  }

  .section-heading h2,
  .approach-content h2,
  .contact-copy h2 {
    font-size: 2.2rem;
  }

  .service-card div,
  .insight-item,
  .contact-section,
  .contact-action {
    padding: 22px;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
