/* Alliana Donita C. Agno — pink/magenta portfolio
   Inspired by the reference hero (white + faint pink glow, hot magenta type).
   Theme tokens switch via html[data-theme="light"|"dark"]. */

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #fff6f8;
  --ink: #1f1622;
  --muted: #6b6168;
  --line: #efe4ea;
  --pink: #d41c5f;
  --pink-hot: #e0246a;
  --pink-soft: #ffe4ee;
  --pink-pill: #ffd6e5;
  --green: #0f9f6e;
  --green-soft: #d8f5e8;
  --lilac: #8b6cc9;
  --lilac-soft: #efe6fb;
  --mint-soft: #d8f3ea;
  --violet-soft: #ece4fb;
  --card: #ffffff;
  --board: #f6f2f5;
  --dot-grid: #ddd6de;
  --chip-bg: #faf7f8;
  --header-bg: rgba(255, 255, 255, 0.86);
  --wash-1: rgba(212, 28, 95, 0.16);
  --wash-2: rgba(232, 120, 170, 0.10);
  --shadow: 0 16px 40px -20px rgba(31, 22, 34, 0.28), 0 2px 8px rgba(31, 22, 34, 0.06);
  --focus: #d41c5f;
  --toggle-track: #ffe4ee;
  --toggle-thumb: #fff;
  --on-accent: #ffffff;
  --on-accent-dark: #1f1622;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #120f14;
  --bg-alt: #1a1519;
  --ink: #f7f2f4;
  --muted: #c2b4ba;
  --line: #3a3036;
  --pink: #ff4d88;
  --pink-hot: #ff4d88;
  --pink-soft: #3a1e2a;
  --pink-pill: #3a1e2a;
  --green: #3dce96;
  --green-soft: #163528;
  --lilac: #c4a6f0;
  --lilac-soft: #2c2438;
  --mint-soft: #163528;
  --violet-soft: #2c2438;
  --card: #1c171b;
  --board: #1a161c;
  --dot-grid: #3a343c;
  --chip-bg: #161217;
  --header-bg: rgba(18, 15, 20, 0.86);
  --wash-1: rgba(255, 77, 136, 0.16);
  --wash-2: rgba(196, 166, 240, 0.08);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
  --focus: #ff4d88;
  --toggle-track: #d41c5f;
  --toggle-thumb: #120f14;
  --on-accent: #120f14;
  --on-accent-dark: #120f14;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
button, a { font: inherit; }
h1, h2, h3, h4 { font-family: inherit; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--pink); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--pink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 100;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.page-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48rem 36rem at 100% -8%, var(--wash-1), transparent 70%),
    radial-gradient(36rem 28rem at 70% 20%, var(--wash-2), transparent 70%),
    var(--bg);
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #fff;
  border: 1.5px solid var(--line);
}
[data-theme="dark"] .brand-mark {
  border-color: color-mix(in srgb, var(--pink) 45%, var(--line));
}
.brand-name { font-weight: 700; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover { color: var(--pink); }
.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--pink); color: #fff !important; }

.theme-toggle {
  flex: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  margin-left: 0.25rem;
}
.toggle-switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 3.55rem;
  height: 1.9rem;
  padding: 0 0.38rem;
  border-radius: 999px;
  background: var(--toggle-track);
  border: 1px solid var(--line);
  color: var(--ink);
}
.icon-sun, .icon-moon { position: relative; z-index: 1; }
.icon-moon { opacity: 0.45; }
.icon-sun { opacity: 1; color: var(--pink); }
[data-theme="dark"] .icon-sun { opacity: 0.45; color: inherit; }
[data-theme="dark"] .icon-moon { opacity: 1; color: #ffd0e0; }
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--toggle-thumb);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease;
}
[data-theme="dark"] .toggle-thumb { transform: translateX(1.62rem); }

.menu-btn {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem 1.25rem 1rem;
  border-top: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  padding: 0.65rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(212, 28, 95, 0.7);
}
.btn-primary:hover { background: var(--pink-hot); color: #fff; }
[data-theme="dark"] .btn-primary { color: var(--on-accent); box-shadow: 0 10px 22px -10px rgba(255, 77, 136, 0.45); }
[data-theme="dark"] .btn-primary:hover { color: var(--on-accent); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  padding: 3.25rem 0 4.5rem;
  min-height: calc(100svh - 4.25rem);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-block;
  margin: 0 0 1.15rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: var(--pink-pill);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.45rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
}
.h-dark { display: block; color: var(--ink); }
.h-pink { display: block; color: var(--pink); margin-top: 0.08em; }

.pitch {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 1.4rem 0 1.7rem;
  font-weight: 500;
}

/* Hero composite */
.hero-stage {
  position: relative;
  min-height: 36.5rem;
  padding: 1.2rem 0 1.2rem 0.25rem;
}

.workflow-board {
  width: 84%;
  margin-left: auto;
  margin-top: 2.1rem;
  background:
    radial-gradient(var(--dot-grid) 1.15px, transparent 1.2px) 0 0 / 14px 14px,
    var(--board);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.15rem 1.15rem 2.6rem;
  box-shadow: var(--shadow);
  min-height: 29.5rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.workflow-board:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(31, 22, 34, 0.32), var(--shadow);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-left: 0.15rem;
}
.board-head h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.published {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}
.pub-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}

.wf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}
.wf-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card);
  border-radius: 1.05rem;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 6px 16px -10px rgba(31, 22, 34, 0.2);
  cursor: default;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.wf-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px -12px rgba(31, 22, 34, 0.3);
}
.wf-step.is-trigger::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 4px;
  border-radius: 0 5px 5px 0;
  background: var(--pink-hot);
}
.wf-icon {
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
}
.icon-pink { background: var(--pink-soft); color: var(--pink); }
.icon-lilac { background: var(--lilac-soft); color: var(--lilac); }
.icon-mint { background: var(--mint-soft); color: var(--green); }
.icon-violet { background: var(--violet-soft); color: var(--lilac); }
.wf-copy { display: flex; flex-direction: column; gap: 0.05rem; }
.wf-kind {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.wf-title { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.02em; }

.wf-wait {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem 0 0.15rem 22%;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px dashed color-mix(in srgb, var(--muted) 45%, var(--line));
  background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
  position: relative;
  z-index: 2;
}

/* Floating cards */
.float-wrap { position: absolute; z-index: 3; }
.float-notify { top: 0.15rem; left: 6%; animation: floaty 5.2s ease-in-out infinite; }
.float-pipeline { bottom: 0; left: -0.15rem; animation: floaty 6.1s ease-in-out infinite 0.5s; }
.float-sms { right: -0.35rem; bottom: -0.15rem; animation: floaty 5.6s ease-in-out infinite 1s; z-index: 4; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.float-wrap:hover { animation-play-state: paused; z-index: 5; }
.float-wrap:hover .float-card {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 40px -16px rgba(31, 22, 34, 0.35);
}

.notify-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem 0.7rem 0.7rem;
  min-width: 16.5rem;
}
.notify-icon {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  color: var(--green);
}
.notify-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.92rem;
  margin: 0;
}
.notify-top strong { font-weight: 800; }
.notify-top span { color: var(--muted); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.notify-sub { margin: 0.1rem 0 0; font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.pipeline-card { padding: 0.9rem 1rem 1rem; min-width: 18.5rem; }
.pipe-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.pipe-head h3 { font-size: 0.95rem; font-weight: 800; }
.pipe-head span { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.pipe-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.pipe-cols h4 {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 0.4rem;
}
.pipe-cols h4.booked { color: var(--green); }

.chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--chip-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.4rem 0.22rem 0.22rem;
  margin-bottom: 0.3rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -8px rgba(212, 28, 95, 0.45);
}

.dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.5rem;
  font-weight: 800;
  flex: none;
  color: #fff;
}
.dot.pink { background: #f1789a; }
.dot.violet { background: #8b6cc9; }
.dot.lilac { background: #c9a0e8; color: #3a2450; }
.dot.mint { background: #7ed0b2; color: #0b4b36; }

.sms-card { padding: 0.85rem 0.9rem 1rem; width: 16.25rem; }
.sms-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.bubble {
  max-width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.4rem;
}
.bubble.out {
  background: var(--pink-hot);
  color: #fff;
  border-bottom-right-radius: 0.35rem;
  margin-left: 1.1rem;
}
.bubble.in {
  background: #f1eef1;
  color: var(--ink);
  border-bottom-left-radius: 0.35rem;
  margin-right: 1.1rem;
}
[data-theme="dark"] .bubble.in { background: #2a2429; color: var(--ink); }

/* About / skills / work / cta */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 0.7rem;
}

.about {
  padding: 5rem 0;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.about-portrait { text-align: center; }
.avatar {
  width: 14.5rem;
  margin: 0 auto 1rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 4px var(--pink-soft);
}
.avatar img {
  width: 100%;
  height: auto;
  display: block;
}
[data-theme="dark"] .avatar {
  border-color: color-mix(in srgb, var(--pink) 40%, var(--line));
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7), 0 0 0 3px color-mix(in srgb, var(--pink) 30%, transparent);
}
.locale { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  margin-bottom: 1.15rem;
  max-width: 18ch;
}
blockquote {
  margin: 1.5rem 0 0;
  padding: 1rem 0 0 1.15rem;
  border-left: 3px solid var(--pink);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.skills { padding: 5rem 0 4.5rem; }
.section-intro { max-width: 40rem; margin-bottom: 1.75rem; }
.section-intro h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); margin-bottom: 0.75rem; }
.section-intro p { color: var(--muted); }
.skill-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}
.skill-chips li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.work {
  padding: 5rem 0 5.5rem;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.filter-btn:hover { border-color: var(--pink); }
.filter-btn.is-active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
[data-theme="dark"] .filter-btn.is-active { color: var(--on-accent); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 0.85rem 0.85rem 1.15rem;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.project-card:hover { transform: translateY(-4px); }
.project-card[hidden] { display: none; }
.thumb {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--pink-soft);
  aspect-ratio: 16 / 10;
}
.thumb svg { width: 100%; height: 100%; object-fit: cover; }
.thumb span {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--muted);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 0.3rem;
}
.project-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; padding-inline: 0.2rem; }
.project-card p:not(.card-tag) { color: var(--muted); font-size: 0.95rem; padding-inline: 0.2rem; font-weight: 500; }

.cta { padding: 5.5rem 0; }
.cta-inner { max-width: 40rem; text-align: center; margin-inline: auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 1rem; }
.cta-inner > p { color: var(--muted); margin-bottom: 1.5rem; }
.cta-inner .hero-actions { justify-content: center; }
.cta-note { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.placeholder-hint {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: end;
}
.footer-name { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0 0 0.2rem; letter-spacing: -0.02em; }

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .float-wrap { animation: none !important; }
  .wf-step, .float-card, .project-card, .btn, .toggle-thumb, .workflow-board, .chip {
    transition: none !important;
  }
}

@media (max-width: 1040px) {
  .hero-grid { gap: 1.5rem; }
  h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
  .hero-stage { transform: scale(0.92); transform-origin: center right; }
}

@media (max-width: 920px) {
  .hero-grid,
  .about-grid,
  .project-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .hero { padding-top: 2.5rem; }
  .hero-stage {
    transform: none;
    min-height: 0;
    height: 36rem;
    padding: 0;
    margin-top: 0.5rem;
  }
  .workflow-board { width: 92%; }
  .about-grid { gap: 2rem; justify-items: center; }
  .about-copy h2 { max-width: none; }
}

@media (max-width: 640px) {
  .container { width: min(1180px, calc(100% - 1.5rem)); }
  .project-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; align-items: start; }
  .hero-stage {
    height: 34rem;
    transform: scale(0.86);
    transform-origin: top left;
    width: 116%;
  }
  .pipeline-card { min-width: 16.5rem; }
}

@media (min-width: 921px) {
  .mobile-nav { display: none !important; }
}
