/* Materica Innovation — one page
   Light corporate theme from the client's deck: white ground, green primary, navy accents. */

:root {
  color-scheme: light;
  --navy: #08264A;
  --navy-2: #0E3460;
  --ink: #142B3F;
  --muted: #4E6272;
  --green: #16832D;
  --forest: #07532C;
  --lime: #91C83E;
  --lime-soft: #E8F3D6;
  --paper: #FFFFFF;
  --mist: #F4F7F6;
  --line: #DCE5E1;
  --line-strong: #C5D3E0;
  --on-navy: rgba(255,255,255,0.8);
  --on-navy-dim: rgba(255,255,255,0.55);
  --navy-line: rgba(255,255,255,0.14);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
  --shadow: 0 30px 60px -36px rgba(8,38,74,0.35);
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64l28 16v32M28 64L0 80v32' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; text-wrap: balance; color: var(--navy); }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); transform-origin: left; transform: scaleX(0); z-index: 95; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Type */
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-stretch: 114%; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-stretch: 112%; letter-spacing: -0.025em; line-height: 1.08; }
h3 { font-size: 1.25rem; font-stretch: 108%; letter-spacing: -0.012em; }
h4 { font-size: 1.05rem; font-stretch: 106%; letter-spacing: -0.01em; }
.eyebrow { font-size: 0.92rem; font-weight: 500; color: var(--green); margin-bottom: 14px; }
.section-navy .eyebrow { color: var(--lime); }
.section-navy h2, .section-navy h3 { color: #fff; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem; line-height: 1;
  transition: transform 160ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn:active { transform: scale(0.97) !important; }
.btn-green { background: var(--green); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 24px -14px rgba(22,131,45,0.7); }
.btn-green:hover { background: var(--forest); }
.btn-outline { color: var(--navy); border: 1.5px solid var(--line-strong); background: var(--paper); }
.btn-outline:hover { border-color: var(--navy); }
.btn-nav { min-height: 40px; padding: 0 18px; font-size: 0.93rem; }

/* Floating glass nav */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 80; pointer-events: none; }
.nav-pill {
  pointer-events: auto;
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--nav-h); padding: 0 10px 0 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(8,38,74,0.08), 0 20px 40px -28px rgba(8,38,74,0.35);
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.nav.is-scrolled .nav-pill { background: rgba(255,255,255,0.88); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(8,38,74,0.1), 0 20px 40px -24px rgba(8,38,74,0.4); }
.brand img { width: 164px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; font-weight: 500; }
.nav-links a:not(.btn) { position: relative; padding: 6px 0; color: var(--ink); transition: color 160ms var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.is-active { color: var(--green); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease);
}
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; border-radius: 999px; }
.menu-bar { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy); transition: transform 240ms var(--ease), top 240ms var(--ease); }
.menu-bar:nth-child(1) { top: 18px; } .menu-bar:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 14px + clamp(56px, 8vw, 104px)) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(60% 50% at 100% 0%, var(--lime-soft) 0%, rgba(232,243,214,0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 70%, var(--mist) 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hex); opacity: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-lede { margin-top: 26px; font-size: 1.1rem; line-height: 1.6; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.pillars { display: grid; gap: 0; border-left: 2px solid var(--line); }
.pillars li { position: relative; padding: 18px 0 18px 26px; display: grid; gap: 4px; }
.pillars li + li { border-top: 1px solid var(--line); }
.pillar-mark { position: absolute; left: -7px; top: 26px; width: 12px; height: 12px; background: var(--green); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.pillars strong { font-weight: 600; color: var(--navy); font-stretch: 106%; letter-spacing: -0.01em; }
.pillars span:not(.pillar-mark) { font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hero photo band: five slices with diagonal seams, icon and name on each */
.band {
  --d: clamp(28px, 3.4vw, 46px);   /* diagonal offset */
  --seam: 5px;
  display: flex;
  margin: clamp(48px, 6vw, 80px) 0 0;
  height: clamp(180px, 20vw, 260px);
  border-radius: 20px; overflow: hidden;
}
.slice {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  clip-path: polygon(var(--d) 0, 100% 0, calc(100% - var(--d)) 100%, 0 100%);
  margin-left: calc(var(--seam) - var(--d));
  transition: flex-grow 500ms var(--ease);
}
.slice:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - var(--d)) 100%, 0 100%); }
.slice:last-child { clip-path: polygon(var(--d) 0, 100% 0, 100% 100%, 0 100%); }
.slice img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease);
}
.slice::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,38,74,0) 35%, rgba(8,38,74,0.78) 100%);
}
.slice-label {
  position: absolute; left: 22px; right: 12px; bottom: 18px; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600; font-size: clamp(0.85rem, 1.25vw, 1.1rem); letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.slice:not(:first-child) .slice-label { left: calc(var(--d) * 0.5 + 16px); }
.slice-label .ico { width: 24px; height: 24px; color: #fff; stroke-width: 1.5; }
.slice:hover { flex-grow: 1.35; }
.slice:hover img { transform: scale(1.06); }
.slice:focus-visible { outline: none; }
.slice:focus-visible::after { box-shadow: inset 0 0 0 3px var(--lime); }
.band-swoosh { height: 8px; margin-top: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--forest), var(--green) 45%, var(--lime)); }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: #fff; position: relative; }
.section-navy::before { content: ""; position: absolute; inset: 0; background: var(--hex); pointer-events: none; }
.section-navy > .wrap { position: relative; }
.section-head { max-width: 46em; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 38em; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 112px; }
.split-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 30em; }
.section-navy .split-head p:not(.eyebrow) { color: var(--on-navy); }

/* Reveal choreography */
.reveal > * { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in > * { opacity: 1; transform: none; }

/* About */
.about-body .lead { font-size: 1.3rem; line-height: 1.4; font-stretch: 104%; letter-spacing: -0.01em; max-width: 28em; color: var(--navy); }
.about-body > p + p { margin-top: 20px; color: var(--muted); max-width: 40em; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 40px; }
.mv div { padding-top: 16px; border-top: 2px solid var(--navy); }
.mv dt { font-size: 0.86rem; font-weight: 500; color: var(--green); margin-bottom: 8px; }
.mv dd { color: var(--ink); line-height: 1.5; }

/* Market shift */
.drivers { display: grid; counter-reset: driver; }
.drivers li { position: relative; padding: 26px 0 26px 64px; border-top: 1px solid var(--line); }
.drivers li:last-child { border-bottom: 1px solid var(--line); }
.drivers li::before {
  counter-increment: driver; content: counter(driver, decimal-leading-zero);
  position: absolute; left: 0; top: 28px;
  font-size: 0.9rem; font-weight: 600; color: var(--green); font-stretch: 110%;
}
.drivers p { margin-top: 8px; color: var(--muted); max-width: 40em; }

/* Philosophy, inside the market-shift section */
.philosophy { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.philosophy-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 44px); }
.philosophy-head h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-stretch: 112%; letter-spacing: -0.02em; }
.philosophy-head p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
/* Philosophy contrast */
.contrast { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.contrast-col { padding: clamp(24px, 2.5vw, 36px); }
.contrast-col h4 { font-size: 1.05rem; color: var(--muted); }
.contrast-col.is-us { background: var(--navy); color: #fff; position: relative; }
.contrast-col.is-us::before { content: ""; position: absolute; inset: 0; background: var(--hex); pointer-events: none; }
.contrast-col.is-us > * { position: relative; }
.contrast-col.is-us h4 { color: var(--lime); }
.contrast-col ul { margin-top: 16px; }
.contrast-col li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.contrast-col.is-us li { border-top-color: var(--navy-line); }
.contrast-col li:first-child { border-top: 0; }

/* Technologies */
.tech-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tech-visual { position: sticky; top: 112px; }
.hex-card {
  position: relative; overflow: hidden;
  padding: clamp(24px, 2.5vw, 36px); border-radius: 28px;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  color: #fff;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hex-card::before { content: ""; position: absolute; inset: 0; background: var(--hex); pointer-events: none; }
.hex-card > * { position: relative; }
.hex-trio { width: 44%; max-width: 200px; height: auto; margin: 0 0 18px auto; display: block; fill: none; stroke: var(--lime); stroke-width: 22; stroke-linejoin: round; stroke-linecap: round; }
.hex-trio .hex-link { stroke-width: 12; opacity: 0.8; }
.hex-kicker { font-size: 0.88rem; color: var(--lime); font-weight: 500; }
.hex-card h3 { color: #fff; font-size: 1.5rem; margin-top: 8px; }
.hex-card h3 + p { margin-top: 12px; color: var(--on-navy); line-height: 1.55; }
.hex-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--navy-line); font-size: 0.88rem; color: var(--on-navy-dim); }

.index { display: grid; }
.index-row {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px;
  padding: 22px 20px; margin: 0 -20px;
  border-radius: 18px;
  border-top: 1px solid var(--line);
  transition: background-color 240ms var(--ease);
}
.index-row:hover { background: var(--mist); }
.index-row h3 { position: relative; padding-left: 24px; }
.index-row h3::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 11px; height: 11px;
  background: var(--lime); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  transition: transform 240ms var(--ease), background-color 240ms var(--ease);
}
.index-row:hover h3::before { background: var(--green); transform: scale(1.25); }
.index-row p { padding-left: 24px; color: var(--muted); line-height: 1.5; }
.index-note { margin-top: 20px; font-size: 0.88rem; color: var(--muted); }

/* Markets: light tiles with the deck's icons */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative; overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--lime), var(--shadow); }
.tile:nth-child(1) { grid-column: span 7; }
.tile:nth-child(2) { grid-column: span 5; }
.tile:nth-child(3) { grid-column: span 5; }
.tile:nth-child(4) { grid-column: span 7; }
.tile:nth-child(5) { grid-column: span 5; }
.tile:nth-child(6) { grid-column: span 7; }
.tile-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--navy); }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,38,74,0) 40%, rgba(8,38,74,0.82) 100%); }
.tile-media h3 {
  position: absolute; left: clamp(22px, 2.6vw, 32px); right: 20px; bottom: 18px; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-size: 1.35rem; font-stretch: 110%; letter-spacing: -0.015em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.tile-media .ico { width: 30px; height: 30px; color: #fff; stroke-width: 1.5; flex: none; }
.tile > p { padding: 18px clamp(22px, 2.6vw, 32px) clamp(22px, 2.6vw, 30px); color: var(--muted); max-width: 34em; }
.tile-note { background: var(--navy); color: #fff; padding: clamp(26px, 2.6vw, 36px); gap: 10px; justify-content: center; }
.tile-note::before { content: ""; position: absolute; inset: 0; background: var(--hex); pointer-events: none; }
.tile-note > * { position: relative; }
.tile-note h3 { color: #fff; }
.tile-note p { color: var(--on-navy); padding: 0; }
.tile-note .btn { align-self: flex-start; margin-top: 10px; background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.tile-note .btn:hover { border-color: #fff; }
.tile-note:hover { box-shadow: inset 0 0 0 1.5px var(--lime), var(--shadow); }

/* Approach: self-drawing line */
.track { position: relative; }
.track-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; overflow: visible; }
.track-base { stroke: var(--line-strong); stroke-width: 2; fill: none; }
.track-draw { stroke: var(--green); stroke-width: 2; fill: none; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1800ms var(--ease) 200ms; }
.track.is-in .track-draw { stroke-dashoffset: 0; }
.stages { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 4px; }
.stage-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); color: var(--navy); font-weight: 600; font-size: 0.9rem;
  box-shadow: inset 0 0 0 2px var(--navy);
}
.stage:last-child .stage-n { background: var(--green); color: #fff; box-shadow: inset 0 0 0 2px var(--green); }
.stage h3 { margin-top: 16px; font-size: 1.1rem; }
.stage p { margin-top: 8px; font-size: 0.94rem; color: var(--muted); line-height: 1.5; }

.ways { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(28px, 3vw, 44px); margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.ways-lead { grid-row: 1 / 3; }
.ways-lead h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 112%; letter-spacing: -0.02em; max-width: 12em; }
.chain { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; counter-reset: chain; }
.chain li { font-size: 0.82rem; font-weight: 500; color: var(--navy); padding: 6px 11px; border-radius: 999px; background: var(--lime-soft); }
.chain li::before { counter-increment: chain; content: counter(chain) " "; color: var(--green); }
.way p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* Why Materica, inside About */
.diffs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.diffs-label { grid-column: 1 / -1; font-size: 0.92rem; font-weight: 500; color: var(--green); margin-bottom: -8px; }
.diff h3 { font-size: 1.1rem; }
.diff p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* Contact */
.contact-details { display: grid; gap: 16px; margin-top: 30px; }
.contact-details div { padding-top: 14px; border-top: 1px solid var(--navy-line); }
.contact-details dt { font-size: 0.84rem; color: var(--on-navy-dim); }
.contact-details dd { margin-top: 2px; color: #fff; }
.contact-details a { color: var(--lime); }
.contact-details a:hover { text-decoration: underline; }
.contact-form {
  display: grid; gap: 18px;
  padding: clamp(24px, 3vw, 36px); border-radius: 28px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 50px 100px -50px rgba(0,0,0,0.6);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--paper);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2308264A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,131,45,0.14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C43030; }
.field-note { font-size: 0.85rem; color: var(--muted); max-width: 44em; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 0.95rem; color: var(--forest); font-weight: 500; }
.form-status.is-error { color: #C43030; }
.form-status a { text-decoration: underline; }
.form-status.is-ok { color: var(--forest); }
.contact-form .btn:disabled { opacity: 0.75; cursor: default; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: var(--navy-2); color: var(--on-navy); border-top: 1px solid var(--navy-line); padding: 48px 0 40px; }
.footer-row { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: 12px; font-size: 0.95rem; color: var(--on-navy-dim); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.95rem; font-weight: 500; }
.footer-links a { transition: color 160ms var(--ease); }
.footer-links a:hover { color: var(--lime); }
.footer-legal { grid-column: 1 / -1; font-size: 0.85rem; color: var(--on-navy-dim); }
.footer-credit { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--navy-line); }
.footer-credit a { color: var(--on-navy); transition: color 160ms var(--ease); }
.footer-credit a:hover { color: var(--lime); }

/* Responsive */
@media (max-width: 1100px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .track-line { display: none; }
  .ways { grid-template-columns: 1fr 1fr; }
  .ways-lead { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { top: 10px; }
  .nav-pill { border-radius: 28px; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 16px;
    border-radius: 24px;
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(8,38,74,0.5);
    transform-origin: top; transform: translateY(-6px) scale(0.98); opacity: 0; visibility: hidden;
    transition: opacity 200ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a:not(.btn) { padding: 13px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 12px; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .split, .tech-grid { grid-template-columns: 1fr; }
  .split-head, .tech-visual { position: static; }
  .tiles { grid-template-columns: 1fr; }
  .tile:nth-child(n) { grid-column: 1 / -1; }
  .tile-media { aspect-ratio: 16 / 9; }
  .mv { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .band { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: auto; margin-top: 40px; }
  .slice, .slice:first-child, .slice:last-child { margin: 0; aspect-ratio: 16 / 9; clip-path: none; }
  .slice:last-child { grid-column: 1 / -1; aspect-ratio: 32 / 9; }
  .slice:not(:first-child) .slice-label { left: 16px; }
  .slice-label { left: 16px; bottom: 12px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { width: 140px; }
  .stages { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr; }
  .contrast { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .index-row { margin: 0; padding: 20px 0; border-radius: 0; }
  .index-row:hover { background: none; }
  .drivers li { padding-left: 44px; }
}

@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 > * { opacity: 1; transform: none; }
  .track-draw { stroke-dashoffset: 0; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-pill, .nav-links { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
