/* ============================================================
   MAHESHWARAN S — Ultra Premium Portfolio
   style.css | Luxury white theme, gold accents, glassmorphism
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f2f3f5;
  --line: rgba(17, 17, 17, .08);
  --ink: #111111;
  --ink-2: #3a3d42;
  --muted: #6b7075;

  --gold-1: #f7e7a8;
  --gold-2: #d4af37;
  --gold-3: #a8801f;
  --gold: #d4af37;
  --gradient-gold: linear-gradient(115deg, #f7e7a8 0%, #d4af37 42%, #b8860b 72%, #f0d78c 100%);

  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --surface: rgba(255, 255, 255, .72);
  --surface-2: rgba(255, 255, 255, .55);
  --border: rgba(17, 17, 17, .07);

  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 12px;

  --shadow-xs: 0 2px 8px rgba(17, 20, 30, .05);
  --shadow-sm: 0 8px 24px -12px rgba(17, 20, 30, .16);
  --shadow-md: 0 20px 50px -28px rgba(17, 20, 30, .26);
  --shadow-lg: 0 40px 90px -46px rgba(17, 20, 30, .36);
  --shadow-gold: 0 20px 50px -24px rgba(212, 175, 55, .5);

  --font-display: "Sora", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-elastic: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 76px;
  --container: 1200px;
}

[data-theme="dark"] {
  --bg: #07090f;
  --bg-alt: #0b0e16;
  --white: #07090f;
  --gray-50: #0b0e16;
  --ink: #f4f5f7;
  --ink-2: #cfd3da;
  --muted: #9aa1ad;
  --surface: rgba(255, 255, 255, .05);
  --surface-2: rgba(255, 255, 255, .035);
  --border: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .1);
  --shadow-md: 0 20px 50px -28px rgba(0, 0, 0, .8);
  --shadow-lg: 0 40px 90px -46px rgba(0, 0, 0, .9);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, .4vw + 14px, 17px);
  line-height: 1.68;
  letter-spacing: -.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.032em;
  margin: 0 0 .6rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 800; }
p { margin: 0 0 1rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
::selection { background: rgba(212, 175, 55, .28); }

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }
section.alt { background: var(--bg-alt); }

.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 999;
  background: var(--ink); color: var(--bg); padding: .7rem 1.1rem; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Ambient layers ---------- */
.aurora { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; filter: blur(60px); }
.aurora span { position: absolute; border-radius: 50%; opacity: .28; mix-blend-mode: multiply; }
[data-theme="dark"] .aurora span { mix-blend-mode: screen; opacity: .35; }
.aurora .a1 { width: 46vw; height: 46vw; left: -10vw; top: -8vw; background: radial-gradient(circle, rgba(212,175,55,.34), transparent 68%); animation: drift 22s ease-in-out infinite; }
.aurora .a2 { width: 40vw; height: 40vw; right: -8vw; top: 12vh; background: radial-gradient(circle, rgba(255,214,120,.3), transparent 68%); animation: drift 28s ease-in-out infinite reverse; }
.aurora .a3 { width: 52vw; height: 52vw; left: 22vw; bottom: -20vw; background: radial-gradient(circle, rgba(180,196,255,.26), transparent 68%); animation: drift 34s ease-in-out infinite; }
.aurora .a4 { width: 30vw; height: 30vw; right: 18vw; bottom: 8vh; background: radial-gradient(circle, rgba(212,175,55,.24), transparent 70%); animation: drift 26s ease-in-out infinite reverse; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(6vw, -4vh, 0) scale(1.12); }
  66% { transform: translate3d(-5vw, 5vh, 0) scale(.94); }
}

.rays { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; opacity: .22; }
.rays i {
  position: absolute; top: -30vh; width: 34vw; height: 150vh;
  background: linear-gradient(180deg, rgba(212,175,55,.12), transparent 70%);
  transform: rotate(14deg); filter: blur(24px);
}
.rays i:nth-child(1) { left: 6vw; animation: sway 18s ease-in-out infinite; }
.rays i:nth-child(2) { left: 44vw; animation: sway 24s ease-in-out infinite reverse; }
.rays i:nth-child(3) { left: 76vw; animation: sway 30s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(14deg) translateX(0); } 50% { transform: rotate(9deg) translateX(3vw); } }

.noise {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .45; }

#spotlight {
  position: fixed; width: 620px; height: 620px; left: 0; top: 0; margin: -310px 0 0 -310px;
  border-radius: 50%; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle, rgba(212,175,55,.13), transparent 62%);
}
body.has-cursor #spotlight { opacity: 1; }

#cursor-glow, #cursor-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9998; opacity: 0; transition: opacity .35s; }
body.has-cursor #cursor-glow, body.has-cursor #cursor-dot { opacity: 1; }
#cursor-glow {
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, .65);
  transition: width .28s var(--ease), height .28s var(--ease), opacity .35s, background .3s;
}
#cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold-2); z-index: 9999; }
body.cursor-active #cursor-glow { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(212, 175, 55, .1); }
@media (hover: none) { #cursor-glow, #cursor-dot, #spotlight { display: none; } }

#scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; background: transparent; }
#scroll-progress i { display: block; height: 100%; width: 0; background: var(--gradient-gold); box-shadow: 0 0 14px rgba(212,175,55,.7); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: var(--bg); transition: opacity .7s var(--ease), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; position: relative; }
.loader-ring { position: relative; width: 116px; height: 116px; margin: 0 auto; }
.loader-ring span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--gold-2); animation: spin 1.1s linear infinite;
}
.loader-ring span:nth-child(2) { inset: 12px; border-top-color: var(--gold-1); animation-duration: 1.6s; animation-direction: reverse; }
.loader-ring span:nth-child(3) { inset: 24px; border-top-color: var(--gold-3); animation-duration: 2.1s; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-mark {
  position: absolute; top: 58px; left: 0; right: 0; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .12em;
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader-bar { width: 180px; height: 3px; margin: 2rem auto .8rem; border-radius: 99px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; border-radius: 99px; background: var(--gradient-gold); animation: load 1.3s var(--ease) infinite; }
@keyframes load { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }
.loader-text { color: var(--muted); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin: 0; }

/* ---------- Glass ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(150deg, rgba(255,255,255,.55), rgba(255,255,255,0) 42%);
  opacity: .8;
}
[data-theme="dark"] .glass::before { background: linear-gradient(150deg, rgba(255,255,255,.09), transparent 44%); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .92rem 1.6rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  cursor: pointer; overflow: hidden; isolation: isolate; will-change: transform;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease-elastic), box-shadow .38s var(--ease), color .3s, border-color .3s;
}
.btn::before { /* liquid fill */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--gradient-gold);
  transform: translateY(102%) scale(1.4); border-radius: 50% 50% 0 0;
  transition: transform .55s var(--ease), border-radius .55s var(--ease);
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); color: #1a1405; border-color: rgba(212,175,55,.5); }
.btn:hover::before { transform: translateY(0) scale(1.4); border-radius: 0; }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(-1px) scale(.97); }
.btn-sm { padding: .62rem 1.15rem; font-size: .86rem; }
.btn-lg { padding: 1.08rem 2.1rem; font-size: 1.02rem; }

.btn-gold {
  background: var(--gradient-gold); background-size: 200% auto;
  color: #1a1405; border-color: rgba(212, 175, 55, .55);
  box-shadow: var(--shadow-gold); animation: shimmer 7s linear infinite;
}
.btn-gold::before { background: linear-gradient(115deg, #fff6d6, #e9c757 55%, #d4af37); }
.btn-gold:hover { color: #1a1405; }
.btn-ghost { background: transparent; box-shadow: none; border-color: rgba(212,175,55,.45); color: var(--gold-3); }
[data-theme="dark"] .btn-ghost { color: var(--gold-1); }

.ripple {
  position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none;
  background: rgba(255, 255, 255, .55); animation: ripple .65s var(--ease) forwards; z-index: 2;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), background .4s var(--ease), border-color .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-bottom-color: var(--line); box-shadow: var(--shadow-xs);
}
.nav.hidden { transform: translateY(-104%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: .65rem; will-change: transform; }
.brand-badge {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px;
  background: var(--gradient-gold); color: #1a1405; font-family: var(--font-display);
  font-weight: 800; font-size: .9rem; letter-spacing: .04em; box-shadow: var(--shadow-gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-display); font-size: .88rem; letter-spacing: .06em; }
.brand-text small { font-size: .66rem; color: var(--muted); letter-spacing: .09em; text-transform: uppercase; }

.nav-links { position: relative; display: none; gap: .15rem; padding: .3rem; border-radius: 999px; }
@media (min-width: 1080px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative; z-index: 1; padding: .5rem .85rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: color .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-pill {
  position: absolute; z-index: 0; top: .3rem; bottom: .3rem; left: 0; width: 0;
  border-radius: 999px; background: rgba(212, 175, 55, .14); border: 1px solid rgba(212,175,55,.28);
  opacity: 0; transition: all .45s var(--ease);
}
.nav-actions { display: flex; align-items: center; gap: .55rem; }
.clock { display: none; font-variant-numeric: tabular-nums; font-size: .78rem; color: var(--muted); letter-spacing: .05em; }
@media (min-width: 900px) { .clock { display: inline; } }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); font-size: 1rem;
  transition: transform .3s var(--ease-elastic), box-shadow .3s;
}
.icon-btn:hover { transform: translateY(-2px) rotate(-8deg); box-shadow: var(--shadow-gold); }
.nav-actions .btn-sm { display: none; }
@media (min-width: 1080px) { .nav-actions .btn-sm { display: inline-flex; } }

.burger {
  width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 899; display: grid; align-content: center;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease); pointer-events: none;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.mm-inner { width: min(100% - 3rem, 520px); margin-inline: auto; display: grid; gap: .2rem; }
.mm-inner a {
  display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 700; letter-spacing: -.03em;
  opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mobile-menu.open .mm-inner a { opacity: 1; transform: none; }
.mm-inner a:nth-child(1) { transition-delay: .08s; } .mm-inner a:nth-child(2) { transition-delay: .13s; }
.mm-inner a:nth-child(3) { transition-delay: .18s; } .mm-inner a:nth-child(4) { transition-delay: .23s; }
.mm-inner a:nth-child(5) { transition-delay: .28s; } .mm-inner a:nth-child(6) { transition-delay: .33s; }
.mm-inner a:nth-child(7) { transition-delay: .38s; } .mm-inner a:nth-child(8) { transition-delay: .43s; }
.mm-inner a i { font-style: normal; font-size: .72rem; color: var(--gold-2); font-family: var(--font-body); letter-spacing: .1em; }
.mm-inner a:hover { color: var(--gold-3); }
.mm-foot { margin-top: 1.6rem; display: grid; gap: .2rem; color: var(--muted); font-size: .85rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(2.4rem, 5vw, 4rem); text-align: center; }
.section-head.sub-head { margin-top: clamp(3rem, 6vw, 5rem); }
.eyebrow {
  display: inline-block; padding: .34rem .9rem; margin-bottom: 1rem; border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .35); background: rgba(212, 175, 55, .08);
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3);
}
[data-theme="dark"] .eyebrow { color: var(--gold-1); }
.section-title { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.section-title.small { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.section-sub { color: var(--muted); max-width: 60ch; margin-inline: auto; }
.block-title { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin: 2.6rem 0 1.2rem; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(4rem, 8vw, 7rem); }
.hero-copy { min-width: 0; }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.12fr .88fr; } }
.hero-status {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 1.4rem;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.55); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.typed-line { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--gold-3); min-height: 1.6em; margin-bottom: .8rem; }
[data-theme="dark"] .typed-line { color: var(--gold-1); }
.caret { display: inline-block; width: 3px; height: 1.05em; margin-left: 3px; vertical-align: -.16em; background: var(--gold-2); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-bio { max-width: 58ch; font-size: 1.03rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 1.8rem; }
.chip {
  padding: .42rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-elastic), box-shadow .3s;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero-marquee { margin-top: 2.4rem; max-width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hero Photo Creative Styling (Reference Design) ---------- */
.hero-photo-section {
  display: flex; align-items: center; justify-content: center; position: relative; gap: 1.2rem;
  margin: 0 auto; width: 100%;
}

.photo-creative-container {
  position: relative; display: grid; place-items: center;
  width: min(360px, 80vw); aspect-ratio: 1; margin: 0 auto;
}

/* Glowing Accent Aura Circle (Red/Gold Ambient Light) */
.hero-aura-circle {
  position: absolute; width: 85%; height: 85%; border-radius: 50%;
  left: 2%; top: 10%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #f43f5e 0%, #e11d48 45%, #9f1239 80%, transparent 100%);
  box-shadow: 0 0 70px rgba(225, 29, 72, .55);
  animation: auraPulse 6s ease-in-out infinite alternate;
}
@keyframes auraPulse {
  0% { transform: scale(0.96); opacity: .85; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* Dashed Orbit Rings & Geometric Accents */
.hero-orbit-ring {
  position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .3);
  pointer-events: none; z-index: 2;
}
.hero-orbit-ring.o-inner {
  inset: 2%; animation: spin 32s linear infinite;
}
.hero-orbit-ring.o-outer {
  inset: -8%; border-style: dotted; border-color: rgba(225, 29, 72, .5); animation: spin 48s linear infinite reverse;
}

.orbit-node {
  position: absolute; display: block; font-size: .65rem; color: #fff;
}
.node-dot-top { top: 8%; right: 14%; width: 10px; height: 10px; border-radius: 50%; background: #e11d48; box-shadow: 0 0 10px #e11d48; }
.node-tri-right { bottom: 22%; right: -3%; transform: rotate(45deg); color: rgba(255,255,255,.9); font-size: .75rem; }
.node-dot-bottom { bottom: 12%; left: 4%; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; }
.node-tri-left { top: 16%; left: 6%; transform: rotate(-30deg); color: rgba(255,255,255,.9); font-size: .75rem; }

/* Main Portrait Holder */
.hero-portrait-frame {
  position: relative; z-index: 3; width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden; border-radius: 50%;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .7));
}
.hero-portrait-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease);
}
.photo-creative-container:hover .hero-portrait-frame img {
  transform: scale(1.05);
}

/* Floating Status Badge */
.photo-badge {
  position: absolute; bottom: -14px; z-index: 5;
  padding: .5rem 1.2rem; border-radius: 999px; white-space: nowrap;
  background: var(--gradient-gold); color: #1a1405; font-weight: 800; font-size: .82rem;
  letter-spacing: .02em; box-shadow: var(--shadow-gold);
}

/* Floating Tech Chips */
.float-chip {
  position: absolute; z-index: 5; padding: .42rem .9rem; border-radius: 999px; font-size: .76rem; font-weight: 800;
  background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink);
}
.fc1 { top: 6%; left: -8%; animation: float 6s ease-in-out infinite; }
.fc2 { bottom: 18%; right: -8%; animation: float 7.5s ease-in-out infinite reverse; }
.fc3 { top: 44%; left: -12%; animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translate3d(0, -12px, 0); } }

/* Right Side Vertical Social Links Sidebar */
.hero-social-sidebar {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  z-index: 5; padding-left: clamp(.4rem, 1.5vw, 1.2rem); flex-shrink: 0;
}
.sidebar-label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .7rem; font-weight: 800; letter-spacing: .24em; color: #e11d48;
  text-transform: uppercase; white-space: nowrap; font-family: var(--font-display);
}
.sidebar-line {
  width: 2px; height: 38px; background: linear-gradient(180deg, #e11d48, transparent);
  border-radius: 2px;
}
.sidebar-icons {
  display: flex; flex-direction: column; gap: .85rem; align-items: center;
}
.sidebar-icons a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  color: var(--ink-2); transition: transform .3s var(--ease-elastic), color .3s, background .3s;
}
.sidebar-icons a:hover {
  color: #e11d48; transform: scale(1.22);
}

.scroll-cue {
  display: none; margin: clamp(2rem, 5vw, 3.5rem) auto 0; width: max-content;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-align: center;
}
@media (min-width: 980px) { .scroll-cue { display: block; } }
.scroll-cue span {
  display: block; width: 22px; height: 36px; margin: 0 auto .6rem; border-radius: 999px; border: 1.5px solid var(--line); position: relative;
}
.scroll-cue span::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 3px; background: var(--gold-2); animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 50% { transform: translateY(12px); opacity: .2; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 1.4rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.5fr 1fr; } }
.about-card { padding: clamp(1.6rem, 3vw, 2.4rem); }
.mini-grid { display: grid; gap: .9rem; margin-top: 1.4rem; }
@media (min-width: 620px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
.mini {
  padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini b { display: block; font-family: var(--font-display); font-size: .95rem; margin-bottom: .2rem; }
.mini span { font-size: .88rem; color: var(--muted); }
.portrait-card { text-align: center; padding: clamp(1.4rem, 3vw, 2rem); }
.portrait-card img { border-radius: 20px; aspect-ratio: 1; object-fit: cover; object-position: top center; margin-bottom: 1.1rem; }
.portrait-card h3 { margin-bottom: .1rem; }
.socials { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.1rem; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px;
  background: var(--surface-2); border: 1px solid var(--border); font-weight: 800; font-size: .82rem; color: var(--ink-2);
  transition: transform .35s var(--ease-elastic), box-shadow .35s, background .3s, color .3s;
}
.socials a:hover { transform: translateY(-4px) scale(1.06); background: var(--gradient-gold); color: #1a1405; box-shadow: var(--shadow-gold); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin-top: 1.4rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .stats { grid-template-columns: repeat(6, 1fr); } }
.stat { padding: 1.2rem .8rem; text-align: center; transition: transform .4s var(--ease), box-shadow .4s; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat b {
  display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800;
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 1rem; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold-2), transparent); border-radius: 2px; }
.tl-item { padding: 1.3rem 1.5rem; }
.tl-item::after {
  content: ""; position: absolute; left: -1.6rem; top: 1.7rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gradient-gold); box-shadow: 0 0 0 4px color-mix(in oklab, var(--bg) 80%, transparent), var(--shadow-gold);
}
.timeline > .tl-item { transition: transform .4s var(--ease), box-shadow .4s; }
.timeline > .tl-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.tl-when { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); margin-bottom: .35rem; }
[data-theme="dark"] .tl-when { color: var(--gold-1); }
.tl-item h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.tl-item p { margin: 0; font-size: .92rem; color: var(--muted); }
.timeline.compact .tl-item { padding: 1rem 1.25rem; }

/* ---------- Skills (Simple & Clean) ---------- */
.skills-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}
.simple-skill-card {
  padding: 1.1rem 1.2rem; border-radius: 16px; display: flex; align-items: center; gap: 1rem;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.simple-skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, .4);
  box-shadow: var(--shadow-md);
}
.simple-skill-icon {
  width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center;
}
.tech-logo-img {
  width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.simple-skill-info {
  flex-grow: 1; display: flex; flex-direction: column; gap: .35rem;
}
.simple-skill-head {
  display: flex; justify-content: space-between; align-items: center;
}
.simple-skill-head h4 {
  font-size: .95rem; margin: 0; font-weight: 700; color: var(--ink);
}
.simple-skill-pct {
  font-size: .82rem; font-weight: 800; color: var(--gold-2); font-family: var(--font-display);
}
.simple-bar-bg {
  height: 6px; width: 100%; border-radius: 99px; background: var(--line); overflow: hidden;
}
.simple-bar-fill {
  height: 100%; border-radius: 99px; background: var(--gradient-gold);
  transition: width 1s var(--ease);
}

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter {
  padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .85rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink-2);
  transition: transform .3s var(--ease-elastic), box-shadow .3s, color .3s, background .3s;
}
.filter:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.filter.active { background: var(--gradient-gold); color: #1a1405; border-color: rgba(212,175,55,.55); box-shadow: var(--shadow-gold); }

.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.project { display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .45s var(--ease), box-shadow .45s, opacity .4s; }
.project.hide { display: none; }
.project .thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--gray-100); }
.project .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.project:hover .thumb img { transform: scale(1.08); }
.project .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17,17,17,.42));
  opacity: 0; transition: opacity .45s;
}
.project:hover .thumb::after { opacity: 1; }
.project .cat {
  position: absolute; top: .8rem; left: .8rem; z-index: 2; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px); color: #1a1405;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.skeleton { position: absolute; inset: 0; background: linear-gradient(100deg, var(--gray-100) 30%, rgba(212,175,55,.12) 50%, var(--gray-100) 70%); background-size: 220% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -120% 0; } }
.project-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.project-body h3 { font-size: 1.18rem; margin: 0; }
.project-body p { margin: 0; font-size: .92rem; color: var(--muted); }
.stack { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.stack span { padding: .25rem .65rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .74rem; font-weight: 700; color: var(--ink-2); }
.project-actions { display: flex; gap: .6rem; margin-top: auto; padding-top: .8rem; flex-wrap: wrap; }

/* ---------- SKYROVIX ---------- */
.company { padding: clamp(1.8rem, 4vw, 3.4rem); text-align: center; }
.company-head { display: grid; gap: 1.6rem; align-items: center; text-align: left; }
@media (min-width: 860px) { .company-head { grid-template-columns: 260px 1fr; } }
.logo-orbit { position: relative; display: grid; place-items: center; padding: 1.2rem; }
.company-logo { width: min(180px, 50vw); border-radius: 26px; box-shadow: var(--shadow-lg); animation: float 8s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(212,175,55,.4); }
.orbit.o1 { inset: 4%; animation: spin 30s linear infinite; }
.orbit.o2 { inset: -6%; border-style: solid; border-color: rgba(212,175,55,.16); animation: spin 46s linear infinite reverse; }
.company h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .04em; }
.founder-line { font-weight: 800; color: var(--gold-3); }
[data-theme="dark"] .founder-line { color: var(--gold-1); }
.company-story { max-width: 62ch; }
.mv { display: grid; gap: 1rem; margin-top: 2.2rem; text-align: left; }
@media (min-width: 800px) { .mv { grid-template-columns: repeat(3, 1fr); } }
.mv-card { padding: 1.4rem 1.5rem; transition: transform .4s var(--ease), box-shadow .4s; }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card h3 { font-size: 1.05rem; }
.mv-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.company .timeline { text-align: left; }
.company-stats { margin-top: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .company-stats { grid-template-columns: repeat(4, 1fr); } }

.services { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); text-align: left; }
.service { padding: 1.5rem; transition: transform .4s var(--ease), box-shadow .4s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service .ico { font-size: 1.7rem; margin-bottom: .6rem; display: inline-block; animation: float 7s ease-in-out infinite; }
.service h3 { font-size: 1.02rem; }
.service p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Internship ---------- */
.intern-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.intern { padding: 1.5rem; transition: transform .4s var(--ease), box-shadow .4s; }
.intern:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.intern .ico { font-size: 1.6rem; display: inline-block; animation: float 6.5s ease-in-out infinite; }
.intern h3 { font-size: 1.02rem; margin: .5rem 0 .3rem; }
.intern p { font-size: .89rem; color: var(--muted); margin: 0 0 .8rem; }
.intern ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.intern li { font-size: .82rem; color: var(--ink-2); display: flex; gap: .45rem; }
.intern li::before { content: "✓"; color: var(--gold-2); font-weight: 800; }
.intern-cta {
  margin-top: 1.4rem; padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-wrap: wrap; gap: 1.2rem;
  align-items: center; justify-content: space-between;
}
.intern-cta h3 { font-size: 1.15rem; }
.intern-cta p { margin: 0; font-size: .92rem; color: var(--muted); max-width: 62ch; }

/* ---------- Certificates ---------- */
.cert-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cert { margin: 0; cursor: pointer; transition: transform .4s var(--ease), box-shadow .4s; }
.cert:hover { transform: translateY(-6px) scale(1.012); box-shadow: var(--shadow-lg); }
.cert img { aspect-ratio: 4 / 3; object-fit: cover; }
.cert figcaption { padding: 1rem 1.2rem; font-weight: 700; font-size: .95rem; display: grid; gap: .1rem; }
.cert figcaption small { font-weight: 500; font-size: .78rem; color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; padding: 1.2rem;
  background: color-mix(in oklab, var(--ink) 60%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(920px, 100%); transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.open figure { transform: scale(1); }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--bg); }
.lb-bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; }
.lb-actions { display: flex; gap: .5rem; }

/* ---------- Testimonials ---------- */
.slider { overflow: hidden; border-radius: var(--radius); }
.slides { display: flex; transition: transform .8s var(--ease); }
.slide {
  flex: 0 0 100%; margin: 0; padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-md);
}
@media (min-width: 900px) { .slide { flex: 0 0 50%; margin-right: 1.2rem; } }
.slide .stars { color: var(--gold-2); letter-spacing: .18em; font-size: .95rem; margin-bottom: .6rem; }
.slide p { font-size: 1.02rem; color: var(--ink-2); }
.slide footer { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient-gold); color: #1a1405; font-weight: 800; box-shadow: var(--shadow-gold);
}
.slide footer b { display: block; font-family: var(--font-display); font-size: .95rem; }
.slide footer small { color: var(--muted); font-size: .8rem; }
.dots { display: flex; gap: .45rem; justify-content: center; margin-top: 1.5rem; }
.dots button {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 99px; cursor: pointer;
  background: var(--line); transition: width .4s var(--ease), background .4s;
}
.dots button.active { width: 30px; background: var(--gradient-gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.4rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }
.form { padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 1.1rem; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.35rem 1.1rem .6rem; border-radius: var(--radius-sm); font: inherit; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--border); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label {
  position: absolute; left: 1.1rem; top: 1rem; font-size: .95rem; color: var(--muted); pointer-events: none;
  transition: transform .28s var(--ease), font-size .28s var(--ease), color .28s;
  transform-origin: left top;
}
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-.68rem) scale(.78); color: var(--gold-3);
}
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(212,175,55,.6); box-shadow: 0 0 0 4px rgba(212,175,55,.14); }
.field .err { display: block; min-height: 1rem; margin-top: .25rem; font-size: .78rem; color: #d64545; }
.field.invalid input, .field.invalid textarea { border-color: rgba(214, 69, 69, .6); }
.field.valid input, .field.valid textarea { border-color: rgba(34, 197, 94, .55); }
.form-status { margin: 0; font-size: .88rem; font-weight: 700; }
.form-note { margin: 0; font-size: .78rem; color: var(--muted); }
.form-success { display: none; align-items: center; gap: .7rem; font-weight: 700; color: #16a34a; font-size: .9rem; }
.form-success.show { display: flex; }
.form-success svg { width: 30px; height: 30px; flex: none; }
.form-success circle, .form-success path { fill: none; stroke: #16a34a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease) forwards; }
.form-success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s var(--ease) .45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.contact-side { display: grid; gap: 1.2rem; align-content: start; }
.info-card { padding: clamp(1.4rem, 3vw, 2rem); }
.info-row { display: flex; gap: .9rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: none; }
.info-row .ico {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: rgba(212, 175, 55, .12); border: 1px solid rgba(212, 175, 55, .3);
}
.info-row b { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.info-row a, .info-row span { font-size: .95rem; color: var(--ink); word-break: break-word; }
.info-row a:hover { color: var(--gold-3); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; filter: saturate(.9) contrast(1.02); }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 5.5rem 0 2rem; background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer .wave { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; transform: rotate(180deg); }
.footer .wave path { fill: var(--bg); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-grid p { font-size: .9rem; color: var(--muted); max-width: 42ch; }
.footer-grid .socials { justify-content: flex-start; }
.footer h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a, .footer-links span { font-size: .92rem; color: var(--ink-2); width: max-content; position: relative; }
.footer-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--gradient-gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.news { display: flex; gap: .5rem; margin-top: .6rem; }
.news input {
  flex: 1; min-width: 0; padding: .7rem .95rem; border-radius: 999px; font: inherit; font-size: .88rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink);
}
.news input:focus { outline: none; border-color: rgba(212,175,55,.6); box-shadow: 0 0 0 4px rgba(212,175,55,.14); }
.news-status { margin: .5rem 0 0; font-size: .8rem; font-weight: 700; color: #16a34a; min-height: 1rem; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .82rem; color: var(--muted);
}

/* ---------- Floating actions ---------- */
#float-contact {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 880; padding: .8rem 1.25rem; border-radius: 999px;
  background: var(--gradient-gold); color: #1a1405; font-weight: 800; font-size: .88rem;
  box-shadow: var(--shadow-gold); animation: float 5s ease-in-out infinite;
  transition: transform .35s var(--ease-elastic), box-shadow .35s;
}
#float-contact:hover { transform: translateY(-4px) scale(1.04); }
#to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 880; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; font-size: 1.1rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .3s;
}
#to-top.show { opacity: 1; pointer-events: auto; transform: none; }
#to-top:hover { box-shadow: var(--shadow-gold); transform: translateY(-3px); }

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

/* Professional refinement: quieter ambience, tighter typographic rhythm */
.info-row b{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;opacity:.6;display:block;margin-bottom:.2rem}
.chip{letter-spacing:.02em}
.hero-actions .btn{letter-spacing:.02em}
#float-contact{letter-spacing:.06em;text-transform:uppercase;font-size:.72rem}

/* ============================================================
   DIZME-INSPIRED DARK EDITION — charcoal + coral accent
   ============================================================ */
:root, [data-theme="dark"] {
  --white: #232323;
  --gray-50: #1b2430;
  --gray-100: #2b2b2b;
  --ink: #f4f5f7;
  --ink-2: #c8ccd3;
  --muted: #9099a5;
  --line: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.09);
  --surface: rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.03);
  --bg: #232323;
  --bg-alt: #1b2430;

  --gold-1: #ff8a5c;
  --gold-2: #ff5335;
  --gold-3: #d63a1f;
  --gold: #ff5335;
  --gradient-gold: linear-gradient(115deg, #ff8a5c 0%, #ff5335 48%, #e8412a 78%, #ffa177 100%);
  --accent-green: #2ecc8f;
  --accent-amber: #ffc247;

  --shadow-xs: 0 2px 10px rgba(0,0,0,.35);
  --shadow-sm: 0 10px 28px -14px rgba(0,0,0,.6);
  --shadow-md: 0 24px 56px -30px rgba(0,0,0,.75);
  --shadow-lg: 0 44px 96px -48px rgba(0,0,0,.85);
  --shadow-gold: 0 22px 52px -26px rgba(255,83,53,.45);
}
[data-theme="light"] {
  --white: #ffffff; --gray-50: #f8f9fa; --gray-100: #f2f3f5;
  --ink: #111111; --ink-2: #3a3d42; --muted: #6b7075;
  --line: rgba(17,17,17,.08); --border: rgba(17,17,17,.07);
  --surface: rgba(255,255,255,.72); --surface-2: rgba(255,255,255,.55);
  --bg: #ffffff; --bg-alt: #f8f9fa;
  --shadow-xs: 0 2px 8px rgba(17,20,30,.05);
  --shadow-sm: 0 8px 24px -12px rgba(17,20,30,.16);
  --shadow-md: 0 20px 50px -28px rgba(17,20,30,.26);
  --shadow-lg: 0 40px 90px -46px rgba(17,20,30,.36);
}

::selection { background: rgba(255,83,53,.3); }
.aurora span { mix-blend-mode: screen; opacity: .3; }
.aurora .a1 { background: radial-gradient(circle, rgba(255,83,53,.4), transparent 68%); }
.aurora .a2 { background: radial-gradient(circle, rgba(46,204,143,.24), transparent 68%); }
.aurora .a3 { background: radial-gradient(circle, rgba(120,140,255,.26), transparent 68%); }
.aurora .a4 { background: radial-gradient(circle, rgba(255,194,71,.24), transparent 70%); }
.hero { background: linear-gradient(180deg, #1b2430 0%, #202b38 60%, #232323 100%); }
[data-theme="light"] .hero { background: none; }

/* Small caps eyebrow, coral kicker like the reference */
.hero-status { border-color: rgba(255,83,53,.4); }
.hero-copy h1 { letter-spacing: -.035em; }
.eyebrow { color: var(--gold-2); }

/* Feature trio */
.feature-row { display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); text-align: center; }
.feature { padding: 1.2rem .6rem; }
.feature .ficon {
  width: 84px; height: 84px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--surface); border: 1px solid var(--border);
  position: relative; transition: transform .5s var(--ease), box-shadow .5s;
}
.feature .ficon::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--gold-2); border-right-color: var(--gold-2);
  transition: transform .8s var(--ease);
}
.feature:nth-child(2) .ficon::after { border-top-color: var(--accent-green); border-right-color: var(--accent-green); }
.feature:nth-child(3) .ficon::after { border-top-color: var(--accent-amber); border-right-color: var(--accent-amber); }
.feature:hover .ficon { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature:hover .ficon::after { transform: rotate(180deg); }
.feature h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .93rem; max-width: 34ch; margin-inline: auto; }

/* Stat badges over portrait (reference style) */
.portrait-card { position: relative; }
.pc-badge {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  padding: .7rem .95rem; border-radius: var(--radius-xs);
  background: var(--gray-100); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  font-size: .74rem; line-height: 1.2; color: var(--ink-2); backdrop-filter: blur(10px);
}
.pc-badge b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.pc-badge.pb1 { left: -14px; top: 18%; }
.pc-badge.pb2 { right: -14px; bottom: 24%; }
.pc-badge.pb2 b { color: var(--gold-2); }
@media (max-width: 720px) { .pc-badge.pb1 { left: 6px; } .pc-badge.pb2 { right: 6px; } }
