/* ==========================================================================
   GREEN ENERGY ROMANIA — ROUND 3 FINAL: "SOVEREIGN SLATE, IVORY & SOLAR COPPER"
   Argon R3 · Refined Institutional Luxury · Natural Earth Cartography
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500.woff2') format('woff2');
}

:root {
  /* Blue-Tinted Slate Surfaces (Correction #1: No pure black) */
  --slate-navy: #0B1520;
  --slate-deep: #111F2D;
  --slate-card: #2C465E;
  --slate-elevated: #1B3044;
  --slate-border: #3B566F;

  /* Warm Alabaster, Ivory & Mineral Light Surfaces (Correction #1: More light rhythm) */
  --alabaster: #F5F2EA;
  --ivory-card: #FFFAF2;
  --mineral-light: #EBF1F2;
  --surface-white: #FFFFFF;
  --light-border: #D5DDD8;
  --warm-border: #DFD9CC;

  /* Verified AA/AAA Typography Colors */
  --ink-dark: #0E1B26;         /* 16.4:1 on #F5F2EA */
  --ink-muted-light: #3D4F5D;  /* 7.6:1 on #F5F2EA */
  --ink-on-dark: #F7F9FB;      /* 16.9:1 on #0B1520 */
  --ink-muted-dark: #B4C5D4;   /* 9.4:1 on #0B1520 */

  /* Single Signature Accent: Solar Copper (Correction #4) */
  --copper: #EFB083;           /* 10.1:1 on #0B1520 */
  --copper-main: #E59852;      /* 8.6:1 with #0B1520 text */
  --copper-deep: #9E5016;      /* 5.4:1 AA on #FFFAF2 & #F5F2EA */
  --copper-line: rgba(239, 176, 131, 0.48);

  /* Subtle Film Grain SVG Data URI (Detail #1: opacity <= 3.2%) */
  --grain-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");

  /* Font Stacks */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  color-scheme: light;
}

/* Detail #9: Copper text selection & custom visible keyboard focus */
::selection {
  background: rgba(239, 176, 131, 0.34);
  color: inherit;
}

* {
  box-sizing: border-box;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.032em;
}

h1 {
  font-size: clamp(48px, 6.5vw, 92px);
  letter-spacing: -0.042em;
  line-height: 1.0;
}

h2 {
  font-size: clamp(34px, 3.9vw, 54px);
  letter-spacing: -0.034em;
  line-height: 1.07;
}

h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  transition: color 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

/* Correction #1: Slightly brighten photographs across the landing */
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  filter: brightness(1.05) contrast(1.02);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

button, input, textarea, select {
  font: inherit;
}

button, a, input, textarea, select {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

/* Detail #9 & R4 Point #1: Custom keyboard focus ring with guaranteed >= 3:1 AA contrast on both dark and light surfaces */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(11, 21, 32, 0.82), 0 0 0 6px rgba(239, 176, 131, 0.45);
}

.light a:focus-visible,
.light button:focus-visible,
.portfolio a:focus-visible,
.portfolio button:focus-visible,
.audience a:focus-visible,
.audience button:focus-visible,
.process a:focus-visible,
.process button:focus-visible,
.form-panel a:focus-visible,
.form-panel button:focus-visible,
.form-panel input:focus-visible,
.form-panel textarea:focus-visible,
.form-panel select:focus-visible,
.consent a:focus-visible,
.consent button:focus-visible,
.consent input:focus-visible {
  outline: 2px solid #8C430E;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(140, 67, 14, 0.24);
}

.film a:focus-visible,
.film button:focus-visible,
.film summary:focus-visible,
.film video:focus-visible,
.project.storage a:focus-visible,
.visit-note a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(11, 21, 32, 0.82), 0 0 0 6px rgba(239, 176, 131, 0.45);
}

.wrap {
  width: min(1300px, 100%);
  padding-inline: 44px;
  margin: auto;
}

.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 99;
  background: var(--surface-white);
  color: var(--ink-dark);
  padding: 12px 16px;
  font-weight: 600;
  border-radius: 4px;
}
.skip:focus {
  top: 12px;
}

/* ==========================================================================
   HEADER: FROSTED GLASS ON SCROLL + 2PX COPPER READING BAR (Detail #5)
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  width: 100%;
  max-width: none;
  padding-inline: max(44px, calc((100vw - 1212px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 24px;
  color: var(--ink-on-dark);
  background: rgba(11, 21, 32, 0.32);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  transition: background-color 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease, border-color 0.3s ease;
}

html.is-scrolled .header {
  background: rgba(11, 21, 32, 0.86);
  backdrop-filter: blur(16px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: rgba(239, 176, 131, 0.22);
  box-shadow: 0 10px 30px rgba(11, 21, 32, 0.28);
}

/* Detail #5: 2px Copper Reading Progress Bar at top of header */
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--copper-main), #FFE0C2);
  z-index: 45;
  transition: width 0.08s linear;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.18rem;
  line-height: 1.1;
  color: inherit;
  text-decoration: none;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.wordmark::before {
  content: "";
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='1.5' y='1.5' width='21' height='21' rx='4' fill='%23111F2D' stroke='%23EFB083' stroke-width='1.5'/%3E%3Cpath d='M6.5 16.5L12 6.5L17.5 16.5H6.5Z' stroke='%23F7F9FB' stroke-width='1.4' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='13.2' r='2' fill='%23EFB083'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.wordmark span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.84em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

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

.header nav > a:first-child {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E2EAF2;
  padding: 8px 14px;
  border-radius: 4px;
}
.header nav > a:first-child:hover {
  color: var(--copper);
}

/* ==========================================================================
   SOLAR COPPER BUTTONS (Detail #8: Subtle Magnetic <= 4px + Specular Sweep)
   ========================================================================== */
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #F4B984 0%, #DF8D46 100%);
  color: var(--slate-navy);
  border: 1px solid #F9CFA6;
  padding: 15px 28px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  border-radius: 4px;
  min-height: 48px;
  white-space: nowrap;
  transform: translate3d(var(--bx, 0px), var(--by, 0px), 0);
  box-shadow:
    0 8px 24px rgba(11, 21, 32, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, background 0.24s ease;
}

.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.button:hover {
  background: linear-gradient(135deg, #F8C494 0%, #E79852 100%);
  box-shadow:
    0 12px 30px rgba(229, 152, 82, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.button:hover::after {
  left: 140%;
}

.button.small {
  font-size: 13.5px;
  padding: 10px 18px;
  min-height: 40px;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.button.secondary {
  color: var(--ink-dark);
  background: var(--surface-white);
  border-color: #5E7282;
  box-shadow: none;
}
.button.secondary:hover {
  background: var(--alabaster);
}

.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

form[data-sending=true] .button:disabled {
  cursor: progress;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   01 · HERO (#top) — CODEX R2 OPEN VEIL + INSTRUMENT SERIF ITALIC ONLY HERE
   ========================================================================== */
.hero {
  position: relative;
  min-height: 860px;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 156px 0 104px;
  overflow: hidden;
  color: var(--ink-on-dark);
  background: var(--slate-navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* Correction #2: Open horizon on the right so the turbines and sunset breathe */
.hero-image {
  object-position: 62% 53%;
  filter: brightness(1.06) contrast(1.04);
}

.hero-shade {
  z-index: -1;
  background-image:
    var(--grain-svg),
    linear-gradient(0deg, var(--slate-navy) 0%, rgba(11, 21, 32, 0) 36%),
    linear-gradient(90deg, rgba(11, 21, 32, 0.96) 0%, rgba(11, 21, 32, 0.88) 44%, rgba(11, 21, 32, 0.78) 56%, rgba(11, 21, 32, 0.34) 70%, rgba(11, 21, 32, 0.03) 89%);
}

.hero-content {
  position: relative;
}

.hero-content .eyebrow {
  background: rgba(17, 31, 45, 0.84);
  border: 1px solid var(--copper-line);
  padding: 6px 14px;
  border-radius: 3px;
  color: var(--copper);
}

.hero-content h1 {
  margin-top: 24px;
  max-width: 840px;
}

/* Correction #3: Instrument Serif Italic ONLY in the hero */
.hero-content em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.07em;
  letter-spacing: -0.01em;
  color: #F7C494;
  display: inline-block;
  padding-right: 6px;
}

.hero-intro {
  max-width: 530px;
  font-size: 19px;
  line-height: 1.62;
  color: #F0F5FA;
  margin: 28px 0 34px;
  padding-left: 18px;
  border-left: 2px solid var(--copper);
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  max-width: 520px;
  color: #C8D6E5;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* R4 Point #1: Solid dark slate pill surface on all photo captions (>= 13.4:1 AA/AAA) */
.image-note {
  position: absolute;
  right: 44px;
  bottom: 18px;
  left: auto;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #F7F9FB;
  background: rgba(11, 21, 32, 0.92);
  border: 1px solid rgba(239, 176, 131, 0.36);
  border-left: 2px solid var(--copper);
  border-radius: 4px;
  padding: 6px 12px;
  box-shadow: 0 6px 18px rgba(11, 21, 32, 0.28);
}

/* ==========================================================================
   02 · FILM BAND (#film) — SMOOTH GRADIENT INTO WARM ALABASTER
   ========================================================================== */
.film-band {
  background: linear-gradient(180deg, var(--slate-navy) 0%, var(--slate-deep) 44%, var(--alabaster) 44.5%, var(--alabaster) 100%);
  padding: 8px 0 84px;
  color: var(--ink-dark);
}

.film-band .film {
  margin: 0;
  display: grid;
  grid-template-columns: 1.56fr 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 38px;
  row-gap: 18px;
  align-items: start;
  background: var(--slate-deep);
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 64px rgba(11, 21, 32, 0.24);
  border-radius: 8px;
  padding: 28px;
  color: var(--ink-on-dark);
}

.film video {
  grid-column: 1;
  grid-row: 1 / 4;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--slate-navy);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.film figcaption {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-muted-dark);
}

.transcript {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
  background: rgba(11, 21, 32, 0.55);
  border: 1px solid var(--slate-border);
  border-left: 2px solid var(--copper);
  border-radius: 5px;
  padding: 13px 16px;
  color: #D6E2EE;
  font-size: 14.5px;
}

.transcript summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
}

.transcript p {
  margin-top: 12px;
  line-height: 1.6;
}

.film-cta {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  width: 100%;
}

/* ==========================================================================
   03 · INTRO — LIGHT IVORY & ALABASTER EDITORIAL DECK (Correction #1: Lighter)
   ========================================================================== */
section.intro {
  background: linear-gradient(180deg, var(--alabaster) 0%, #EFECE2 92%, #DCE3E6 100%);
  color: var(--ink-dark);
  padding: 88px 0 108px;
}

.light .eyebrow {
  color: var(--copper-deep);
}

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

.split h2,
.section-heading h2,
.process h2,
.contact h2 {
  margin-top: 16px;
}

section.intro .split > div:first-child {
  background: var(--ivory-card);
  color: var(--ink-dark);
  border: 1px solid var(--warm-border);
  border-top: 1px solid rgba(239, 176, 131, 0.85);
  border-left: 4px solid var(--copper-main);
  border-radius: 8px;
  padding: 40px 38px;
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 16px 38px rgba(14, 27, 38, 0.06);
}

.prose {
  color: var(--ink-muted-light);
  font-size: 18.5px;
  line-height: 1.68;
  padding-top: 8px;
}

section.intro .prose p:first-child {
  color: var(--ink-dark);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.54;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--warm-border);
}

.prose p + p {
  margin-top: 22px;
}

/* ==========================================================================
   04 · REGIONS — BLUE-SLATE + NATURAL EARTH CARTOGRAPHY (No Pins/Dots)
   ========================================================================== */
section.regions {
  background-color: var(--slate-navy);
  background-image:
    var(--grain-svg),
    radial-gradient(ellipse at 85% 18%, #1D3347 0%, transparent 55%),
    linear-gradient(180deg, #132333 0%, var(--slate-navy) 12%, var(--slate-navy) 88%, #152637 100%);
  color: var(--ink-on-dark);
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

.regions > .wrap {
  position: relative;
}

/* Natural Earth Cartographically Faithful Map (Broad shaded zones, 0 pins, deferred until near viewport) */
.regions > .wrap::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 44px;
  width: 440px;
  height: 304px;
  background-image: url('assets/romania-regions-natural-earth.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  pointer-events: none;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.36);
  border-radius: 8px;
}

html.lazy-bg .regions:not(.bg-ready) > .wrap::before {
  background-image: none;
}

/* R4 Point #6: Plan B Sober Architectural Reticle (activate by adding class "plan-b" to section.regions) */
.regions.plan-b > .wrap::before {
  background-color: var(--slate-deep);
  background-image:
    linear-gradient(90deg, rgba(239, 176, 131, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(239, 176, 131, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 72% 58%, rgba(239, 176, 131, 0.22), transparent 52%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  background-repeat: repeat, repeat, no-repeat;
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper-line);
}

.regions h2 {
  max-width: 560px;
}

.regions .section-copy {
  color: var(--ink-muted-dark);
  max-width: 520px;
  margin-top: 22px;
  font-size: 18px;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 76px;
  align-items: stretch;
}

/* Detail #2 & #3: 1px top light border + cursor-following copper halo on dark cards (hover only) */
.region-grid article {
  background-color: var(--slate-card);
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 18px 40px rgba(0, 0, 0, 0.26);
  border-radius: 8px;
  padding: 34px 28px 30px;
  position: relative;
  overflow: hidden;
}

.region-grid article:nth-child(2) {
  margin-top: 16px;
}
.region-grid article:nth-child(3) {
  margin-top: 32px;
}

/* Correction #3 & Detail #9: Tabular sans numerals instead of italic serif */
.region-grid article::after {
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 52px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(239, 176, 131, 0.13);
  pointer-events: none;
  transition: color 0.35s ease, transform 0.35s ease;
}
.region-grid article:nth-child(1)::after { content: "01"; }
.region-grid article:nth-child(2)::after { content: "02"; }
.region-grid article:nth-child(3)::after { content: "03"; }

.region-grid article::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 5px;
  background-color: rgba(239, 176, 131, 0.12);
  border: 1px solid rgba(239, 176, 131, 0.36);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFB083' stroke-width='1.8'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M7 10v4M12 10v4M17 10v4'/%3E%3C/svg%3E");
}
.region-grid article:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFB083' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M19.1 4.9L17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E");
}
.region-grid article:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFB083' stroke-width='1.8'%3E%3Cpath d='M12 2L3 7v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V7l-9-5z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.region-grid h3 {
  font-size: 23px;
  color: #FFFFFF;
}

.region-grid p {
  color: var(--ink-muted-dark);
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.62;
}

.region-note {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  background: var(--slate-deep);
  border: 1px solid var(--slate-border);
  padding: 9px 18px;
  border-radius: 4px;
}

/* ==========================================================================
   05 · PORTFOLIO (#portfolio) — LIGHT ALABASTER & 2 + 1 SHOWCASE
   ========================================================================== */
section.portfolio {
  background: linear-gradient(180deg, #E6ECEE 0%, var(--alabaster) 10%, var(--alabaster) 90%, #E4EBEF 100%);
  color: var(--ink-dark);
  padding: 112px 0;
}

.portfolio .eyebrow {
  color: var(--copper-deep);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--warm-border);
}

.section-heading > p {
  max-width: 360px;
  color: var(--ink-muted-light);
  font-size: 16px;
  border-left: 2px solid var(--copper-main);
  padding-left: 18px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 30px;
  align-items: stretch;
}

.project {
  overflow: hidden;
  border-radius: 8px;
  color: var(--ink-dark);
  background: var(--ivory-card);
  border: 1px solid var(--warm-border);
  border-top: 1px solid var(--copper-main);
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 18px 42px rgba(11, 21, 32, 0.07);
  display: flex;
  flex-direction: column;
}

/* Correction #1: Both Solar and Wind are light cards with distinct mineral tone; Storage is the dark horizontal anchor */
.project.solar {
  background: var(--ivory-card);
}

.project.wind {
  background: var(--mineral-light);
  border-color: #C7D6DA;
  border-top-color: var(--copper-main);
}

.project.storage {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background-color: var(--slate-deep);
  color: var(--ink-on-dark);
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 56px rgba(11, 21, 32, 0.20);
}

.project > img {
  width: 100%;
  height: 268px;
  object-fit: cover;
  border-bottom: 1px solid rgba(11, 21, 32, 0.08);
}

.project.storage > img {
  height: 100%;
  min-height: 410px;
  border-bottom: 0;
  border-right: 1px solid var(--slate-border);
}

.project-body {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project .eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--copper-deep);
  min-height: 22px;
}

.project.storage .eyebrow {
  color: var(--copper);
}

.project h3 {
  font-size: 30px;
  margin: 10px 0 14px;
}

.project-body > p:not(.eyebrow):not(.stage) {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-muted-light);
}

.project.storage .project-body > p:not(.eyebrow):not(.stage) {
  color: #C7D5E2;
}

/* Technical Milestone Data Sheet (ul.signals) with Tabular Numerals */
.signals {
  list-style: none;
  margin: 24px 0 0;
  padding: 14px 16px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #DCE3E6;
  border-radius: 6px;
  color: var(--ink-muted-light);
}

.project.storage .signals {
  background: rgba(11, 21, 32, 0.52);
  border-color: var(--slate-border);
  color: #C4D2E0;
}

.signals li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  border-bottom: 1px solid #E2E8EC;
  border-radius: 4px;
  transition: background-color 0.2s ease, padding-inline 0.2s ease;
}

.signals li:last-child {
  border-bottom: 0;
}

.project.storage .signals li {
  border-color: rgba(180, 197, 212, 0.14);
}

.signals b {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.signals b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Detail #7: Soft pulse on "In progress" status dot */
@keyframes pulseInProgress {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.38; transform: scale(0.78); }
}

/* COMPLETE pills (Small emerald state signal) */
.project.solar .signals li:nth-child(1) b,
.project.solar .signals li:nth-child(2) b,
.project.wind .signals li:nth-child(1) b,
.project.wind .signals li:nth-child(2) b {
  background: #DCEEE5;
  color: #114B3A;
  border: 1px solid #B5DFC9;
}

.project.storage .signals li:nth-child(1) b {
  background: rgba(16, 185, 129, 0.18);
  color: #7CE8C1;
  border: 1px solid rgba(16, 185, 129, 0.36);
}

/* REPORTED pill (Small cyan state signal) */
.project.wind .signals li:nth-child(3) b {
  background: #D9EEF5;
  color: #15485D;
  border: 1px solid #B3DCEB;
}

/* IN PROGRESS pills (Copper/Amber state signal + pulsing dot Detail #7) */
.project.solar .signals li:nth-child(3) b,
.project.wind .signals li:nth-child(4) b,
.project.wind .signals li:nth-child(5) b {
  background: #F5E4D4;
  color: #6B3C1E;
  border: 1px solid #E8C7AA;
}

.project.storage .signals li:nth-child(2) b,
.project.storage .signals li:nth-child(3) b {
  background: rgba(239, 176, 131, 0.18);
  color: #F7C9A2;
  border: 1px solid rgba(239, 176, 131, 0.38);
}

.project.solar .signals li:nth-child(3) b::before,
.project.wind .signals li:nth-child(4) b::before,
.project.wind .signals li:nth-child(5) b::before,
.project.storage .signals li:nth-child(2) b::before,
.project.storage .signals li:nth-child(3) b::before {
  animation: pulseInProgress 2.6s ease-in-out infinite;
}

/* PLANNED pills */
.project.solar .signals li:nth-child(4) b {
  background: #E6EBF0;
  color: #334452;
  border: 1px solid #CBD5DF;
}

.project.storage .signals li:nth-child(4) b {
  background: rgba(180, 197, 212, 0.15);
  color: #DCE6F0;
  border: 1px solid rgba(180, 197, 212, 0.32);
}

.stage {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted-light);
  border-top: 1px solid var(--light-border);
  margin-top: 24px;
  padding-top: 15px;
}

.storage .stage {
  border-color: var(--slate-border);
  color: var(--copper);
}

.project a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--slate-navy);
  color: #FFFFFF;
  border: 1px solid var(--slate-navy);
  border-radius: 4px;
  text-decoration: none;
}
.project a:hover {
  background: var(--copper-main);
  color: var(--slate-navy);
  border-color: var(--copper);
}

.project.storage a {
  background: linear-gradient(135deg, #F4B984 0%, #DF8D46 100%);
  color: var(--slate-navy);
  border-color: #F9CFA6;
}

.disclosure {
  max-width: 940px;
  color: var(--ink-muted-light);
  font-size: 13px;
  margin-top: 34px;
  font-family: var(--font-mono);
}

/* ==========================================================================
   06 · SYSTEM (#connect) — BLUE-SLATE ARCHITECTURE DECK
   ========================================================================== */
section.system {
  background-color: var(--slate-deep);
  background-image:
    var(--grain-svg),
    radial-gradient(circle at 50% 0%, rgba(239, 176, 131, 0.08), transparent 50%),
    linear-gradient(180deg, #162839 0%, var(--slate-deep) 14%, var(--slate-deep) 88%, #182B3D 100%);
  color: var(--ink-on-dark);
  padding: 112px 0;
}

.system .eyebrow {
  color: var(--copper);
}

.system .prose {
  color: var(--ink-muted-dark);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}

.system-grid article {
  background-color: var(--slate-card);
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.24);
  border-radius: 8px;
  padding: 158px 24px 28px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background-size: 100% 140px;
  background-position: top center;
  background-repeat: no-repeat;
}

.system-grid article:nth-child(1) {
  border-top: 2px solid var(--copper);
  background-image:
    linear-gradient(180deg, rgba(44, 70, 94, 0.02) 0%, rgba(44, 70, 94, 0.94) 132px, var(--slate-card) 140px),
    url('assets/card-generation.webp');
}
.system-grid article:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(44, 70, 94, 0.02) 0%, rgba(44, 70, 94, 0.94) 132px, var(--slate-card) 140px),
    url('assets/card-balance.webp');
}
.system-grid article:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(44, 70, 94, 0.02) 0%, rgba(44, 70, 94, 0.94) 132px, var(--slate-card) 140px),
    url('assets/card-connect.webp');
}
.system-grid article:nth-child(4) {
  background-image:
    linear-gradient(180deg, rgba(44, 70, 94, 0.02) 0%, rgba(44, 70, 94, 0.94) 132px, var(--slate-card) 140px),
    url('assets/card-demand.webp');
}

html.lazy-bg .system:not(.bg-ready) .system-grid article {
  background-image: none;
}

.system-grid span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(11, 21, 32, 0.82);
  border: 1px solid var(--slate-border);
  padding: 4px 10px;
  border-radius: 4px;
}

.system-grid h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  color: #FFFFFF;
}

.system-grid p {
  color: var(--ink-muted-dark);
  font-size: 15.5px;
  line-height: 1.58;
}

.system-note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted-dark);
}

/* ==========================================================================
   07 · AUDIENCE — WARM ALABASTER & GOLDEN HORIZON
   ========================================================================== */
.parallax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* R4 Point #5: Use the native <img class="parallax-img" loading="lazy"> instead of eager CSS background-image */
.parallax-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  pointer-events: none;
}

.parallax-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
}

section.audience {
  background-color: var(--alabaster);
  padding: 120px 0;
  color: var(--ink-dark);
}

.audience .eyebrow {
  color: var(--copper-deep);
}

.audience .parallax-veil {
  background: linear-gradient(90deg, rgba(245, 242, 234, 0.95) 0%, rgba(245, 242, 234, 0.88) 44%, rgba(11, 21, 32, 0.24) 100%);
}

.section-copy {
  margin-top: 22px;
  max-width: 440px;
  color: var(--ink-muted-light);
  font-size: 18.5px;
}

.audience-list article,
.audience-list article:first-child {
  padding: 26px 30px;
  border: 1px solid var(--warm-border);
  border-top: 1px solid #FFFFFF;
  border-left: 4px solid var(--copper-main);
  border-radius: 8px;
  margin-bottom: 16px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 16px 38px rgba(11, 21, 32, 0.12);
}

.audience-list article:nth-child(3) {
  margin-bottom: 0;
}

.audience-list h3 {
  font-size: 21px;
  color: var(--ink-dark);
}

.audience-list p {
  color: var(--ink-muted-light);
  margin-top: 8px;
  font-size: 15.5px;
}

.audience .image-note {
  color: #F7F9FB;
}

/* ==========================================================================
   08 · PATHWAY (#process) — TABULAR 01–05 + SCROLL COPPER LINE (Detail #4)
   ========================================================================== */
section.pathway {
  background-color: var(--slate-navy);
  background-image:
    var(--grain-svg),
    linear-gradient(180deg, #132333 0%, var(--slate-navy) 12%, var(--slate-navy) 88%, #152637 100%);
  color: var(--ink-on-dark);
  padding: 116px 0;
}

.pathway .eyebrow {
  color: var(--copper);
}

.pathway .prose {
  color: var(--ink-muted-dark);
}

.path-photo {
  margin: 48px 0 0;
  position: relative;
  background: var(--slate-deep);
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper-line);
  padding: 12px 12px 14px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
}

.path-photo img {
  width: 100%;
  height: clamp(250px, 33vw, 420px);
  object-fit: cover;
  object-position: center 60%;
  border-radius: 5px;
}

.path-photo figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted-dark);
  letter-spacing: 0.05em;
}

/* Detail #4: Copper line that draws across stages 01–05 on scroll */
.path-steps {
  list-style: none;
  padding: 20px 0 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.path-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--copper-main), #FFE0C2);
  transform-origin: left center;
  transform: scaleX(var(--path-progress, 1));
  transition: transform 0.25s ease-out;
  box-shadow: 0 0 14px rgba(239, 176, 131, 0.45);
}

.path-steps li {
  background-color: var(--slate-card);
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 24px 20px 26px;
  position: relative;
}

/* Correction #3 & Detail #9: Large Tabular Sans Numerals 01–05 */
.path-steps span {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 4.8vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--copper);
  margin-bottom: 14px;
  transition: transform 0.32s ease, color 0.32s ease;
}

.path-steps b {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #FFFFFF;
}

.path-steps p {
  color: var(--ink-muted-dark);
  font-size: 14.5px;
  line-height: 1.58;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.principles article {
  background-color: rgba(21, 38, 55, 0.78);
  border: 1px solid var(--slate-border);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--copper);
  border-radius: 8px;
  padding: 26px 28px;
}

.principles h3 {
  font-size: 19.5px;
  color: #FFFFFF;
}

.principles p {
  color: var(--ink-muted-dark);
  font-size: 15px;
  margin-top: 8px;
  line-height: 1.58;
}

/* ==========================================================================
   09 · PROCESS — WARM ALABASTER & STAGGERED STEPS
   ========================================================================== */
section.process {
  background: linear-gradient(180deg, #E8ECEE 0%, var(--alabaster) 12%, var(--alabaster) 100%);
  color: var(--ink-dark);
  padding: 112px 0;
}

.process .eyebrow {
  color: var(--copper-deep);
}

.steps {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 30px;
  margin-top: 48px;
  padding-bottom: 32px;
}

.steps article {
  padding: 0 0 30px;
  background: var(--ivory-card);
  border: 1px solid var(--warm-border);
  border-top: 1px solid var(--copper-main);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 16px 36px rgba(11, 21, 32, 0.06);
}

.steps article:nth-child(2) {
  margin-top: 20px;
}
.steps article:nth-child(3) {
  margin-top: 40px;
}

.steps img {
  width: 100%;
  height: 228px;
  object-fit: cover;
  border-bottom: 3px solid var(--copper-main);
}

.steps article > span,
.steps article > h3,
.steps article > p {
  padding-inline: 26px;
}

/* Correction #3: Tabular Sans Numerals in Process */
.steps span {
  display: block;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 38px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--copper-deep);
}

.steps h3 {
  margin: 10px 0 10px;
  font-size: 22px;
}

.steps p {
  color: var(--ink-muted-light);
  font-size: 15.5px;
}

.visit-note {
  margin-top: 40px;
  padding: 38px 42px;
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper-line);
  border-left: 4px solid var(--copper);
  background: var(--slate-deep);
  color: var(--ink-on-dark);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1.85fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 48px rgba(11, 21, 32, 0.14);
}

.visit-note h3 {
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1.16;
}

.visit-note p {
  color: #CBD7E3;
  font-size: 16px;
  line-height: 1.64;
}

/* ==========================================================================
   10 · CONTACT (#enquire) — SLATE SUBSTATION & IVORY FORM PANEL
   ========================================================================== */
section.contact {
  background-color: var(--slate-navy);
  padding: 120px 0;
  color: var(--ink-on-dark);
  position: relative;
  isolation: isolate;
}

.contact .parallax-veil {
  background-image:
    var(--grain-svg),
    linear-gradient(90deg, rgba(11, 21, 32, 0.94) 0%, rgba(11, 21, 32, 0.85) 45%, rgba(11, 21, 32, 0.62) 100%);
}

.contact .eyebrow {
  color: var(--copper);
}

.contact h2 {
  color: #FFFFFF;
}

.contact .section-copy {
  color: #D0DCE8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 68px;
  align-items: start;
}

.company {
  margin-top: 40px;
  padding: 24px 28px;
  background: rgba(17, 31, 45, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid var(--slate-border);
  border-top: 1px solid var(--copper-line);
  border-left: 4px solid var(--copper);
  border-radius: 8px;
  line-height: 1.85;
  font-size: 15.5px;
  color: #E2EAF2;
}

.company strong {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 18px;
}

.company a {
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 14px;
}

.form-panel {
  background: var(--ivory-card);
  color: var(--ink-dark);
  border: 1px solid var(--warm-border);
  border-top: 4px solid var(--copper-main);
  padding: 40px 38px;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 30px 72px rgba(11, 21, 32, 0.42);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-dark);
}

.field label span {
  font-weight: 400;
}

/* R4 Point #1: Input borders darkened to #5E7282 (4.98:1 on #FFFFFF, 4.79:1 on #FFFAF2) */
.field input:not([type=checkbox]),
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #5E7282;
  background: var(--surface-white);
  color: var(--ink-dark);
  border-radius: 4px;
  padding: 12px 14px;
  min-height: 48px;
  font-size: 15.5px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:not([type=checkbox]):focus,
.field textarea:focus,
.field select:focus {
  border-color: #8C430E;
  box-shadow: 0 0 0 3px rgba(140, 67, 14, 0.26);
  outline: 2px solid #8C430E;
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
}

.field small {
  color: var(--ink-muted-light);
  font-size: 12.5px;
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: start;
  line-height: 1.55;
  font-size: 14px;
  color: var(--ink-muted-light);
}

.checkbox input {
  margin-top: 4px;
  min-width: 19px;
  height: 19px;
  border: 1.5px solid #5E7282;
  accent-color: var(--copper-deep);
}

.field .button {
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#form-status {
  font-size: 15px;
  margin-top: 16px;
}
#form-status.error {
  color: #B91C1C;
  font-weight: 600;
}
#form-status.success {
  color: #114B3A;
  font-weight: 700;
}

.contact .image-note {
  color: #F7F9FB;
}

/* ==========================================================================
   11 · FOOTER & CONSENT BANNER
   ========================================================================== */
.footer {
  background: #081018;
  color: #9FB2C4;
  border-top: 1px solid var(--slate-border);
}

.footer .wordmark {
  color: var(--ink-on-dark);
  font-size: 1.12rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.1fr;
  gap: 32px;
  padding-top: 52px;
  padding-bottom: 52px;
  font-size: 14.5px;
}

.footer-inner > div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.footer a:hover,
.text-button:hover {
  color: var(--copper);
}

.text-button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14.5px;
}

.consent {
  position: fixed;
  z-index: 50;
  bottom: 16px;
  right: 16px;
  left: 16px;
  margin: auto;
  max-width: 1180px;
  background: var(--ivory-card);
  color: var(--ink-dark);
  padding: 24px 28px;
  border: 1px solid #5E7282;
  border-top: 4px solid var(--copper-main);
  box-shadow: 0 20px 60px rgba(11, 21, 32, 0.42);
  border-radius: 8px;
  font-size: 14px;
}
.consent[hidden] {
  display: none;
}
.consent p {
  margin-top: 6px;
  max-width: 1000px;
  color: var(--ink-muted-light);
}
.consent-options {
  display: flex;
  gap: 24px;
  margin: 16px 0;
  font-weight: 500;
}
.consent-options input {
  accent-color: var(--copper-deep);
}
.consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.consent .button {
  font-size: 13.5px;
  padding: 11px 18px;
}

/* ==========================================================================
   12 · REFINED HOVER EFFECTS & CURTAIN REVEAL (Details #3, #6 & #10)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .region-grid article,
  .project,
  .system-grid article,
  .audience-list article,
  .path-steps li,
  .principles article,
  .steps article {
    transition:
      transform 0.36s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.36s cubic-bezier(0.16, 1, 0.3, 1),
      border-color 0.32s ease;
  }

  .region-grid article:hover,
  .path-steps li:hover,
  .principles article:hover {
    background-image: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 176, 131, 0.12), transparent 70%);
    transform: translateY(-3px);
    border-top-color: var(--copper);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 22px 48px rgba(0, 0, 0, 0.38);
  }

  .project.storage:hover {
    background-image: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 176, 131, 0.12), transparent 70%);
  }

  .system-grid article:hover {
    transform: translateY(-3px);
    border-top-color: var(--copper);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 22px 48px rgba(0, 0, 0, 0.38);
  }

  .system-grid article:nth-child(1):hover {
    background-image:
      radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 176, 131, 0.12), transparent 70%),
      linear-gradient(180deg, rgba(44, 70, 94, 0.02) 0%, rgba(44, 70, 94, 0.94) 132px, var(--slate-card) 140px),
      url('assets/card-generation.webp');
  }
  .system-grid article:nth-child(2):hover {
    background-image:
      radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 176, 131, 0.12), transparent 70%),
      linear-gradient(180deg, rgba(44, 70, 94, 0.02) 0%, rgba(44, 70, 94, 0.94) 132px, var(--slate-card) 140px),
      url('assets/card-balance.webp');
  }
  .system-grid article:nth-child(3):hover {
    background-image:
      radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 176, 131, 0.12), transparent 70%),
      linear-gradient(180deg, rgba(44, 70, 94, 0.02) 0%, rgba(44, 70, 94, 0.94) 132px, var(--slate-card) 140px),
      url('assets/card-connect.webp');
  }
  .system-grid article:nth-child(4):hover {
    background-image:
      radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 176, 131, 0.12), transparent 70%),
      linear-gradient(180deg, rgba(44, 70, 94, 0.02) 0%, rgba(44, 70, 94, 0.94) 132px, var(--slate-card) 140px),
      url('assets/card-demand.webp');
  }

  .project:hover,
  .steps article:hover {
    transform: translateY(-3px);
    border-top-color: var(--copper);
    box-shadow: 0 22px 50px rgba(11, 21, 32, 0.13);
  }

  .audience-list article:hover {
    transform: translateX(4px);
    border-left-color: var(--copper);
  }

  /* Slow lens zoom on hover (Detail #6 & #10) */
  .project:hover > img,
  .steps article:hover img,
  .path-photo:hover img {
    transform: scale(1.028);
    filter: brightness(1.08) contrast(1.04);
  }

  .path-steps li:hover span,
  .steps article:hover span {
    transform: translateY(-2px);
  }

  .region-grid article:hover::after {
    color: rgba(239, 176, 131, 0.28);
  }

  .signals li:hover {
    background-color: rgba(229, 152, 82, 0.10);
    padding-inline: 8px;
  }

  .signals li:hover b {
    transform: scale(1.03);
  }
}

/* Detail #6: Curtain reveal & slow zoom on scroll entry */
html.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.motion-ready .project.reveal-item > img,
html.motion-ready .steps article.reveal-item img,
html.motion-ready .path-photo.reveal-item img {
  clip-path: inset(0 3% 6% 3%);
  transform: scale(1.04);
  transition:
    clip-path 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
}

html.motion-ready .project.reveal-item.is-visible > img,
html.motion-ready .steps article.reveal-item.is-visible img,
html.motion-ready .path-photo.reveal-item.is-visible img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* ==========================================================================
   13 · RESPONSIVE BREAKPOINTS & REDUCED MOTION (R4 Points #3 & #4)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-item,
  .reveal-item > img,
  .reveal-item img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .button,
  .region-grid article:hover,
  .system-grid article:hover,
  .path-steps li:hover,
  .principles article:hover,
  .project:hover,
  .steps article:hover,
  .audience-list article:hover,
  .project:hover > img,
  .steps article:hover img,
  .path-photo:hover img,
  .path-steps li:hover span,
  .steps article:hover span,
  .signals li:hover b {
    transform: none !important;
  }
  .path-steps::before { transform: none !important; }
  .header::before { display: none !important; }
}

@media (max-width: 1080px) {
  .regions > .wrap::before {
    position: relative;
    top: 0;
    right: 0;
    display: block;
    width: 100%;
    max-width: 480px;
    height: 280px;
    margin-bottom: 28px;
    background-position: center;
  }
  .film-band .film {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .film video,
  .film figcaption,
  .film .transcript,
  .film .film-cta {
    grid-column: 1;
    grid-row: auto;
  }
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .split,
  .contact-layout,
  .project-grid,
  .project.storage,
  .region-grid,
  .steps,
  .principles,
  .visit-note,
  .path-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  /* R4 Point #3: Vertical 01–05 copper line when stages stack in a single column */
  .path-steps {
    padding: 0 0 0 18px;
    gap: 16px;
  }
  .path-steps::before {
    top: 12px;
    bottom: 12px;
    left: 0;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--copper-main), #FFE0C2);
    transform-origin: top center;
    transform: scaleY(var(--path-progress, 1));
  }
  .region-grid article:nth-child(n),
  .steps article:nth-child(n) {
    margin-top: 0;
  }
  .steps {
    padding-bottom: 0;
  }
  .project > img,
  .project.storage > img,
  .steps img {
    height: 224px;
    min-height: 0;
    border-right: 0;
  }
  .project.storage > img {
    border-bottom: 1px solid var(--slate-border);
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    max-width: 650px;
    margin-top: 18px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner > div {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-inline: 20px;
  }
  /* R4 Point #3: Header CTA arrow stays on a single line at 390px */
  .header {
    padding-inline: 16px;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .wordmark {
    font-size: 0.94rem;
    gap: 6px;
  }
  .wordmark::before {
    width: 19px;
    height: 19px;
  }
  .wordmark span {
    padding-left: 6px;
    font-size: 0.76em;
  }
  .header nav > a:first-child {
    display: none;
  }
  .header .small {
    font-size: 12px;
    padding: 8px 11px;
    min-height: 36px;
    gap: 6px;
    white-space: nowrap;
  }
  /* Correction #2 & R4 Point #1: Mobile Hero with open horizon window + AA contrast on all text */
  .hero {
    min-height: 620px;
    padding-top: 104px;
    padding-bottom: 52px;
  }
  .hero-shade {
    background-image:
      var(--grain-svg),
      linear-gradient(180deg, rgba(11, 21, 32, 0.92) 0%, rgba(11, 21, 32, 0.84) 38%, rgba(11, 21, 32, 0.18) 54%, rgba(11, 21, 32, 0.88) 70%, var(--slate-navy) 100%);
  }
  .hero-image {
    object-position: 58% 52%;
  }
  .hero h1 {
    font-size: clamp(38px, 10.4vw, 52px);
    margin-bottom: 76px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 5px 10px;
  }
  .hero-intro {
    font-size: 16.5px;
    margin: 18px 0 22px;
    background: rgba(11, 21, 32, 0.78);
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
  }
  .image-note {
    text-align: left;
    left: 20px;
    right: auto;
    max-width: calc(100% - 40px);
    bottom: 10px;
    font-size: 10px;
  }
  .regions > .wrap::before {
    height: 236px;
    margin-bottom: 22px;
  }
  .film-band {
    background: linear-gradient(180deg, var(--slate-navy) 0%, var(--slate-deep) 120px, var(--alabaster) 120px, var(--alabaster) 100%);
    padding: 8px 0 52px;
  }
  .film-band .film {
    padding: 16px 16px 22px;
    row-gap: 14px;
  }
  section.intro,
  section.regions,
  section.portfolio,
  section.system,
  section.audience,
  section.pathway,
  section.process,
  section.contact {
    padding: 52px 0;
  }
  section.intro .split > div:first-child {
    padding: 26px 22px;
  }
  .project-body {
    padding: 24px 20px;
  }
  .system-grid,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .path-steps li {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 14px;
    align-items: start;
  }
  .path-steps span {
    grid-row: 1 / span 2;
    font-size: 44px;
    margin-bottom: 0;
  }
  .audience .parallax-veil {
    background: rgba(245, 242, 234, 0.92);
  }
  .visit-note {
    padding: 26px 22px;
  }
  .form-panel {
    padding: 26px 20px;
  }
  .footer-inner > div {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ==========================================================================
   R5 · Revisión de Ricardo (3-nov): tonos medios, mapa con contraste, play y parallax
   ========================================================================== */
section.regions {
  background-color: #22384D;
  background-image:
    var(--grain-svg),
    radial-gradient(ellipse at 85% 18%, #335272 0%, transparent 55%),
    linear-gradient(180deg, #1C3044 0%, #22384D 14%, #22384D 86%, #1F344A 100%);
}
section.system {
  background-color: #273F55;
  background-image:
    var(--grain-svg),
    radial-gradient(circle at 50% 0%, rgba(239, 176, 131, 0.10), transparent 50%),
    linear-gradient(180deg, #22384D 0%, #273F55 14%, #273F55 86%, #22384D 100%);
}
section.pathway {
  background-color: #22384D;
  background-image:
    var(--grain-svg),
    linear-gradient(180deg, #22384D 0%, #22384D 88%, #1E3347 100%);
}
.contact .parallax-veil {
  background-image:
    var(--grain-svg),
    linear-gradient(90deg, rgba(11, 21, 32, 0.86) 0%, rgba(11, 21, 32, 0.68) 45%, rgba(11, 21, 32, 0.32) 100%);
}
.parallax-img { will-change: transform; }

.film-play {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: center;
  justify-self: center;
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, #F5B87E 0%, #DF8B40 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), 0 0 0 10px rgba(239, 176, 131, 0.20);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.film-play::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 26px;
  border-left: 22px solid #0B1520;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}
.film-play:hover { transform: scale(1.06); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.46), 0 0 0 14px rgba(239, 176, 131, 0.26); }
.film-play[hidden] { display: none; }
@media (max-width: 1080px) {
  .film video, .film-play { grid-row: 1; }
}
@media (max-width: 640px) {
  .film-play { width: 68px; height: 68px; }
  .film-play::before { left: 27px; top: 21px; border-left-width: 18px; border-top-width: 13px; border-bottom-width: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .parallax-img { transform: none !important; }
}
/* R5 · Hero nuevo (parque integrado al atardecer): velo más liviano para que la foto respire */
.hero-shade {
  background-image:
    var(--grain-svg),
    linear-gradient(0deg, var(--slate-navy) 0%, rgba(11, 21, 32, 0) 24%),
    linear-gradient(90deg, rgba(11, 21, 32, 0.86) 0%, rgba(11, 21, 32, 0.76) 38%, rgba(11, 21, 32, 0.52) 54%, rgba(11, 21, 32, 0.16) 70%, rgba(11, 21, 32, 0.02) 88%);
}
.hero-image { object-position: 50% 55%; filter: none; }
@media (max-width: 640px) {
  .hero-shade {
    background-image:
      var(--grain-svg),
      linear-gradient(180deg, rgba(11, 21, 32, 0.86) 0%, rgba(11, 21, 32, 0.72) 38%, rgba(11, 21, 32, 0.10) 54%, rgba(11, 21, 32, 0.80) 72%, var(--slate-navy) 100%);
  }
  .hero-image { object-position: 50% 55%; }
}

/* R5 · Logo nuevo: símbolo «Interconexión» y nombre en una sola tipografía, «Romania» en cobre */
.wordmark { gap: 10px; }
.wordmark::before {
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h10l8 12-8 12H6m36-24H32l-8 12 8 12h10' stroke='%23F7F9FB'/%3E%3Ccircle cx='24' cy='24' r='4' fill='%23EFB083' stroke='none'/%3E%3C/svg%3E");
}
.wordmark span {
  font-family: inherit;
  font-weight: inherit;
  font-size: 1em;
  letter-spacing: inherit;
  text-transform: none;
  color: var(--copper);
  padding-left: 0;
  border-left: 0;
}
@media (max-width: 640px) {
  .wordmark::before { width: 22px; height: 22px; }
  .wordmark span { padding-left: 0; font-size: 1em; }
}
