/* SunGrid Energy Limited — site styles */

:root {
  --ink: #0e1e36;
  --ink-2: #13294b;
  --ink-soft: #3c4d66;
  --muted: #66758b;
  --line: #e3e7ee;
  --paper: #ffffff;
  --sand: #f6f3ec;
  --gold: #f2a91e;
  --gold-deep: #e08e06;
  --green: #2f9a33;
  --green-deep: #1e7a24;
  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(14, 30, 54, .06), 0 12px 32px -12px rgba(14, 30, 54, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #c5cedb; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.section--ink .eyebrow { color: var(--gold); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); max-width: 62ch; }
.section--ink .lead { color: #c5cedb; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #ffb935; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 168px; flex: none; }
.brand img { width: 100%; height: auto; }
.brand .logo-light { display: none; }
.header.is-solid { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.header.is-solid .logo-dark { display: none; }
.header.is-solid .logo-light { display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--font); font-size: 14.5px; font-weight: 600; color: #fff; text-decoration: none; opacity: .92; }
.nav a:hover { opacity: 1; color: var(--gold); }
.header.is-solid .nav a { color: var(--ink); }
.header.is-solid .nav a:hover { color: var(--green-deep); }
.nav .btn { padding: 11px 20px; font-size: 14px; color: var(--ink) !important; opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
.header.is-solid .nav-toggle { color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .nav a { color: #fff !important; font-size: 22px; }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav-close { position: absolute; top: 18px; right: var(--gutter); }
  body.nav-open { overflow: hidden; }
  .brand { width: 140px; }
}
@media (min-width: 901px) { .nav-close { display: none; } }

/* Hero: animated sky + real park photo */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  color: #fff; display: flex; align-items: center; isolation: isolate;
  background: linear-gradient(180deg, #3b5f9e 0%, #c99a86 30%, #f3c48e 42%, #6b5a4a 60%);
}
.hero__sky, .hero__land { position: absolute; }
.hero__sky { inset: 0; width: 100%; height: 100%; z-index: -4; }
.hero__land { z-index: -3; height: auto; max-width: none; left: 50%; transform: translateX(-50%); user-select: none; pointer-events: none; }
/* The WebGL canvas draws the photo itself; the <img> is its texture and the no-WebGL fallback */
.hero--gl .hero__land { visibility: hidden; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 16, 34, .38) 0%, rgba(8, 16, 34, 0) 18%),
    linear-gradient(90deg, rgba(8, 16, 34, .7) 0%, rgba(8, 16, 34, .38) 38%, rgba(8, 16, 34, 0) 58%),
    linear-gradient(0deg, rgba(8, 16, 34, .55) 0%, rgba(8, 16, 34, 0) 32%);
}
.hero__content { padding-top: 120px; padding-bottom: 160px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px);
  font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 26px;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #52d65a; box-shadow: 0 0 0 0 rgba(82, 214, 90, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(82, 214, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(82, 214, 90, 0); } }
.hero h1 { color: #fff; font-size: clamp(40px, 6.4vw, 84px); font-weight: 700; letter-spacing: -.035em; max-width: 13ch; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 .sun { color: var(--gold); }
.hero h1 .grid { color: #6fd36a; }
.hero p { font-size: clamp(18px, 1.7vw, 21px); max-width: 52ch; color: rgba(255, 255, 255, .9); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__hud {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 1;
}
.hero__hud .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hud {
  display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 12px;
  background: rgba(8, 16, 34, .45); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px);
  font-family: var(--font); font-size: 12.5px; letter-spacing: .04em;
}
.hud__label { display: block; color: rgba(255, 255, 255, .62); text-transform: uppercase; font-size: 10.5px; letter-spacing: .16em; margin-bottom: 2px; }
.hud__value { color: #fff; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.hud__bar { width: 110px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); overflow: hidden; margin-top: 6px; }
.hud__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #ffd36b); border-radius: 6px; }
.hud__sep { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .16); }
.hero__scroll { color: rgba(255, 255, 255, .75); font-family: var(--font); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.hero__scroll::after { content: ""; width: 1px; height: 36px; background: linear-gradient(rgba(255, 255, 255, .8), transparent); }
@media (max-width: 720px) {
  .hero__scroll { display: none; }
  .hero__scrim { background: linear-gradient(180deg, rgba(8, 16, 34, .35) 0%, rgba(8, 16, 34, .55) 45%, rgba(8, 16, 34, .7) 100%); }
  .hud { gap: 12px; padding: 12px 14px; }
  .hud__bar { width: 70px; }
  .hero__content { padding-bottom: 140px; }
}

/* Stat strip */
.stats { background: var(--ink); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--font); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--gold); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 14.5px; color: #b6c1d1; }
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* About split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 35%; width: 100%; }
.split__media .tag {
  position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow);
  font-family: var(--font); font-size: 13px; color: var(--ink); display: flex; gap: 12px; align-items: center;
}
.tag b { display: block; font-size: 15px; }
.tag small { color: var(--muted); font-size: 12.5px; }
.tag .dot { width: 38px; height: 38px; border-radius: 10px; background: #e8f5e8; display: grid; place-items: center; color: var(--green-deep); }
.ticks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks strong { color: var(--ink); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media .tag { left: 12px; }
}

/* Portfolio */
.featured {
  display: grid; grid-template-columns: 1.4fr 1fr; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px;
}
.featured__img { position: relative; min-height: 360px; }
.featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.featured__body h3 { font-size: clamp(24px, 2.4vw, 30px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 12px; border-radius: 999px; font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}
.pill--live { background: #e6f5e6; color: var(--green-deep); }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pill--dev { background: #fff3dc; color: #a06400; }
.pill--opp { background: #e9eef7; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 10px 0 28px; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-family: var(--font); font-weight: 600; }
.facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.featured__body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured__img { min-height: 260px; }
}

.pipeline-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 64px 0 24px; flex-wrap: wrap; }
.pipeline-head h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 0; }
.pipeline-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards--5 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cards--5 .card { padding: 22px 20px; }
@media (max-width: 560px) {
  .cards--5 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards--5 .card { padding: 18px 14px; }
  .cards--5 .card li { flex-direction: column; gap: 0; }
  .cards--5 .card li span:last-child { text-align: left; }
  .cards--5 .card:last-child { grid-column: span 2; }
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card__num { font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--gold-deep); letter-spacing: .14em; margin-bottom: 14px; }
.card h4 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.card ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 14.5px; display: grid; gap: 8px; }
.card li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.card li span:first-child { color: var(--muted); }
.card li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.card .link { margin-top: auto; font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--green-deep); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card .link:hover { color: var(--ink); }
.card--lock { background: linear-gradient(160deg, #fff 0%, #fbfaf6 100%); }
.lock { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); background: #f1f4f9; border-radius: 8px; padding: 8px 12px; margin-bottom: 18px; }
.lock svg { width: 15px; height: 15px; flex: none; }

/* Why Romania */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; }
.why > div { background: var(--ink); padding: 34px 30px; }
.why .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(242, 169, 30, .12); color: var(--gold); display: grid; place-items: center; margin-bottom: 22px; }
.why .ico svg { width: 24px; height: 24px; }
.why h3 { font-size: 19px; }
.why p { font-size: 15.5px; color: #a9b5c7; margin: 0; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--green)); opacity: .35; }
.step { position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--gold);
  font-family: var(--font); font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 22px; position: relative;
}
.step h3 { font-size: 19px; }
.step p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; cursor: zoom-in; background: #ddd; }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(6), .gallery figure:nth-child(7) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-size: 13.5px; font-weight: 500;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6)); opacity: 0; transition: opacity .3s;
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; }
.gallery button { all: unset; position: absolute; inset: 0; }
.gallery button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 12px; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery figure:nth-child(6), .gallery figure:nth-child(7) { grid-column: span 1; }
}
.gallery--ground { margin-top: 0; }
.gallery--ground figure:nth-child(n) { grid-column: auto; grid-row: auto; }
.gallery--ground figure:nth-child(1), .gallery--ground figure:nth-child(3) { grid-row: span 2; }
.gallery--ground figure:nth-child(2) { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery--ground figure:nth-child(2) { grid-column: auto; }
  .gallery--ground figure:nth-child(5) { grid-column: span 2; }
}
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 22, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; cursor: pointer; }

/* Invest / contact */
.invest { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 16px; }
.contact-list a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: #fff; font-weight: 500; }
.contact-list a:hover { color: var(--gold); }
.contact-list .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; color: var(--gold); }
.contact-list svg { width: 20px; height: 20px; }
.form { background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 40px); color: var(--ink-soft); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form h3 { color: var(--ink) !important; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 14px; font: inherit; font-size: 15.5px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfd; transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.form textarea { min-height: 110px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-weight: 400; font-size: 13.5px; color: var(--muted); }
.form .check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--green); }
.form .btn { width: 100%; margin-top: 6px; }
.form .hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-size: 14.5px; min-height: 1.2em; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #b42318; }
@media (max-width: 900px) { .invest { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; gap: 0; } }

.disclaimer { margin-top: 28px; font-size: 13px; line-height: 1.6; color: #8796ab; border-left: 3px solid rgba(242, 169, 30, .5); padding-left: 16px; }

/* Footer */
.footer { background: #08142a; color: #8f9cb0; padding: 64px 0 32px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer img { width: 190px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Simple page (privacy / 404) */
.page-hero { background: var(--ink); color: #fff; padding: 150px 0 70px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 1.8em; }

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