/* ===== Variables ===== */
:root {
  --bg: #F7F8FA;
  --ink: #10283b;
  --blue: #567c9c;
  --deep: #17344a;
  --line: #d9e0e5;
  --muted: #667784;
  --white: #fff;
}

/* ===== Base ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.wrap {
  width: min(1160px, calc(100% - 64px));
  margin: auto;
}

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

.eyebrow {
  font-size: 13px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--blue);
}

.lead {
  font-size: 18px !important;
  line-height: 1.5;
  color: var(--ink) !important;
}

/* ===== Header ===== */
.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 64px));
  margin: auto;
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 300px;
  display: block;
}

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

.site-header a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
}

.menu {
  display: none;
}

/* ===== Hero ===== */
.hero {
  padding: 76px 0 44px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 20px 0 38px;
}

.hero h1 em {
  font-weight: 400;
  color: var(--blue);
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 60px;
  align-items: end;
}

.hero-grid p {
  max-width: 820px;
  color: #445866;
  font-size: 18px;
}

/* ===== Architectural visual ===== */
.architectural {
  height: 370px;
  background: var(--deep) url("assets/architecture.jpg") center 15% / cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Navy fade from the left so the white text stays readable */
.architectural::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 52, 74, .88) 0%, rgba(23, 52, 74, .55) 30%, rgba(23, 52, 74, 0) 60%);
}

.image-copy {
  position: absolute;
  left: calc((100% - min(1160px, calc(100% - 64px))) / 2);
  bottom: 42px;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.image-copy em {
  color: #a8c0d1;
}

/* ===== Light sections ===== */
.expertise,
.services,
.experience {
  padding: 64px 0;
}

/* ===== Core expertise ===== */
.expertise-copy h2 span {
  color: var(--blue);
}

/* ===== Dark sections (Architecture, Interim, Contact) ===== */
.architecture,
.interim,
.contact {
  background: var(--deep);
  color: white;
  padding: 70px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.light {
  color: #a8c0d1;
}

.split h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 50px);
  line-height: 1.08;
  margin-top: 15px;
}

.architecture-copy p,
.interim-copy p {
  color: #c7d2da;
  font-size: 15px;
}

.architecture-copy .lead,
.interim-copy .lead {
  color: #fff !important;
}

.architecture-copy p,
.interim-copy p {
  font-size: 17px;
}

.arch-points {
  margin: 0 0 28px;
}

.arch-points > div:first-child {
  padding-top: 0;
}

.arch-points > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.arch-points dt {
  font-family: Georgia, serif;
  font-size: 19px;
  color: #fff;
}

.arch-points dd {
  margin: 0;
  font-size: 15px;
  color: #c7d2da;
}

.arch-result {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 19px !important;
  color: #fff !important;
  margin: 0;
}

/* ===== Services ===== */
.expertise .split,
.services .split {
  align-items: start;
}

.expertise-copy,
.services-copy {
  position: sticky;
  top: 40px;
}

.expertise-copy .lead,
.services-copy .lead {
  font-size: 20px !important;
}

.service-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-list > div:first-child {
  padding-top: 0;
}

.service-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-list h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 6px;
}

.service-list p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* ===== Interim ===== */
.note {
  font-size: 16px !important;
  color: #8fa6b5 !important;
}

/* ===== Experience ===== */
.interim .split {
  align-items: end;
}

.experience .split {
  align-items: center;
}

.experience-intro .lead {
  font-size: 20px !important;
  margin-bottom: 0;
}

.experience-copy p {
  color: #526674;
  font-size: 17px;
}

.interim-copy p:last-child,
.experience-copy p:last-child {
  margin-bottom: 0;
}

/* ===== Contact ===== */
.contact-details {
  align-self: center;
}

.contact-intro {
  color: #c7d2da;
  font-size: 17px;
  max-width: 480px;
}

.contact-details a {
  display: block;
  color: white;
  font-family: Georgia, serif;
  font-size: 28px;
  text-decoration: none;
  margin: 0 0 18px;
}

.contact-details span {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: #9fb3c1;
}

/* ===== Footer ===== */
.footer {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer img {
  width: 220px;
}

.footer div {
  display: flex;
  gap: 18px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.footer p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ===== Tablet (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .brand img {
    width: 250px;
  }

  .site-header nav {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: 5fr 1fr;
    gap: 32px;
  }

  .split {
    gap: 48px;
  }
}

/* ===== Mobile (≤ 800px) ===== */
@media (max-width: 800px) {
  .wrap,
  .site-header {
    width: min(100% - 36px, 1160px);
  }

  /* Header & menu */
  .site-header {
    height: 80px;
  }

  .brand img {
    width: 230px;
  }

  .menu {
    display: block;
    border: 0;
    background: none;
    color: var(--ink);
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 22px;
    z-index: 5;
    flex-direction: column;
  }

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

  /* Hero */
  .hero {
    padding: 52px 0 32px;
  }

  .hero h1 {
    font-size: clamp(42px, 10vw, 56px);
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Architectural visual */
  .architectural {
    height: 280px;
    background-position: left center;
  }

  .architectural::before {
    background: linear-gradient(20deg, rgba(23, 52, 74, .9) 0%, rgba(23, 52, 74, .6) 40%, rgba(23, 52, 74, 0) 75%);
  }

  .image-copy {
    left: 18px;
    font-size: 26px;
  }

  /* Sections */
  .expertise,
  .services,
  .experience {
    padding: 48px 0;
  }

  .expertise-copy,
  .services-copy {
    position: static;
    order: -1;
  }

  .architecture,
  .interim,
  .contact {
    padding: 52px 0;
  }

  .split h2 {
    font-size: 34px;
  }

  .arch-points > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  /* Footer */
  .footer {
    height: auto;
    padding: 34px 0;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer div {
    flex-wrap: wrap;
  }
}
