/* =========================================================
   AYAANSH SINGHAL · PORTFOLIO
   Clean, minimal, image-forward design system
   ========================================================= */

:root{
  /* Colors */
  --bg:        #0c0c0e;
  --bg-2:      #121215;
  --bg-3:      #17171b;
  --surface:   #1b1b20;
  --ink:       #f6f4ef;
  --ink-dim:   #a9a8a3;
  --ink-mute:  #6c6b68;
  --line:      rgba(246,244,239,.09);
  --line-2:    rgba(246,244,239,.04);
  --accent:    #ff6b3d;
  --accent-ink:#0c0c0e;

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:'Instrument Serif', 'Times New Roman', serif;

  /* Radius & transitions */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --ease: cubic-bezier(.22,.8,.26,1);
  --t:    .45s var(--ease);
}

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

html{ scroll-behavior:smooth; }
html,body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-weight:400;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ background:none; border:none; color:inherit; font:inherit; cursor:pointer; font-family:inherit; }
em{ font-style: italic; font-family: var(--font-serif); font-weight:400; color: var(--accent); }
b,strong{ font-weight:600; color:var(--ink); }
::selection{ background:var(--accent); color:var(--accent-ink); }

/* ===== Shared ===== */
section{ padding: clamp(60px, 9vw, 140px) clamp(20px, 5vw, 80px); }

.eyebrow{
  display:inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--ink);
}
.section-title em{
  color: var(--accent);
  font-size: 1.05em;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t), transform .18s var(--ease);
  white-space: nowrap;
  cursor:pointer;
  will-change: transform;
}
.btn .arrow{
  display:inline-flex; width: 20px; height: 20px; border-radius:50%;
  background: rgba(255,255,255,.08);
  align-items:center; justify-content:center;
  font-size: 12px;
  transition: transform var(--t), background var(--t);
}
.btn-primary{
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary .arrow{ background: rgba(0,0,0,.18); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(255,107,61,.5); }
.btn-primary:hover .arrow{ transform: translateX(3px); }

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover{ border-color: var(--ink); background: rgba(255,255,255,.04); }
.btn-ghost:hover .arrow{ transform: translateX(3px); }

.btn-link{
  color: var(--ink-dim);
  padding: 8px 0;
}
.btn-link:hover{ color: var(--ink); }

.btn-block{ width: 100%; justify-content: space-between; }
.btn-big{ padding: 20px 28px; font-size: 18px; }

/* =========================================================
   AUDIO TOGGLE
   ========================================================= */
.audio-toggle{
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 200;
  display: inline-flex; align-items:center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12,12,14,.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: all var(--t);
}
.audio-toggle:hover{ border-color: var(--ink); color: var(--ink); }
.audio-toggle .bar{
  display:inline-block; width: 2px; height: 10px;
  background: var(--ink-dim); border-radius: 2px;
}
.audio-toggle.on{ border-color: var(--accent); color: var(--ink); }
.audio-toggle.on .bar{
  background: var(--accent);
  animation: audioWave .8s ease-in-out infinite;
}
.audio-toggle.on .bar:nth-child(2){ animation-delay: .1s; }
.audio-toggle.on .bar:nth-child(3){ animation-delay: .2s; }
.audio-toggle.on .bar:nth-child(4){ animation-delay: .3s; }
@keyframes audioWave{
  0%,100%{ transform: scaleY(.4); }
  50%{ transform: scaleY(1.6); }
}

@media (max-width: 640px){
  .audio-toggle{ right: 14px; left: auto; bottom: 14px; padding: 8px 10px; }
  .audio-toggle .audio-label{ display:none; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav{
  position: fixed;
  top: 20px; left: 20px; right: 20px;
  z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 20px;
  border-radius: 999px;
  background: rgba(18,18,21,.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  transition: background var(--t), transform var(--t);
}
.nav.hide{ transform: translateY(-130%); }

.logo{
  display:inline-flex; align-items:center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
}
.logo-dot{
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255,107,61,.6);
}

.nav-links{
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--ink-dim);
}
.nav-links a{ transition: color var(--t); position:relative; padding: 4px 2px; }
.nav-links a:hover{ color: var(--ink); }
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-links a:hover::after,
.nav-links a.active::after{ transform: scaleX(1); }
.nav-links a.active{ color: var(--ink); }
@media (max-width: 860px){ .nav-links{ display:none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  padding: 140px clamp(20px, 5vw, 80px) 80px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 100vh;
}
@media (max-width: 960px){
  .hero{ grid-template-columns: 1fr; gap: 60px; padding-top: 120px; min-height: auto; }
}

.avail{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 32px;
  background: var(--bg-2);
}
.pulse{
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.3); opacity: .6; }
}

.hero-title{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 82px);
  letter-spacing: -.03em;
  line-height: 1.02;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero-title em{
  font-family: var(--font-serif);
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-sub{
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 52ch;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-sub b{ color: var(--ink); font-weight: 500; }

.hero-cta{
  display: flex; gap: 14px; align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta{
  display: flex;
  gap: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta > div{ display: flex; flex-direction: column; gap: 4px; }
.hero-meta b{ font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.hero-meta span{ font-size: 12px; color: var(--ink-mute); letter-spacing: .05em; }

/* Hero portrait card */
.hero-right{ position: relative; }
.portrait{
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
  margin-left: auto;
}
.portrait-inner{
  position: relative;
  width: 100%; height: 100%;
  border-radius: 28px;
  background:
    radial-gradient(80% 60% at 30% 30%, rgba(255,107,61,.55) 0%, transparent 60%),
    radial-gradient(60% 60% at 70% 80%, rgba(255,107,61,.35) 0%, transparent 70%),
    linear-gradient(180deg, #2a1810 0%, #0c0c0e 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.portrait-glow{
  position:absolute;
  inset: -40% -40% 20% -40%;
  background: radial-gradient(50% 40% at 50% 50%, rgba(255,107,61,.4), transparent 70%);
  filter: blur(40px);
  animation: glow 6s ease-in-out infinite;
}
@keyframes glow{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(10%,-5%) scale(1.1); }
}
.portrait-mono{
  position:absolute;
  inset: 0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(100px, 18vw, 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(246,244,239,.25);
  letter-spacing: -.04em;
  pointer-events:none;
}
.portrait-tag{
  position: relative;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.portrait-float{
  position: absolute;
  padding: 10px 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  animation: floatChip 8s ease-in-out infinite;
}
.portrait-float.f1{ top:  8%; left: -10%; animation-delay: 0s; }
.portrait-float.f2{ top: 40%; right: -14%; animation-delay: 1.2s; }
.portrait-float.f3{ bottom: 26%; left: -14%; animation-delay: 2.4s; }
.portrait-float.f4{ bottom: 6%; right: -8%; animation-delay: 3.6s; }
@keyframes floatChip{
  0%,100%{ transform: translateY(0) rotate(-1deg); }
  50%{ transform: translateY(-10px) rotate(1deg); }
}
@media (max-width: 960px){
  .portrait{ margin: 0 auto; }
  .portrait-float.f1, .portrait-float.f3{ left: 0; }
  .portrait-float.f2, .portrait-float.f4{ right: 0; }
}

/* =========================================================
   AI TOOLS BAR — Apple taskbar style
   ========================================================= */
.tools{
  padding: 40px 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: clip;
  overflow-clip-margin: 80px;
}
.tools-label{
  display: flex; align-items: center; gap: 10px;
  padding: 0 clamp(20px, 5vw, 80px) 12px;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.tools-label .dot{ color: var(--accent); font-size: 8px; }
.tools-label .tools-hint{
  margin-left: auto;
  color: var(--ink-mute);
  font-size: 11px;
  font-style: italic;
  letter-spacing: .1em;
  text-transform: none;
  opacity: .7;
}

.tools-marquee{
  width: 100%;
  overflow: clip;
  overflow-clip-margin: 80px;
  padding: 80px 0 30px;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.tools-track{
  display: inline-flex;
  gap: 14px;
  padding: 0 40px;
  white-space: nowrap;
  animation: toolSlide 60s linear infinite;
  will-change: transform;
  align-items: flex-end;
}
.tools:hover .tools-track{ animation-play-state: paused; }

.tool{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 96px;
  flex-shrink: 0;
  cursor: pointer;
  transform: scale(var(--s, 1)) translateY(var(--ty, 0));
  transform-origin: bottom center;
  transition: transform .18s cubic-bezier(.22,.8,.26,1);
  will-change: transform;
}

.tool-ico{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  flex-shrink: 0;
}
.tool-ico svg{
  width: 68%;
  height: 68%;
  display: block;
}
.tool:hover .tool-ico{
  border-color: var(--accent);
  box-shadow: 0 14px 40px -14px rgba(255,107,61,.6);
}

/* Per-tool tile backgrounds — brand-ish */
.ico-claude   { background: linear-gradient(140deg, #d97757 0%, #b6543a 100%); border-color: transparent; }
.ico-cursor   { background: linear-gradient(140deg, #1a1a1a 0%, #0a0a0c 100%); border-color: rgba(255,255,255,.15); }
.ico-openai   { background: linear-gradient(140deg, #10a37f 0%, #0a6b53 100%); border-color: transparent; }
.ico-figma    { background: linear-gradient(140deg, #18181b 0%, #0a0a0c 100%); border-color: rgba(255,255,255,.1); }
.ico-stitch   { background: linear-gradient(140deg, #1a1a1f 0%, #0a0a0c 100%); border-color: rgba(255,255,255,.1); }
.ico-banana   { background: linear-gradient(140deg, #1a1a0d 0%, #0a0a0c 100%); border-color: rgba(253,224,71,.2); }
.ico-higgs    { background: linear-gradient(140deg, #1a0d1f 0%, #0a0a0c 100%); border-color: rgba(192,132,252,.25); }
.ico-gai      { background: linear-gradient(140deg, #18181b 0%, #0a0a0c 100%); border-color: rgba(255,255,255,.1); }
.ico-grav     { background: linear-gradient(140deg, #0d1022 0%, #05050a 100%); border-color: rgba(96,165,250,.25); }
.ico-perplex  { background: linear-gradient(140deg, #0c242a 0%, #06151a 100%); border-color: rgba(32,128,141,.3); }
.ico-n8n      { background: linear-gradient(140deg, #1f0d12 0%, #0a0a0c 100%); border-color: rgba(234,75,113,.25); }
.ico-pg       { background: linear-gradient(140deg, #0d1622 0%, #05080f 100%); border-color: rgba(51,103,145,.3); }
.ico-redis    { background: linear-gradient(140deg, #1f0a08 0%, #0a0a0c 100%); border-color: rgba(220,56,45,.25); }
.ico-aws      { background: linear-gradient(140deg, #232f3e 0%, #131922 100%); border-color: transparent; }
.ico-next     { background: #000; border-color: rgba(255,255,255,.15); }
.ico-vercel   { background: linear-gradient(140deg, #000 0%, #111 100%); border-color: rgba(255,255,255,.15); }
.ico-supa     { background: linear-gradient(140deg, #0d2016 0%, #050a08 100%); border-color: rgba(62,207,142,.3); }
.ico-rn       { background: linear-gradient(140deg, #0a1a22 0%, #05101a 100%); border-color: rgba(97,218,251,.3); }
.ico-three    { background: linear-gradient(140deg, #111 0%, #000 100%); border-color: rgba(255,255,255,.15); }
.ico-ts       { background: linear-gradient(140deg, #0e1f35 0%, #0a0a0c 100%); border-color: transparent; }
.ico-gh       { background: linear-gradient(140deg, #18181b 0%, #0a0a0c 100%); border-color: rgba(255,255,255,.15); }
.ico-spline   { background: linear-gradient(140deg, #1a0a1f 0%, #0a0a0c 100%); border-color: rgba(255,0,255,.25); }

/* Icons that use the full SVG artwork don't need gradient backgrounds */
.ico-figma svg, .ico-stitch svg, .ico-higgs svg,
.ico-gai svg, .ico-perplex svg, .ico-n8n svg,
.ico-pg svg, .ico-redis svg, .ico-aws svg,
.ico-next svg, .ico-supa svg, .ico-ts svg,
.ico-gh svg, .ico-spline svg{
  width: 78%; height: 78%;
}
.ico-banana svg{ width: 72%; height: 72%; }

.tool-name{
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--ink-dim);
  font-weight: 500;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.tool:hover .tool-name{ color: var(--ink); }

@keyframes toolSlide{
  to{ transform: translateX(-50%); }
}

@media (max-width: 640px){
  .tool{ width: 80px; }
  .tool-ico{ width: 48px; height: 48px; }
}

/* =========================================================
   WORKS GRID
   ========================================================= */
.works-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}
@media (max-width: 780px){
  .works-grid{ grid-template-columns: 1fr; }
}

.work{
  position: relative;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.work:hover{ transform: translateY(-4px); border-color: rgba(255,107,61,.3); }
.work.wk-wide{ grid-column: span 2; }
.work.wk-tall{ grid-row: span 2; }
@media (max-width: 780px){
  .work.wk-wide, .work.wk-tall{ grid-column: auto; grid-row: auto; }
}

.wk-frame{
  position: relative;
  flex: 1;
  margin: 20px 20px 0;
  border-radius: var(--r);
  overflow: hidden;
  background: #0a0a0c;
  min-height: 340px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}

.wk-meta{
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px;
  gap: 16px;
}
.wk-meta h3{
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 4px;
  color: var(--ink);
}
.wk-meta p{
  font-size: 14px;
  color: var(--ink-dim);
}
.wk-meta .tag{
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}

/* Browser chrome */
.wk-chrome{
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: #14141a;
  border-bottom: 1px solid var(--line-2);
  font-size: 11px;
  color: var(--ink-mute);
}
.wk-chrome.dark{ background: #08080c; }
.wk-chrome .d{ width: 9px; height: 9px; border-radius: 50%; background: #333; }
.wk-chrome .d.r{ background: #ff5f57; }
.wk-chrome .d.y{ background: #ffbd2e; }
.wk-chrome .d.g{ background: #28c840; }
.wk-chrome .url{
  margin-left: 10px;
  padding: 3px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: .06em;
}

/* 01 DASHBOARD */
.wk-dash{ display: grid; grid-template-columns: 44px 1fr; flex: 1; }
.wk-side{
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 16px 0;
  background: #0e0e13;
  border-right: 1px solid var(--line-2);
}
.wk-side .logo-ico{
  font-size: 18px;
  color: var(--accent);
}
.wk-side i{
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,.04);
  display: block;
}
.wk-side i.active{ background: var(--accent); }
.wk-main{
  padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.wk-kpi{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.wk-kpi > div{
  padding: 12px;
  background: var(--surface);
  border-radius: var(--r-sm);
}
.wk-kpi b{
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.wk-kpi em{
  display: block;
  font-size: 10px;
  color: var(--accent);
  font-style: normal;
  margin: 3px 0;
  letter-spacing: .05em;
  font-family: var(--font-body);
}
.wk-kpi span{
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wk-chart{
  padding: 10px;
  background: var(--surface);
  border-radius: var(--r-sm);
}
.wk-chart svg{ width: 100%; height: 70px; }
.wk-bars{
  display: flex; align-items: flex-end; gap: 6px; height: 50px;
  padding: 10px;
  background: var(--surface);
  border-radius: var(--r-sm);
}
.wk-bars i{
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent) 0%, rgba(255,107,61,.25) 100%);
  border-radius: 3px;
  animation: barGrow 1.4s var(--ease) both;
}
@keyframes barGrow{ from{ transform: scaleY(0); transform-origin: bottom; } to{ transform: scaleY(1); } }

/* 02 PHONE */
.wk-phone-frame{
  background:
    radial-gradient(400px 300px at 50% 40%, rgba(255,107,61,.15), transparent 70%),
    #0a0a0c;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  min-height: 600px;
}
.wk-phone{
  width: 260px;
  aspect-ratio: 9/19.5;
  background: #000;
  border-radius: 38px;
  padding: 10px;
  position: relative;
  box-shadow:
    0 40px 80px -30px rgba(255,107,61,.3),
    inset 0 0 0 2px #1f1f23;
}
.notch{
  position:absolute; top:14px; left:50%;
  transform: translateX(-50%);
  width: 80px; height: 20px; border-radius: 12px;
  background: #000; z-index: 2;
}
.screen{
  width: 100%; height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, #0a0a0c 0%, #141418 100%);
  padding: 36px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.status{
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--ink-dim);
  letter-spacing: .05em;
}
.greet{ font-size: 13px; color: var(--ink-dim); line-height: 1.2; }
.greet b{ display: block; font-size: 19px; color: var(--ink); letter-spacing:-.01em; margin-top: 2px; }
.bal{
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255,107,61,.3), rgba(255,107,61,.08));
}
.bal span{
  font-size: 9px; color: var(--ink-dim);
  text-transform: uppercase; letter-spacing: .12em;
}
.bal b{
  display: block;
  font-size: 24px; font-weight: 500;
  letter-spacing: -.02em;
  margin: 4px 0 2px;
}
.bal b sup{ font-size: 12px; color: var(--ink-dim); }
.bal em{ font-size: 10px; color: #ffbe90; font-style: normal; font-family: var(--font-body); }
.pills{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pills i{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 10px 2px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  font-size: 14px;
  font-style: normal;
}
.pills i span{ font-size: 8px; color: var(--ink-dim); letter-spacing: .08em; text-transform: uppercase; }
.txns{ display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.tx{
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  font-size: 10px;
}
.tx i{ color: var(--accent); font-size: 8px; font-style: normal; }
.tx i.g{ color: #4ade80; }
.tx span{ flex: 1; color: var(--ink); }
.tx em{ color: var(--ink-dim); font-style: normal; font-size: 10px; }
.tx em.up{ color: #4ade80; }

/* 03 AI CHAT */
.wk-ai{
  flex: 1;
  background: #07070a;
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.msg{
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 85%;
}
.msg.user{
  background: var(--accent);
  color: var(--accent-ink);
  align-self: flex-end;
  font-weight: 500;
}
.msg.bot{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  align-self: flex-start;
}
.msg.bot.done{ color: var(--ink); border-color: rgba(255,107,61,.2); }
.msg.bot.done b{ color: var(--accent); font-size: 16px; font-weight: 500; }
.msg.bot.done small{ display:block; margin-top: 4px; color: var(--ink-mute); font-size: 10px; }
.dots{ display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: middle; }
.dots i{
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: dotBlink 1.4s ease-in-out infinite;
}
.dots i:nth-child(2){ animation-delay: .2s; }
.dots i:nth-child(3){ animation-delay: .4s; }
@keyframes dotBlink{
  0%,80%,100%{ opacity: .2; transform: scale(.8); }
  40%{ opacity: 1; transform: scale(1); }
}
.ai-input{
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  color: var(--ink-mute);
}
.ai-input em{ color: var(--accent); font-style: normal; }

/* 04 LANDING */
.wk-landing{
  flex: 1;
  position: relative;
  padding: 28px 26px;
  background: linear-gradient(160deg, #141418 0%, #08080c 100%);
  overflow: hidden;
}
.land-nav{
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.land-nav i{
  font-size: 10px;
  font-style: normal;
  color: var(--ink-dim);
  letter-spacing: .1em;
}
.land-h{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.land-h em{ font-family: var(--font-serif); font-style: italic; color: var(--accent); }
.land-p{ font-size: 11px; color: var(--ink-dim); margin-bottom: 16px; letter-spacing: .08em; text-transform: uppercase; }
.land-btn{
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
}
.ring{
  position: absolute;
  border: 1px dashed rgba(255,107,61,.3);
  border-radius: 50%;
}
.ring.r1{ right: -80px; bottom: -80px; width: 260px; height: 260px; animation: ringSpin 30s linear infinite; }
.ring.r2{ right: -40px; bottom: -40px; width: 180px; height: 180px; border-color: rgba(255,107,61,.5); animation: ringSpin 22s linear reverse infinite; }
@keyframes ringSpin{ to{ transform: rotate(360deg); } }
.planet{
  position: absolute;
  right: 40px; bottom: 60px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), #a04525);
  box-shadow: 0 0 30px rgba(255,107,61,.5);
  animation: pulse2 3s ease-in-out infinite;
}
@keyframes pulse2{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.1); }
}

/* 05 SHOP */
.wk-shop{
  flex: 1;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  background: #0a0a0c;
}
.shop-img{
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: linear-gradient(160deg, #e9e3d5 0%, #b9b0a0 100%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.shop-label{
  position: absolute; top: 12px; left: 12px;
  font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase;
  color: #444; font-weight: 500;
}
.vase{
  width: 62px; height: 92px;
  background: linear-gradient(180deg, #b8a488 0%, #8c7860 100%);
  border-radius: 50% 50% 30% 30% / 30% 30% 50% 50%;
  box-shadow: inset -8px -2px 14px rgba(0,0,0,.25);
  transform: rotate(-4deg);
  transition: transform var(--t);
}
.work:hover .vase{ transform: rotate(4deg) translateY(-4px); }
.shop-info{ display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.shop-info h4{ font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.shop-info i{ font-size: 11px; color: var(--ink-mute); font-style: normal; }
.shop-info b{ font-size: 20px; color: var(--accent); font-weight: 500; margin-top: 4px; }
.shop-info .add{
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--accent-ink);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .05em;
  transition: background var(--t);
}
.work:hover .shop-info .add{ background: var(--accent); color: var(--accent-ink); }
.thumbs{ display: flex; gap: 4px; margin-top: auto; }
.thumbs i{
  flex: 1; aspect-ratio: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  border-radius: 6px;
}
.thumbs i.on{ border-color: var(--accent); background: rgba(255,107,61,.1); }

/* 06 XR */
.wk-xr-frame{
  background: radial-gradient(circle at 50% 60%, #201434 0%, #05050a 70%);
  padding: 0;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.wk-xr{
  position: absolute; inset: 0;
  perspective: 800px;
  overflow: hidden;
}
.xr-grid{
  position: absolute;
  left: -50%; right: -50%; bottom: -20%;
  height: 80%;
  background-image:
    linear-gradient(to right, rgba(124,140,255,.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124,140,255,.3) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: rotateX(65deg);
  mask-image: linear-gradient(to top, black 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 90%);
}
.xr-sun{
  position: absolute;
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,61,.7) 0%, rgba(124,140,255,.25) 40%, transparent 70%);
  filter: blur(10px);
  animation: sunPulse 5s ease-in-out infinite;
}
@keyframes sunPulse{
  0%,100%{ transform: translate(-50%,-50%) scale(1); opacity:.9; }
  50%{ transform: translate(-50%,-50%) scale(1.1); opacity:1; }
}
.xr-shape{
  position: absolute;
  width: 56px; height: 56px;
  border: 1.5px solid #f6f4ef;
  background: rgba(255,255,255,.05);
  animation: xrFloat 6s ease-in-out infinite;
}
.xr-shape.s1{ left: 18%; top: 30%; transform: rotate(45deg); border-color: var(--accent); }
.xr-shape.s2{
  right: 20%; top: 22%;
  width: 44px; height: 44px;
  border-radius: 50%;
  border-color: #f6f4ef;
  animation-delay: -2s;
}
.xr-shape.s3{
  left: 50%; top: 55%;
  width: 66px; height: 66px;
  border-radius: 14px;
  border-color: #7c8cff;
  transform: translateX(-50%) rotate(12deg);
  animation-delay: -4s;
  animation-name: xrFloat3;
}
@keyframes xrFloat{
  0%,100%{ transform: translateY(0) rotate(45deg); }
  50%{ transform: translateY(-18px) rotate(55deg); }
}
.xr-shape.s2{ animation-name: xrFloat2; }
@keyframes xrFloat2{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-14px); }
}
@keyframes xrFloat3{
  0%,100%{ transform: translateX(-50%) translateY(0) rotate(12deg); }
  50%{ transform: translateX(-50%) translateY(-16px) rotate(20deg); }
}
.xr-hud{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
}
.xr-hud > div{ display: flex; flex-direction: column; gap: 3px; }
.xr-hud span{ font-size: 9px; color: var(--ink-mute); letter-spacing: .15em; text-transform: uppercase; }
.xr-hud b{ font-size: 13px; color: var(--ink); font-weight: 500; letter-spacing: .05em; }
.xr-hud b.g{ color: #4ade80; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; gap: 40px; }
}
.about-right p{
  font-size: 17px;
  color: var(--ink-dim);
  margin-bottom: 18px;
  line-height: 1.7;
  max-width: 52ch;
}
.about-right p b{ color: var(--ink); }
.about-stats{
  display: flex; flex-direction: column;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.about-stats > div{
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.about-stats b{ font-size: 16px; font-weight: 500; }
.about-stats span{ font-size: 14px; color: var(--ink-dim); }

/* =========================================================
   SERVICES / PLANS
   ========================================================= */
.services{ background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px){ .plans{ grid-template-columns: 1fr; } }

.plan{
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column;
  gap: 18px;
  transition: transform var(--t), border-color var(--t);
}
.plan:hover{ transform: translateY(-4px); border-color: var(--ink-dim); }
.plan.plan-feature{
  background: linear-gradient(180deg, rgba(255,107,61,.08), var(--bg));
  border-color: var(--accent);
  box-shadow: 0 30px 60px -30px rgba(255,107,61,.3);
}
.plan-tag{
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  align-self: flex-start;
}
.plan.plan-feature .plan-tag{ background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.plan-price{ display: flex; align-items: baseline; gap: 8px; }
.plan-price b{ font-size: 42px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.plan-price em{ font-size: 14px; color: var(--ink-dim); font-style: normal; font-family: var(--font-body); }
.plan-desc{ font-size: 14px; color: var(--ink-dim); line-height: 1.55; }
.plan-list{ list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-list li{
  font-size: 14px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.plan-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--accent);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8l3 3 7-7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-size: contain; mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8l3 3 7-7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat;
}

/* =========================================================
   PROCESS
   ========================================================= */
.process-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px){ .process-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .process-grid{ grid-template-columns: 1fr; } }

.step{
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: all var(--t);
}
.step:hover{ border-color: var(--accent); background: rgba(255,107,61,.04); }
.step > span{
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.step h4{ font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 8px; color: var(--ink); }
.step p{ font-size: 14px; color: var(--ink-dim); line-height: 1.55; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quotes{ background: var(--bg-2); border-top: 1px solid var(--line); }
.quotes-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px){ .quotes-grid{ grid-template-columns: 1fr; } }

.q{
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color var(--t);
}
.q:hover{ border-color: var(--accent); }
.q .stars{ font-size: 14px; color: var(--accent); letter-spacing: .2em; }
.q p{
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.q footer{ display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.q footer b{ font-size: 14px; font-weight: 500; color: var(--ink); }
.q footer span{ font-size: 13px; color: var(--ink-dim); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact{
  background:
    radial-gradient(700px 500px at 30% 0%, rgba(255,107,61,.18), transparent 70%),
    radial-gradient(500px 400px at 80% 100%, rgba(255,107,61,.08), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.contact-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
@media (max-width: 1080px){
  .contact-grid{ gap: 60px; }
}
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; gap: 56px; }
}

.contact-left{
  max-width: 640px;
}
.contact-h{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 96px);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.contact-h em{ font-family: var(--font-serif); color: var(--accent); font-style: italic; }

.contact-sub{
  font-size: 17px;
  color: var(--ink-dim);
  margin-bottom: 40px;
  max-width: 520px;
}

.contact-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
@media (max-width: 720px){ .contact-row{ grid-template-columns: 1fr; } }

.chan{
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 4px;
  transition: all var(--t);
}
.chan:hover{ border-color: var(--accent); transform: translateY(-2px); }
.chan span{ font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.chan em{ font-size: 14px; color: var(--ink); font-style: normal; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot{
  padding: 40px clamp(20px, 5vw, 80px) 32px;
  border-top: 1px solid var(--line);
}
.foot-row{
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap;
}
.foot-name{ font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.foot-role{ font-size: 13px; color: var(--ink-dim); margin-top: 4px; }
.foot-meta{
  display: flex; gap: 20px;
  font-size: 12px; color: var(--ink-mute);
  letter-spacing: .05em;
  flex-wrap: wrap;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
[data-reveal]{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in{ opacity: 1; transform: translateY(0); }

/* =========================================================
   QUOTE BOX (Contact form)
   ========================================================= */
.quote-box{
  position: sticky;
  top: 100px;
  padding: 32px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255,107,61,.05), transparent 30%),
    var(--bg-2);
  border: 1px solid var(--line);
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(255,255,255,.02);
  transition: border-color var(--t), transform var(--t);
}
.quote-box:hover{ border-color: rgba(255,107,61,.4); }
@media (max-width: 900px){
  .quote-box{ position: static; padding: 24px; }
}

.quote-head{
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.quote-head h3{
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin: 6px 0 10px;
  color: var(--ink);
}
.quote-head p{
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
}

.quote-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px){
  .field-row{ grid-template-columns: 1fr; }
}

.field input,
.field select,
.field textarea{
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color var(--t), background var(--t);
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder{
  color: var(--ink-mute);
}
.field input:hover,
.field textarea:hover{
  border-color: var(--ink-dim);
}
.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--accent);
  background: rgba(255,107,61,.04);
}
.field textarea{
  resize: vertical;
  min-height: 96px;
  max-height: 240px;
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown){
  border-color: rgba(220,56,45,.6);
}

/* =========================================================
   CUSTOM DROPDOWN (matches design system)
   ========================================================= */
.select{
  position: relative;
  width: 100%;
}
.select-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.select-trigger:hover{ border-color: var(--ink-dim); }
.select-trigger:focus-visible,
.select.open .select-trigger{
  outline: none;
  border-color: var(--accent);
  background: rgba(255,107,61,.04);
  box-shadow: 0 0 0 3px rgba(255,107,61,.12);
}
.select.invalid .select-trigger{
  border-color: rgba(220,56,45,.6);
}

.select-value{
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select-value[data-empty="true"]{ color: var(--ink-mute); }

.select-caret{
  flex-shrink: 0;
  color: var(--ink-dim);
  transition: transform .25s var(--ease), color var(--t);
}
.select.open .select-caret{
  transform: rotate(180deg);
  color: var(--accent);
}

.select-menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.7),
    0 4px 16px -4px rgba(0,0,0,.5);
  z-index: 30;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  transform-origin: top center;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.select.open .select-menu{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
/* Dropdown opens upward when needed */
.select.up .select-menu{
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom center;
  transform: translateY(8px) scale(.97);
}
.select.up.open .select-menu{
  transform: translateY(0) scale(1);
}

.select-menu li{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-dim);
  cursor: pointer;
  user-select: none;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.select-menu li:not(:last-child){ margin-bottom: 2px; }

.select-menu li .opt-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-dim);
  flex-shrink: 0;
  transition: all var(--t);
}

.select-menu li:hover,
.select-menu li.focus{
  background: rgba(255,107,61,.08);
  color: var(--ink);
}
.select-menu li:hover .opt-icon,
.select-menu li.focus .opt-icon{
  background: rgba(255,107,61,.15);
  border-color: var(--accent);
  color: var(--accent);
}

.select-menu li.selected{
  background: var(--accent);
  color: var(--accent-ink);
}
.select-menu li.selected .opt-icon{
  background: rgba(0,0,0,.2);
  border-color: rgba(0,0,0,.2);
  color: var(--accent-ink);
  font-weight: 600;
}
.select-menu li.selected:hover{
  background: var(--accent);
  color: var(--accent-ink);
}

/* slim scrollbar */
.select-menu::-webkit-scrollbar{ width: 6px; }
.select-menu::-webkit-scrollbar-track{ background: transparent; }
.select-menu::-webkit-scrollbar-thumb{
  background: var(--line);
  border-radius: 3px;
}
.select-menu::-webkit-scrollbar-thumb:hover{ background: var(--ink-mute); }

.btn-submit{
  margin-top: 8px;
  padding: 16px 22px;
  font-size: 14px;
  cursor: pointer;
}
.btn-submit:disabled{
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

.form-hint{
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}
.form-hint a{ color: var(--accent); }
.form-hint.success{ color: #4ade80; font-weight: 500; }
.form-hint.error{ color: #f87171; }

/* =========================================================
   MOBILE OPTIMISATION
   Consolidated overrides for tablet & phone breakpoints
   ========================================================= */

/* --------- Tablet (≤ 900px) --------- */
@media (max-width: 900px){

  /* Slightly tighter section padding */
  section{
    padding: clamp(56px, 12vw, 96px) clamp(18px, 5vw, 40px);
  }

  /* Hero: reduce vertical breathing room */
  .hero{
    padding: 110px 20px 60px;
    gap: 48px;
  }
  .hero-title{ font-size: clamp(38px, 8vw, 64px); }
  .hero-sub{ font-size: 15px; }

  /* Portrait smaller on tablet */
  .portrait{ max-width: 380px; }
}

/* --------- Phone (≤ 640px) --------- */
@media (max-width: 640px){

  /* Nav: compress the CTA */
  .nav{
    top: 12px; left: 12px; right: 12px;
    padding: 10px 10px 10px 16px;
  }
  .logo{ font-size: 14px; }
  .logo-dot{ width: 8px; height: 8px; }
  .nav .btn{
    padding: 9px 14px;
    font-size: 12px;
    gap: 6px;
  }
  .nav .btn .arrow{ width: 16px; height: 16px; font-size: 10px; }
  /* Hide "Get in touch" label, keep the arrow chip only */
  .nav .btn > span:not(.arrow){ display: none; }
  .nav .btn::before{
    content: "Contact";
    font-size: 12px;
    letter-spacing: -.005em;
  }

  /* Section padding */
  section{ padding: 60px 18px; }

  /* Hero */
  .hero{ padding: 96px 18px 40px; min-height: auto; }
  .avail{
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 24px;
  }
  .hero-title{
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.02;
    margin-bottom: 24px;
  }
  .hero-sub{
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 32px;
  }
  .hero-cta{
    gap: 10px;
    margin-bottom: 40px;
    width: 100%;
  }
  .hero-cta .btn-primary{ flex: 1; justify-content: center; }
  .hero-meta{
    gap: 24px;
    padding-top: 24px;
  }
  .hero-meta b{ font-size: 20px; }
  .hero-meta span{ font-size: 11px; }

  /* Portrait card */
  .portrait{
    max-width: 300px;
    aspect-ratio: 5/6;
  }
  .portrait-inner{ padding: 20px; border-radius: 22px; }
  .portrait-mono{ font-size: 140px; }
  .portrait-tag{ font-size: 10px; padding-top: 10px; }
  /* Floating chips: pull fully inside, smaller */
  .portrait-float{
    padding: 7px 11px;
    font-size: 11px;
  }
  .portrait-float.f1{ top: 6%;  left: 6px;  right: auto; }
  .portrait-float.f2{ top: 38%; right: 6px; left: auto; }
  .portrait-float.f3{ bottom: 30%; left: 6px; right: auto; }
  .portrait-float.f4{ bottom: 4%;  right: 6px; left: auto; }

  /* Tools dock */
  .tools{
    padding: 32px 0 28px;
    overflow-clip-margin: 40px;
  }
  .tools-label{
    padding: 0 18px 8px;
    font-size: 11px;
  }
  .tools-label .tools-hint{ display: none; }
  .tools-marquee{
    padding: 20px 0 14px;   /* less headroom needed — no hover-magnify on touch */
    overflow-clip-margin: 20px;
  }
  .tools-track{
    gap: 10px;
    padding: 0 20px;
    animation-duration: 40s;
  }
  .tool{
    width: 76px;
    gap: 8px;
    /* Disable magnification transform on touch — keep 1× */
    transform: none !important;
  }
  .tool-ico{
    width: 48px; height: 48px;
    border-radius: 12px;
  }
  .tool-name{ font-size: 10px; letter-spacing: 0; }

  /* Section head — stack for space */
  .section-head{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 36px;
  }
  .section-title{ font-size: clamp(28px, 8vw, 40px); }
  .eyebrow{ font-size: 11px; margin-bottom: 12px; }

  /* Works grid */
  .works-grid{ gap: 14px; }
  .work{ min-height: auto; }
  .wk-frame{
    margin: 14px 14px 0;
    min-height: 260px;
  }
  .wk-meta{ padding: 18px; }
  .wk-meta h3{ font-size: 16px; }
  .wk-meta p{ font-size: 13px; }
  .wk-meta .tag{
    font-size: 10px; padding: 5px 10px;
  }
  /* Phone mockup smaller */
  .wk-phone-frame{ min-height: 460px; padding: 18px; }
  .wk-phone{ width: 200px; }
  /* Kill 3D tilt on touch — feels laggy */
  .wk-frame{ transform: none !important; }

  /* About */
  .about-right p{ font-size: 15px; }
  .about-stats > div{ padding: 14px 0; }
  .about-stats b{ font-size: 15px; }
  .about-stats span{ font-size: 13px; }

  /* Services / Plans */
  .plans{ gap: 14px; }
  .plan{ padding: 26px; gap: 16px; }
  .plan-price b{ font-size: 34px; }
  .plan-list li{ font-size: 13px; }

  /* Process */
  .step{ padding: 24px; }
  .step h4{ font-size: 17px; }
  .step p{ font-size: 13px; }

  /* Testimonials */
  .quotes-grid{ gap: 14px; }
  .q{ padding: 26px; gap: 14px; }
  .q p{ font-size: 15px; }

  /* Contact */
  .contact-h{
    font-size: clamp(36px, 10vw, 52px);
    margin-bottom: 20px;
  }
  .contact-sub{ font-size: 15px; margin-bottom: 32px; }
  .btn-big{
    padding: 16px 20px;
    font-size: 14px;
    width: 100%;
    justify-content: space-between;
    /* long email might overflow — allow wrap-safe truncation */
    overflow: hidden;
  }
  .btn-big > span:first-child{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .contact-row{ margin-top: 32px; gap: 10px; }
  .chan{ padding: 16px; }
  .chan em{ font-size: 13px; }

  /* Quote form */
  .quote-box{ padding: 22px; border-radius: 20px; }
  .quote-head h3{ font-size: 22px; }
  .quote-head p{ font-size: 13px; }
  .quote-form{ gap: 14px; }
  .field label{ font-size: 10px; }
  .field input, .field textarea, .select-trigger{
    padding: 11px 12px;
    font-size: 14px;
    /* 16px minimum prevents iOS zoom on focus — but 14px looks better here.
       Explicit 16px on inputs of small width triggers zoom prevention: */
  }
  /* iOS: prevent input zoom-on-focus by forcing 16px */
  .field input, .field textarea, .select-trigger{
    font-size: 16px;
  }
  .field label{ font-size: 10px; }
  .field-row{ grid-template-columns: 1fr; gap: 10px; }
  .btn-submit{
    padding: 14px 18px;
    font-size: 14px;
  }

  /* Dropdown menu on small viewport */
  .select-menu{
    max-height: 240px;
    padding: 5px;
  }
  .select-menu li{ padding: 12px 10px; font-size: 14px; }
  .select-menu li .opt-icon{ width: 22px; height: 22px; font-size: 11px; }

  /* Footer */
  .foot{ padding: 32px 18px 24px; }
  .foot-row{ gap: 14px; }
  .foot-name{ font-size: 16px; }
  .foot-role, .foot-meta{ font-size: 11px; }

  /* Audio pill */
  .audio-toggle{
    left: auto; right: 14px; bottom: 14px;
    padding: 8px 12px;
  }
}

/* --------- Very small phones (≤ 380px) --------- */
@media (max-width: 380px){
  .hero-title{ font-size: 30px; }
  .contact-h{ font-size: 34px; }
  .section-title{ font-size: 26px; }
  .portrait{ max-width: 260px; }
  .portrait-mono{ font-size: 120px; }
  .hero-meta{ gap: 18px; }
  .hero-meta b{ font-size: 18px; }
  .tool{ width: 66px; }
  .tool-ico{ width: 42px; height: 42px; }
  .tool-name{ font-size: 9px; }
}

/* --------- Global mobile: keep dock stable on touch --------- */
@media (hover: none) and (pointer: coarse){
  /* Disable Apple-dock magnification on touch devices — icons stay 1×  */
  .tool{ transform: none !important; }
  /* Disable 3D tilt on cards */
  .wk-frame{ transform: none !important; }
  /* Kill portrait cursor parallax offsets */
  .portrait-float{ transform: none !important; }
}
