:root {
  --navy: #071a33;
  --deep-navy: #031326;
  --gold: #c49a45;
  --gold-soft: #dfc17f;
  --paper: #f6f4ef;
  --warm: #ece8df;
  --ink: #101b28;
  --muted: #66717c;
  --green: #759575;
  --white: #fff;
  --line: rgba(7,26,51,.14);
  --max: 1240px;
  --header-h: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 9999;
  background: #fff; color: var(--navy); padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(3,19,38,.80);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(3,19,38,.97);
  box-shadow: 0 10px 32px rgba(0,0,0,.16);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: #fff; }
.brand-mark { width: 48px; height: 48px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-family: "Cinzel", Georgia, serif; font-size: 1rem; letter-spacing: .14em; font-weight: 600; }
.brand-copy small { margin-top: .38rem; font-size: .58rem; letter-spacing: .24em; color: var(--gold-soft); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 1.55rem; }
.main-nav a {
  color: rgba(255,255,255,.86);
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--gold-soft); }
.main-nav .nav-cta { border: 1px solid rgba(196,154,69,.75); padding: .7rem 1rem; color: #fff; }
.main-nav .nav-cta:hover { background: var(--gold); color: var(--deep-navy); }
.menu-toggle { display: none; border: 0; padding: .6rem; background: transparent; }
.menu-toggle span { display: block; width: 26px; height: 1px; background: #fff; margin: 6px 0; transition: transform .2s, opacity .2s; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(3,19,38,.08), rgba(3,19,38,.18)),
    url("images/green-technology.webp") center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,19,38,.94) 0%, rgba(3,19,38,.74) 37%, rgba(3,19,38,.22) 72%, rgba(3,19,38,.18) 100%),
    linear-gradient(0deg, rgba(3,19,38,.62), transparent 44%);
}
.hero-grid {
  position: absolute; inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 7rem) 0 7rem;
}
.eyebrow, .section-kicker {
  margin: 0 0 1.2rem;
  color: var(--gold-soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 920px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(3.4rem, 8.1vw, 8.2rem);
  line-height: .85;
  letter-spacing: -.035em;
  font-weight: 600;
  text-transform: uppercase;
}
.hero h1 span { color: var(--gold-soft); font-size: .64em; letter-spacing: .03em; }
.hero-lead { max-width: 650px; margin: 2rem 0 0; font-size: clamp(1rem, 1.55vw, 1.22rem); color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.35rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .69rem;
  letter-spacing: .12em;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--deep-navy); }
.button-primary:hover { background: var(--gold-soft); }
.button-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.scroll-cue {
  position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--max))/2)); bottom: 34px;
  display: inline-flex; align-items: center; gap: .9rem; color: rgba(255,255,255,.68); text-decoration: none;
  font-size: .58rem; letter-spacing: .19em; font-weight: 700;
}
.scroll-cue i { width: 48px; height: 1px; background: var(--gold-soft); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-right: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft); transform: rotate(-45deg); }

.section { padding: clamp(5.5rem, 9vw, 9rem) 0; }
.section-inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section-light { background: var(--paper); }
.section-warm { background: var(--warm); }
.section-dark { background: var(--deep-navy); color: #fff; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; width: 50vw; height: 50vw; border: 1px solid rgba(196,154,69,.14); border-radius: 50%; right: -24vw; top: -16vw;
  box-shadow: 0 0 0 8vw rgba(196,154,69,.025), 0 0 0 16vw rgba(196,154,69,.018);
}
.split-grid, .vision-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.media-card { position: relative; }
.media-card img { width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; box-shadow: 0 30px 60px rgba(7,26,51,.16); }
.media-card::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(196,154,69,.55); z-index: -1; }
.media-card-label { position: absolute; left: 0; bottom: 0; background: var(--deep-navy); color: #fff; padding: .85rem 1.15rem; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.section-copy h2, .section-heading h2, .green-feature h2, .responsibility h2, .cta-section h2 {
  margin: 0 0 1.65rem;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}
.section-copy p { margin: 0 0 1.2rem; color: #384653; }
.section-heading { max-width: 830px; margin-bottom: 3.2rem; position: relative; z-index: 2; }
.section-heading > p:last-child { color: rgba(255,255,255,.66); max-width: 720px; }
.section-dark .section-heading h2 { color: #fff; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); position: relative; z-index: 2; }
.service-card { background: #071a33; padding: clamp(2rem, 4vw, 3.4rem); min-height: 490px; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; inset: auto -35% -55% auto; width: 230px; height: 230px; border: 1px solid rgba(196,154,69,.14); border-radius: 50%; }
.service-number { position: absolute; top: 1.4rem; right: 1.5rem; color: rgba(255,255,255,.22); font-family: "Cinzel", serif; font-size: .8rem; letter-spacing: .1em; }
.service-icon { color: var(--gold-soft); font-family: Georgia, serif; font-size: 3rem; line-height: 1; margin-bottom: 2rem; }
.service-card h3 { margin: 0 0 1.35rem; font-family: "Cinzel", serif; font-size: 1.35rem; line-height: 1.28; font-weight: 600; color: #fff; }
.service-card p { margin: 0 0 1rem; color: rgba(255,255,255,.66); font-size: .93rem; }

.green-feature {
  min-height: 72vh;
  padding: 7rem 0;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  background: url("images/green-technology.webp") center/cover fixed no-repeat;
}
.green-feature-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,30,26,.89), rgba(4,30,26,.48)); }
.green-feature-content { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); }
.green-feature-content > * { max-width: 760px; }
.green-feature h2 { color: #fff; }
.green-feature p:last-child { font-size: 1.06rem; color: rgba(255,255,255,.8); }

.process-list { border-top: 1px solid rgba(7,26,51,.17); }
.process-item { display: grid; grid-template-columns: 96px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid rgba(7,26,51,.17); }
.process-item > span { font-family: "Cinzel", serif; color: var(--gold); font-size: 1.15rem; }
.process-item h3 { margin: 0 0 .45rem; font-family: "Cinzel", serif; font-size: 1.35rem; color: var(--navy); }
.process-item p { margin: 0; color: #54616d; max-width: 780px; }

.vision-graphic { min-height: 520px; position: relative; display: grid; place-items: center; }
.vision-core { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); font-family: "Cinzel", serif; font-size: 3.5rem; box-shadow: 0 20px 50px rgba(7,26,51,.22); }
.vision-ring { position: absolute; border: 1px solid rgba(7,26,51,.18); border-radius: 50%; }
.ring-one { width: 310px; height: 310px; }
.ring-two { width: 470px; height: 470px; border-color: rgba(196,154,69,.3); }
.vision-graphic span { position: absolute; font-size: .58rem; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.vision-graphic span:nth-of-type(1) { top: 8%; left: 16%; }
.vision-graphic span:nth-of-type(2) { top: 48%; right: 0; }
.vision-graphic span:nth-of-type(3) { bottom: 8%; left: 16%; }

.responsibility { background: #0b1f39; color: #fff; }
.responsibility-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.responsibility .section-kicker { color: var(--gold-soft); }
.responsibility h2 { color: #fff; margin-bottom: 0; }
.responsibility h2 span { color: var(--gold-soft); }
.responsibility-copy { padding-top: 3.2rem; border-top: 1px solid rgba(255,255,255,.18); }
.responsibility-copy p { margin: 0 0 1.2rem; color: rgba(255,255,255,.72); }

.cta-section { background: var(--paper); padding: clamp(6rem, 11vw, 10rem) 0; text-align: center; }
.cta-inner { width: min(calc(100% - 48px), 900px); margin: 0 auto; }
.cta-section h2 { font-size: clamp(2.8rem, 6vw, 6rem); }
.cta-section p:not(.section-kicker) { color: var(--muted); margin: 0 auto 2rem; max-width: 650px; }

.site-footer { background: var(--deep-navy); color: rgba(255,255,255,.7); padding: 3.5rem 0 2.2rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; }
.footer-brand span { display: flex; flex-direction: column; }
.footer-brand strong { font-family: "Cinzel", serif; letter-spacing: .13em; }
.footer-brand small { color: var(--gold-soft); margin-top: .25rem; font-size: .5rem; letter-spacing: .16em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 2.2rem 0; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .7rem; text-decoration: none; text-transform: uppercase; letter-spacing: .09em; }
.footer-links a:hover { color: var(--gold-soft); }
.copyright { margin: 0; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .58rem; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .64rem; }
  .service-grid { grid-template-columns: 1fr; gap: 1px; }
  .service-card { min-height: 0; }
  .split-grid, .vision-grid, .responsibility-grid { grid-template-columns: 1fr; }
  .media-card { max-width: 760px; }
  .vision-graphic { min-height: 440px; }
}

@media (max-width: 820px) {
  :root { --header-h: 74px; }
  .header-inner { width: min(calc(100% - 30px), var(--max)); }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: .85rem; }
  .brand-copy small { font-size: .5rem; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; min-height: 100vh; padding: 7rem 2rem 3rem;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.25rem;
    background: rgba(3,19,38,.985); transform: translateX(100%); transition: transform .3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-family: "Cinzel", serif; font-size: 1.2rem; letter-spacing: .08em; }
  .main-nav .nav-cta { margin-top: .5rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,19,38,.93), rgba(3,19,38,.60)); }
  .hero-content { width: min(calc(100% - 30px), var(--max)); }
  .scroll-cue { right: 18px; }
  .section-inner, .green-feature-content, .cta-inner, .footer-inner { width: min(calc(100% - 30px), var(--max)); }
  .green-feature { background-attachment: scroll; }
  .vision-graphic { min-height: 380px; transform: scale(.86); }
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5.3rem); }
  .hero h1 span { font-size: .52em; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; }
  .scroll-cue span { display: none; }
  .scroll-cue i { width: 36px; }
  .section { padding: 5rem 0; }
  .media-card::before { inset: -10px 10px 10px -10px; }
  .process-item { grid-template-columns: 44px 1fr; gap: 1rem; }
  .process-item h3 { font-size: 1.12rem; }
  .vision-graphic { min-height: 330px; transform: scale(.74); margin: -30px 0; }
  .footer-links { flex-direction: column; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
