/* alirezasoltanifar.com — hand-written, no framework. Dark only. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn-arabic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  /* Persian/Arabic glyphs only, so the file is fetched only by the /fa/ page */
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Manrope", "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Vazirmatn", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --bg: #0a0e13;
  --bg-alt: #0d1319;
  --surface: #121a23;
  --surface-2: #17212c;
  --border: #212d3a;
  --text: #e7edf4;
  --muted: #94a2b3;
  --accent: #04b4e0;            /* the blue of the previous site */
  --accent-strong: #45cdf0;
  --accent-ink: #021820;
  --accent-soft: rgba(4, 180, 224, .13);
  --code-key: #b7a6f5;
  --code-num: #f5b971;
  --danger: #ff8f8f;
  --grid-line: rgba(148, 162, 179, .07);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .65);

  --radius: 14px;
  --header-h: 64px;
  --container: 1120px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg); }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  gap: 2px;
  margin-inline-start: auto;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  transition: color .15s, background-color .15s;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a[aria-current="true"] { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.card-btn { font-family: var(--font-mono); gap: 0; color: var(--accent); }
.card-btn span { white-space: pre; color: var(--text); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface); border-color: var(--muted); }

.nav-toggle { display: none; }
.icon-close, .nav-open .icon-menu { display: none; }
.nav-open .icon-close { display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s, background-color .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { min-height: 38px; padding: 0 14px; border-radius: 10px; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  /* Fill the first screen so the next section does not peek in below it. */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: clamp(40px, 7vw, 88px) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0c141c, var(--bg) 78%);
}
/* Circuit / pipeline traces running in from the far edge, fading out towards the text. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-traces.svg") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 38%, #000 78%);
  pointer-events: none;
}
[dir="rtl"] .hero::before { transform: scaleX(-1); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-id { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.hero-id picture { flex: none; }
.hero-id .eyebrow { margin-top: clamp(8px, 1.2vw, 14px); }

.avatar {
  flex: none;
  width: clamp(84px, 11vw, 132px);
  height: clamp(84px, 11vw, 132px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--accent);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.dot-live { box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(4, 180, 224, .6); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(4, 180, 224, 0); }
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.lead {
  margin-top: clamp(22px, 3vw, 32px);
  max-width: 36em;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.socials { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--muted);
  transition: color .15s, background-color .15s;
}
.socials a:hover { color: var(--accent); background: var(--accent-soft); }
.socials .icon { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.socials-small { margin-top: 0; }

/* Manifest card */

.manifest {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.manifest-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
}
.manifest-dots { display: flex; gap: 6px; }
.manifest-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.manifest-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  color: var(--accent);
  font-weight: 600;
}
.manifest-code {
  padding: 18px 20px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: clamp(.74rem, 1.15vw, .86rem);
  line-height: 1.75;
  color: var(--text);
  tab-size: 2;
}
.manifest-code code { font-family: inherit; }
.manifest-code .k { color: var(--code-key); }
.manifest-code .v { color: var(--accent); font-weight: 600; }
.manifest-code .n { color: var(--code-num); }
.manifest-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
  transition: color .15s;
}
.manifest-link span:first-child { color: var(--accent); }
.manifest-link:hover { color: var(--text); }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-tag {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.028em;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.about-text { font-size: 1.08rem; color: var(--muted); }
.about-text p + p { margin-top: 1.1em; }
.about-text p:first-child { color: var(--text); }

.facts {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.facts > div { padding: 16px 20px; }
.facts > div + div { border-top: 1px solid var(--border); }
.facts dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd { margin-top: 4px; font-weight: 600; overflow-wrap: anywhere; }
.facts a:hover, .contact-info a:hover { color: var(--accent); }

/* Experience pipeline */

.pipeline { position: relative; display: grid; gap: 20px; padding-inline-start: 36px; }
.pipeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 9px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--border) 62%);
}

.stage { position: relative; }
.stage-node {
  position: absolute;
  inset-inline-start: -36px;
  top: 26px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  background: var(--bg-alt);
}
.stage-node::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--muted);
}
.is-current .stage-node { border-color: var(--accent); }
.is-current .stage-node::after { background: var(--accent); animation: pulse 2.2s infinite; }

.stage-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s;
}
.stage-card:hover { border-color: rgba(4, 180, 224, .45); }

.stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 20px;
}
.stage-head h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.stage-org { margin-top: 2px; color: var(--accent); font-weight: 700; }
.stage-time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--muted);
  white-space: nowrap;
}

.badge {
  padding: 3px 9px;
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-live { background: var(--accent-soft); color: var(--accent); }

.stage-summary { margin-top: 14px; color: var(--muted); font-style: italic; }
.stage-card ul { margin-top: 14px; display: grid; gap: 8px; }
.stage-card li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--muted);
  font-size: .96rem;
}
.stage-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .75;
}

.subhead {
  margin: clamp(40px, 6vw, 64px) 0 20px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.edu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.edu > div { flex: 1 1 240px; }
.edu h4 { font-size: 1.05rem; font-weight: 800; }
.edu p { color: var(--muted); }
.edu-icon, .ci-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* Skills */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.skill-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.skill-card h3 {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.skill-card h3::before { content: "# "; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--surface-2);
  font-size: .88rem;
  font-weight: 600;
}

/* Recommendations */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;   /* all cards in a row share one height */
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.quote-mark { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.6; }
.quote blockquote { color: var(--muted); font-size: .97rem; }
.quote blockquote p + p { margin-top: .9em; }
/* main.js marks quotes as clampable; long ones are cut off and get a toggle. */
.quote.is-clampable blockquote { max-height: 16.2em; overflow: hidden; }
.quote.is-long blockquote {
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}
.quote.is-open blockquote { max-height: none; -webkit-mask-image: none; mask-image: none; }
.quote-more {
  align-self: flex-start;
  margin-top: -6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.quote-more:hover { color: var(--accent-strong); }
.quote figcaption {
  margin-top: auto;       /* author sits at the bottom of every card */
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: grid; line-height: 1.35; }
.quote figcaption small { color: var(--muted); font-size: .85rem; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-info ul { display: grid; gap: 16px; margin-top: 28px; }
.contact-info li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-info li > span:last-child { display: grid; line-height: 1.4; overflow-wrap: anywhere; }
.contact-info small {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .is-invalid { border-color: var(--danger); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.captcha:empty { display: none; }
.captcha { max-width: 100%; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-status { font-size: .92rem; font-weight: 600; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: var(--danger); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: .88rem;
}

/* ---------- 404 ---------- */

.notfound {
  justify-content: center;
  text-align: center;
}
.notfound code {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--danger);
}
.notfound .lead { margin-inline: auto; }
.notfound .hero-cta { justify-content: center; }

/* ---------- Persian (/fa/) ---------- */

/* Letter-spacing breaks the joining of Persian letters, and there is no true italic. */
:lang(fa) { letter-spacing: 0 !important; }
:lang(fa) .stage-summary { font-style: normal; }
[dir="rtl"] body { line-height: 1.9; }
[dir="rtl"] h1 { line-height: 1.25; }
[dir="rtl"] h2 { line-height: 1.4; }
[dir="rtl"] .section-tag, [dir="rtl"] .eyebrow, [dir="rtl"] .stage-time, [dir="rtl"] .facts dt, [dir="rtl"] .contact-info small, [dir="rtl"] .skill-card h3 {
  font-family: var(--font-sans);
  font-size: .9rem;
  text-transform: none;
}
[dir="rtl"] .contact-info li > span:last-child { justify-items: start; }
[dir="rtl"] .lang-btn { font-family: var(--font-sans); }

/* ---------- Scroll reveal (only when JS is running) ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero::before { opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }

  .nav-toggle { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 12px 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 12px; font-size: 1rem; }
}

@media (max-width: 560px) {
  .brand-name, .card-btn span { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .pipeline { padding-inline-start: 28px; }
  .pipeline::before { inset-inline-start: 7px; }
  .stage-node { inset-inline-start: -28px; width: 16px; height: 16px; }
  .stage-node::after { inset: 3px; }
  .skills-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
}

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

@media print {
  :root {
    --bg: #fff; --bg-alt: #fff; --surface: #fff; --surface-2: #fff;
    --text: #000; --muted: #333; --accent: #036a85; --border: #ccc;
  }
  .site-header, .hero-cta, .socials, .manifest, .contact-form, .site-footer, .skip-link { display: none !important; }
  .hero::before { display: none; }
  .hero { min-height: 0; background: none; }
  .hero, .section { padding: 18px 0; }
  .contact-grid, .about-grid, .hero-grid { grid-template-columns: 1fr; }
  .js .reveal { opacity: 1; transform: none; }
  .stage-card, .quote, .skill-card { break-inside: avoid; }
  .quote.is-clampable blockquote { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .quote-more { display: none; }
}
