/* ─── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange:      #FF6200;
  --orange-mid:  #FF8C00;
  --orange-pale: #FFB347;
  --bg:          #FAF8F5;
  --bg-2:        #F2EDE6;
  --bg-card:     #FFFFFF;
  --text:        #1A1108;
  --muted:       #6B6258;
  --border:      rgba(0,0,0,0.08);
  --font:        'Plus Jakarta Sans', sans-serif;
}

html { background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: hidden; }
body { overflow-x: hidden; }

/* ─── Grain overlay ─────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  opacity: 0.012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}

/* ─── Loader ─────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}

.loader-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; opacity: 0; }

.loader-bar { width: 180px; height: 1px; background: rgba(255,255,255,0.08); border-radius: 1px; overflow: hidden; }
.loader-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--orange-pale)); border-radius: 1px; }

/* ─── Nav ────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 28px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s ease, background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  padding: 18px 56px;
  background: rgba(250,248,245,0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-color: var(--border);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; }
.nav-logo-name { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .25s; letter-spacing: .01em;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-pill {
  background: var(--orange); color: #fff !important;
  padding: 9px 22px; border-radius: 100px; font-weight: 600 !important;
  transition: background .25s, transform .2s, box-shadow .25s !important;
}
.nav-links .nav-pill:hover {
  background: var(--orange-mid) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255,98,0,.25) !important;
}

/* ─── Hero ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 48px 100px;
  position: relative; overflow: hidden;
}

/* Grid lines */
#hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.orb-a {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255,98,0,.22), transparent 70%);
  top: -180px; right: -80px;
  animation: flt1 9s ease-in-out infinite;
}
.orb-b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,140,0,.16), transparent 70%);
  bottom: -120px; left: -80px;
  animation: flt2 11s ease-in-out infinite;
}
.orb-c {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,179,71,.14), transparent 70%);
  top: 42%; left: 38%;
  animation: flt3 7s ease-in-out infinite;
}

@keyframes flt1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,50px) scale(1.1); } }
@keyframes flt2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-40px) scale(.9); } }
@keyframes flt3 { 0%,100% { transform: translate(0,0); opacity:.6; } 50% { transform: translate(-24px,24px); opacity:1; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,98,0,.08); border: 1px solid rgba(255,98,0,.2);
  color: var(--orange); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 36px;
  opacity: 0;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--orange); border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }

.hero-title {
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 800; line-height: 1; letter-spacing: -.045em;
  margin-bottom: 30px; max-width: 960px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; }
.hero-title .grad {
  background: linear-gradient(130deg, var(--orange) 0%, var(--orange-mid) 45%, var(--orange-pale) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px); color: var(--muted);
  max-width: 520px; line-height: 1.75; margin-bottom: 52px; opacity: 0;
}

.hero-btns { display: flex; align-items: center; gap: 14px; opacity: 0; }

.btn-orange {
  background: var(--orange); color: #fff;
  padding: 15px 34px; border-radius: 100px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s, transform .2s, box-shadow .25s;
  letter-spacing: -.01em;
}
.btn-orange:hover { background: var(--orange-mid); transform: translateY(-2px); box-shadow: 0 20px 48px rgba(255,98,0,.28); }

.btn-ghost {
  color: var(--text); padding: 15px 34px; border-radius: 100px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.03); }

.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0;
}
.scroll-hint-txt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-hint-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; opacity:1; }
  50% { transform: scaleY(1); transform-origin: top; opacity:1; }
  51% { transform: scaleY(1); transform-origin: bottom; opacity:1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity:0; }
}

/* ─── Marquee ────────────────────────────────────────────────── */
.ticker {
  padding: 22px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2); overflow: hidden;
}
.ticker-track { display: flex; animation: scroll 36s linear infinite; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 14px;
  padding: 0 44px; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.ticker-item:hover { color: var(--text); }
.ticker-sep { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Section commons ────────────────────────────────────────── */
.section { padding: 128px 56px; }
.container { max-width: 1280px; margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--orange); }

.sec-title {
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 20px;
}
.sec-sub { font-size: 17px; color: var(--muted); max-width: 500px; line-height: 1.75; }

/* ─── About ──────────────────────────────────────────────────── */
#about { background: var(--bg); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }

.about-visual {
  position: relative; height: 500px; border-radius: 28px; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.about-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 35%, rgba(255,98,0,.12), transparent 75%);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { opacity:.7; transform: scale(1); }
  50% { opacity:1; transform: scale(1.08); }
}
.about-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.about-logo-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,98,0,.25), 0 0 60px rgba(255,98,0,.15);
}
.about-logo-center img { width: 100%; height: 100%; object-fit: contain; }

.mini-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.mini-stat {
  padding: 24px 20px; text-align: center;
  border-right: 1px solid var(--border);
}
.mini-stat:last-child { border-right: none; }
.mini-stat-num {
  font-size: 32px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(130deg, var(--orange), var(--orange-pale));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mini-stat-lbl { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* ─── About text reveal ──────────────────────────────────── */
.about-text-reveal {
  padding-bottom: 88px;
  margin-bottom: 88px;
  border-bottom: 1px solid var(--border);
}

.reveal-text {
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  max-width: 1100px;
}

.rw { opacity: 0.1; display: inline; }

.about-body .sec-sub { max-width: 100%; margin-bottom: 28px; }
.about-body p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.about-body p strong { color: var(--text); font-weight: 600; }

/* ─── Services ───────────────────────────────────────────────── */
#services { background: var(--bg-2); }

.svc-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  margin-bottom: 56px;
}
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.svc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .35s, box-shadow .35s;
  cursor: default;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.svc-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(255,98,0,.06), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.svc-card:hover { border-color: rgba(255,98,0,.28); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(255,98,0,.1); }
.svc-card:hover::after { opacity: 1; }

.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,98,0,.08); border: 1px solid rgba(255,98,0,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 28px; transition: background .3s;
}
.svc-card:hover .svc-icon { background: rgba(255,98,0,.14); }

.svc-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); background: rgba(0,0,0,.04);
  border: 1px solid var(--border); padding: 4px 11px; border-radius: 100px;
}

/* ─── Demo (iPhone) ────────────────────────────────────────── */
#demo { background: var(--bg); padding: 120px 56px; overflow: hidden; }
.demo-inner { max-width: 1280px; margin: 0 auto; }
.demo-head { text-align: center; margin-bottom: 80px; }

.demo-split {
  display: grid;
  grid-template-columns: auto auto;
  gap: 96px;
  align-items: center;
  justify-content: center;
}

/* Phone */
.phone-wrap { position: relative; width: 272px; flex-shrink: 0; }
.phone-img { width: 100%; display: block; pointer-events: none; user-select: none; }

.phone-screen {
  position: absolute;
  top: 5%; left: 10%;
  width: 80%; height: 90%;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f7;
  display: flex;
  flex-direction: column;
}

.phone-di {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 26px;
  background: #0d0d0d;
  border-radius: 50px;
  z-index: 10;
  pointer-events: none;
}

.phone-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 4px;
  font-size: 10px; font-weight: 700; color: #1a1a1a;
  flex-shrink: 0;
}
.sb-icons { display: flex; gap: 4px; align-items: center; font-size: 9px; }

.phone-app-header {
  padding: 4px 16px 8px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
}
.phone-app-title { font-size: 14px; font-weight: 800; color: #1a1a1a; letter-spacing: -0.02em; }
.phone-app-badge { font-size: 9px; font-weight: 700; color: #fff; background: var(--orange); border-radius: 100px; padding: 2px 7px; }

.phone-app-content { flex: 1; overflow: hidden; position: relative; min-height: 0; }
.phone-pane { position: absolute; inset: 0; padding: 12px 14px; overflow: hidden; }

.phone-tabbar {
  display: flex; height: 58px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(248,248,250,.95);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.ph-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  border: none; background: none; cursor: pointer; padding: 0;
  position: relative;
}
.ph-tab::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--orange); border-radius: 0 0 3px 3px;
  opacity: 0; transition: opacity .2s;
}
.ph-tab.active::before { opacity: 1; }
.ph-tab-icon { font-size: 18px; line-height: 1; }
.ph-tab-lbl {
  font-size: 8px; font-weight: 600; color: #8a8a93;
  font-family: var(--font); transition: color .2s; letter-spacing: .01em;
}
.ph-tab.active .ph-tab-lbl { color: var(--orange); }

.phone-home { height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(248,248,250,.95); }
.phone-home-bar { width: 34%; height: 3px; background: rgba(0,0,0,.18); border-radius: 2px; }

/* mini UI elements */
.m-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 9px; }
.m-stat { background: #fff; border-radius: 10px; padding: 9px 10px; border: 1px solid rgba(0,0,0,.06); }
.m-stat-n { font-size: 16px; font-weight: 800; color: var(--orange); letter-spacing: -.03em; line-height: 1; margin-bottom: 2px; }
.m-stat-l { font-size: 8px; font-weight: 600; color: #8a8a93; letter-spacing: .03em; }

.m-chart {
  height: 72px;
  background: linear-gradient(180deg,rgba(255,98,0,.07) 0%,rgba(255,98,0,.02) 100%);
  border-radius: 10px; position: relative; overflow: hidden; margin-bottom: 9px;
}
.m-chart::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 65%;
  background: rgba(255,98,0,.18);
  clip-path: polygon(0 100%,0 60%,8% 52%,18% 38%,28% 44%,38% 26%,48% 38%,58% 16%,68% 28%,78% 10%,88% 22%,100% 6%,100% 100%);
}
.m-chart-line {
  position: absolute; bottom: 35%; left: 0; right: 0; height: 2px;
  background: rgba(255,98,0,.6);
  clip-path: polygon(0 100%,8% 100%,18% 46%,28% 54%,38% 18%,48% 32%,58% 8%,68% 20%,78% 0%,88% 14%,100% 0%,100% 100%);
}

.m-list { display: flex; flex-direction: column; gap: 5px; }
.m-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; background: #fff; border-radius: 9px;
  font-size: 9px; font-weight: 600; color: #1a1a1a;
  border: 1px solid rgba(0,0,0,.06);
}
.m-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: var(--orange); }
.m-dot.green { background: #34d399; }
.m-dot.yellow { background: #fbbf24; }

.m-bar-row { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.m-bar-label { font-size: 8px; font-weight: 600; color: #8a8a93; width: 42px; flex-shrink: 0; }
.m-bar-bg { flex: 1; height: 6px; background: rgba(0,0,0,.06); border-radius: 3px; overflow: hidden; }
.m-bar-fill { height: 100%; background: var(--orange); border-radius: 3px; }

/* Right content */
.demo-content-col { position: relative; min-height: 560px; width: 500px; }
.demo-panel {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
}
.demo-panel.active { opacity: 1; pointer-events: auto; }

.demo-panel-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.demo-panel-title { font-size: clamp(28px,3vw,46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 20px; color: var(--text); }
.demo-panel-desc { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; max-width: 460px; }

.demo-features { display: flex; flex-direction: column; gap: 16px; }
.demo-feat { display: flex; align-items: flex-start; gap: 16px; }
.demo-feat-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,98,0,.08); border: 1px solid rgba(255,98,0,.14);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.demo-feat-body strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; letter-spacing: -.01em; }
.demo-feat-body span { font-size: 13px; color: var(--muted); line-height: 1.6; }

.demo-tab-dots { display: flex; gap: 8px; margin-top: 44px; }
.demo-dot {
  height: 7px; width: 7px; border-radius: 50%;
  background: rgba(0,0,0,.15); cursor: pointer; transition: all .3s; border: none; padding: 0;
}
.demo-dot.active { background: var(--orange); width: 22px; border-radius: 4px; }

/* Mobile bubble */
.demo-bubble {
  display: none;
}

@media (max-width: 900px) {
  #demo { padding: 72px 12px; }
  .demo-head { margin-bottom: 48px; }

  .demo-split {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  .phone-wrap { width: 210px; flex-shrink: 1; }
  .demo-content-col { display: none; }
  .phone-di { height: 18px; top: 6px; }

  .demo-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 155px;
    flex-shrink: 1;
    background: var(--bg-card);
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(0,0,0,.09);
    padding: 22px 14px 18px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    touch-action: pan-y;
  }

  .bubble-icon { font-size: 26px; margin-bottom: 8px; line-height: 1; }
  .bubble-title { font-size: 11px; font-weight: 800; color: var(--text); letter-spacing: -.01em; margin-bottom: 10px; }
  .bubble-lines { display: flex; flex-direction: column; gap: 4px; width: 100%; }
  .bubble-lines div {
    font-size: 9.5px; color: var(--muted); font-weight: 500;
    line-height: 1.4; padding: 4px 6px;
    background: var(--bg-2); border-radius: 7px;
  }
  .bubble-hint {
    font-size: 8px; color: rgba(0,0,0,.22); margin-top: 11px;
    letter-spacing: .06em; text-transform: uppercase;
  }
  .bubble-pag { display: flex; gap: 5px; margin-top: 11px; align-items: center; }
  .bpag-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(0,0,0,.15); transition: all .3s; flex-shrink: 0;
  }
  .bpag-dot.active { background: var(--orange); width: 14px; border-radius: 3px; }
}

/* ─── Portfolio ─────────────────────────────────────────────── */
#portfolio {
  background: var(--bg-2);
  min-height: 100vh;
}

.portfolio-sticky {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 56px;
  overflow: hidden;
}

.portfolio-head { text-align: center; margin-bottom: 72px; width: 100%; max-width: 1280px; }
.portfolio-head .eyebrow { justify-content: center; }

.portfolio-stack-wrap {
  position: relative;
  height: 520px;
  width: 100%; max-width: 1280px;
}

.p-card {
  position: absolute; left: 50%;
  width: 380px; height: 490px;
  border-radius: 28px; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 32px 72px rgba(0,0,0,.1), 0 8px 24px rgba(0,0,0,.06);
  will-change: transform; cursor: default;
}

.p-card-img { height: 256px; overflow: hidden; }

.p-card-img-bg {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; padding: 18px 20px; gap: 10px;
}

.p-card:nth-child(1) .p-card-img-bg { background: linear-gradient(140deg, #FF6200, #FF8C00 55%, #FFAA40); }
.p-card:nth-child(2) .p-card-img-bg { background: linear-gradient(140deg, #E03D00, #FF6200 55%, #FF8C00); }
.p-card:nth-child(3) .p-card-img-bg { background: linear-gradient(140deg, #FF8C00, #FFB347 55%, #FFCC70); }

.mock-nav  { height: 20px; background: rgba(255,255,255,.22); border-radius: 6px; flex-shrink: 0; }
.mock-body { flex: 1; display: grid; grid-template-columns: 72px 1fr; gap: 10px; min-height: 0; }
.mock-side { background: rgba(255,255,255,.12); border-radius: 8px; }
.mock-main { display: flex; flex-direction: column; gap: 7px; }
.mock-row  { height: 9px; background: rgba(255,255,255,.2); border-radius: 4px; }
.mock-row:nth-child(2) { width: 72%; }
.mock-row:nth-child(3) { width: 88%; }
.mock-row:nth-child(4) { width: 55%; }
.mock-chart {
  margin-top: auto; height: 56px;
  background: rgba(255,255,255,.1); border-radius: 8px;
  position: relative; overflow: hidden;
}
.mock-chart::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 85%;
  background: rgba(255,255,255,.18);
  clip-path: polygon(0 100%,0 55%,12% 48%,24% 35%,36% 45%,48% 22%,58% 38%,68% 14%,78% 28%,88% 8%,100% 22%,100% 100%);
}

.p-card-body { padding: 22px 28px; }
.p-card-tag  { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 7px; }
.p-card-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.p-card-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }

@media (max-width: 900px) {
  #portfolio { min-height: auto; }
  .portfolio-sticky { min-height: auto; padding: 88px 24px; }
  .portfolio-stack-wrap { height: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .p-card { position: relative; left: auto; width: min(360px, 90vw); height: auto; }
  .p-card-img { height: 200px; }
}

/* ─── Process ────────────────────────────────────────────────── */
#process { background: var(--bg); }

.proc-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: end; margin-bottom: 72px;
}

.proc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.proc-step {
  background: var(--bg-card); padding: 52px 48px;
  position: relative; cursor: default;
  transition: background .3s;
}
.proc-step:hover { background: rgba(255,98,0,.03); }

.proc-step:nth-child(1) { border-radius: 24px 0 0 0; }
.proc-step:nth-child(2) { border-radius: 0 24px 0 0; }
.proc-step:nth-child(3) { border-radius: 0 0 0 24px; }
.proc-step:nth-child(4) { border-radius: 0 0 24px 0; }

.proc-num {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--orange); margin-bottom: 22px;
}
.proc-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.proc-desc { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ─── Numbers ────────────────────────────────────────────────── */
#numbers { background: var(--bg-2); text-align: center; }

.nums-head { margin-bottom: 64px; }
.nums-head .eyebrow { justify-content: center; }

.nums-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.num-cell { background: var(--bg-card); padding: 52px 20px; }
.num-cell:first-child { border-radius: 24px 0 0 24px; }
.num-cell:last-child  { border-radius: 0 24px 24px 0; }

.num-val {
  font-size: clamp(48px, 5.5vw, 84px); font-weight: 800;
  letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(130deg, var(--orange), var(--orange-pale));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px;
}
.num-lbl { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ─── CTA ────────────────────────────────────────────────────── */
#cta { background: var(--bg); padding: 80px 56px 128px; }

.cta-card {
  max-width: 1280px; margin: 0 auto;
  border-radius: 32px; padding: 80px;
  background: linear-gradient(140deg, rgba(255,98,0,.12) 0%, rgba(255,140,0,.05) 40%, transparent 70%);
  border: 1px solid rgba(255,98,0,.18);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.cta-card::before {
  content: ''; position: absolute;
  top: -120px; left: 30%; transform: translateX(-50%);
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,98,0,.1), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.03;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 16px; color: var(--muted);
  line-height: 1.75; margin-bottom: 0;
}

.cta-form { display: flex; flex-direction: column; gap: 14px; }
.cta-field { display: flex; flex-direction: column; gap: 6px; }
.cta-field label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.cta-input, .cta-textarea {
  width: 100%; background: rgba(255,255,255,.7); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 16px;
  font-size: 14px; font-weight: 500; color: var(--text); font-family: var(--font);
  outline: none; transition: border-color .25s, box-shadow .25s;
  backdrop-filter: blur(8px);
}
.cta-input:focus, .cta-textarea:focus {
  border-color: rgba(255,98,0,.4);
  box-shadow: 0 0 0 3px rgba(255,98,0,.08);
}
.cta-input::placeholder, .cta-textarea::placeholder { color: var(--muted); opacity: .6; }
.cta-textarea { resize: none; height: 110px; line-height: 1.6; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-submit {
  background: var(--orange); color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 700; font-family: var(--font);
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s, transform .2s, box-shadow .25s;
  align-self: flex-start; letter-spacing: -.01em;
}
.cta-submit:hover { background: var(--orange-mid); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,98,0,.28); }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  padding: 40px 56px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

.ft-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ft-logo img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; }
.ft-logo-name { font-size: 15px; font-weight: 700; color: var(--text); }

.ft-links { list-style: none; display: flex; gap: 28px; }
.ft-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; transition: color .2s; }
.ft-links a:hover { color: var(--text); }

.ft-copy { font-size: 13px; color: var(--muted); }

/* ─── Cursor glow ─────────────────────────────────────────────── */
#cursor-glow {
  position: fixed; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,98,0,.07), transparent 70%);
  pointer-events: none; z-index: 1; will-change: transform;
  transform: translate(-50%, -50%);
}

/* ─── Scroll reveal base states ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { height: 360px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .proc-head { grid-template-columns: 1fr; gap: 36px; }
  .nums-row { grid-template-columns: repeat(2, 1fr); }
  .num-cell:nth-child(2) { border-radius: 0 24px 0 0; }
  .num-cell:nth-child(3) { border-radius: 0 0 0 24px; }
  .num-cell:first-child  { border-radius: 24px 0 0 0; }
  .num-cell:last-child   { border-radius: 0 0 24px 0; }
}

@media (max-width: 768px) {
  #nav, #nav.scrolled { padding: 18px 24px; }
  .nav-links { display: none; }
  .section { padding: 88px 24px; }
  #hero { padding: 100px 24px 100px; }
  #cta { padding: 60px 24px 88px; }
  .cta-card { padding: 48px 28px; border-radius: 24px; grid-template-columns: 1fr; gap: 44px; }
  .cta-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 36px 24px; }
  .ft-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-head { flex-direction: column; align-items: flex-start; }
  .proc-grid { grid-template-columns: 1fr; }
  .proc-step:nth-child(1) { border-radius: 24px 24px 0 0; }
  .proc-step:nth-child(2) { border-radius: 0; }
  .proc-step:nth-child(3) { border-radius: 0; }
  .proc-step:nth-child(4) { border-radius: 0 0 24px 24px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-orange, .btn-ghost { justify-content: center; }
  .nums-row { grid-template-columns: 1fr 1fr; }
}
