/* ==========================================================
   Modern Information Technology Ltd. (MIT) — mittci.com
   Global stylesheet
   ========================================================== */

:root {
  --black: #000000;
  --ink: #0b0b0f;
  --charcoal: #1a1a1f;
  --gray-900: #2b2b31;
  --gray-700: #55555c;
  --gray-500: #8a8a92;
  --gray-300: #cfcfd4;
  --gray-100: #f2f2f4;
  --white: #ffffff;
  --brand: #ff3b30;          /* bright signal red (on dark) */
  --brand-deep: #8b0000;
  --accent: #e10600;         /* MIT red */
  --accent-2: #b30500;
  --grad: linear-gradient(120deg, #7a0000 0%, #e10600 55%, #ff4d3d 100%);
  --radius: 4px;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--brand); }
.chevron { color: var(--accent); font-weight: 900; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.logo-mark {
  font-size: 1.9rem; line-height: 1; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-img img { height: 64px; width: auto; }
@media (max-width: 600px) { .logo-img img { height: 52px; } }
.footer-logo img { height: 84px; }
.logo small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-top: 2px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  position: relative; padding: 10px 14px; font-size: .95rem; font-weight: 500; color: #e9e9ee; white-space: nowrap;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-search {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; background: transparent; color: var(--white); cursor: pointer;
}
.menu-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-weight: 700; font-size: .95rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: all .25s var(--ease);
  font-family: inherit;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #b30500; }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gray-900); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.link-arrow:hover { gap: 12px; }
.on-dark .link-arrow { color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--white);
  min-height: calc(100vh - 76px);
  display: flex; align-items: center;
  padding: 80px 0 120px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(225,6,0,.55), transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 90%, rgba(122,0,0,.6), transparent 65%),
    var(--black);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
}
.hero-glyph {
  position: absolute; right: -4vw; top: 50%; transform: translateY(-50%);
  font-size: clamp(260px, 42vw, 680px); font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9; z-index: 1; user-select: none; pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-53%); } }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 6.6rem); max-width: 13ch; margin-bottom: .35em; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 46ch; color: #d6d6de; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: var(--gutter); z-index: 2;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-500);
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::before { content: ""; width: 48px; height: 1px; background: var(--gray-500); }

.page-hero { min-height: auto; padding: 120px 0 110px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 16ch; }
.page-hero .hero-glyph { font-size: clamp(200px, 30vw, 460px); opacity: .7; }
.breadcrumb { font-size: .85rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Spotlight ticker ---------- */
.ticker { background: var(--accent); color: var(--white); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 56px; padding: 16px 0; animation: ticker 40s linear infinite; font-weight: 700; }
.ticker-track span::before { content: "›"; margin-right: 14px; opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); max-width: 18ch; margin: 0; }
.section-head p { max-width: 46ch; color: var(--gray-700); margin: 0; font-size: 1.08rem; }
.on-dark { background: var(--black); color: var(--white); }
.on-dark .section-head p { color: #b9b9c2; }
.on-gray { background: var(--gray-100); }

/* ---------- Capability cards (What we do) ---------- */
.cap-grid { display: flex; flex-wrap: wrap; border-top: 1px solid var(--gray-300); border-left: 1px solid var(--gray-300); }
.cap-card {
  flex: 1 1 300px; border-right: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300);
  position: relative; background: var(--white); padding: 40px 34px 36px; min-height: 340px;
  display: flex; flex-direction: column; overflow: hidden; transition: color .35s var(--ease);
}
.cap-card::before {
  content: ""; position: absolute; inset: 0; background: var(--black);
  transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0;
}
.cap-card > * { position: relative; z-index: 1; }
.cap-card:hover { color: var(--white); }
.cap-card:hover::before { transform: translateY(0); }
.cap-card .num { font-size: .8rem; font-weight: 700; color: var(--gray-500); letter-spacing: .1em; margin-bottom: 28px; }
.cap-card .icon { width: 52px; height: 52px; margin-bottom: 24px; color: var(--accent); }
.cap-card:hover .icon { color: var(--brand); }
.cap-card h3 { font-size: 1.6rem; }
.cap-card p { color: var(--gray-700); flex: 1; transition: color .35s; }
.cap-card:hover p { color: #c8c8d0; }
.cap-card .link-arrow { margin-top: 12px; }
.cap-card:hover .link-arrow { color: var(--brand); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.split p { font-size: 1.08rem; color: var(--gray-700); }
.on-dark .split p { color: #c2c2ca; }
.visual {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden;
  background: var(--grad);
}
.visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual.photo { background: var(--charcoal); }
.visual.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.visual.photo:hover img { transform: scale(1.04); }
.visual.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); pointer-events: none; }
.visual .tag { z-index: 1; }
.visual .tag {
  position: absolute; left: 20px; bottom: 20px; background: var(--black); color: var(--white);
  padding: 10px 16px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.check-list li { padding: 12px 0 12px 34px; position: relative; border-bottom: 1px solid var(--gray-300); font-weight: 500; }
.on-dark .check-list li { border-color: rgba(255,255,255,.12); }
.check-list li::before { content: "›"; position: absolute; left: 6px; top: 6px; font-size: 1.5rem; font-weight: 900; color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.stat { padding: 40px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.stat .value {
  font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 900; line-height: 1; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { margin-top: 12px; color: #c2c2ca; font-size: 1rem; max-width: 22ch; }

/* ---------- Case study / insight cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.12); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media .art { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.card:hover .card-media .art { transform: scale(1.06); }
.card-media .label {
  position: absolute; top: 16px; left: 16px; background: var(--white); color: var(--black);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px;
}
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body .meta { font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.card-body h3 { font-size: 1.35rem; line-height: 1.2; }
.card-body p { color: var(--gray-700); flex: 1; }
.on-dark .card { background: var(--charcoal); }
.on-dark .card-body p { color: #b9b9c2; }

/* gradient "photography" substitutes */
.art-1 { background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 35%, rgba(0,0,0,.35) 100%), url("../images/work/healthcare.jpg") center / cover no-repeat, #1a1a1f; }
.art-2 { background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 35%, rgba(0,0,0,.35) 100%), url("../images/work/hospitality.jpg") center / cover no-repeat, #1a1a1f; }
.art-3 { background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 35%, rgba(0,0,0,.35) 100%), url("../images/work/legal.jpg") center / cover no-repeat, #1a1a1f; }
.art-4 { background: radial-gradient(circle at 50% 120%, #e10600, transparent 60%), linear-gradient(160deg, #000, #2a0000); }
.art-5 { background: linear-gradient(120deg, #000, #e10600); }
.art-6 { background: radial-gradient(circle at 20% 20%, #ff4d3d, transparent 50%), linear-gradient(200deg, #3a0000, #000); }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Industries ---------- */
.ind-list { border-top: 1px solid var(--gray-300); }
.ind-row {
  display: grid; grid-template-columns: 90px 1fr 1.3fr 40px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--gray-300); transition: padding .3s var(--ease), background .3s;
}
.ind-row:hover { padding-left: 18px; padding-right: 18px; background: var(--gray-100); }
.ind-row .n { color: var(--gray-500); font-weight: 700; }
.ind-row h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 0; }
.ind-row p { margin: 0; color: var(--gray-700); }
.ind-row .go { font-size: 1.8rem; color: var(--accent); font-weight: 900; transition: transform .3s; }
.ind-row:hover .go { transform: translateX(6px); }
.ind-row .pct { display: inline-block; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 8px; margin-left: 10px; vertical-align: middle; letter-spacing: .06em; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; border-top: 1px solid var(--gray-300); border-left: 1px solid var(--gray-300); }
.partner {
  flex: 1 1 200px; border-right: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300);
  display: grid; place-items: center; min-height: 140px; padding: 24px; text-align: center;
  font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--gray-700);
  transition: color .3s, background .3s;
}
.partner small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); margin-top: 6px; }
.partner img { width: 140px; height: 52px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.partner small { margin-top: 14px; }
.partner img[alt="RUCKUS"] { width: 170px; height: 66px; }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.05); }

/* ---------- Clients marquee ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 14px; }
.client-chip {
  padding: 14px 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-weight: 600;
  transition: all .25s;
}
.client-chip:hover { background: var(--white); color: var(--black); }

/* ---------- Reference / project detail ---------- */
.project {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 72px);
  padding: 56px 0; border-top: 1px solid var(--gray-300);
}
.project:last-child { border-bottom: 1px solid var(--gray-300); }
.project .size {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; background: var(--black); color: var(--white); margin-bottom: 18px;
}
.project h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.project .site { color: var(--gray-700); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.spec { background: var(--gray-100); padding: 22px; border-left: 4px solid var(--accent); }
.spec .v { font-size: 2.2rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.spec .k { font-size: .88rem; color: var(--gray-700); margin-top: 6px; }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan {
  border: 1px solid rgba(255,255,255,.18); padding: 40px 32px; display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s var(--ease);
}
.plan:hover { border-color: var(--brand); transform: translateY(-4px); }
.plan.featured { background: var(--grad); border-color: transparent; }
.plan h3 { font-size: 1.6rem; }
.plan .tagline { color: #c2c2ca; min-height: 3em; }
.plan.featured .tagline { color: #ffe9e7; }
.plan ul { margin: 18px 0 28px; flex: 1; }
.plan li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.plan li::before { content: "› "; font-weight: 900; color: var(--brand); }
.plan.featured li::before { color: var(--white); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline::before { content: ""; position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--grad); }
.tl-item { position: relative; padding-top: 48px; }
.tl-item::before { content: ""; position: absolute; top: 6px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 4px solid var(--accent); }
.tl-item .year { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; }
.tl-item p { color: var(--gray-700); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.15); }
.team-cell { background: var(--black); padding: 36px 28px; }
.team-cell .v { font-size: 4rem; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.team-cell .k { margin-top: 12px; font-weight: 600; }
.team-cell p { color: #a9a9b2; font-size: .92rem; margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; }
.cta-band::after {
  content: "›"; position: absolute; right: -2vw; bottom: -0.32em; font-size: clamp(260px, 36vw, 560px); font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.12); pointer-events: none;
}
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 14ch; }
.cta-band p { font-size: 1.15rem; max-width: 48ch; color: #ffe9e7; margin-bottom: 2rem; }
.cta-band .btn-primary { background: var(--white); color: var(--black); }
.cta-band .btn-primary:hover { background: var(--black); color: var(--white); }
.cta-band .container { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 88px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; padding: 14px 0; border: 0; border-bottom: 2px solid var(--gray-300); background: transparent;
  outline: none; transition: border-color .2s; color: inherit; border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form-note { font-size: .85rem; color: var(--gray-700); margin-top: 14px; }
.form-success { display: none; padding: 18px 20px; background: var(--gray-100); border-left: 4px solid var(--accent); margin-top: 20px; font-weight: 600; }
.form-success.show { display: block; }
.form-error { display: none; padding: 18px 20px; background: #fff1f0; border-left: 4px solid var(--accent); margin-top: 20px; font-weight: 600; }
.form-error.show { display: block; }
.form-error a { color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
form button:disabled { opacity: .6; cursor: wait; }
.info-block { background: var(--black); color: var(--white); padding: 44px 38px; }
.info-block h3 { font-size: 1.6rem; }
.info-item { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.info-item:last-child { border-bottom: 0; }
.info-item .k { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 6px; }
.info-item a:hover { color: var(--brand); }
.map-embed { margin-top: 28px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { margin-top: 16px; color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #c8c8d0; padding: 88px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-top h4 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-top li { margin-bottom: 10px; }
.footer-top a:hover { color: var(--white); }
.footer-brand p { max-width: 34ch; margin-top: 18px; }
.subscribe { display: flex; margin-top: 22px; max-width: 380px; border-bottom: 2px solid rgba(255,255,255,.3); }
.subscribe input { flex: 1; background: transparent; border: 0; padding: 12px 0; color: var(--white); font: inherit; outline: none; min-width: 0; }
.subscribe button { background: none; border: 0; color: var(--brand); font-weight: 800; cursor: pointer; font: inherit; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-top: 28px; font-size: .85rem; color: var(--gray-500); }
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.socials a:hover { background: var(--white); color: var(--black); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glyph, .ticker-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .stats, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .project { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--black);
    flex-direction: column; align-items: stretch; padding: 24px var(--gutter);
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.6rem; font-weight: 700; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links a::after { display: none; }
  .menu-toggle { display: block; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 860px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .ind-row { grid-template-columns: 50px 1fr 30px; }
  .ind-row p { grid-column: 2 / 3; }
}
@media (max-width: 600px) {
  .card-grid, .plan-grid, .form-grid, .timeline, .footer-top { grid-template-columns: 1fr; }
  .partner { flex-basis: 40%; }
  .stats, .team-grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hero-glyph { opacity: .35; }
}
