/* Orion Grid — shared styles */

:root {
  --blue: #0f4bf0;
  --blue-dark: #0a37b8;
  --red: #ff0000;
  --red-text: #d62828;
  --ink: #0b1220;
  --muted: #5b6474;
  --light: #f5f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --container: 1160px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.skip-link:focus { left: 0.75rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--ink); color: var(--white); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Eyebrow label + title pattern (taken from the reference layout) */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 0.6rem;
}
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Logo-inspired split underline */
.split-bar {
  display: flex;
  height: 4px;
  width: 120px;
  margin: 1rem auto 0;
  border-radius: 4px;
  overflow: hidden;
}
.split-bar span { flex: 1; }
.split-bar span:first-child { background: var(--blue); }
.split-bar span:last-child { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 0.98rem/1 "Poppins", "Inter", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 22px rgba(15, 75, 240, 0.3); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #d90000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6eaf2;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 50%, var(--red) 50%);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); text-decoration: none; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.nav .btn::after { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 0, 0, 0.35), transparent 60%),
    linear-gradient(135deg, #0a2a8a 0%, var(--blue) 60%, #2a5cff 100%);
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero .eyebrow { color: #ffd1d1; }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: italic; font-family: "Playfair Display", Georgia, serif; font-weight: 600; color: #ffd1d1; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 620px; opacity: 0.92; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero .btn--primary { background: var(--white); color: var(--blue); box-shadow: none; }
.hero .btn--primary:hover { background: #e9efff; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.2rem;
  text-align: center;
  border-top: 4px solid var(--blue);
}
.stat:nth-child(even) { border-top-color: var(--red); }
.stat strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  line-height: 1.1;
}
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f7;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 75, 240, 0.14); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 75, 240, 0.09);
  color: var(--blue);
  margin-bottom: 1.2rem;
}
.card:nth-child(3n+2) .icon { background: rgba(255, 0, 0, 0.08); color: var(--red-text); }
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Service Card with media */
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.service-card__media {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #090e1f;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card__media img {
  transform: scale(1.06);
}
.service-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.service-card__badge svg {
  width: 20px;
  height: 20px;
}
.service-card__body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.service-card__body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
  margin-top: auto;
}
.service-card__link:hover {
  text-decoration: underline;
}

/* Let grid tracks shrink below their content width on small screens */
.grid > *, .split > *, .stats > *, .client-grid > *, .footer-grid > *,
.contact-layout > *, .form__row > *, .mv-grid > * { min-width: 0; }

/* ---------- Split (about teaser / about page) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__media {
  border-radius: 20px;
  background: linear-gradient(160deg, var(--blue), #0a2a8a);
  padding: 2.5rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.split__media img { width: min(340px, 100%); height: auto; background: var(--white); border-radius: 16px; padding: 1.25rem; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checks li { padding-left: 2rem; position: relative; margin-bottom: 0.75rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 50%, var(--red) 50%);
}

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.mv-grid .card { border-left: 4px solid var(--blue); }
.mv-grid .card:last-child { border-left-color: var(--red); }

/* ---------- Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.client {
  background: var(--white);
  border: 1px solid #eef1f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.client:hover { transform: translateY(-4px); }
a.client:hover { text-decoration: none; }
a.client:focus-visible { border-radius: var(--radius); }
.client img { max-height: 130px; max-width: 100%; width: auto; object-fit: contain; }
.client--dark { background: #0b1220; border-color: #0b1220; }
.client--flush img { border-radius: 10px; }

/* ---------- Process ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem 4.2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.2rem;
  top: 1.4rem;
  font: 700 1.1rem "Poppins", sans-serif;
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
}
.step:nth-child(even)::before { background: var(--red); }
.step p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue), #2a5cff 60%, var(--red));
  color: var(--white);
  border-radius: 22px;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0.4rem 0 0; opacity: 0.92; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0a2a8a, var(--blue) 65%, #2a5cff);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 50%, var(--red) 50%);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-hero p { opacity: 0.9; margin: 0.8rem auto 0; max-width: 620px; }
.breadcrumb { font-size: 0.9rem; opacity: 0.85; margin-bottom: 0.8rem; }
.breadcrumb a { color: var(--white); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; }
.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.info-card .icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue);
  color: var(--white);
}
.info-card .icon svg { width: 22px; height: 22px; }
.info-card strong { display: block; }
.info-card span, .info-card a { color: var(--muted); word-break: break-word; }

.form {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 5px solid var(--blue);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form__field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; }
.form label .req { color: var(--red-text); }
.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #d6dce8;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15, 75, 240, 0.15); }
.form .error-text { color: var(--red-text); font-size: 0.85rem; min-height: 1.1em; margin-top: 0.3rem; }
.form input.is-invalid, .form textarea.is-invalid { border-color: var(--red); }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 10px; display: none; font-weight: 500; }
.form__status.is-success { display: block; background: #e7f8ee; color: #136b35; }
.form__status.is-error { display: block; background: #fdeaea; color: #9b1c1c; }
.form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form .btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }

/* ---------- Legal ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d1e0; padding-top: 4.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-brand img { height: 64px; width: auto; background: var(--white); border-radius: 12px; padding: 6px 10px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: #c9d1e0; }
.footer-grid a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: #ff7a7a; }
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.2s ease;
}
.socials a:hover { background: var(--blue); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 3.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.footer-bottom a { color: #c9d1e0; }
.footer-bottom .split-bar { margin: 0; width: 80px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* Hero entrance: each text block rises in, one after another */
.hero .container > * { animation: fadeUp 0.8s ease both; }
.hero .container > :nth-child(2) { animation-delay: 0.12s; }
.hero .container > :nth-child(3) { animation-delay: 0.24s; }
.hero .container > :nth-child(4) { animation-delay: 0.36s; }
.brand img { animation: fadeIn 0.9s ease both; }

/* Drifting colour glows behind the hero */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}
.orb--red { width: 420px; height: 420px; top: -140px; right: -90px; background: var(--red); opacity: 0.3; }
.orb--light { width: 360px; height: 360px; bottom: -160px; left: -110px; background: #7aa2ff; opacity: 0.4; animation-delay: -7s; }

/* Split underline draws in when its section is revealed */
.section-head .split-bar span { transform: scaleX(0); transition: transform 0.9s ease 0.3s; }
.section-head.is-visible .split-bar span { transform: scaleX(1); }
.section-head .split-bar span:first-child { transform-origin: left; }
.section-head .split-bar span:last-child { transform-origin: right; }

/* Staggered entrance for cards, stats and client logos */
.grid > .reveal:nth-child(3n+2), .client-grid > .reveal:nth-child(3n+2), .stats > .reveal:nth-child(2) { transition-delay: 0.12s; }
.grid > .reveal:nth-child(3n), .client-grid > .reveal:nth-child(3n), .stats > .reveal:nth-child(3) { transition-delay: 0.24s; }
.stats > .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ---------- WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeUp 0.7s ease 0.6s both;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55); text-decoration: none; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.5rem;
    border-bottom: 1px solid #e6eaf2;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid #eef1f7; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -2rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4, .mv-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .client { height: 150px; padding: 1rem; }
  .client img { max-height: 95px; }
  .form__row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Portfolio page */
.portfolio-thumb { background: #fff; border-radius: 12px; height: 170px; display: flex; align-items: center; justify-content: center; padding: 1.25rem; margin-bottom: 1.25rem; border: 1px solid #f0f3f8; }
.portfolio-thumb img { max-height: 100%; max-width: 100%; object-fit: contain; }
.portfolio-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: rgba(15, 75, 240, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.65rem;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
}
.portfolio-desc {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0.85rem;
  flex: 1;
}
.portfolio-scope {
  font-size: 0.85rem;
  color: #4b5563;
  background: var(--light);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.portfolio-scope strong {
  color: var(--ink);
}
.card-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; font-weight: 600; color: var(--blue); }
.card-link:hover { text-decoration: underline; }

/* Founder */
.founder {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 2.25rem;
}
.founder__media {
  flex: none;
  width: 195px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 75, 240, 0.16);
  border: 3px solid var(--white);
  outline: 1px solid rgba(15, 75, 240, 0.15);
  background: var(--light);
}
.founder__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.35s ease;
}
.founder:hover .founder__img {
  transform: scale(1.04);
}
.founder__body { flex: 1; min-width: 0; }
.founder__body h3 {
  margin: 0 0 .25rem;
  font-size: 1.55rem;
}
.founder__role {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  display: inline-block;
}
.founder__body p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0 0 .9rem;
}
.founder__quote {
  margin: 1rem 0 1.25rem;
  padding: .75rem 1.1rem;
  border-left: 3px solid var(--blue);
  background: var(--light);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.55;
}
.founder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
  margin-top: 1.25rem;
}
.founder__link {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}
@media (max-width: 680px) {
  .founder {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
    gap: 1.75rem;
  }
  .founder__media {
    margin: 0 auto;
    width: 150px;
    height: 190px;
  }
  .founder__quote {
    text-align: left;
  }
  .founder__actions {
    justify-content: center;
  }
}
