/* ==========================================================================
   Narasimha Reddy M C — portfolio
   Warm ivory canvas, indigo (from the navy suit) + saffron + teal accents.
   ========================================================================== */
:root {
  --canvas: #f6f3ec;
  --canvas-2: #efeadf;
  --surface: #ffffff;
  --surface-2: #fbf9f4;
  --line: #e5dfd2;
  --line-2: #d9d2c2;
  --ink: #18203f;
  --text: #3c4461;
  --muted: #6a718d;
  --primary: #3446d4;
  --primary-2: #5a6af0;
  --primary-ink: #2433b2;
  --primary-soft: #e6e9ff;
  --accent: #e07a3f;
  --accent-soft: #fcebdd;
  --teal: #0f9d8f;
  --teal-soft: #dcf3ef;
  --ok: #19a463;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(24, 32, 63, .06), 0 4px 14px rgba(24, 32, 63, .05);
  --shadow: 0 2px 4px rgba(24, 32, 63, .04), 0 18px 44px -12px rgba(24, 32, 63, .16);
  --shadow-lg: 0 30px 70px -20px rgba(36, 51, 178, .35);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary-2); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--primary); color: #fff; }

.i { 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: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* progress bar */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--surface); --fg: var(--ink); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.45em; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15.5px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); --fg: #fff; --bd: transparent; background: var(--bg); box-shadow: 0 10px 24px -8px rgba(52, 70, 212, .55); }
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(52, 70, 212, .65); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-ink); }
.btn-ghost .i { transition: transform .35s var(--ease); }
.btn-ghost:hover .i { transform: translateX(3px); }
.btn-sm { padding: .62em 1.1em; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(246, 243, 236, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(24, 32, 63, .4); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; letter-spacing: .02em; background: linear-gradient(140deg, var(--primary) 0%, var(--primary-2) 60%, var(--accent) 130%); box-shadow: 0 8px 18px -8px rgba(52, 70, 212, .7); }
.brand-text { font-size: 16px; white-space: nowrap; }
.brand-text b { color: var(--primary); }
.nav-links { margin-left: auto; display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(52, 70, 212, .07); }
.nav-links a.active { color: var(--primary-ink); background: var(--primary-soft); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { position: absolute; inset: var(--nav-h) 0 auto; margin: 0 var(--gutter); padding: 10px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 2px; animation: drop .35s var(--ease); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 13px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--ink); }
.mobile-menu a:hover, .mobile-menu a:focus-visible { background: var(--primary-soft); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(24px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + clamp(24px, 5vw, 56px)); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; right: -120px; top: -80px; background: radial-gradient(circle at 30% 30%, #b7c0ff, transparent 65%); }
.b2 { width: 420px; height: 420px; left: -140px; top: 260px; background: radial-gradient(circle at 50% 50%, #ffd2b4, transparent 65%); animation-duration: 22s; }
.b3 { width: 340px; height: 340px; right: 28%; bottom: -120px; background: radial-gradient(circle at 50% 50%, #bfece4, transparent 65%); animation-duration: 26s; }
@keyframes float { to { transform: translate3d(40px, -30px, 0) scale(1.08); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(24, 32, 63, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 32, 63, .055) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 700; color: var(--ink); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.eyebrow { margin: 0 0 10px; font-size: 13.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hero-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 7.4vw, 92px); line-height: .98; letter-spacing: -.035em; margin: 0 0 18px; }
.hero-title span { display: block; }
.hero-title em { font-style: italic; font-weight: 500; color: var(--primary); }
.hero-role { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em; margin: 0 0 18px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: var(--ink); }
.hero-role .sep { color: var(--line-2); font-weight: 400; }
.rotator { position: relative; display: inline-block; color: var(--primary); min-width: 12ch; }
.rotator-word { display: inline-block; background: linear-gradient(90deg, var(--primary), #7a5af0 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .35s, transform .45s var(--ease), filter .35s; }
.rotator-word.out { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
.rotator-word.in { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.hero-lead { max-width: 58ch; font-size: clamp(16.5px, 1.4vw, 18px); color: var(--text); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .i { color: var(--primary); }

/* portrait */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.portrait-wrap { position: relative; width: min(420px, calc(100% - 72px)); aspect-ratio: 4 / 5; }
.portrait { position: relative; margin: 0; width: 100%; height: 100%; border-radius: 999px 999px 28px 28px; overflow: hidden; background: #8d8d90; box-shadow: var(--shadow-lg); z-index: 1; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.portrait-wrap:hover .portrait img { transform: scale(1.05); }
.arch-outline { position: absolute; inset: 0; border-radius: 999px 999px 28px 28px; border: 1.5px solid var(--accent); transform: translate(18px, 18px); z-index: 0; }
.arch-glow { position: absolute; inset: 8% -8% -6% -8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(90, 106, 240, .35), transparent); filter: blur(30px); z-index: -1; }
.seal { position: absolute; z-index: 2; width: 112px; height: 112px; right: -66px; top: -56px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; }
.seal-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal-text text { font: 800 9.6px var(--font-body); letter-spacing: 2.35px; fill: var(--ink); }
.seal-core { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.seal-core .i { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait-caption { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-left: 18px; }
.portrait-caption b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.portrait-caption small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.cap-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.cap-icon .i { width: 22px; height: 22px; }

/* stats */
.stats { margin: clamp(40px, 6vw, 68px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { position: relative; padding: 24px 26px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat dt { font-size: 14px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px); font-weight: 600; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.stat:nth-child(1) dd { color: var(--primary); }
.stat:nth-child(2) dd { color: var(--teal); }
.stat:nth-child(3) dd { color: var(--accent); }

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; padding: 18px 0; background: linear-gradient(90deg, var(--primary), #4e5ee8 50%, var(--primary-2)); color: #fff; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 500; white-space: nowrap; }
.marquee li::after { content: "✦"; font-size: .7em; color: #ffd2b4; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-tint { background: var(--canvas-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker-light { color: #ffd2b4; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.025em; line-height: 1.08; margin: 0 0 18px; text-wrap: balance; }
.section-title em { font-style: italic; font-weight: 500; color: var(--primary); }
.section-title.light { color: #fff; }
.section-sub { font-size: 17.5px; color: var(--muted); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.c-indigo { background: var(--primary-soft); color: var(--primary); }
.c-teal { background: var(--teal-soft); color: var(--teal); }
.c-saffron { background: var(--accent-soft); color: var(--accent); }

/* ---------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-photo { position: relative; }
.about-photo figure { margin: 0; border-radius: 30px; overflow: hidden; background: #8d8d90; box-shadow: var(--shadow); aspect-ratio: 760 / 1033; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-contact { margin-top: 16px; display: grid; gap: 8px; }
.about-contact li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; min-width: 0; }
.about-contact .i { color: var(--primary); }
.about-contact a { text-decoration: none; color: var(--ink); min-width: 0; overflow-wrap: normal; word-break: normal; }
.about-contact a:hover { color: var(--primary); }
.about-copy > p { font-size: 17.5px; }
.about-copy strong { color: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.pillar { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar h3 { font-size: 18px; margin: 14px 0 6px; }
.pillar p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.pillar-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.pillar-icon .i { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- experience */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: clamp(40px, 6vw, 64px); counter-reset: s; }
.pipeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.pipeline::after { content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--teal), var(--accent)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .2s; }
.pipeline.in::after { transform: scaleX(1); }
.pipeline li { position: relative; text-align: center; padding: 0 6px; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * .14s + .2s); }
.pipeline.in li { opacity: 1; transform: none; }
.step-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--primary); transition: transform .4s var(--ease), background .3s, color .3s; }
.pipeline li:hover .step-icon { transform: translateY(-4px) rotate(-4deg); background: var(--primary); color: #fff; }
.step-icon .i { width: 26px; height: 26px; }
.step-no { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.pipeline h3 { font-size: 18px; margin: 2px 0 6px; }
.pipeline p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

.timeline { display: grid; gap: 22px; }
.job { display: grid; grid-template-columns: 214px minmax(0, 1fr); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.job:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.job-side { padding: 28px 24px; background: linear-gradient(160deg, var(--surface-2), var(--canvas)); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.job-dates { font-weight: 800; color: var(--ink); font-size: 15px; line-height: 1.35; white-space: nowrap; }
.job-duration { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: #b85a22; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.job-main { padding: 28px clamp(20px, 3vw, 34px); }
.job-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.job-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; flex: none; }
.job-logo .i { width: 24px; height: 24px; }
.job h3 { font-size: 22px; font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.job-org { margin: 4px 0 0; font-weight: 700; color: var(--primary-ink); font-size: 15px; }
.job-org span { color: var(--muted); font-weight: 600; }
.ticks { display: grid; gap: 10px; margin-bottom: 18px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233446d4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks b { color: var(--ink); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text); }
.tags-soft li { background: var(--primary-soft); border-color: transparent; color: var(--primary-ink); }

/* ---------------------------------------------------------------- skills */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-card { position: relative; padding: 28px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(90, 106, 240, .1), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover::before { opacity: 1; }
.skill-card header { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.skill-type { margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.skill-card h3 { font-size: 19px; line-height: 1.25; }
.skill-list { display: grid; gap: 4px; }
.skill-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px; margin: 0 -12px; border-radius: 14px; transition: background .25s; }
.skill-list li:hover { background: var(--canvas); }
.skill-list .i { margin-top: 3px; color: var(--primary); width: 20px; height: 20px; }
.skill-card:nth-child(3) .skill-list .i { color: var(--accent); }
.skill-list b { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.35; }
.skill-list small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.skill-rows { display: grid; gap: 18px; }
.row-label { display: block; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 12px; background: var(--teal-soft); color: #0b6f65; font-weight: 800; font-size: 14px; transition: transform .25s var(--ease); }
.chips li:hover { transform: translateY(-2px); }
.chips-sm li { padding: 4px 10px; font-size: 12.5px; border-radius: 8px; background: var(--canvas); color: var(--text); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- project */
.project-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 70px); align-items: center; }
.project-copy > p { font-size: 17.5px; }
.steps { display: grid; gap: 4px; margin: 24px 0; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; transition: background .25s; }
.steps li:hover { background: var(--surface); }
.s-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--primary); flex: none; }
.steps b { color: var(--ink); font-size: 16px; }
.steps p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

.dash { margin: 0; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); transition: transform .8s var(--ease); }
.dash:hover { transform: none; }
.dash-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #f1b2a0; }
.dots i:nth-child(2) { background: #f3d58f; }
.dots i:nth-child(3) { background: #a9dcc0; }
.dash-title { font-weight: 800; color: var(--ink); font-size: 14.5px; }
.dash-badge { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: #b85a22; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.dash-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; padding: 18px; background: linear-gradient(180deg, #f8f8fd, #f3f4fb); }
.kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #e7e8f3; }
.kpi span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.kpi b { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); color: var(--ink); line-height: 1.2; margin: 2px 0; }
.kpi i { font-style: normal; font-size: 12px; font-weight: 800; }
.kpi .up { color: var(--ok); }
.kpi .down { color: #d24b3e; }
.panel { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #e7e8f3; }
.panel h4 { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 12px; font-family: var(--font-body); }
.panel-trend { grid-column: 1 / -1; }
.hbars { display: grid; gap: 9px; }
.hbars li { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.hbars i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); width: var(--w); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.hbars li:nth-child(2) i { transition-delay: .08s; } .hbars li:nth-child(3) i { transition-delay: .16s; } .hbars li:nth-child(4) i { transition-delay: .24s; } .hbars li:nth-child(5) i { transition-delay: .32s; }
.dash.in .hbars i { transform: scaleX(1); }
.vbars { height: 128px; display: flex; align-items: flex-end; gap: 8px; padding-top: 6px; border-bottom: 1px solid #e7e8f3; }
.vbars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal), #5cc8bb); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1s var(--ease); }
.vbars i:nth-child(odd) { background: linear-gradient(180deg, var(--accent), #f0a676); }
.vbars i:nth-child(2) { transition-delay: .07s; } .vbars i:nth-child(3) { transition-delay: .14s; } .vbars i:nth-child(4) { transition-delay: .21s; } .vbars i:nth-child(5) { transition-delay: .28s; } .vbars i:nth-child(6) { transition-delay: .35s; }
.dash.in .vbars i { transform: scaleY(1); }
.trend { width: 100%; height: 110px; display: block; overflow: visible; }
.trend-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.trend-area { opacity: 0; transition: opacity 1s ease 1s; }
.dash.in .trend-line { stroke-dashoffset: 0; }
.dash.in .trend-area { opacity: 1; }
.months { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.dash figcaption { padding: 12px 18px 16px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); line-height: 1.5; }

/* ---------------------------------------------------------------- education */
.edu-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.edu-list { display: grid; gap: 16px; position: relative; }
.edu { position: relative; padding: 24px 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.edu:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.edu h3 { font-size: 19px; line-height: 1.3; padding-right: 92px; }
.edu.featured { padding: 30px; background: linear-gradient(140deg, #ffffff 30%, #eef0ff); border-color: #d4d9ff; }
.edu.featured h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 27px); font-weight: 600; padding-right: 0; }
.edu-badge { position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(135deg, var(--accent), #f0a03f); }
.edu-years { display: block; font-weight: 800; color: var(--accent); font-size: 14px; letter-spacing: .04em; margin-bottom: 6px; }
.edu-spec { margin: 6px 0 4px; font-weight: 700; color: var(--primary-ink); font-size: 17px; }
.edu-school { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.edu-school .i { margin-top: 3px; color: var(--primary); }
.edu.featured .tags { margin-top: 16px; }
.edu-score { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 12px; background: var(--teal-soft); color: #0b6f65; font-size: 13px; font-weight: 700; }
.edu-score b { font-size: 16px; font-weight: 800; }
.certs { display: grid; gap: 16px; }
.certs-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 2px; }
.cert { display: flex; gap: 16px; padding: 22px; align-items: flex-start; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-ribbon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; flex: none; }
.cert-ribbon .i { width: 24px; height: 24px; }
.cert h4 { font-size: 18px; margin-bottom: 4px; }
.cert p { margin: 0 0 12px; color: var(--muted); font-weight: 600; font-size: 14.5px; }

/* ---------------------------------------------------------------- resume */
.resume-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.resume-thumb { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: rotate(-2.2deg); transition: transform .6s var(--ease); max-width: 440px; margin-inline: auto; }
.resume-thumb:hover { transform: rotate(0) translateY(-6px); }
.resume-thumb::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(24, 32, 63, .45)); opacity: 0; transition: opacity .35s; }
.resume-thumb:hover::after, .resume-thumb:focus-visible::after { opacity: 1; }
.resume-open { position: absolute; left: 50%; bottom: 18px; z-index: 1; transform: translate(-50%, 10px); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; opacity: 0; transition: opacity .35s, transform .35s var(--ease); white-space: nowrap; }
.resume-thumb:hover .resume-open, .resume-thumb:focus-visible .resume-open { opacity: 1; transform: translate(-50%, 0); }
.resume-copy > p { font-size: 17.5px; }
.ats-list { display: grid; gap: 10px; margin: 22px 0 28px; }
.ats-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.ats-list .i { flex: none; margin-top: 2px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 3; }

/* ---------------------------------------------------------------- contact */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 10vw, 120px) 0; background: linear-gradient(135deg, #3242cf 0%, #4152e0 45%, #5a5fe6 100%); color: #e8ebff; }
.contact-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.b4 { width: 460px; height: 460px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(255, 210, 180, .55), transparent 65%); }
.b5 { width: 520px; height: 520px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(120, 220, 205, .45), transparent 65%); animation-duration: 24s; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 72px); align-items: center; }
.contact-lead { font-size: 18px; color: #dfe3ff; max-width: 52ch; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); min-width: 0; transition: background .25s; }
.contact-list li:hover { background: rgba(255, 255, 255, .16); }
.c-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--primary); flex: none; }
.c-ico .i { width: 20px; height: 20px; }
.c-text { min-width: 0; display: flex; flex-direction: column; }
.c-text small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c3c9ff; }
.c-text a, .c-text span { color: #fff; font-weight: 700; text-decoration: none; font-size: 16px; overflow-wrap: normal; word-break: normal; }
.c-text a:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-text .email { font-size: clamp(13.5px, 3.6vw, 16px); white-space: nowrap; }
.copy-btn { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; flex: none; transition: background .2s; }
.copy-btn:hover { background: rgba(255, 255, 255, .22); }
.contact-form { padding: clamp(24px, 3.4vw, 36px); color: var(--text); box-shadow: 0 40px 80px -30px rgba(10, 16, 70, .55); border: 0; }
.contact-form h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.form-note { margin: 6px 0 20px; font-size: 14.5px; color: var(--muted); }
.contact-form label { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 700; font-size: 14px; color: var(--ink); }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface-2); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(52, 70, 212, .14); }
.form-error { margin: -4px 0 12px; color: #c0392b; font-weight: 700; font-size: 14px; }

/* ---------------------------------------------------------------- footer */
.footer { padding: 28px 0; background: var(--canvas); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.footer p { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.to-top { display: inline-flex; align-items: center; gap: 6px; padding: 10px 4px; min-height: 44px; font-weight: 800; font-size: 14px; color: var(--primary-ink); text-decoration: none; }
.to-top .i { transform: rotate(-45deg); }

/* ---------------------------------------------------------------- install app */
.nav-install { margin-right: -10px; }
.nav-install[hidden], .menu-install[hidden], .footer-install[hidden] { display: none !important; }
.menu-install { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 13px 16px; border: 0; border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink); font-weight: 800; font-size: 16px; text-align: left; }
.menu-install .i { width: 20px; height: 20px; }
.footer-links { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; justify-content: center; }
.footer-install { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 800; font-size: 14px; }
.footer-install:hover { border-color: var(--primary); color: var(--primary-ink); }
.install-card { position: fixed; z-index: 70; right: 24px; bottom: 24px; width: min(410px, calc(100% - 32px)); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 20px 20px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(36, 51, 178, .45), 0 2px 6px rgba(24, 32, 63, .08); animation: install-in .5s var(--ease); }
.install-card[hidden] { display: none; }
@keyframes install-in { from { opacity: 0; transform: translateY(24px); } }
.install-icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 18px -8px rgba(52, 70, 212, .7); }
.install-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); }
.install-close:hover { background: var(--canvas); color: var(--ink); }
.install-kicker { margin: 0 0 2px; padding-right: 34px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.install-card h2 { margin: 0 0 6px; padding-right: 30px; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.install-text { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.install-ios { display: grid; gap: 8px; margin: 0 0 14px; }
.install-ios[hidden] { display: none; }
.install-ios li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.ios-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); flex: none; }
.ios-ico .i { width: 17px; height: 17px; }
.install-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.install-actions .btn { min-height: 42px; }
.install-card.ios [data-install-confirm] { display: none; }
@media (max-width: 960px) { .nav-install { display: none !important; } }
@media (max-width: 520px) {
  .install-card { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 16px 14px; }
  .install-icon { width: 48px; height: 48px; border-radius: 12px; }
  .install-actions .btn { flex: 1 1 auto; }
}
@media print { .install-card { display: none !important; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%); padding: 12px 18px; border-radius: 999px; background: var(--primary-ink); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-lg); animation: toast .35s var(--ease); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------------------------------------------------------------- reveal */
[data-reveal] { opacity: 0; }
[data-reveal].in { animation: reveal .9s var(--ease) var(--d, 0s) both; }
@keyframes reveal { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
.no-js [data-reveal] { opacity: 1; }
.no-js .pipeline li { opacity: 1; transform: none; }
.no-js .hbars i, .no-js .vbars i { transform: none; }
.no-js .trend-line { stroke-dashoffset: 0; }
.no-js .trend-area { opacity: 1; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; font-size: 14.5px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid .skill-card:nth-child(3) { grid-column: 1 / -1; }
  .skills-grid .skill-card:nth-child(3) .skill-list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; margin-top: 8px; }
  .portrait-wrap { width: min(320px, calc(100% - 72px)); }
  .seal { width: 92px; height: 92px; right: -50px; top: -40px; }
  .seal-text text { font-size: 9.6px; }
  .seal-core { width: 38px; height: 38px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; width: 100%; max-width: 440px; margin-inline: auto; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
  .pillar .pillar-icon { grid-row: span 2; }
  .pillar h3 { margin: 2px 0 4px; }
  .pipeline { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .pipeline::before, .pipeline::after { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .pipeline::before { background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .pipeline::after { background: linear-gradient(180deg, var(--primary), var(--teal), var(--accent)); transform: scaleY(0); transform-origin: 50% 0; }
  .pipeline.in::after { transform: scaleY(1); }
  .pipeline li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; padding: 0 0 22px; }
  .pipeline li:last-child { padding-bottom: 0; }
  .step-icon { grid-row: span 3; margin: 0; }
  .step-no { margin-top: 6px; }
  .project-grid, .edu-grid, .resume-grid, .contact-grid { grid-template-columns: 1fr; }
  .dash { transform: none; }
  .resume-thumb { max-width: 360px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skills-grid .skill-card:nth-child(3) .skill-list { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .job-side { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .job-main { padding: 22px 20px; }
  .job h3 { font-size: 20px; }
  .dash-body { grid-template-columns: 1fr; padding: 12px; gap: 10px; }
  .kpis { gap: 8px; }
  .kpi { padding: 10px; }
  .kpi span { font-size: 11px; }
  .dash-bar { flex-wrap: wrap; gap: 8px 12px; }
  .dash-badge { margin-left: 0; }
  .edu { padding: 20px; }
  .edu h3 { padding-right: 0; }
  .edu-score { position: static; display: inline-block; margin-bottom: 10px; }
  .edu.featured { padding: 22px 20px; }
  .edu-badge { top: 18px; right: 18px; }
  .contact-list li { padding: 12px; gap: 12px; }
  .portrait-caption { display: none; }
  .hero-visual { gap: 0; }
  .job-head { align-items: flex-start; gap: 14px; }
  .job-logo { width: 42px; height: 42px; border-radius: 13px; }
  .job-logo .i { width: 20px; height: 20px; }
  .about-photo { max-width: none; }
  .about-photo figure { max-width: 340px; margin-inline: auto; }
  .about-contact { max-width: 340px; margin-inline: auto; }
  .section-head { margin-bottom: 32px; }
  .c-ico { width: 40px; height: 40px; }
  .copy-btn { width: 36px; height: 36px; }
}
@media (max-width: 520px) {
  .brand-text { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .portrait-wrap { width: min(260px, calc(100% - 64px)); }
  .status { font-size: 13px; padding: 6px 12px 6px 10px; }
  .eyebrow { font-size: 12px; letter-spacing: .12em; }
  .hero-role { font-size: 18px; }
  .copy-btn { display: none; }
  .section { padding: 64px 0; }
  .contact { padding: 64px 0; }
  .marquee { padding: 14px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; }
  .stat dt { font-size: 13px; }
  .portrait-caption { margin-left: 0; }
  .seal { right: -34px; top: -30px; width: 80px; height: 80px; }
  .seal-text text { font-size: 10.5px; letter-spacing: 1.6px; }
  .seal-core { width: 32px; height: 32px; }
  .seal-core .i { width: 17px; height: 17px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 380px) {
  .brand-text { font-size: 14px; }
  .c-text .email { font-size: 13px; }
}
@media (max-width: 330px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
  [data-reveal], [data-reveal].in { opacity: 1 !important; animation: none !important; }
}

@media print {
  .nav, .progress, .marquee, .contact-form, .hero-bg, .seal { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
