/* =========================================================
   EvoPro website: styles
   Brand: Poppins, purple-to-magenta gradient, diagonal ribbons
   Edit the colours and sizes in :root to re-theme the site.
   ========================================================= */
:root {
  --ink: #0a0a1f;
  --navy: #05051a;
  --purple: #3b2f8f;
  --magenta: #a3207a;
  --pink: #e0338f;
  --slate: #4a5470;
  --slate-soft: #7c7c8e;
  --lav: #f3f1fa;
  --line: #e6e3f2;
  --paper: #fefefe;
  --grad: linear-gradient(135deg, #3b2f8f 0%, #c0268a 100%);
  --grad-h: linear-gradient(90deg, #3b2f8f 0%, #c0268a 100%);
  --radius: 22px;
  --wrap: 1200px;
  --header-h: 78px;
  --shadow: 0 18px 40px -22px rgba(59, 47, 143, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--magenta); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border: 0; border-radius: 999px;
  background: var(--grad); color: #fff; cursor: pointer;
  font: 600 .95rem/1 "Poppins", sans-serif; letter-spacing: .02em;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, filter .2s;
}
.btn:hover { transform: translateY(-2px); color: #fff; filter: brightness(1.08); }
.btn .i { width: 18px; height: 18px; }
.btn-sm { padding: 11px 22px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); }
.btn-ghost:hover { background: var(--purple); color: #fff; }
.i { width: 20px; height: 20px; stroke: currentColor; fill: none; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  background: rgba(254, 254, 254, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(10, 10, 31, .35); background: rgba(254, 254, 254, .96); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 180px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-weight: 500; font-size: .88rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad-h); transition: width .25s ease; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { width: 100%; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; stroke: currentColor; fill: none; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 860px); padding-top: var(--header-h); display: flex; align-items: center; overflow: hidden; background: var(--paper); }
.hero-in { padding-block: 70px; }
.hero-copy { max-width: 560px; position: relative; z-index: 2; }
.eyebrow { font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.3rem); line-height: 1; letter-spacing: -.01em; margin-bottom: 26px; }
.h1-light, .h1-bold { display: block; }
.h1-light { font-weight: 300; }
.h1-bold { font-weight: 800; }
.lead { font-size: 1.12rem; max-width: 470px; color: var(--slate); margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-meta { font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0; }
.hero-art {
  position: absolute; top: 0; bottom: 0; right: 0; aspect-ratio: 1700 / 1254; max-width: 88%;
  background: url("../images/hero.webp") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.sec-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.005em; line-height: .98; margin-bottom: 34px;
}
.sec-title.light { color: #fff; }
.sec-head { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; color: var(--ink); margin-bottom: 8px; max-width: 760px; line-height: 1.3; }
.sec-head.pink { color: #d45bb0; }
.sec-head.magenta { color: #8a2a86; }
.sec-head.light { color: #fff; }
.sec-sub { font-weight: 600; font-size: .85rem; color: #2e3a59; letter-spacing: .02em; margin-bottom: 44px; }
.sec-sub-text { max-width: 720px; margin-bottom: 44px; }
.fine { font-size: .85rem; color: var(--slate-soft); }

/* Decorative top-right ribbon (from the company profile) */
.ribbon-top::before {
  content: ""; position: absolute; top: 0; right: 0; width: clamp(200px, 30vw, 460px); aspect-ratio: 1327 / 747;
  background: url("../images/ribbon.webp") right top / contain no-repeat; pointer-events: none;
}
/* Photo bands (cut-corner photos from the profile) */
.band { position: absolute; top: 0; right: 0; height: auto; pointer-events: none; z-index: 0; }
.band-skyline { width: min(66%, 900px); }
.band-engineer { width: min(52%, 640px); }
.band-control { width: min(64%, 880px); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Icon badge */
.ico {
  width: 62px; height: 62px; border-radius: 50%; background: var(--grad); color: #fff;
  display: inline-grid; place-items: center; box-shadow: var(--shadow); flex: none;
}
.ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

/* ---------- About ---------- */
.about { --bw: min(66vw, 900px); padding-top: 0; }
.about .wrap { padding-top: calc(var(--bw) * 0.4 + 44px); }
.about .sec-title { position: absolute; top: 120px; left: 0; margin: 0; }
.about-cols { padding-top: 0; }
.col-h { font-size: 1.05rem; color: #2e3a59; margin-bottom: 14px; }
.about-cols p { font-size: .98rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.stats li { background: var(--lav); border-radius: var(--radius); padding: 26px 26px 24px; }
.stats strong { display: block; font-size: 2.7rem; line-height: 1; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stats span { font-size: .88rem; line-height: 1.5; display: block; }

/* ---------- Purpose / Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 70px; text-align: center; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: linear-gradient(90deg, #3b2f8f, #c0268a); opacity: .7; }
.timeline li { position: relative; padding: 0 12px; }
.timeline .ico { position: relative; margin-bottom: 20px; width: 64px; height: 64px; }
.timeline h3 { font-size: 1.15rem; margin-bottom: 10px; color: #2e3a59; }

/* ---------- Services / caps ---------- */
.service, .cap { position: relative; }
.service .ico { margin-bottom: 18px; }
.service h3, .cap h3 { font-size: 1.05rem; color: var(--purple); margin-bottom: 10px; }
.service p, .cap p { font-size: .93rem; margin: 0; }
.service { padding: 6px 4px; }
.cap { padding-top: 6px; }
.cap .ico { margin-bottom: 18px; }
.cap::before { content: ""; display: block; width: 42px; height: 4px; background: var(--magenta); margin-bottom: 14px; border-radius: 2px; }
.cap h3 { font-size: .98rem; }
.cap p { font-size: .88rem; }

/* ---------- Sectors ---------- */
.sector {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 330px; padding: 26px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(7, 10, 40, .94) 8%, rgba(7, 10, 40, .55) 48%, rgba(7, 10, 40, 0) 78%), var(--img) center / cover no-repeat;
  transition: transform .35s ease, box-shadow .35s ease;
}
.sector:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(10, 10, 31, .8); }
.sector h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.sector p { color: #e4e2f6; font-size: .85rem; line-height: 1.55; margin: 0; font-weight: 400; }
.tag { position: absolute; top: 20px; left: 20px; background: var(--magenta); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }

/* ---------- Stadium hub ---------- */
.hub {
  margin-top: 54px; border-radius: 28px; background: var(--grad-h); color: #fff; padding: 26px 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; box-shadow: var(--shadow);
}
.hub strong { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.hub span { font-size: .95rem; font-weight: 400; }
.stadium .fine { margin-top: 14px; }

/* ---------- Phases ---------- */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.phases li {
  border-radius: 28px; padding: 34px 26px 32px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: var(--shadow);
}
.phases .num { display: block; font-size: 2.2rem; font-weight: 800; color: rgba(255, 190, 235, .55); line-height: 1; margin-bottom: 14px; }
.phases h3 { color: #fff; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; margin-bottom: 14px; }
.phases p { font-size: .86rem; line-height: 1.6; font-weight: 400; margin: 0; color: #f4eefc; }
.sub-title { font-size: 1.5rem; margin: 80px 0 34px; text-transform: uppercase; }
.deliver article { padding-top: 4px; }
.deliver .n { display: block; font-weight: 800; font-size: 1.3rem; color: var(--pink); margin-bottom: 6px; }
.deliver h4 { font-size: 1.02rem; color: var(--purple); margin: 10px 0 8px; position: relative; padding-top: 14px; }
.deliver h4::before { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 4px; background: var(--magenta); border-radius: 2px; }
.deliver p { font-size: .92rem; margin: 0; }

/* ---------- Standards ---------- */
.std-list { border-top: 1px solid var(--line); }
.std-list li {
  display: grid; grid-template-columns: 62px minmax(180px, 1.1fr) minmax(220px, 1.2fr) minmax(260px, 2fr);
  gap: 18px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.std-list .ico { width: 54px; height: 54px; }
.std-list h3 { font-size: 1rem; color: var(--purple); }
.std-list strong { font-size: .9rem; color: var(--magenta); font-weight: 600; }
.std-list p { margin: 0; font-size: .88rem; }

/* ---------- Lifecycle ---------- */
.lifecycle { padding-top: clamp(100px, 12vw, 150px); min-height: 640px; }
.life-blocks { display: grid; gap: 34px; max-width: 520px; margin-top: 40px; }
.life-blocks article { position: relative; padding-top: 16px; }
.life-blocks article::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 4px; background: var(--magenta); border-radius: 2px; }
.life-blocks h3 { font-size: 1.08rem; color: var(--purple); margin-bottom: 8px; }
.life-blocks p { margin: 0; font-size: .93rem; }

/* ---------- Dark sections ---------- */
.dark { background: var(--navy); color: #d9d6f5; }
.capex-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: center; }
.ticks li { position: relative; padding: 0 0 14px 28px; font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.chips { display: grid; gap: 22px; }
.chips li {
  border-radius: 22px; padding: 22px 28px; background: rgba(10, 10, 38, .78);
  border: 3px solid transparent;
  background-image: linear-gradient(rgba(10, 10, 38, .95), rgba(10, 10, 38, .95)), linear-gradient(135deg, #4b3fc0, #d1329a);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.chips small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--pink); }
.chips strong { font-size: 1.5rem; color: #fff; font-weight: 700; }

/* Experience intro */
.exp-intro { background: var(--bg) right center / cover no-repeat, var(--navy); min-height: 560px; display: flex; align-items: center; }
.exp-intro::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 26, .94) 0%, rgba(5, 5, 26, .75) 38%, rgba(5, 5, 26, 0) 70%); }
.exp-note { max-width: 520px; color: #e4e2f6; font-size: .98rem; margin-top: 18px; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.chip-btn {
  border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  font: 500 .88rem/1 "Poppins", sans-serif; padding: 12px 22px; border-radius: 999px; transition: all .2s;
}
.chip-btn:hover { border-color: var(--purple); color: var(--purple); }
.chip-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow); }

.feature { border-radius: 28px; overflow: hidden; background: var(--lav); margin-bottom: 34px; }
.feature img { width: 100%; height: 220px; object-fit: cover; }
.feature-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; padding: 34px 38px 38px; }
.feature h3 { font-size: 1.5rem; margin: 6px 0 14px; }
.feature h4 { font-size: 1rem; color: var(--purple); margin-bottom: 14px; }
.feature .small { font-size: .88rem; margin: 0; }
.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.venues li { position: relative; padding-left: 18px; font-size: .86rem; color: var(--ink); font-weight: 400; }
.venues li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }
.kicker { display: inline-block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--magenta); }

.projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.project.wide { grid-column: span 2; }
.project.wide img { aspect-ratio: 2.7 / 1; }
.project { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 34px -22px rgba(59, 47, 143, .55); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.p-body { padding: 22px 22px 26px; }
.p-body h3 { font-size: 1rem; color: var(--purple); margin: 8px 0 14px; line-height: 1.3; }
.p-body dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--magenta); margin-top: 10px; }
.p-body dd { margin: 2px 0 0; font-size: .84rem; line-height: 1.6; }
.hidden { display: none !important; }
.also { margin-top: 30px; }

/* ---------- People ---------- */
.people { --bw: min(64vw, 880px); padding-top: calc(var(--bw) * 0.525 + 30px); }
.people-in { display: block; }
.people-copy { max-width: 580px; }
.people-fig { justify-self: end; width: min(100%, 360px); margin-top: -10px; }
.people-fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.people-fig figcaption { padding-top: 22px; position: relative; margin-top: 20px; }
.people-fig figcaption::before { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 4px; background: var(--magenta); border-radius: 2px; }
.people-fig h3 { font-size: 1.25rem; color: var(--purple); }
.role { margin: 4px 0 0; font-size: .92rem; }
.people .fine { margin-top: 28px; }

/* ---------- Why ---------- */
.why { background: var(--bg) right center / cover no-repeat, var(--navy); }
.why::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 26, .96) 0%, rgba(5, 5, 26, .82) 52%, rgba(5, 5, 26, .1) 100%); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 880px; margin-top: 44px; }
.why-grid li {
  border-radius: 22px; padding: 28px 24px 26px; text-align: center; border: 3px solid transparent;
  background-image: linear-gradient(rgba(10, 10, 38, .88), rgba(10, 10, 38, .88)), linear-gradient(135deg, #4b3fc0, #d1329a);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.why-grid span { display: block; font-size: 1.5rem; font-weight: 800; color: #d45bb0; }
.why-grid h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 10px; }
.why-grid p { color: #dedcf4; font-size: .85rem; line-height: 1.55; margin: 0; font-weight: 400; }

/* ---------- Contact ---------- */
.contact { background: var(--bg) right bottom / cover no-repeat, var(--navy); }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(5, 5, 26, .72); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy p { color: #dedcf4; max-width: 520px; }
.cta-line { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; color: #b06ad0 !important; margin: 26px 0 30px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: #fff; font-size: .95rem; }
.contact-list .i { color: var(--pink); margin-top: 4px; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--pink); }
.form {
  background: rgba(255, 255, 255, .97); border-radius: 28px; padding: 38px 36px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  display: grid; gap: 16px;
}
.form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea {
  font: 400 .95rem/1.4 "Poppins", sans-serif; color: var(--ink); width: 100%;
  padding: 13px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(59, 47, 143, .14); }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .9rem; min-height: 1.4em; font-weight: 500; }
.form-status.ok { color: #1c7a4a; }
.form-status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: #030312; color: #b9b6dc; padding: 56px 0 40px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1.6fr; gap: 30px 40px; align-items: start; }
.foot-in img { width: 170px; margin-bottom: 14px; }
.foot-in p { font-size: .88rem; margin: 0; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; }
.foot-in nav a { color: #d9d6f5; font-size: .88rem; font-weight: 500; }
.foot-in nav a:hover { color: var(--pink); }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: .8rem !important; }
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s; z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: #fff; filter: brightness(1.1); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project.wide { grid-column: span 1; }
  .std-list li { grid-template-columns: 62px 1fr 1fr; }
  .std-list li p { grid-column: 2 / -1; }
  .capex-in, .contact-in { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(254, 254, 254, .98); padding: 8px 24px 26px; box-shadow: 0 24px 40px -20px rgba(10, 10, 31, .4);
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-in { padding-block: 40px 20px; }
  .hero-art { position: relative; top: auto; bottom: auto; right: auto; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1700 / 1254; background-size: cover; }
  .grid-3, .cols-3 { grid-template-columns: 1fr 1fr; }
  .cols-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; text-align: left; margin-top: 40px; }
  .timeline::before { left: 31px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding-left: 90px; }
  .timeline .ico { position: absolute; left: 0; top: 0; margin: 0; }
  .feature-body { grid-template-columns: 1fr; gap: 24px; }
  .band-skyline, .band-engineer, .band-control { width: 82%; }
  .about { --bw: 82vw; }
  .about .sec-title { position: static; margin-bottom: 30px; }
  .people { --bw: 82vw; }
  .people-in { grid-template-columns: 1fr; gap: 36px; }
  .people-fig { justify-self: start; width: min(100%, 320px); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why::before { background: rgba(5, 5, 26, .9); }
  .exp-intro::before { background: rgba(5, 5, 26, .78); }
  .lifecycle { padding-top: clamp(130px, 38vw, 240px); min-height: 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .grid-3, .grid-5, .projects, .phases, .stats, .why-grid, .field-row { grid-template-columns: 1fr; }
  .project.wide { grid-column: auto; }
  .std-list li { grid-template-columns: 54px 1fr; }
  .std-list li strong, .std-list li p { grid-column: 1 / -1; }
  .brand img { width: 150px; }
  .form { padding: 28px 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-in nav { justify-content: flex-start; }
  .hub { padding: 22px; }
  .venues { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .to-top, .nav-toggle, .form { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- A word from the CEO ---------- */
.ceo { background: var(--lav); overflow: hidden; }
.ceo::before {
  content: ""; position: absolute; right: -6%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 38, 138, .13), rgba(59, 47, 143, 0) 68%); pointer-events: none;
}
.ceo-in { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.ceo-fig { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; margin-top: 8px; }
.ceo-fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 30px; box-shadow: 0 30px 50px -28px rgba(59, 47, 143, .7); }
.ceo-fig figcaption { margin-top: 20px; padding-top: 18px; position: relative; display: grid; gap: 2px; }
.ceo-fig figcaption::before { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 4px; background: var(--magenta); border-radius: 2px; }
.ceo-fig strong { font-size: 1.2rem; color: var(--purple); font-weight: 700; }
.ceo-fig span { font-size: .9rem; }
.pull {
  position: relative; margin: 26px 0 30px; padding: 4px 0 4px 26px; border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #3b2f8f, #c0268a) 1; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.4; color: var(--ink);
}
.letter p { font-size: 1.02rem; line-height: 1.85; max-width: 720px; }
.sign { margin: 30px 0 28px; display: grid; gap: 2px; }
.sign strong { font-size: 1.5rem; color: var(--purple); font-weight: 700; font-style: italic; letter-spacing: .01em; }
.sign span { font-size: .9rem; }

@media (max-width: 1100px) { .nav { gap: 20px; } .nav a:not(.btn) { font-size: .82rem; } }
@media (max-width: 900px) {
  .ceo-in { grid-template-columns: 1fr; }
  .ceo-fig { position: static; max-width: 320px; }
}


/* ---------- Client / role / date lines on project cards ---------- */
.p-date { display: flex; align-items: flex-start; gap: 8px; margin: -4px 0 14px; font-size: .78rem; font-weight: 500; line-height: 1.45; color: var(--purple); }
.p-date .i { width: 15px; height: 15px; margin-top: 2px; color: var(--magenta); }
.p-body dd + dt { margin-top: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 18px 26px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #d9d5ee; }
.facts dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--magenta); }
.facts dd { margin: 3px 0 0; font-size: .86rem; line-height: 1.55; color: var(--ink); font-weight: 400; }

/* ---------- Team cards (used when the team block in index.html is un-commented) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.team-grid li { background: var(--lav); border-radius: 18px; padding: 18px 20px; display: grid; gap: 2px; }
.team-grid strong { color: var(--purple); font-size: 1rem; }
.team-grid span { font-size: .88rem; color: var(--ink); }
.team-grid em { font-style: normal; font-size: .8rem; color: var(--slate-soft); }

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