:root {
  --bg: #f5f6ef;
  --paper: #f7f8f1;
  --lime: #b8ff63;
  --ink: #0a0d0d;
  --muted: #52635d;
  --line: rgba(10, 13, 13, 0.12);
  --deep: #0d6975;
  --deep-2: #0c2f36;
  --card: #ffffff;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
}

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

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

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 30px), var(--container));
  margin: 14px auto 30px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  position: sticky;
  top: 10px;
  z-index: 30;
  backdrop-filter: blur(10px);
}

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

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-name,
.site-nav a,
.header-cta,
.button-outline,
.project-tag,
.section-kicker,
.note-label {
  letter-spacing: 0.03em;
}

.brand-name {
  font-family: "Archivo", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.92rem;
}

.site-nav a,
.header-cta,
.button-outline,
.text-link,
.service-card,
.project-card,
.note-card,
.faq-item,
.footer-links a {
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--deep);
}

.header-cta,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}

.header-cta {
  background: var(--lime);
}

.button-outline {
  background: transparent;
}

.header-cta:hover,
.button-outline:hover {
  transform: translateY(-2px);
}

.hero,
.hero-media,
.about,
.projects,
.questions,
.insight-notes,
.site-footer {
  margin-top: 18px;
}

.hero {
  padding: 30px 32px 48px;
  border-radius: 34px;
  background: var(--lime);
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: 40px;
  margin-top: 32px;
}

.hero h1,
.about h2,
.projects h2,
.questions h2,
.contact-banner a,
.insight-notes h2,
.site-footer h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: 8ch;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
}

.hero-subhead {
  max-width: 30ch;
  margin: 22px 0 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 18px;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

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

.hero-media img {
  height: 530px;
}

.media-stats {
  position: absolute;
  top: 26px;
  right: 22px;
  display: flex;
  gap: 14px;
}

.stat-card {
  width: 190px;
  min-height: 180px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(151, 151, 151, 0.28);
  color: #fff;
  backdrop-filter: blur(10px);
}

.stat-label,
.section-kicker,
.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 36px;
  font-family: "Archivo", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.stat-card p {
  margin: 10px 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 18px 0 0;
}

.about-intro {
  padding: 24px 12px 0 0;
}

.about h2,
.projects h2,
.questions h2,
.insight-notes h2,
.site-footer h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}

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

.service-card,
.note-card {
  min-height: 192px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 0 24px 24px 24px;
  background: var(--card);
}

.service-card:hover,
.project-card:hover,
.note-card:hover,
.faq-item:hover {
  transform: translateY(-4px);
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  font-size: 1.2rem;
  line-height: 1;
}

.service-card h3,
.project-card h3,
.note-card h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
  line-height: 1.1;
}

.service-card p,
.projects-head p,
.project-card p,
.questions-copy p,
.faq-answer p,
.note-card p,
.footer-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.message-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  overflow: hidden;
  color: var(--deep);
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.message-pill {
  flex: 0 0 180px;
  height: 82px;
  border-radius: 999px;
  background-repeat: no-repeat;
}

.pill-one {
  background:
    linear-gradient(rgba(14, 91, 100, 0.18), rgba(14, 91, 100, 0.18)),
    url("./assets/images/pill-one-optimized.jpg");
  background-position: center 44%;
  background-size: 116% auto;
}

.pill-two {
  background:
    linear-gradient(rgba(14, 91, 100, 0.18), rgba(14, 91, 100, 0.18)),
    url("./assets/images/pill-two-optimized.jpg");
  background-position: center 56%;
  background-size: 112% auto;
}

.projects {
  padding: 32px;
  border-radius: 32px;
  background: var(--deep);
  color: #fff;
}

.projects-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: end;
  gap: 24px;
}

.section-kicker {
  margin-bottom: 12px;
}

.projects-head .section-kicker,
.questions-copy .section-kicker {
  margin-bottom: 20px;
}

.light,
.projects-head p,
.project-card p {
  color: rgba(255, 255, 255, 0.82);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.project-card {
  overflow: hidden;
  border-radius: 10px;
  background: #0d4f58;
}

.project-card img {
  height: 260px;
  transition: transform 260ms ease;
}

.project-image {
  object-fit: cover;
}

.image-coastal {
  object-position: center 50%;
}

.image-regional {
  object-position: center 57%;
}

.image-programme {
  object-position: center 52%;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-copy {
  padding: 24px;
}

.project-tag {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  padding: 28px 0 16px;
  color: #1b2624;
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 20px 0;
}

.questions-media img {
  height: 620px;
  border-radius: 32px;
  object-position: center 52%;
}

.faq-list {
  margin-top: 26px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.faq-trigger span:first-child {
  font-weight: 600;
}

.faq-symbol {
  font-size: 1.4rem;
  line-height: 1;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  overflow: hidden;
  padding: 0 42px 0 0;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 18px;
}

.faq-item.active .faq-symbol {
  transform: rotate(45deg);
}

.contact-banner {
  padding: 10px 0 24px;
}

.contact-banner a {
  display: block;
  margin-top: 6px;
  font-size: clamp(2.75rem, 4.9vw, 5rem);
  color: #9fb4c3;
}

.insight-notes {
  padding-top: 14px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 20px;
}

.note-label {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e7f0ec;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-footer {
  position: relative;
  padding: 30px 20px 22px;
  color: #fff;
  background: transparent;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: #102a31;
  z-index: -1;
}

.footer-upper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-copy p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
}

.copyright {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

@media (max-width: 1100px) {
  .site-header,
  .hero-grid,
  .about,
  .projects-head,
  .questions,
  .footer-upper {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .media-stats,
  .logo-strip,
  .notes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--container));
  }

  .site-header,
  .hero,
  .projects,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-bottom: 28px;
  }

  .projects {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .site-header {
    gap: 14px;
    border-radius: 26px;
  }

  .brand,
  .site-nav,
  .header-cta {
    width: 100%;
  }

  .header-cta {
    min-height: 46px;
  }

  .hero-topline,
  .message-band,
  .logo-strip,
  .footer-links {
    gap: 12px;
    justify-content: flex-start;
  }

  .hero-topline,
  .message-band,
  .logo-strip {
    flex-wrap: wrap;
    grid-template-columns: 1fr;
  }

  .hero-media img {
    height: 340px;
  }

  .media-stats {
    position: static;
    flex-direction: column;
    margin-top: 14px;
  }

  .stat-card {
    width: 100%;
    min-height: auto;
    background: rgba(22, 33, 31, 0.45);
  }

  .about-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .questions-media img {
    height: 380px;
  }

  .contact-banner a {
    word-break: break-all;
  }

  .footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
