/* ==========================================================
   custom.css — dark "aurora" portfolio layer on top of Orbitor
   Palette: night #0b0c14 · surfaces #141625/#1d2036 · coral #ff6b4a → peach #ffb347
            mint #4de3c1 · violet #8c7bff · text #e9ebf5
   Type: Sora (headings) + Inter (body)
   ========================================================== */
:root {
  --bg: #0b0c14; --s1: #141625; --s2: #1d2036; --s3: #272b46;
  --line: rgba(255,255,255,.08);
  --text: #e9ebf5; --muted: #9aa0b8;
  --coral: #ff6b4a; --peach: #ffb347; --mint: #4de3c1; --violet: #8c7bff; --pink: #ff5fa2;
  --grad: linear-gradient(120deg, #ff6b4a, #ffb347);
  --grad-2: linear-gradient(120deg, #4de3c1, #8c7bff);
  --r: 22px;
}
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--muted); font-size: 16.5px; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--text); font-weight: 700; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; text-wrap: balance; }
p { line-height: 1.75; }
a { color: var(--peach); transition: color .2s ease; }
a:hover { color: var(--mint); }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--mint) !important; outline-offset: 3px; }
.text-white-50 { color: rgba(255,255,255,.6) !important; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-2 { background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.bg-alt { background: var(--s1); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--mint); border-radius: 2px; }
.heading p { max-width: 640px; }
.container { padding: 0 20px; }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; font-size: 15.5px; text-transform: none; letter-spacing: 0; padding: 14px 30px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; display: inline-flex; align-items: center; gap: 10px; }
.btn-main, .btn-main:focus { background: var(--grad); color: #1a0f0a; border: 0; box-shadow: 0 10px 30px rgba(255,107,74,.3); }
.btn-main:hover { color: #1a0f0a; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,107,74,.45); background: var(--grad); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--text); transform: translateY(-3px); }
.btn-small { padding: 9px 20px; font-size: 14.5px; }
.btn i { transition: transform .2s ease; }
.btn:hover i { transform: translateX(4px); }

/* ---------- navigation ---------- */
.navigation { position: fixed; top: 0; left: 0; right: 0; z-index: 999; transition: background .3s ease, padding .3s ease, box-shadow .3s ease; background: transparent; }
.navigation.scrolled { background: rgba(11,12,20,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-top: .6rem !important; padding-bottom: .6rem !important; }
.navigation .navbar { background: transparent; min-height: auto; }
.logo-text { font-family: "Sora", sans-serif; font-weight: 800; font-size: 22px; color: var(--text) !important; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -0.03em; }
.logo-text img { width: 36px; height: 36px; max-height: none !important; }
.logo-text span { color: var(--coral); }
.navbar-item, .navbar-link { color: var(--text) !important; background: transparent !important; }
.navigation .navbar-start .navbar-link { font-size: 15.5px; font-weight: 500; padding: 8px 14px; position: relative; }
.navigation .navbar-link:not(.is-arrowless)::after { display: none; }
.navigation .navbar-start .navbar-link::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.navigation .navbar-start .navbar-link:hover::before, .navigation .navbar-item.active .navbar-link::before { transform: scaleX(1); }
.navigation .navbar-item.active .navbar-link { color: #fff !important; }
.navbar-burger { color: var(--text); width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.06); }
.navbar-burger span { height: 2px; }
@media (max-width: 1023px) {
  .navigation .navbar-menu { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; margin-top: 10px; padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
  .navigation .navbar-menu.is-active { animation: drop .25s ease; }
  .navigation .navbar-start .navbar-link { display: block; padding: 12px 14px; }
  .navigation .navbar-end { padding: 8px 14px 4px; }
  .navigation .navbar-brand { justify-content: space-between; width: 100%; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aurora .a1 { width: 520px; height: 520px; background: var(--coral); top: -140px; right: -100px; }
.aurora .a2 { width: 460px; height: 460px; background: var(--violet); bottom: -160px; left: -120px; animation-delay: -6s; }
.aurora .a3 { width: 340px; height: 340px; background: var(--mint); top: 40%; left: 45%; opacity: .25; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,-40px) scale(1.15); } 100% { transform: translate(-40px,50px) scale(.95); } }
.grid-overlay { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero h1 { font-size: clamp(40px, 6.4vw, 82px); line-height: 1.02; margin: 10px 0 22px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); max-width: 540px; color: #b7bcd2; margin-bottom: 34px; }
.typed { white-space: nowrap; }
.typed::after { content: ""; display: inline-block; width: 4px; height: .82em; margin-left: 6px; background: var(--peach); vertical-align: -0.04em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 999px; color: var(--text); font-size: 14.5px; }
.status-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(77,227,193,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(77,227,193,0); } 100% { box-shadow: 0 0 0 0 rgba(77,227,193,0); } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-social { display: flex; gap: 10px; margin-top: 34px; }
.hero-social a, .footer-socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.hero-social a:hover, .footer-socials a:hover { background: var(--grad); color: #1a0f0a; border-color: transparent; transform: translateY(-3px); }
.tilt-wrap { perspective: 1000px; position: relative; }
.tilt { transform-style: preserve-3d; transition: transform .15s ease-out; will-change: transform; }
.tilt img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.float-badge { position: absolute; background: rgba(20,22,37,.85); backdrop-filter: blur(8px); border: 1px solid var(--line); color: var(--text); border-radius: 16px; padding: 10px 16px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; animation: bob 5s ease-in-out infinite; transform: translateZ(60px); }
.float-badge i { color: var(--mint); font-size: 16px; }
.float-badge.b1 { top: -6%; left: -4%; }
.float-badge.b2 { bottom: 10%; right: -6%; animation-delay: -2.5s; }
.float-badge.b3 { top: 38%; left: -10%; animation-delay: -1.2s; }
@keyframes bob { 50% { translate: 0 -12px; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }
@media (max-width: 1023px) {
  .hero { min-height: auto; padding-top: 120px; }
  .tilt-wrap { max-width: 520px; margin: 40px auto 0; }
  .float-badge.b3 { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 575px) { .float-badge { font-size: 12.5px; padding: 8px 12px; } .float-badge.b1 { left: 0; } .float-badge.b2 { right: 0; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--s1); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: "Sora", sans-serif; font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); color: var(--text); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--coral); font-size: .7em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- glow cards (services/about-item) ---------- */
.glow-card { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px; height: 100%; overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
.glow-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(255,138,92,.16), transparent 45%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.glow-card:hover { transform: translateY(-6px); border-color: rgba(255,107,74,.35); }
.glow-card:hover::before { opacity: 1; }
.glow-card .icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: #1a0f0a; background: var(--grad); margin-bottom: 22px; }
.glow-card .icon.alt { background: var(--grad-2); }
.glow-card h4 { margin-bottom: 10px; font-size: 21px; }
.glow-card p { margin-bottom: 0; font-size: 15.5px; }
.glow-card .more { display: inline-flex; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 15px; }
.columns.equal > .column { display: flex; } .columns.equal > .column > * { width: 100%; }

/* ---------- process / skills ---------- */
.step-num { font-family: "Sora", sans-serif; font-weight: 800; font-size: 46px; line-height: 1; margin-bottom: 14px; }
.skill { margin-bottom: 22px; }
.skill .top { display: flex; justify-content: space-between; color: var(--text); font-weight: 600; margin-bottom: 8px; }
.skill .bar { height: 10px; background: var(--s2); border-radius: 10px; overflow: hidden; }
.skill .bar span { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--grad); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.skill:nth-child(even) .bar span { background: var(--grad-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(36px, 6vw, 70px); background: var(--grad); }
.cta-band h2, .cta-band p { color: #1a0f0a; }
.cta-band p { opacity: .8; max-width: 560px; }
.cta-band .btn-dark { background: #0b0c14; color: #fff; border: 0; }
.cta-band .btn-dark:hover { color: #fff; transform: translateY(-3px); }
.cta-band .ring { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.22); animation: spin 20s linear infinite; }
.cta-band .ring.two { right: auto; left: 40%; top: auto; bottom: -140px; width: 220px; height: 220px; border-width: 30px; border-color: rgba(11,12,20,.12); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- projects ---------- */
.portflio-item { border-radius: var(--r); overflow: hidden; background: var(--s1); border: 1px solid var(--line); }
.portflio-item img { display: block; transition: transform .6s ease; }
.portflio-item:hover img { transform: scale(1.06); }
.portflio-item .overlay-item { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11,12,20,.55); opacity: 0; transition: opacity .3s ease; font-size: 26px; color: #fff; }
.portflio-item:hover .overlay-item { opacity: 1; }
.portfolio-item-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 20px; background: linear-gradient(transparent, rgba(11,12,20,.92)); }
.portfolio-item-content h3 { font-size: 21px; }
.portfolio-gallery .slick-slide { padding: 0 12px; }
.slick-dots li button::before { color: var(--text) !important; }
.slider-nav { display: flex; gap: 10px; justify-content: flex-end; }
.slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--s1); color: var(--text); cursor: pointer; transition: .2s ease; }
.slider-nav button:hover { background: var(--grad); color: #1a0f0a; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-bar button { border: 1px solid var(--line); background: var(--s1); color: var(--text); padding: 10px 22px; border-radius: 999px; font: 500 15px "Inter", sans-serif; min-height: 44px; cursor: pointer; transition: .2s ease; }
.filter-bar button:hover { border-color: rgba(255,107,74,.5); }
.filter-bar button.active { background: var(--grad); color: #1a0f0a; border-color: transparent; }
.project-card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .3s ease, border-color .3s ease, opacity .35s ease; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(77,227,193,.4); }
.project-card .thumb { overflow: hidden; } .project-card .thumb img { display: block; width: 100%; transition: transform .6s ease; }
.project-card:hover .thumb img { transform: scale(1.06); }
.project-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-card h4 { font-size: 21px; margin-bottom: 8px; }
.project-card p { font-size: 15.5px; flex: 1; margin-bottom: 14px; }
.project-col.is-hidden-by-filter { display: none !important; }
.project-col.fade-in { animation: popin .4s ease; }
@keyframes popin { from { opacity: 0; transform: scale(.96); } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag-chip { background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text); font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--peach); font: 600 15px "Inter", sans-serif; text-align: left; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.link-btn:hover { color: var(--mint); }

/* modal */
.pmodal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,6,12,.75); backdrop-filter: blur(6px); }
.pmodal.open { display: flex; animation: fade .25s ease; }
.pmodal .box { background: var(--s1); border: 1px solid var(--line); border-radius: 26px; max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; animation: rise .35s ease; }
.pmodal .box img { width: 100%; display: block; }
.pmodal .inner { padding: 26px 30px 32px; }
.pmodal .x { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--s2); color: var(--text); font-size: 16px; cursor: pointer; z-index: 2; }
.pmodal ul { padding-left: 20px; list-style: disc; margin-bottom: 18px; }
.pmodal li { margin-bottom: 6px; }
@keyframes fade { from { opacity: 0; } } @keyframes rise { from { transform: translateY(24px) scale(.97); opacity: 0; } }

/* ---------- counters ---------- */
.counter-item { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 18px; text-align: center; height: 100%; }
.counter-item h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 4px !important; }
.counter-item p { margin: 0; color: var(--muted); }

/* ---------- page title ---------- */
.page-title { position: relative; overflow: hidden; padding: clamp(150px, 18vw, 210px) 0 clamp(70px, 9vw, 110px); isolation: isolate; border-bottom: 1px solid var(--line); }
.page-title .block h1 { font-size: clamp(40px, 6vw, 72px); margin: 8px 0 14px; }
.page-title .block p { color: #b7bcd2; max-width: 620px; margin: 0 auto; font-size: 18px; }
.breadcumb-nav { margin-top: 30px !important; padding-top: 0 !important; border: 0 !important; display: inline-flex; gap: 10px; padding: 8px 18px !important; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line) !important; font-size: 14.5px; }
.breadcumb-nav a, .breadcumb-nav span { color: var(--muted) !important; }
.breadcumb-nav a:hover { color: var(--text) !important; }
.breadcumb-nav .current { color: var(--text) !important; }

/* ---------- about ---------- */
.avatar-frame { position: relative; border-radius: 30px; padding: 3px; background: var(--grad); }
.avatar-frame img { display: block; border-radius: 28px; width: 100%; }
.avatar-frame::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px dashed rgba(77,227,193,.5); border-radius: 30px; z-index: -1; }
.value { display: flex; gap: 16px; margin-bottom: 18px; color: var(--text); }
.value i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(77,227,193,.12); color: var(--mint); }
.case-timeline { position: relative; padding-left: 40px; max-width: 820px; margin: 0 auto; }
.case-timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--coral), var(--violet)); }
.t-item { position: relative; margin-bottom: 26px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; }
.t-item::before { content: ""; position: absolute; left: -36px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--peach); }
.t-item .when { color: var(--mint); font-weight: 600; font-size: 14px; }
.t-item h4 { margin: 6px 0; } .t-item p { margin: 0; }

/* ---------- services & pricing ---------- */
.price-card { background: var(--s1); border: 1px solid var(--line); border-radius: 26px; padding: 34px 30px; height: 100%; display: flex; flex-direction: column; position: relative; transition: transform .3s ease; }
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { border: 1px solid transparent; background: linear-gradient(var(--s1), var(--s1)) padding-box, var(--grad) border-box; }
.price-card .badge { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #1a0f0a; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price-card .price { font-family: "Sora", sans-serif; font-weight: 800; font-size: 44px; color: var(--text); margin: 10px 0 4px; }
.price-card .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-card ul { margin: 18px 0 26px; flex: 1; }
.price-card li { padding: 7px 0; border-bottom: 1px dashed var(--line); color: #c7cbe0; }
.price-card li i { color: var(--mint); margin-right: 10px; }
.price-card .btn { justify-content: center; }
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); background: var(--s1); border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font: 600 17px "Inter", sans-serif; padding: 20px 56px 20px 22px; cursor: pointer; position: relative; min-height: 44px; }
.faq-q::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 24px; color: var(--peach); transition: transform .25s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; margin: 0; }
.note { font-size: 14px; color: var(--muted); }

/* ---------- case study ---------- */
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 0 0 40px; }
.case-meta div { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.case-meta b { display: block; color: var(--text); font-weight: 600; }
.case-meta span { font-size: 14px; }
@media (max-width: 768px) { .case-meta { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.portfolio-single-slider { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 40px; }
.portfolio-single-slider img { display: block; width: 100%; }
.portfolio-single-slider .slick-dots { bottom: 14px; }
.portfolio-single-slider .slick-dots li button::before { font-size: 11px; }

/* ---------- journal ---------- */
.blog-item { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 28px; transition: border-color .3s ease, transform .3s ease; }
.blog-item:hover { border-color: rgba(255,107,74,.35); transform: translateY(-4px); }
.blog-thumb img { display: block; width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.blog-item-content { padding: 26px 28px 30px; }
.blog-item-meta { font-size: 14px; display: flex; flex-wrap: wrap; gap: 14px; }
.blog-item-meta .cat { color: var(--mint); font-weight: 600; }
.blog-item h3 a { color: var(--text); } .blog-item h3 a:hover { color: var(--peach); }
.soon { display: inline-block; background: rgba(255,179,71,.12); color: var(--peach); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.sidebar-widget { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; margin-bottom: 24px; }
.sidebar-widget h5 { margin-bottom: 16px; font-size: 18px; }
.search-box { position: relative; }
.search-box input { width: 100%; background: var(--s2); border: 1px solid var(--line); color: var(--text); border-radius: 14px; height: 50px; padding: 0 16px 0 44px; font-size: 16px; }
.search-box i { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); }
.cat-list button { display: flex; justify-content: space-between; width: 100%; background: none; border: 0; color: #c7cbe0; padding: 10px 0; border-bottom: 1px dashed var(--line); font: 500 15.5px "Inter", sans-serif; cursor: pointer; min-height: 44px; align-items: center; }
.cat-list button:hover, .cat-list button.active { color: var(--peach); }
.no-results { display: none; text-align: center; padding: 40px; border: 1px dashed var(--line); border-radius: var(--r); }
.article { max-width: 780px; margin: 0 auto; }
.article p, .article li { font-size: 18px; line-height: 1.8; color: #c2c6da; }
.article h2 { font-size: clamp(26px, 3vw, 34px); margin: 46px 0 16px; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 24px; }
.article ul { list-style: disc; } .article ol { list-style: decimal; }
.article blockquote { background: var(--s1); border-left: 4px solid var(--coral); border-radius: 0 18px 18px 0; padding: 22px 26px; font-size: 20px; color: var(--text); margin: 30px 0; font-family: "Sora", sans-serif; font-weight: 600; line-height: 1.45; }
.article code { background: var(--s2); color: var(--peach); padding: 2px 8px; border-radius: 7px; font-size: .9em; }
.article .cover { border-radius: 26px; width: 100%; margin-bottom: 40px; border: 1px solid var(--line); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 1200; }
.author-box { display: flex; gap: 20px; align-items: center; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-top: 50px; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.author-box p { margin: 0; font-size: 15.5px !important; }

/* ---------- contact ---------- */
.contact-card { background: var(--s1); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 46px); }
.contact-card label { display: block; color: var(--text); font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.contact-card .input, .contact-card select, .contact-card textarea { width: 100%; background: var(--s2); border: 1px solid var(--line); color: var(--text); border-radius: 14px; height: 52px; padding: 0 16px; font: 16px "Inter", sans-serif; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-card textarea { height: 150px; padding: 14px 16px; resize: vertical; }
.contact-card .input:focus, .contact-card select:focus, .contact-card textarea:focus { border-color: var(--peach); box-shadow: 0 0 0 4px rgba(255,179,71,.15); outline: 0; }
.contact-card .is-bad { border-color: var(--coral) !important; }
.contact-card ::placeholder { color: #6c7290; }
.field-msg { color: #ff8f78; font-size: 13.5px; min-height: 20px; margin-top: 4px; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: rgba(77,227,193,.1); border: 1px solid rgba(77,227,193,.35); color: var(--text); }
.form-status.show { display: block; animation: rise .35s ease; }
.char-count { font-size: 13px; text-align: right; color: var(--muted); margin-top: 4px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--s1); border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-bottom: 14px; color: var(--text); transition: border-color .2s ease, transform .2s ease; }
a.info-card:hover { border-color: rgba(255,107,74,.4); transform: translateX(4px); color: var(--text); }
.info-card i { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #1a0f0a; font-size: 18px; }
.info-card i.alt { background: var(--grad-2); }
.info-card b { display: block; } .info-card span { color: var(--muted); font-size: 15px; word-break: break-word; }

/* ---------- footer ---------- */
.footer { background: #07080e; border-top: 1px solid var(--line); padding: 80px 0 0; }
.footer h4 { font-size: 17px; }
.footer .widget p { font-size: 15.5px; }
.footer-menu li { padding: 4px 0; }
.footer-menu a { color: var(--muted); } .footer-menu a:hover { color: var(--peach); }
.footer-socials { display: flex; gap: 10px; }
.footer-btm { border-top: 1px solid var(--line); margin-top: 50px; font-size: 14.5px; }
.footer-btm a { color: var(--text); }

/* back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--grad); color: #1a0f0a; font-size: 18px; box-shadow: 0 12px 30px rgba(255,107,74,.35); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s ease; z-index: 1000; cursor: pointer; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

img { max-width: 100%; height: auto; }
@media (max-width: 768px) { .section { padding: 64px 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- overrides for template section backgrounds --- */
.portfolio::before, .portfolio:before { display: none !important; }
.portfolio, .counter { background: transparent !important; }
.counter .counter-item h2 { color: var(--text); }
.logo-text .wm b { color: var(--coral); font-weight: 800; }
.typed-wrap { white-space: nowrap; }
.typed-wrap .caret { display: inline-block; width: 4px; height: .82em; margin-left: 6px; background: var(--peach); vertical-align: -0.04em; animation: blink 1s steps(1) infinite; }
.typed::after { display: none; }
.typed { white-space: nowrap; }
.logo-text .wm { color: var(--text); }
.float-badge.b2 { bottom: -7%; right: 6%; }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); }

/* ==========================================================
   SMOOTHNESS LAYER — page transitions & softer motion
   ========================================================== */
:root { --ease: cubic-bezier(.22, 1, .36, 1); }

/* 1) Native cross-page transitions (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
.navigation { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out .38s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
::view-transition-group(site-nav) { animation-duration: .4s; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.99); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px) scale(.99); filter: blur(6px); } }

/* 2) Fallback for other browsers: curtain fade handled by scripts/main.js */
.page-curtain { position: fixed; inset: 0; z-index: 2000; pointer-events: none; background: radial-gradient(circle at 50% 40%, #141625, #0b0c14 70%); opacity: 0; transition: opacity .35s var(--ease); }
body.is-leaving .page-curtain { opacity: 1; }
body.no-vt main, body.no-vt > section, body.no-vt > .marquee, body.no-vt > footer { animation: page-in .7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(16px); } }

/* 3) Softer motion everywhere */
a, button, .btn, .glow-card, .project-card, .blog-item, .price-card, .info-card, .counter-item, .t-item, .tag-chip, .filter-bar button, .hero-social a, .footer-socials a { transition-timing-function: var(--ease) !important; transition-duration: .45s !important; }
.reveal { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease) !important; transform: translateY(40px); }
.skill .bar span { transition: width 1.8s var(--ease) !important; }
.tilt { transition: transform .6s var(--ease) !important; }
img { transition: opacity .6s var(--ease); }
img.loading-fade { opacity: 0; }
.navigation { transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease) !important; }
.navigation .navbar-start .navbar-link::before { transition: transform .45s var(--ease) !important; }
.faq-a { transition: max-height .55s var(--ease) !important; }
.faq-a p { opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease) .05s, transform .4s var(--ease) .05s; }
.faq-item.open .faq-a p { opacity: 1; transform: none; }

/* modal opens and closes smoothly */
.pmodal { display: flex !important; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s linear .4s; animation: none !important; }
.pmodal.open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease), visibility 0s; }
.pmodal .box { transform: translateY(30px) scale(.96); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease); animation: none !important; }
.pmodal.open .box { transform: none; opacity: 1; }

/* filter fades out before hiding */
.project-col { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.project-col.is-fading { opacity: 0; transform: scale(.96); }
.project-col.fade-in { animation: popin .55s var(--ease); }

/* mobile menu slides smoothly */
@media (max-width: 1023px) {
  .navigation .navbar-menu { display: block; max-height: 0; overflow: hidden; opacity: 0; padding-top: 0; padding-bottom: 0; border-width: 0; transition: max-height .5s var(--ease), opacity .35s var(--ease), padding .5s var(--ease); }
  .navigation .navbar-menu.is-active { max-height: 520px; opacity: 1; padding-top: 12px; padding-bottom: 12px; border-width: 1px; animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .page-curtain { display: none; }
}
.navbar-burger:hover, .navbar-burger.is-active { background: rgba(255,255,255,.1) !important; color: var(--text) !important; }
@media (max-width: 1023px) { .navigation .navbar-start .navbar-link::before { left: 42%; right: 42%; } }
