/* ==========================================================================
   AIZAWA MONGOL LLC — V1 design system
   Primary: #004098
   ========================================================================== */

:root {
  --blue: #004098;
  --blue-700: #003377;
  --blue-800: #002a63;
  --blue-900: #001f4a;
  --blue-500: #1a5fc4;
  --blue-100: #e4ecf8;
  --blue-50: #f2f6fc;
  --sky: #4aa3ff;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -10px rgba(0, 64, 152, .18), 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-lg: 0 30px 60px -20px rgba(0, 64, 152, .28);
  --container: 1200px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  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: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--muted { background: var(--bg-2); }
.section--blue { background: var(--blue); color: #fff; }
.section--dark { background: var(--blue-900); color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--blue .eyebrow, .section--dark .eyebrow, .cta .eyebrow { color: #9cc4ff; }
.h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; }
.h2 { font-size: clamp(30px, 4vw, 46px); }
.h3 { font-size: clamp(20px, 2.2vw, 26px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.7; }
.section--blue .lead, .section--dark .lead { color: rgba(255, 255, 255, .78); }
.muted { color: var(--ink-3); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .h2 { margin-bottom: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 64, 152, .55); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0, 64, 152, .6); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .35); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue);
}
.link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: var(--blue);
  transition: background .35s, box-shadow .35s, height .35s var(--ease);
}
.header--transparent { background: transparent; }
.header.is-scrolled { background: rgba(0, 52, 124, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px -10px rgba(0, 20, 60, .5); height: 70px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; height: 100%; flex: none; }
.brand img { height: 44px; width: auto; transition: height .35s var(--ease); }
.header.is-scrolled .brand img { height: 38px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap;
  color: rgba(255, 255, 255, .82); transition: background .2s, color .2s;
}
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, .12); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #fff; font-weight: 600; font-size: 14px; opacity: .9; }
.header__phone svg { width: 18px; height: 18px; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08); color: #fff; align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--blue-900); color: #fff;
  padding: 110px 28px 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .35s var(--ease);
}
.mobile-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a { font-size: 24px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff;
  padding: calc(var(--header-h) + 64px) 0 96px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 31, 74, .94) 0%, rgba(0, 64, 152, .78) 45%, rgba(0, 64, 152, .25) 100%),
    linear-gradient(180deg, rgba(0, 20, 50, .4) 0%, rgba(0, 20, 50, 0) 40%, rgba(0, 20, 50, .55) 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; }
.hero__content { max-width: 680px; }
.hero .eyebrow { color: #9cc4ff; }
.hero .h1 { margin-bottom: 24px; text-wrap: balance; }
.hero .h1 em { font-style: normal; color: #9cc4ff; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__card {
  justify-self: end; width: min(100%, 380px);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.hero__card h3 { font-size: 18px; margin-bottom: 6px; }
.hero__card p { color: rgba(255, 255, 255, .75); font-size: 14px; margin-bottom: 18px; }
.hero__card ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.hero__card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.hero__card li svg { width: 18px; height: 18px; flex: none; color: #9cc4ff; margin-top: 2px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll span { width: 1px; height: 36px; background: linear-gradient(#fff, transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line);
}
.stat { padding: 32px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font-size: clamp(32px, 3.5vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--blue); line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.stat__value small { font-size: .5em; font-weight: 700; color: var(--blue-500); }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--ink-3); font-weight: 500; }

/* ---------- Split (about teaser) ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split__media::before {
  content: ""; position: absolute; inset: auto auto -22px -22px; width: 55%; height: 55%;
  background: linear-gradient(135deg, var(--blue-100), transparent); border-radius: var(--radius); z-index: -1;
}
.split__badge {
  position: absolute; right: -18px; bottom: 32px; background: var(--blue); color: #fff;
  padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.split__badge strong { display: block; font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.split__badge span { font-size: 12.5px; opacity: .8; }
.split__body .h2 { margin-bottom: 20px; }
.split__body .lead { margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--blue); background: var(--blue-100); border-radius: 50%; padding: 4px; }


/* ---------- Story (home about) ---------- */
.story { position: relative; overflow: hidden; }
.story::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .45;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 20%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 30% 20%, #000, transparent 75%);
}
.story .container { position: relative; z-index: 1; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.story__text { display: flex; flex-direction: column; justify-content: center; }
.statement {
  font-size: clamp(22px, 2.5vw, 33px); line-height: 1.45; font-weight: 600; letter-spacing: -.015em; color: var(--ink);
  margin: 0 0 36px; text-wrap: pretty;
}
.statement mark {
  background: var(--blue-100); color: var(--blue); padding: .04em .32em; border-radius: .35em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 700;
}
.story__text .btn { align-self: flex-start; }

.journey {
  position: relative; overflow: hidden; border-radius: 28px; padding: 32px 32px 240px;
  background: linear-gradient(160deg, var(--blue-800), var(--blue-900) 60%, #001334); color: #fff;
  box-shadow: var(--shadow-lg); min-height: 520px;
}
.journey::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 163, 255, .35), transparent 65%); pointer-events: none;
}
.journey__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 30px; position: relative; z-index: 1; }
.journey__head span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9cc4ff; font-weight: 600; }
.journey__head strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.journey__steps { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; z-index: 1; display: grid; gap: 26px; }
.journey__steps::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: rgba(255, 255, 255, .12); }
.journey__steps::after {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(#9cc4ff, var(--sky));
  transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease) .3s;
}
.journey.is-visible .journey__steps::after { transform: scaleY(1); }
.journey__steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.journey__steps li::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-900);
  border: 3px solid #9cc4ff; box-shadow: 0 0 0 4px rgba(156, 196, 255, .15);
}
.journey__year { font-size: 13px; font-weight: 800; color: #9cc4ff; letter-spacing: .06em; padding-top: 4px; }
.journey__steps h4 { font-size: 15.5px; margin-bottom: 3px; }
.journey__steps p { font-size: 13px; color: rgba(255, 255, 255, .65); }
.journey__img {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 250px; object-fit: cover; z-index: 0;
  -webkit-mask-image: linear-gradient(transparent 0%, #000 55%); mask-image: linear-gradient(transparent 0%, #000 55%);
  opacity: .9; transition: transform 1.2s var(--ease);
}
.journey:hover .journey__img { transform: scale(1.04); }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.principle {
  position: relative; overflow: hidden; padding: 36px 30px 32px; border-radius: 22px; background: #fff; border: 1px solid var(--line);
  transition: background .4s var(--ease), color .4s, transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.principle__num {
  position: absolute; right: 14px; top: -18px; font-size: 112px; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  color: var(--blue-50); transition: color .4s; user-select: none;
}
.principle__icon {
  position: relative; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 44px;
  background: var(--blue-100); color: var(--blue); transition: background .4s, color .4s;
}
.principle__icon svg { width: 24px; height: 24px; }
.principle h3 { position: relative; font-size: 19px; margin-bottom: 10px; }
.principle p { position: relative; font-size: 14.5px; line-height: 1.65; color: var(--ink-3); transition: color .4s; }
.principle:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.principle:hover .principle__num { color: rgba(255, 255, 255, .08); }
.principle:hover .principle__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.principle:hover p { color: rgba(255, 255, 255, .78); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .92); color: var(--blue);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em;
}
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 19px; }
.card__body p { color: var(--ink-3); font-size: 14.5px; line-height: 1.65; }
.card__body .link { margin-top: auto; padding-top: 8px; font-size: 14px; }

/* Feature (icon) cards */
.feature {
  padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-500)); color: #fff; margin-bottom: 22px;
  box-shadow: 0 10px 20px -8px rgba(0, 64, 152, .6);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--ink-3); font-size: 14.5px; }
.section--dark .feature, .section--blue .feature { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.section--dark .feature p, .section--blue .feature p { color: rgba(255, 255, 255, .7); }
.section--dark .feature__icon, .section--blue .feature__icon { background: rgba(255, 255, 255, .12); box-shadow: none; }

/* ---------- Winter feature ---------- */
.winter { position: relative; overflow: hidden; }
.winter::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 0%, rgba(74, 163, 255, .25), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(74, 163, 255, .18), transparent 60%);
}
.winter__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.winter__media { position: relative; }
.winter__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.winter__temp {
  position: absolute; left: -20px; top: 32px; background: #fff; color: var(--blue); padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.winter__temp strong { display: block; font-size: 32px; line-height: 1; letter-spacing: -.03em; }
.winter__temp span { font-size: 12px; color: var(--ink-3); }
.winter__list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 18px; }
.winter__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.winter__list .num { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; font-weight: 700; color: #9cc4ff; }
.winter__list h4 { font-size: 16px; margin-bottom: 4px; }
.winter__list p { font-size: 14px; color: rgba(255, 255, 255, .7); }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 24px; }
.projects-grid .project { aspect-ratio: auto; }
.projects-grid .project:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.projects-grid .project:nth-child(4) { grid-column: span 2; }
.project {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; display: block;
  box-shadow: var(--shadow-sm);
}
.project--wide { grid-column: span 2; aspect-ratio: auto; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover img { transform: scale(1.06); }
.project__overlay {
  position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 31, 74, 0) 30%, rgba(0, 31, 74, .92) 100%);
}
.project__overlay .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9cc4ff; margin-bottom: 8px; }
.project__overlay h3 { font-size: 20px; margin-bottom: 6px; }
.project__overlay p { font-size: 14px; color: rgba(255, 255, 255, .75); max-height: 0; opacity: 0; overflow: hidden; transition: .45s var(--ease); }
.project:hover .project__overlay p { max-height: 120px; opacity: 1; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--blue); color: #fff;
  padding: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center;
}
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta::before { width: 480px; height: 480px; right: -140px; top: -220px; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%); }
.cta::after { width: 360px; height: 360px; left: -120px; bottom: -220px; background: radial-gradient(circle, rgba(74, 163, 255, .35), transparent 65%); }
.cta > * { position: relative; }
.cta .h2 { margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .78); max-width: 560px; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta__phone { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cta__phone small { display: block; font-size: 13px; font-weight: 500; opacity: .7; letter-spacing: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 72px) 0 80px; color: #fff; overflow: hidden; isolation: isolate;
  background: var(--blue-900);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 31, 74, .95), rgba(0, 64, 152, .7) 60%, rgba(0, 64, 152, .35)); }
.page-hero .h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255, 255, 255, .8); max-width: 640px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .65); margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.prose p { margin-bottom: 1.2em; }
.prose strong { color: var(--blue); font-weight: 700; }
.prose h3 { color: var(--ink); margin: 2em 0 .6em; font-size: 24px; }
.quote {
  border-left: 4px solid var(--blue); padding: 8px 0 8px 24px; margin: 0 0 32px;
  font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.01em; color: var(--ink);
}
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.callout {
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 28px 32px;
  font-size: 17px; line-height: 1.7; color: var(--blue-800);
}

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 36px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--blue-100)); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -36px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.timeline__year { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.timeline__item h4 { font-size: 20px; margin: 4px 0 8px; }
.timeline__item p { color: var(--ink-3); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0, 31, 74, .85)); }

/* ---------- Product detail rows ---------- */
.product-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; }
.product-row + .product-row { border-top: 1px solid var(--line); }
.product-row:nth-child(even) > :first-child { order: 2; }
.product-row img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.product-row .num { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .12em; margin-bottom: 10px; }
.product-row h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; }
.product-row p { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.pill { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.spec th, .spec td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec th { background: var(--blue-50); color: var(--blue-800); font-weight: 600; width: 40%; }
.spec tr:last-child td, .spec tr:last-child th { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* ---------- Chart ---------- */
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.chart-card h4 { font-size: 16px; margin-bottom: 4px; }
.chart-card .muted { font-size: 13px; margin-bottom: 18px; }
.chart-card svg { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); }
.info-list { display: grid; gap: 16px; }
.info {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease);
}
.info:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.info__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.info__icon svg { width: 24px; height: 24px; }
.info h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.info a, .info p { font-size: 16px; font-weight: 500; color: var(--ink); }
.info a:hover { color: var(--blue); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--ink-3); font-size: 14.5px; margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-2);
  color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 64, 152, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 21 / 9; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: clamp(48px, 6vw, 96px) 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: #fff; }
.empty__icon { width: 72px; height: 72px; border-radius: 22px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin: 0 auto 20px; }
.empty__icon svg { width: 32px; height: 32px; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--ink-3); max-width: 480px; margin: 0 auto 24px; }
.socials { display: flex; gap: 10px; justify-content: center; }
.social {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); background: #fff;
  transition: .25s;
}
.social:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: rgba(255, 255, 255, .75); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand img { height: 60px; margin-bottom: 18px; }
.footer__brand p { font-size: 14.5px; max-width: 320px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a { font-size: 14.5px; transition: color .2s; }
.footer li a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: #9cc4ff; margin-top: 3px; }
.footer .socials { justify-content: flex-start; margin-top: 20px; }
.footer .social { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
}

/* Floating call button (mobile) */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; display: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff; place-items: center; box-shadow: 0 14px 30px -8px rgba(0, 64, 152, .6);
}
.fab svg { width: 24px; height: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
  .header__phone { display: none; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { justify-self: start; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .story__grid { grid-template-columns: 1fr; }
  .journey { min-height: auto; }
  .principles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .container { width: min(100% - 32px, var(--container)); }
  .brand img { height: 36px; }
  .header.is-scrolled .brand img { height: 32px; }
  .header__cta .btn { display: none; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero .h1 { font-size: 38px; }
  .hero__scroll { display: none; }
  .split, .winter__grid, .contact-grid, .product-row { grid-template-columns: 1fr; }
  .split--reverse > :first-child, .product-row:nth-child(even) > :first-child { order: 0; }
  .split__badge { right: 12px; bottom: 12px; padding: 14px 16px; }
  .split__badge strong { font-size: 24px; }
  .winter__temp { left: 12px; top: 12px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .project--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .projects-grid .project { aspect-ratio: 4 / 3; }
  .projects-grid .project:nth-child(1), .projects-grid .project:nth-child(4) { grid-column: auto; grid-row: auto; }
  .project__overlay p { max-height: none; opacity: 1; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 1; }
  .fab { display: grid; }
  .stat { padding: 22px 18px; }
}

/* ---------- Video intro ---------- */
.video { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 21 / 9; background: var(--blue-900); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 31, 74, .2), rgba(0, 31, 74, .05) 45%, rgba(0, 31, 74, .85)); }
.video:hover img { transform: scale(1.04); }
.video__play { position: relative; width: 96px; height: 96px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--blue); display: grid; place-items: center; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .5); transition: transform .4s var(--ease), background .3s, color .3s; }
.video__play::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.video__play svg { width: 32px; height: 32px; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.08); background: var(--blue); color: #fff; }
.video__meta { position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.video__meta h3 { font-size: clamp(20px, 2.4vw, 30px); max-width: 22ch; }
.video__meta span { font-size: 13px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.video__top { position: absolute; top: clamp(20px, 3vw, 32px); left: clamp(20px, 3vw, 40px); }
.video__top .eyebrow { color: #9cc4ff; margin: 0; }
.vmodal { position: fixed; inset: 0; z-index: 200; background: rgba(0, 20, 50, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.vmodal.is-open { display: flex; }
.vmodal__box { width: min(100%, 1100px); aspect-ratio: 16 / 9; background: #000; position: relative; border-radius: 16px; }
.vmodal__slot { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; }
.vmodal__box video, .vmodal__box iframe { width: 100%; height: 100%; display: block; border: 0; }
.vmodal__close { position: absolute; top: -52px; right: 0; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.vmodal__msg { position: absolute; inset: 0; display: none; place-items: center; color: #fff; text-align: center; padding: 24px; font-size: 14px; }
.vmodal.no-src .vmodal__msg { display: grid; }
@media (max-width: 720px) { .video { aspect-ratio: 4 / 3; } .video__play { width: 72px; height: 72px; } .video__meta { flex-direction: column; align-items: flex-start; } }
