/* ==========================================================================
   Green Fuel Systems — Shared stylesheet
   Modern energy / climate-tech direction
   ========================================================================== */

:root {
  --bg: #fafaf7;
  --bg-alt: #f3f5f4;
  --ink: #0a2540;
  --ink-soft: #4b5563;
  --ink-muted: #6b7280;
  --line: #e5e7eb;

  --teal: #02b0a8;
  --teal-deep: #02736b;
  --cyan: #04f2e6;
  --navy: #0a2540;

  --grad-hero: linear-gradient(135deg, #02736b 0%, #02b0a8 45%, #04f2e6 100%);
  --grad-text: linear-gradient(135deg, #02b0a8 0%, #04f2e6 100%);
  --grad-soft: linear-gradient(180deg, #f3fdfb 0%, #fafaf7 100%);

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.04), 0 1px 3px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.06), 0 2px 6px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.10);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);

  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-deep);
  margin-bottom: 1.1em;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(250, 250, 247, 0.78);
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  transition: background 200ms ease;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(2, 176, 168, 0.32);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  color: white;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer .brand-logo {
  height: 36px;
  filter: brightness(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover { color: var(--teal-deep); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--grad-text);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 6px 14px rgba(10, 37, 64, 0.18);
}
.btn-primary:hover { transform: translateY(-1px); background: #0d2c4f; color: white; }

.btn-accent {
  background: var(--grad-hero);
  color: white;
  box-shadow: 0 8px 22px rgba(2, 176, 168, 0.32);
}
.btn-accent:hover { transform: translateY(-1px); color: white; box-shadow: 0 12px 26px rgba(2, 176, 168, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: white; }

.btn svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 18px var(--pad) 22px;
    background: rgba(250, 250, 247, 0.98);
    border-bottom: 1px solid var(--line);
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 130px) 0 clamp(80px, 12vw, 160px);
  background: var(--grad-soft);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(4, 242, 230, 0.18), transparent 70%),
    radial-gradient(45% 35% at 12% 100%, rgba(2, 176, 168, 0.18), transparent 70%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: -1;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.hero h1 .accent { display: inline-block; }

.hero-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 18px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255,255,255,0.28), transparent 60%),
    radial-gradient(45% 40% at 80% 80%, rgba(255,255,255,0.16), transparent 70%);
}

.hero-visual .ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}
.hero-visual .ring.r1 { inset: 8%; }
.hero-visual .ring.r2 { inset: 18%; }
.hero-visual .ring.r3 { inset: 30%; }

.hero-visual .core {
  position: relative;
  z-index: 2;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.32);
}

.hero-visual .core svg { width: 50%; height: 50%; color: white; }

.hero-tag {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hero-tag.t1 { top: 9%; left: 8%; }
.hero-tag.t2 { bottom: 14%; right: 6%; }
.hero-tag.t3 { bottom: 38%; left: -6%; }

/* Photo variant of hero-visual: replaces gradient + rings with an image
   plus a tinted overlay that masks AI text artifacts. */

.hero-visual--photo { background: var(--ink); }

.hero-visual--photo::before {
  background:
    linear-gradient(180deg, transparent 25%, rgba(10, 37, 64, 0.45) 78%, rgba(10, 37, 64, 0.78) 100%),
    radial-gradient(60% 35% at 30% 55%, rgba(10, 37, 64, 0.40), transparent 75%);
  z-index: 2;
}

.hero-visual--photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  z-index: 1;
}

.hero-visual--photo .hero-tag { z-index: 3; }

.hero-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(2,176,168,0.18);
}

/* ==========================================================================
   STATS
   ========================================================================== */

.stats {
  margin: -56px auto 0;
  position: relative;
  z-index: 2;
  max-width: var(--max);
  padding: 0 var(--pad);
}

.stats-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 720px) {
  .stats-card { grid-template-columns: 1fr; }
}

.stat {
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.stat:first-child { border-left: 0; padding-left: 0; }

@media (max-width: 720px) {
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: baseline;
}

.stat-num .suffix {
  -webkit-text-fill-color: var(--teal-deep);
  font-size: 0.55em;
  margin-left: 2px;
}

.stat-label {
  margin-top: 4px;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}

.stat-sub {
  color: var(--ink-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: clamp(70px, 10vw, 130px) 0;
}

.section-tight { padding: clamp(50px, 7vw, 90px) 0; }

.section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, #f1f7f6 100%);
}

.section-dark {
  background: var(--ink);
  color: white;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-dark .eyebrow { color: var(--cyan); }

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head p {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* split: text + visual */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}

.split-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--grad-hero);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  color: white;
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 30% 25%, rgba(255,255,255,0.22), transparent 65%);
}

.split-visual .glyph {
  width: 50%;
  height: 50%;
  position: relative;
  z-index: 2;
  opacity: 0.95;
}

/* Photo variant for split visuals (e.g. biomass image) */

.split-visual--photo { background: var(--ink); }

.split-visual--photo::before {
  background:
    linear-gradient(180deg, transparent 35%, rgba(10, 37, 64, 0.40) 80%, rgba(10, 37, 64, 0.65) 100%),
    radial-gradient(45% 35% at 80% 50%, rgba(10, 37, 64, 0.55), transparent 70%);
  z-index: 2;
}

.split-visual--photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  z-index: 1;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 880px) {
  .services { grid-template-columns: 1fr; }
}

.service {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  position: relative;
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  opacity: 0;
  transition: opacity 240ms ease;
  z-index: 0;
}

.service > * { position: relative; z-index: 1; }

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: white;
}
.service:hover::before { opacity: 1; }
.service:hover h3, .service:hover p, .service:hover .service-num { color: white; }
.service:hover .service-icon { background: rgba(255,255,255,0.18); color: white; border-color: rgba(255,255,255,0.32); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(2, 176, 168, 0.10), rgba(4, 242, 230, 0.18));
  border: 1px solid rgba(2, 176, 168, 0.20);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: all 240ms ease;
}

.service-icon svg { width: 26px; height: 26px; }

.service-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 12px;
  display: block;
}

.service h3 { margin-bottom: 10px; }

.service p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* ==========================================================================
   TEAM
   ========================================================================== */

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 720px) {
  .team { grid-template-columns: 1fr; }
}

.team-solo {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.member-featured {
  grid-template-columns: 120px 1fr;
  padding: 40px;
  gap: 28px;
}

.member-featured .avatar {
  width: 120px;
  height: 120px;
  font-size: 2.2rem;
}

@media (max-width: 600px) {
  .member-featured {
    grid-template-columns: 96px 1fr;
    padding: 28px;
    gap: 20px;
  }
  .member-featured .avatar {
    width: 96px;
    height: 96px;
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   CUSTOMERS / LOGO WALL
   ========================================================================== */

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

@media (max-width: 880px) {
  .customers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .customers { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.customer {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 124px;
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.customer-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-alt);
  padding: 6px;
  object-fit: contain;
  display: block;
  transition: transform 240ms ease;
}

.customer:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.customer:hover .customer-mark {
  transform: scale(1.08);
}

.customer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}

.customer:hover .customer-name { color: var(--teal-deep); }

.member {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: center;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--grad-hero);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(2,176,168,0.32);
}

.member h3 { margin: 0 0 4px; }

.member .role {
  font-size: 0.88rem;
  color: var(--teal-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.member p { margin: 0; font-size: 0.94rem; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  color: white;
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 80% at 90% 50%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(40% 80% at 10% 50%, rgba(0, 0, 0, 0.10), transparent 60%);
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 { color: white; margin: 0 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,0.88); margin: 0; max-width: 60ch; }

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-on-dark {
  background: white;
  color: var(--ink);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.92); color: var(--ink); }

.btn-outline-light {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: white; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 64px 0 32px;
  background: var(--ink);
  color: rgba(255,255,255,0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer .brand { color: white; }
.footer h4 {
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.78); }
.footer a:hover { color: var(--cyan); }

.footer-tag {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.7);
  margin: 16px 0 0;
  max-width: 32ch;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}

.social {
  display: inline-flex;
  gap: 10px;
  margin-top: 4px;
}
.social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  color: white;
}
.social a:hover { background: var(--teal); color: white; }
.social svg { width: 16px; height: 16px; }

/* ==========================================================================
   PAGE HEADER (about / contact)
   ========================================================================== */

.page-header {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0 clamp(50px, 6vw, 80px);
  background: var(--grad-soft);
  overflow: hidden;
  isolation: isolate;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 80% 0%, rgba(4, 242, 230, 0.18), transparent 70%),
    radial-gradient(40% 40% at 12% 100%, rgba(2, 176, 168, 0.15), transparent 70%);
  z-index: -1;
}

.page-header h1 { max-width: 18ch; }
.page-header .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 12px 0 0;
}

/* Two-column page header with image side-by-side */

.page-header--split { padding-bottom: clamp(60px, 7vw, 100px); }

.page-header-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 880px) {
  .page-header-grid { grid-template-columns: 1fr; gap: 36px; }
}

.page-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}

.page-hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(10, 37, 64, 0.42) 100%),
    radial-gradient(50% 35% at 70% 70%, rgba(10, 37, 64, 0.30), transparent 80%);
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--grad-hero);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
  flex-shrink: 0;
  display: inline-block;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr; } }

.value {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.value h3 { font-size: 1.1rem; }
.value p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }

.value-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  display: block;
  letter-spacing: -0.04em;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 4px rgba(2, 176, 168, 0.14);
}

.field textarea { resize: vertical; min-height: 130px; }

.contact-card {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 100% 0%, rgba(4, 242, 230, 0.22), transparent 65%);
}

.contact-card > * { position: relative; }

.contact-card h3 { color: white; }
.contact-card .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-card .contact-row:first-of-type { border-top: 0; padding-top: 4px; }

.contact-card .contact-row svg {
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--cyan);
  flex-shrink: 0;
}

.contact-card .label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}

.contact-card .value-text {
  color: white;
  font-size: 0.98rem;
}
.contact-card a { color: white; }
.contact-card a:hover { color: var(--cyan); }

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--teal-deep);
  display: none;
}
.form-status.visible { display: block; }

/* ==========================================================================
   ANIMATION UTILITIES
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease, transform 720ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
