:root {
  --ink: #1f2357;
  --ink-soft: #39405f;
  --teal: #10b4b6;
  --deep-teal: #276167;
  --green: #238066;
  --leaf: #65c18b;
  --ochre: #f47b21;
  --crimson: #d0492b;
  --cream: #f7f4ec;
  --white: #ffffff;
  --line: rgba(31, 35, 87, 0.14);
  --shadow: 0 22px 60px rgba(31, 35, 87, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--cream);
}

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

a {
  color: 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: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 244, 236, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(31, 35, 87, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0;
  background: var(--green);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green);
}

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

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

.hero {
  position: relative;
  min-height: calc(100vh - 67px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(31, 35, 87, 0.86), rgba(31, 35, 87, 0.46) 48%, rgba(31, 35, 87, 0.18)),
    linear-gradient(0deg, rgba(31, 35, 87, 0.62), transparent 44%);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-content {
  position: relative;
  width: min(780px, 100%);
  padding: clamp(80px, 13vw, 150px) clamp(20px, 6vw, 72px) clamp(52px, 8vw, 86px);
}

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

.hero h1,
.section h2,
.feature-text h2,
.life-copy h2,
.contact h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 48px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro {
  background: var(--white);
}

.intro-grid,
.recognition-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 72px);
}

.section h2,
.feature-text h2,
.life-copy h2,
.contact h2 {
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.intro-copy p,
.feature-text p,
.recognition-copy p,
.life-copy p,
.contact p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.expertise {
  background: var(--cream);
}

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

.expertise-grid article,
.project-card,
.timeline article,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.expertise-grid article {
  min-height: 208px;
  padding: 24px;
}

.expertise-grid h3,
.project-card h3,
.timeline h3 {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.2;
}

.expertise-grid p,
.project-card p,
.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  background: var(--ink);
  color: var(--white);
}

.feature-image img {
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 7vw, 84px);
}

.feature-text p {
  color: rgba(255, 255, 255, 0.82);
}

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

.project-card {
  padding: 24px;
}

.project-card span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 900;
}

.recognition {
  background: var(--white);
}

.recognition-copy {
  align-self: center;
}

.recognition-image img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--ink-soft);
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
  content: "+";
}

.journey {
  background: var(--cream);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  padding: 22px;
}

.timeline time {
  display: block;
  margin-bottom: 20px;
  color: var(--crimson);
  font-weight: 900;
}

.life-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 48px);
  background: var(--white);
}

.life-copy {
  max-width: 560px;
  justify-self: end;
}

.life-gallery {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.life-gallery img {
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.life-gallery img:first-child {
  grid-row: 1 / 3;
}

.contact {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 48px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(35, 128, 102, 0.94), rgba(39, 97, 103, 0.96)),
    var(--deep-teal);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  width: min(var(--max), 100%);
  margin: 0 auto;
  align-items: center;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-card {
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--cream);
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(16, 180, 182, 0.22);
  border-color: var(--teal);
  background: var(--white);
}

.contact-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 48px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 67px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .hero {
    min-height: 780px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(31, 35, 87, 0.58), rgba(31, 35, 87, 0.86)),
      linear-gradient(0deg, rgba(31, 35, 87, 0.74), transparent 48%);
  }

  .hero-content {
    padding-top: 160px;
  }

  .intro-grid,
  .recognition-grid,
  .feature-band,
  .life-section,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .expertise-grid,
  .project-list,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-text {
    padding: 36px 22px;
  }

  .life-copy {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 170px;
    line-height: 1.15;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .expertise-grid,
  .project-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .life-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }

  .life-gallery img:first-child {
    grid-row: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
