:root {
  --ink: #172020;
  --muted: #5a6664;
  --paper: #f7f6f2;
  --white: #ffffff;
  --teal: #0f5d5e;
  --teal-dark: #073b3d;
  --blue: #25476d;
  --brass: #b98943;
  --line: rgba(23, 32, 32, 0.13);
  --shadow: 0 22px 60px rgba(6, 24, 28, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(247, 246, 242, 0.96);
  box-shadow: 0 8px 24px rgba(23, 32, 32, 0.08);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(23, 32, 32, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(260px, 50vw);
}

.brand-logo {
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: contrast(1.08) drop-shadow(0 8px 12px rgba(23, 32, 32, 0.12));
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.nav-active .brand-logo {
  filter: drop-shadow(0 8px 14px rgba(23, 32, 32, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 100px 0 40px;
  overflow: hidden;
  background: #0c1b1f;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-video {
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-video.is-active {
  opacity: 1;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 18, 21, 0.88) 0%, rgba(5, 18, 21, 0.7) 38%, rgba(5, 18, 21, 0.22) 72%),
    linear-gradient(180deg, rgba(5, 18, 21, 0.12) 0%, rgba(5, 18, 21, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(920px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.9rem, 5.3vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.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 18px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.section,
.section-band,
.lifecycle,
.about,
.contact {
  padding: clamp(72px, 10vw, 132px) 0;
}

#services {
  padding-top: clamp(60px, 6vw, 76px);
}

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

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

.intro-grid,
.sectors-layout,
.contact-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
}

.intro-grid p:last-child,
.section-heading p,
.about-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-grid {
  align-items: stretch;
}

.intro-copy {
  display: grid;
  align-content: start;
}

.intro-copy h2 {
  margin-bottom: 24px;
}

.intro-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  gap: 18px;
  width: min(820px, 100%);
  margin-bottom: 42px;
}

#services .section-heading {
  width: min(1000px, 100%);
}

.services-tagline span {
  display: block;
  white-space: nowrap;
}

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

.service-card {
  grid-column: auto;
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(23, 32, 32, 0.05);
}

.service-card:nth-last-child(-n + 2) {
  grid-column: auto;
}

.service-image {
  width: 100%;
  height: 180px;
  margin-bottom: 24px;
  border-radius: 2px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-details {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-details summary {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.service-details summary:hover,
.service-details summary:focus-visible {
  color: var(--teal-dark);
}

.service-details p {
  margin-top: 16px;
  font-size: 0.94rem;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.86rem;
}

.lifecycle {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), #193246 72%, #1c2021);
}

.lifecycle,
#sectors,
.contact {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 88px 0 32px;
}

.lifecycle .section-kicker {
  color: #d0a15e;
}

.lifecycle-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 80px);
}

.compact {
  margin-bottom: 0;
}

.compact p {
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.timeline-item span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #0d282b;
  background: #f0c37d;
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sector-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
}

.about {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 76px 0 20px;
  background: var(--white);
}

.about-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: start;
  padding: clamp(28px, 3.5vw, 40px);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.about-grid {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.35fr);
  gap: clamp(34px, 5vw, 60px);
}

.about-panel p:last-child {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  text-align: left;
  text-wrap: pretty;
}

.about-copy {
  display: block;
  padding-top: 0;
  text-align: justify;
}

.about-copy p {
  margin: 0 0 12px;
  font-size: clamp(0.86rem, 0.95vw, 0.96rem);
  line-height: 1.46;
}

.about-panel h2 {
  width: 100%;
  font-size: clamp(1.85rem, 2.6vw, 2.75rem);
  line-height: 1.05;
  text-align: left;
  text-wrap: wrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.contact {
  padding: 58px 0 20px;
  background: #edf1ee;
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form .form-required-note,
.contact-form .form-field-full,
.contact-form .form-success,
.contact-form .form-error,
.contact-form > .button {
  grid-column: 1 / -1;
}

.contact-form .form-required-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form .form-error {
  margin: 0;
  padding: 12px 14px;
  color: #7c241f;
  background: #fff0ee;
  border: 1px solid rgba(124, 36, 31, 0.3);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form .form-error[hidden] {
  display: none;
}

.contact-form .form-success {
  margin: 0;
  padding: 12px 14px;
  color: #0a5139;
  background: #eaf7f1;
  border: 1px solid rgba(10, 81, 57, 0.28);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form .form-success[hidden] {
  display: none;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .button[aria-disabled="true"] {
  opacity: 0.48;
  cursor: not-allowed;
  filter: saturate(0.45);
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #a33b34;
  background: #fff8f7;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(23, 32, 32, 0.22);
  padding: 13px 14px;
  background: #fbfbf8;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(15, 93, 94, 0.25);
  border-color: var(--teal);
}

.site-footer {
  padding: 26px 0;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.9rem;
}

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

.footer-copyright {
  font-size: 0.82rem;
}

.footer-policy-link {
  justify-self: end;
  width: fit-content;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(15, 93, 94, 0.35);
  text-underline-offset: 4px;
}

.footer-policy-link:hover,
.footer-policy-link:focus-visible {
  color: var(--teal);
  text-decoration-color: currentColor;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}

.footer-legal-links .footer-policy-link {
  justify-self: auto;
}

.privacy-page {
  background: #eef1ee;
}

.privacy-site-header {
  position: fixed;
}

.privacy-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid rgba(23, 32, 32, 0.24);
  font-size: 0.88rem;
  font-weight: 800;
}

.privacy-back-link:hover,
.privacy-back-link:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.privacy-main {
  padding-top: 76px;
}

.privacy-hero {
  padding: clamp(54px, 8vw, 92px) 0;
  color: var(--white);
  background: linear-gradient(125deg, var(--ink), var(--teal-dark));
}

.privacy-hero-inner {
  max-width: 920px;
}

.privacy-hero h1 {
  max-width: none;
  margin: 10px 0 12px;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.privacy-date {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.privacy-content {
  width: min(900px, calc(100% - 40px));
  margin: clamp(34px, 6vw, 68px) auto clamp(58px, 8vw, 96px);
  padding: clamp(26px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 52px rgba(6, 24, 28, 0.09);
}

.privacy-content section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.privacy-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.18;
}

.privacy-content p {
  margin: 0 0 14px;
  color: #34403e;
}

.privacy-content ul {
  margin: 10px 0 18px;
  padding-left: 1.35rem;
  color: #34403e;
}

.privacy-content li + li {
  margin-top: 7px;
}

.privacy-inline-link {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(15, 93, 94, 0.35);
  text-underline-offset: 3px;
}

.privacy-inline-link:hover,
.privacy-inline-link:focus-visible {
  color: var(--teal);
  text-decoration-color: currentColor;
}

.privacy-address {
  padding: 18px 20px;
  background: #f3f5f2;
  border-left: 4px solid var(--brass);
  font-style: normal;
}

.privacy-address span {
  display: block;
}

.privacy-footer .footer-policy-link {
  color: var(--teal-dark);
}

.footer-logo {
  width: min(240px, 58vw);
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: contrast(1.08) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36));
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 22px;
    padding: 96px 28px 28px;
    color: var(--ink);
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 180ms ease;
    font-size: 1.35rem;
    overflow-y: auto;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .intro-grid,
  .sectors-layout,
  .contact-grid,
  .about-grid,
  .lifecycle-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-content {
    width: min(720px, calc(100% - 48px));
    margin-left: 24px;
  }

  h1 {
    font-size: clamp(2.75rem, 7vw, 4.25rem);
  }

  .service-card,
  .service-card:nth-last-child(-n + 2) {
    grid-column: span 1;
  }

  .service-card:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .brand {
    width: min(212px, 54vw);
  }

  .brand-logo {
    height: 46px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 84px 0 24px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 18, 21, 0.9), rgba(5, 18, 21, 0.62)),
      linear-gradient(180deg, rgba(5, 18, 21, 0.18), rgba(5, 18, 21, 0.82));
  }

  h1 {
    font-size: clamp(2.1rem, 9vw, 2.75rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.06;
  }

  .services-tagline span {
    display: inline;
    white-space: normal;
  }

  .services-tagline span + span::before {
    content: " ";
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 11px 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .service-card,
  .service-card:last-child {
    grid-column: 1;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .service-image {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
  }

  .intro-image {
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .section,
  .section-band,
  .about,
  .contact,
  .lifecycle,
  #sectors {
    padding: 60px 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .about-copy {
    column-count: 1;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

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

  .intro-grid,
  .sectors-layout,
  .contact-grid,
  .about-grid,
  .lifecycle-layout {
    gap: 34px;
  }

  .timeline-item {
    grid-template-columns: 42px 1fr;
    padding: 20px;
  }

  .timeline-item span {
    width: 38px;
    height: 38px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-text {
    text-align: center;
  }

  .footer-policy-link {
    justify-self: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .footer-logo {
    object-position: center;
  }
}

@media (min-width: 800px) and (max-width: 1024px) {
  .contact-grid,
  .lifecycle-layout,
  .sectors-layout,
  .about-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
  }

  .contact-form {
    padding: 20px;
  }

  .timeline-item {
    padding: 18px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding: 0 14px;
  }

  .brand {
    width: min(190px, 58vw);
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
  }

  h1 {
    font-size: 2rem;
  }

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

  .section-inner {
    width: calc(100% - 28px);
  }

  .service-card,
  .contact-form,
  .timeline-item {
    padding: 18px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 82px 0 24px;
  }

  .hero-content {
    width: min(680px, calc(100% - 48px));
  }

  h1 {
    font-size: clamp(2.15rem, 5vw, 3rem);
  }

  .hero-copy {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 16px;
  }
}

@media (min-height: 601px) and (max-height: 760px) and (min-width: 641px) {
  .hero {
    padding: 88px 0 28px;
  }

  h1 {
    font-size: clamp(2.7rem, 5.2vw, 4.15rem);
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 22px;
  }
}
