/* =========================================================
   UPES-ECS x HPE - Portfolio showcase
   HPE enterprise design language.
   Clean, spacious, HPE Green accent + green-rectangle motif.
   Dark default + light. Type: Space Grotesk / Inter / JetBrains Mono.
   ========================================================= */

/* ---------- Tokens (dark default) ---------- */
:root {
  /* Brand */
  --green: #01a982;                    /* HPE Green - signature accent */
  --green-strong: #017a5e;             /* deeper green */
  --green-bright: #00c781;             /* vivid green */
  --green-600: #017a5e;                /* legacy alias -> strong */
  --green-glow: rgba(1, 169, 130, 0.35);
  --on-green: #012a20;                 /* ink for text on green fills */
  --brand-ink: #00c781;               /* green "ink" for text on dark surfaces */
  --cyan: #2ad2c9;
  --amber: #ffaa15;
  --red: #fc5a5a;

  /* Neutrals - green-tinted */
  --bg: #0c1613;
  --bg-2: #0f1b17;
  --surface: #14211c;
  --surface-2: #1a2a23;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(1, 169, 130, 0.30);
  --text: #e9f1ed;
  --text-muted: #9fb5ab;
  --text-dim: #6f877c;

  /* Shape - more rectangular / enterprise */
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1140px;

  /* Elevation - soft + low, faint green tint on brand elements */
  --shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 2px 12px -6px rgba(0, 0, 0, 0.55);
  --shadow-green: 0 10px 30px -16px var(--green-glow);

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Space Grotesk", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Respect OS dark preference unless a light theme is explicitly chosen */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green-glow: rgba(1, 169, 130, 0.35);
    --brand-ink: #00c781;
    --bg: #0c1613;
    --bg-2: #0f1b17;
    --surface: #14211c;
    --surface-2: #1a2a23;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(1, 169, 130, 0.30);
    --text: #e9f1ed;
    --text-muted: #9fb5ab;
    --text-dim: #6f877c;
    --shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.6);
    --shadow-green: 0 10px 30px -16px var(--green-glow);
  }
}

/* Explicit dark (manual toggle) */
:root[data-theme="dark"] {
  --green-glow: rgba(1, 169, 130, 0.35);
  --brand-ink: #00c781;
  --bg: #0c1613;
  --bg-2: #0f1b17;
  --surface: #14211c;
  --surface-2: #1a2a23;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(1, 169, 130, 0.30);
  --text: #e9f1ed;
  --text-muted: #9fb5ab;
  --text-dim: #6f877c;
  --shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.6);
  --shadow-green: 0 10px 30px -16px var(--green-glow);
}

/* Explicit light */
:root[data-theme="light"] {
  --green-glow: rgba(1, 169, 130, 0.18);
  --brand-ink: #017a5e;
  --on-green: #012a20;
  --bg: #ffffff;
  --bg-2: #f2f7f4;
  --surface: #ffffff;
  --surface-2: #f5f9f7;
  --border: rgba(2, 40, 28, 0.12);
  --border-strong: rgba(1, 169, 130, 0.30);
  --text: #122019;
  --text-muted: #4a5c54;
  --text-dim: #6a7d74;
  --shadow: 0 16px 36px -26px rgba(2, 40, 28, 0.20);
  --shadow-sm: 0 2px 12px -6px rgba(2, 40, 28, 0.10);
  --shadow-green: 0 12px 30px -16px var(--green-glow);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.14; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
strong { color: var(--text); font-weight: 600; }
section[id] { scroll-margin-top: 84px; }
::selection { background: color-mix(in srgb, var(--green) 30%, transparent); color: var(--text); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 4vw, 44px); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--green); color: var(--on-green); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.82em 1.5em; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.97rem; cursor: pointer; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 0.55em 1.05em; font-size: 0.9rem; }
.btn--primary { background: var(--green); color: var(--on-green); box-shadow: var(--shadow-green); }
.btn--primary:hover { background: var(--green-bright); transform: translateY(-2px); box-shadow: 0 16px 38px -14px var(--green-glow); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--green); color: var(--brand-ink); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; margin-right: auto; }
/* brand__dot = small sharp HPE green element */
.brand__dot { width: 11px; height: 11px; border-radius: 2px; background: var(--green); box-shadow: 0 0 0 4px var(--green-glow); animation: pulse 2.6s infinite; }
.brand__sep { color: var(--text-dim); font-weight: 400; }
.brand__tag { color: var(--text-muted); font-size: 0.92rem; font-weight: 400; }
.nav__links { display: flex; align-items: center; gap: 0.3rem; }
.nav__links a { padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 0.94rem; font-weight: 500; transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__cta { color: var(--brand-ink) !important; border: 1px solid var(--border-strong); }
.nav__cta:hover { border-color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); }
.theme-toggle { background: var(--surface); border: 1px solid var(--border); color: var(--text); width: 40px; height: 40px; border-radius: var(--radius-sm); cursor: pointer; font-size: 1.05rem; display: grid; place-items: center; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease); }
.theme-toggle:hover { border-color: var(--green); background: var(--surface-2); transform: translateY(-1px); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 11vh, 8rem) 0 clamp(3.5rem, 9vh, 6rem); border-bottom: 1px solid var(--border); }
.hero__grid { position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); opacity: 0.55; }
.hero__glow { position: absolute; z-index: 0; top: -22%; left: 50%; transform: translateX(-50%); width: 820px; height: 540px;
  background: radial-gradient(circle, var(--green-glow), transparent 62%); filter: blur(34px); opacity: 0.6; }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border); padding: 0.45rem 0.95rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.hero__eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--green); border-radius: 0; flex: none; }
.hero__title { font-size: clamp(2.6rem, 8vw, 5.2rem); font-weight: 700; letter-spacing: -0.03em; margin: 1.3rem 0 0.7rem; }
.grad-text { background: linear-gradient(120deg, var(--green-bright), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { max-width: 680px; margin: 1rem auto 2.2rem; color: var(--text-muted); font-size: clamp(1rem, 2.1vw, 1.18rem); }
.hero__actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 3.4rem auto 0; max-width: 880px; }
.hero__stats > div { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.2rem 0.9rem; text-align: center; }
.hero__stats > div::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 3px; background: var(--green); }
.hero__stats dt { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.55rem); color: var(--brand-ink); letter-spacing: -0.02em; }
.hero__stats dd { margin: 0.3rem 0 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
.hero__scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1; color: var(--text-dim); font-size: 1.4rem; animation: bob 2s infinite; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vh, 8rem) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section__head { max-width: 720px; margin: 0 auto clamp(2.4rem, 5vh, 3.8rem); text-align: center; }
.section__sub { color: var(--text-muted); font-size: 1.05rem; }
/* kicker = HPE green-rectangle element + mono label */
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 1rem; font-weight: 500; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--green); border-radius: 0; flex: none; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1.4rem; max-width: 900px; }
.timeline__item { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; }
.timeline__marker { display: grid; place-items: center; }
.timeline__marker span { width: 54px; height: 54px; border-radius: var(--radius-sm); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--on-green);
  background: var(--green); box-shadow: var(--shadow-green); }
.timeline__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.timeline__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
.timeline__place { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.85rem; margin: -0.2rem 0 0.7rem; }
.chip { font-size: 0.76rem; font-weight: 600; padding: 0.3em 0.72em; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); }
.chip--green { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--brand-ink); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.ticklist { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.ticklist li { position: relative; padding-left: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.ticklist li::before { content: "\2192"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.media-hint { text-align: center; margin-top: 2rem; color: var(--text-muted); }
.media-hint a, .note a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-green); }
.feature:hover::before { transform: scaleX(1); }
.feature__icon { width: 50px; height: 50px; border-radius: var(--radius-sm); display: grid; place-items: center; font-size: 1.5rem; color: var(--brand-ink);
  background: color-mix(in srgb, var(--green) 12%, transparent); border: 1px solid var(--border-strong); margin-bottom: 1.1rem; }
.feature p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

/* ---------- Flow diagram ---------- */
.flow { margin-top: 3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem; text-align: center; }
.flow__title { color: var(--text-muted); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-mono); }
.flow__track { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 1rem; }
.flow__node { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; justify-content: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.9rem 1rem; min-width: 130px; font-size: 0.9rem; font-weight: 500; }
.flow__node--accent { border-color: var(--green); box-shadow: var(--shadow-green); color: var(--brand-ink); }
.flow__ic { font-size: 1.4rem; }
.flow__arrow { align-self: center; width: 26px; height: 2px; background: var(--green); position: relative; }
.flow__arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--green); }
.flow__caption { color: var(--text-dim); font-size: 0.9rem; max-width: 620px; margin: 0.7rem auto 0; }

/* ---------- Networking cards ---------- */
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.net-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.net-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--green); }
.net-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.net-card__head { margin-bottom: 0.8rem; }
.net-card__badge { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); }
.net-card h3 { margin: 0.35rem 0 0; }
.net-card p { color: var(--text-muted); font-size: 0.95rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0; padding: 0; }
.tags li { font-size: 0.78rem; font-family: var(--font-mono); color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 0.22em 0.6em; }
.note { max-width: 760px; margin: 2.6rem auto 0; text-align: center; color: var(--text-muted); display: flex; gap: 0.6rem; align-items: flex-start; justify-content: center; }
.note__ic { color: var(--green); }

/* ---------- About / Experience ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.6rem); align-items: start; }
.about__role { color: var(--brand-ink); font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.04em; margin-top: -0.4rem; }
.about p { color: var(--text-muted); }
.skills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1.5rem 0; }
.skills li { font-size: 0.85rem; font-weight: 500; padding: 0.42em 0.9em; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.about__links { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.exp__title { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-mono); color: var(--text-muted); margin-bottom: 1.3rem; }
.exp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
/* exp item = green left element */
.exp__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.5rem; border-left: 3px solid var(--green); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.exp__item:hover { transform: translateX(2px); border-left-color: var(--green-bright); }
.exp__when { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.35rem; }
.exp__body h4 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.exp__co { color: var(--brand-ink); font-weight: 500; font-family: var(--font-sans); }
.exp__body p { color: var(--text-muted); font-size: 0.94rem; margin: 0 0 0.6rem; }

/* ---------- Media ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.3rem; }
.media-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-card__frame { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); display: grid; place-items: center; }
.media-card__frame iframe, .media-card__frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.media-card__ph { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--text-dim); text-align: center; padding: 1rem; }
.media-card__ph .play { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; background: color-mix(in srgb, var(--green) 16%, transparent); border: 1px solid var(--border-strong); color: var(--brand-ink); }
.media-card__ph .soon { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.media-card__body { padding: 1.1rem 1.3rem 1.3rem; }
.media-card__body h3 { font-size: 1.02rem; margin: 0 0 0.3rem; }
.media-card__body p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.media-card__type { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 0.4rem; }

/* ---------- Contact ---------- */
.contact { display: grid; place-items: center; }
.contact__card { text-align: center; max-width: 640px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(2.2rem, 5vw, 3.4rem); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.contact__card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); }
.contact__card::before { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 380px; height: 300px; background: radial-gradient(circle, var(--green-glow), transparent 65%); filter: blur(34px); opacity: 0.5; }
.contact__card > * { position: relative; }
.contact p { color: var(--text-muted); }
.contact__actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 2.8rem 0; }
.footer__inner { text-align: center; display: grid; gap: 0.5rem; }
.footer__tag { font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; }
.footer__meta { color: var(--text-dim); font-size: 0.9rem; margin: 0; }
.footer__disclaimer { color: var(--text-muted); font-size: 0.8rem; max-width: 660px; margin: 0.7rem auto 0; line-height: 1.6; opacity: 0.9; }

/* ---------- Shared motifs ---------- */
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-glow); animation: pulse 2.4s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--green-glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .feature-grid, .net-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 0.5rem; transform: translateY(-140%); transition: transform 0.35s var(--ease); }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 0.9rem 1rem; }
  .nav__burger { display: flex; }
  .brand__tag, .brand__sep { display: none; }
}
@media (max-width: 560px) {
  .feature-grid, .net-grid, .hero__stats { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; }
  .timeline__marker { justify-content: flex-start; }
  .flow__arrow { transform: rotate(90deg); }
}
