/* ============================================
   Aria Sand — Product Designer Portfolio
   Design tokens
============================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --bg-elev: #ffffff;
  --ink: #14151a;
  --ink-soft: #585c66;
  --ink-faint: #6c707b;
  --line: #e8e8e4;
  --accent: #4f46e5;
  --accent-soft: #eef0ff;
  --accent-ink: #4338ca;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --gut: clamp(20px, 5vw, 48px);
  --shadow-sm: 0 1px 2px rgba(20, 21, 26, .04), 0 4px 16px rgba(20, 21, 26, .04);
  --shadow-md: 0 8px 40px rgba(20, 21, 26, .08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e12;
    --bg-soft: #14151b;
    --bg-elev: #16171e;
    --ink: #f3f4f7;
    --ink-soft: #a6abb8;
    --ink-faint: #828791;
    --line: #24262f;
    --accent: #8b85ff;
    --accent-soft: #1b1c2b;
    --accent-ink: #b4afff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.3);
    --shadow-md: 0 8px 40px rgba(0,0,0,.45);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
section { padding-block: clamp(52px, 7vw, 100px); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }

/* Typography */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 0.98; font-weight: 700; }
h2, h3 { line-height: 1.02; }
h1 { font-size: clamp(40px, 7vw, 76px); }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-soft); }
.section-head { max-width: 840px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { text-wrap: balance; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background .25s, box-shadow .3s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--accent); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); transform: translateY(-2px); }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: flex-start; height: 72px; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 9px; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 8px 11px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--accent-ink); font-weight: 600; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.nav-cta { margin-left: 8px; font-weight: 700; letter-spacing: 0.01em; box-shadow: 0 6px 20px -6px var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); padding: 16px var(--gut) 28px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px; font-size: 17px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav .lang-toggle { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -160px; left: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent), transparent 65%);
  filter: blur(40px); pointer-events: none; z-index: -1;
  animation: heroPulse 9s ease-in-out infinite alternate;
}
@keyframes heroPulse { to { transform: translate(40px, 30px) scale(1.15); opacity: .8; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { margin: 20px 0 0; }
.hero h1 .accent, h1 .accent {
  background: linear-gradient(100deg, var(--accent) 0%, #a78bfa 30%, #ec4899 55%, var(--accent) 90%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }
.hero .lead { margin-top: 24px; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; gap: clamp(6px, 0.8vw, 14px); margin-top: clamp(20px,3vh,34px); }
.hero-meta > div { width: clamp(78px, 7vw, 100px); }
.hero-meta .lbl { white-space: normal; }
.hero-meta .num { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.hero-meta .lbl { font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
.hero-visual {
  aspect-ratio: 4/5; border-radius: 24px; background: var(--bg-soft);
  border: 1px solid var(--line); position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.hero-visual .float-card {
  position: absolute; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/11; max-width: 460px; }
  .hero-meta { gap: 28px; }
}

/* Generic gradient mesh for visuals */
.mesh { position: absolute; inset: 0; }
.mesh::before, .mesh::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5;
}
.mesh::before { width: 60%; height: 60%; left: -10%; top: -10%; background: var(--accent); animation: drift1 16s ease-in-out infinite alternate; }
.mesh::after { width: 55%; height: 55%; right: -8%; bottom: -12%; background: #f0a; opacity: .25; animation: drift2 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18%, 22%) scale(1.18); } }
@keyframes drift2 { to { transform: translate(-16%, -18%) scale(1.22); } }

/* Logo strip */
.logos { padding-block: clamp(28px, 5vw, 48px); border-block: 1px solid var(--line); }
.logos .wrap { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; justify-content: center; }
.logos span { font-weight: 600; font-size: 19px; color: var(--ink-faint); letter-spacing: -0.02em; opacity: .8; }
.logos .label { font-size: 13px; color: var(--ink-faint); width: 100%; text-align: center; margin-bottom: 6px; font-weight: 500; }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .25s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), #ec4899);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }

/* Bento services grid (2 large + 3 small, perfectly balanced) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento > .big { grid-column: span 3; }
.bento > .big { padding: 34px; background:
  radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%), var(--bg-elev); }
.bento > .big h3 { font-size: clamp(24px, 3vw, 30px); }
.bento > .big .ico { width: 52px; height: 52px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento > .big { grid-column: span 1; }
}
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

/* Animated marquee ticker */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 24px; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; padding-inline: 26px;
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink-faint); white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 52px; color: var(--accent); font-size: .55em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

/* Work / project cards */
.project {
  display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-elev); transition: transform .4s var(--ease), box-shadow .4s, border-color .25s;
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.project .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.project .thumb .mesh::after { background: #00d4ff; }
.project .body { padding: 22px 24px 26px; }
.project .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); }
.project .body h3 { font-size: 22px; }
.project .body p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
.project .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--accent-ink); }
.project:hover .more svg { transform: translateX(4px); }
.project .more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }

/* Featured big project */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.feature-row:nth-child(even) .feature-visual { order: 2; }
.feature-visual { aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; box-shadow: var(--shadow-sm); }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-visual { order: -1; }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.portrait { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); box-shadow: var(--shadow-md); position: sticky; top: 96px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .portrait { position: relative; top: 0; max-width: 380px; } }
.prose p { margin-bottom: 18px; color: var(--ink-soft); }
.prose p strong { color: var(--ink); font-weight: 600; }

.skill-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-pills span { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; background: var(--bg-elev); }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { counter-increment: step; font-size: 14px; font-weight: 600; color: var(--accent-ink); padding-top: 4px; }
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 21px; }
.step p { color: var(--ink-soft); margin-top: 6px; font-size: 15.5px; }

/* Case study detail */
.case-hero { padding-top: clamp(40px, 6vw, 72px); }
.case-hero h1 { margin: 18px 0 20px; max-width: 16ch; }
.case-cover { aspect-ratio: 16/8; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); margin-top: 8px; box-shadow: var(--shadow-md); }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.case-facts .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); font-weight: 600; }
.case-facts .val { margin-top: 6px; font-weight: 600; }
@media (max-width: 720px) { .case-facts { grid-template-columns: repeat(2, 1fr); } }

.case-block { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 48px); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.case-block .k { font-size: 14px; font-weight: 600; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .06em; }
.case-block .v h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.case-block .v p { color: var(--ink-soft); max-width: 60ch; margin-bottom: 16px; }
@media (max-width: 720px) { .case-block { grid-template-columns: 1fr; gap: 14px; } }

.screens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.screens .shot { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); position: relative; }
@media (max-width: 620px) { .screens { grid-template-columns: 1fr; } }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric { padding: 24px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.metric .big { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent-ink); }
.metric .lbl { color: var(--ink-soft); font-size: 14.5px; margin-top: 4px; }
@media (max-width: 620px) { .metrics { grid-template-columns: 1fr; } }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--bg-elev);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); position: relative; }
.price.featured .badge {
  position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600;
  background: var(--accent); color: #fff; padding: 5px 12px; border-radius: 999px;
}
.price h3 { font-size: 20px; }
.price .amount { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 4px; }
.price .amount small { font-size: 16px; font-weight: 500; color: var(--ink-faint); }
.price .from { font-size: 13px; color: var(--ink-faint); }
.price ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 12px; }
.price li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-soft); }
.price li svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.price .btn { margin-top: auto; justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 6px; }
.form-success { display: none; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; font-size: 15px; margin-top: 8px; }
.form-success.show { display: block; }

.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-elev); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ico svg { width: 20px; height: 20px; color: var(--accent-ink); }
.contact-item .lbl { font-size: 13px; color: var(--ink-faint); }
.contact-item .val { font-weight: 600; font-size: 15px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, #5b54f0 0%, #7c3aed 42%, #2a1065 100%);
  color: #fff; padding: clamp(52px, 9vw, 100px); text-align: center; isolation: isolate;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 75%);
}
.cta-band h2 { color: #fff; font-size: clamp(34px, 5.2vw, 60px); }
.cta-band .eyebrow { color: #d7d4ff; }
.cta-band .eyebrow::before { background: #d7d4ff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 46ch; margin: 18px auto 32px; font-size: 18px; }
.cta-band .btn-primary { background: #fff; color: #4338ca; }
.cta-band .btn-primary:hover { box-shadow: 0 12px 36px -8px rgba(0,0,0,.45); }
.cta-band .glow {
  position: absolute; width: 460px; height: 460px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, #ec4899, transparent 62%); filter: blur(70px); opacity: .55;
  top: -160px; left: 50%; transform: translateX(-50%);
  animation: ctaOrb1 12s ease-in-out infinite alternate;
}
.cta-band .glow::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, #22d3ee, transparent 62%); filter: blur(70px);
  bottom: -340px; left: -180px; animation: ctaOrb2 14s ease-in-out infinite alternate;
}
@keyframes ctaOrb1 { to { transform: translate(-65%, 60px) scale(1.2); } }
@keyframes ctaOrb2 { to { transform: translate(120px, -40px) scale(1.25); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 40px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-grid .brand { margin-bottom: 12px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-faint); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: .2s; }
.footer-social a:hover { color: var(--ink); border-color: var(--ink-soft); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Page hero (interior pages) */
.page-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(8px, 2vw, 16px); }
.page-hero h1 { margin: 18px 0 0; max-width: 18ch; }
.page-hero .lead { margin-top: 22px; max-width: 52ch; }

/* Language toggle */
.lang-toggle {
  margin-left: 10px; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  width: 46px; height: 36px; border-radius: 999px; cursor: pointer; flex-shrink: 0;
  transition: border-color .2s, background .2s, transform .2s;
}
.lang-toggle:hover { border-color: var(--ink-soft); transform: translateY(-1px); }

/* Photo fills */
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Auto-fit grid (handles 5 services) */
.cols-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Align card descriptions to one top line (fix uneven title heights) */
.align-titles .card h3 { min-height: 2.25em; }
@media (max-width: 620px) { .align-titles .card h3 { min-height: 0; } }

/* Behance highlight card */
.behance-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-elev); display: grid; grid-template-columns: 1fr 1fr; min-height: 360px;
}
.behance-card .bh-visual { position: relative; overflow: hidden; }
.behance-card .bh-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) { .behance-card { grid-template-columns: 1fr; } .behance-card .bh-visual { min-height: 220px; } }

/* Utility */
.center { text-align: center; }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: 64px; }
.divider { height: 1px; background: var(--line); border: 0; }

/* =====================================================================
   EXPERIMENTAL HOME (Awwwards-style) — scoped to body.exp + custom cursor
   ===================================================================== */

/* Custom cursor */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; will-change: transform; }
.cursor { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--accent); }
.cursor-ring { width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1px solid var(--ink-soft);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, opacity .3s; mix-blend-mode: difference; }
.cursor-ring.big { width: 80px; height: 80px; margin: -40px 0 0 -40px; mix-blend-mode: normal; background: transparent; border-color: rgba(255,255,255,.9); box-shadow: 0 0 26px 5px color-mix(in srgb, var(--accent) 60%, transparent); }
.cursor-ring.hide { opacity: 0; }
@media (pointer: coarse) { .cursor, .cursor-ring { display: none; } }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .hoverable { cursor: none; }

@media (prefers-reduced-motion: reduce) { .cursor, .cursor-ring { display: none; } .has-cursor, .has-cursor * { cursor: auto; } }

/* --- Experimental hero --- */
.exp .site-header { background: transparent; backdrop-filter: none; }
.exp .site-header.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(180%) blur(16px); }

.exp-hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; align-content: center; padding: 18vh var(--gut) 10vh; }
.exp-bgword { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 0;
  font-size: 25vw; font-weight: 800; letter-spacing: -0.05em; white-space: nowrap; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 22%, transparent); pointer-events: none; }
.exp-headline { position: relative; z-index: 3; pointer-events: none; }
.exp-name { font-size: clamp(52px, 12vw, 180px); line-height: 0.84; font-weight: 800; letter-spacing: -0.045em; margin: 0; }
.exp-name .l2 { display: block; margin-left: clamp(40px, 22vw, 360px); }
.exp-name .stroke { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.exp-portrait { position: absolute; right: 7vw; top: 13vh; width: min(33vw, 400px); aspect-ratio: 3/4; z-index: 2;
  border-radius: 220px 220px 18px 18px; overflow: hidden; box-shadow: var(--shadow-md); }
.exp-portrait img { width: 100%; height: 100%; object-fit: cover; }
.exp-role { position: absolute; left: var(--gut); bottom: 12vh; z-index: 3; font-size: 14px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); max-width: 22ch; line-height: 1.5; }
.exp-tagline { position: absolute; right: var(--gut); bottom: 12vh; z-index: 3; max-width: 30ch; text-align: right;
  font-size: clamp(16px, 1.7vw, 21px); color: var(--ink-soft); }
.exp-scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.exp-scrollcue::after { content: ""; width: 1px; height: 40px; background: var(--ink-faint); animation: cueline 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cueline { 0%,100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 820px) {
  .exp-portrait { position: relative; right: auto; top: auto; width: 62vw; margin: 4vh auto -2vh; }
  .exp-name .l2 { margin-left: 18vw; }
  .exp-role, .exp-tagline { position: relative; left: auto; right: auto; bottom: auto; text-align: left; margin-top: 24px; max-width: none; }
  .exp-tagline { text-align: left; }
  .exp-scrollcue { display: none; }
}

/* --- Velocity marquee (reacts to scroll speed) --- */
.vel { overflow: hidden; padding-block: clamp(14px, 2.6vw, 30px); border-block: 1px solid var(--line); background: var(--bg); }
.vel-track { display: flex; width: max-content; will-change: transform; animation: velscroll 28s linear infinite; }
.vel:hover .vel-track { animation-play-state: paused; }
@keyframes velscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.vel-track span { font-size: clamp(18px, 2.6vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  padding-inline: 0.25em; white-space: nowrap; color: var(--ink); }
.vel-track .o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.vel-track .star { color: var(--accent); -webkit-text-stroke: 0; padding-inline: 0.4em; }

/* --- Asymmetric about --- */
.exp-about { position: relative; padding-block: clamp(64px, 10vw, 150px); overflow: hidden; }
.exp-about .big-num { position: absolute; right: 1vw; top: 4%; font-size: 15vw; font-weight: 800; line-height: 1; opacity: .6;
  color: transparent; -webkit-text-stroke: 1px var(--line); z-index: 0; pointer-events: none; }
.exp-about .inner { position: relative; z-index: 2; max-width: 800px; }
.exp-about h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.04; margin-bottom: 26px; text-wrap: balance; }
.exp-about p { font-size: clamp(16px, 1.55vw, 19px); line-height: 1.65; color: var(--ink-soft); max-width: 52ch; margin-bottom: 16px; }
.exp-about .floatimg { position: absolute; right: 6vw; bottom: 10%; width: min(36vw, 440px); aspect-ratio: 4/5;
  border-radius: 14px; overflow: hidden; z-index: 1; box-shadow: var(--shadow-md); }
.exp-about .floatimg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1080px) { .exp-about .floatimg { display: none; } }

/* --- Horizontal scroll capabilities --- */
.h-scroll { height: 360vh; position: relative; }
.h-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.h-track { display: flex; gap: 4vw; padding-inline: var(--gut); will-change: transform; }
.h-panel { position: relative; flex: 0 0 auto; width: min(78vw, 720px); height: 70svh; border-radius: 24px;
  border: 1px solid var(--line); background: var(--bg-elev); padding: clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.h-panel .pnum { font-size: clamp(16px, 1.4vw, 18px); font-weight: 700; color: var(--accent-ink); letter-spacing: 0.1em; }
.h-panel h3 { font-size: clamp(36px, 5.5vw, 82px); line-height: 0.92; letter-spacing: -0.04em; }
.h-panel p { font-size: clamp(16px, 1.7vw, 21px); color: var(--ink-soft); max-width: 40ch; }
.h-panel .blob { position: absolute; width: 60%; height: 60%; right: -10%; top: -10%; border-radius: 50%;
  background: var(--accent); filter: blur(70px); opacity: .18; }
.h-intro { flex: 0 0 auto; width: min(60vw, 440px); display: flex; flex-direction: column; justify-content: center; padding-left: var(--gut); }
.h-intro h2 { font-size: clamp(34px, 6vw, 80px); line-height: 0.92; }
.h-intro p { color: var(--ink-soft); margin-top: 16px; font-size: 18px; }
@media (max-width: 820px) {
  .h-scroll { height: auto; }
  .h-pin { position: static; height: auto; display: block; padding-block: 60px; }
  .h-track { flex-direction: column; gap: 18px; transform: none !important; }
  .h-panel { width: auto; height: auto; min-height: 56vh; }
  .h-intro { width: auto; padding: 0 var(--gut) 24px; }
}

/* Stronger reveal for experimental sections */
.exp .reveal { transform: translateY(40px); }
.exp .reveal.in { transform: none; }

/* ===== One-page: anchor offset + testimonials ===== */
section[id], div[id].anchor { scroll-margin-top: 70px; }
.quote { position: relative; }
.quote .mark { font-size: 64px; line-height: 0.6; font-weight: 800; color: var(--accent); opacity: .5; height: 30px; display: block; }
.quote p { font-size: clamp(17px, 1.8vw, 20px); color: var(--ink); margin: 14px 0 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; overflow: hidden; display: grid; }
.quote .who .av svg { width: 100%; height: 100%; }
.quote .who b { display: block; font-size: 15px; }
.quote .who span { font-size: 13px; color: var(--ink-faint); }
.section-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }

/* ===== Testimonials: align names to one baseline ===== */
.quote { display: flex; flex-direction: column; }
.quote .who { margin-top: auto; }

/* ===== NEW HERO (editorial + rotating badge) ===== */
.hero2 { position: relative; min-height: calc(100svh - 72px); display: flex; align-items: center; overflow: hidden; padding-block: clamp(8px,2vh,20px); }
.hero2-bg { position: absolute; left: auto; right: -1%; top: auto; bottom: 6%; transform: none; text-align: right; z-index: 0; pointer-events: none;
  font-size: 13vw; font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 8%, transparent); }
.hero2-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.618fr 1fr; gap: clamp(32px, 6.18vw, 78px); align-items: center; width: 100%; }
.hero2 .eyebrow { margin-bottom: clamp(12px,1.6vh,20px); }
.hero2 h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 0.9; letter-spacing: -0.045em; }
.hero2 .lead { margin-top: clamp(14px,1.8vh,22px); max-width: 34ch; }
.hero2 .hero-actions { margin-top: clamp(18px,2.4vh,30px); }
.hero2 .hero-meta { margin-top: clamp(20px,3vh,38px); }

.hero2-photo { position: relative; justify-self: end; width: min(34vw, 400px); }
.photo-mask { position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.photo-mask img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .5s var(--ease); }
.photo-mask:hover img { transform: scale(1.06); }
.badge-rot { position: absolute; left: -54px; bottom: -34px; width: 132px; height: 132px; z-index: 3;
  background: var(--bg); border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.badge-rot svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge-rot text { font-size: 9.2px; font-weight: 600; letter-spacing: 0.14em; fill: var(--ink); text-transform: uppercase; }
.badge-rot .arr { position: absolute; inset: 0; display: grid; place-items: center; }
.badge-rot .arr svg { width: 26px; height: 26px; animation: none; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero2 .chip { position: absolute; z-index: 4; padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--bg-elev); border: 1px solid var(--line); box-shadow: var(--shadow-sm); white-space: nowrap; }
.hero2 .chip.c1 { top: 6%; left: -16%; }
.hero2 .chip.c2 { top: 38%; right: -14%; }
.hero2 .chip.c3 { bottom: 16%; left: -22%; }

@media (max-width: 860px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-photo { justify-self: start; width: 64vw; margin-top: 8px; }
  .hero2 .chip.c1 { left: 2%; } .hero2 .chip.c3 { left: 6%; }
}

/* ===== NEW SERVICES (interactive big list) ===== */
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 4vw, 56px);
  padding: clamp(5px, 0.6vw, 10px) clamp(8px, 1.4vw, 18px); border-bottom: 1px solid var(--line);
  overflow: hidden; transition: color .35s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); transition: transform .45s var(--ease); }
.svc:hover { color: #fff; }
.svc:hover::before { transform: translateY(0); }
.svc-i { font-size: clamp(14px, 1.3vw, 17px); font-weight: 700; letter-spacing: 0.1em; opacity: .7; }
.svc-t { font-size: clamp(19px, 2vw, 27px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.svc-d { font-size: 15px; line-height: 1.5; max-width: 36ch; color: var(--ink-soft); transition: color .35s; justify-self: start; }
.svc:hover .svc-d { color: rgba(255,255,255,.85); }
.svc-x { font-size: 26px; transition: transform .35s var(--ease); }
.svc:hover .svc-x { transform: translate(6px,-6px); }
@media (max-width: 760px) {
  .svc { grid-template-columns: auto 1fr; gap: 14px; }
  .svc-d { grid-column: 1 / -1; }
  .svc-x { display: none; }
}

/* ===== Portfolio: clean text cards (no gradient thumbs) ===== */
.work-card { position: relative; display: flex; flex-direction: column; min-height: 280px; }
.work-card .wnum { position: absolute; top: 22px; right: 26px; font-size: 56px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; }
.work-card .tags { margin-bottom: 18px; }
.work-card h3 { font-size: clamp(24px, 2.6vw, 30px); }
.work-card p { color: var(--ink-soft); font-size: 15.5px; margin-top: 8px; }
.work-card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 22px;
  font-weight: 600; font-size: 14px; color: var(--accent-ink); }
.work-card .more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.work-card:hover .more svg { transform: translate(3px,-3px); }

/* Primary button contrast fix (dark theme accent is light) */
@media (prefers-color-scheme: dark) {
  .btn-primary { color: #14151a; font-weight: 700; }
  .btn-primary svg { color: #14151a; }
}

/* Smaller cursor for text links / buttons (photo stays big) */
.cursor-ring.sm { width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: .55; background: transparent; border-color: var(--ink-soft); }

/* Hero compact social links */
.hero-social { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: clamp(12px,1.8vh,20px); }
.hero-social a { position: relative; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-soft); transition: color .2s; }
.hero-social a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hero-social a:hover { color: var(--ink); }
.hero-social a:hover::after { transform: scaleX(1); }
.hero-social .sep { color: var(--line); font-size: 12px; }

/* Cursor trail (subtle premium) */
.cursor-trail { position: fixed; top: 0; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; box-shadow: 0 0 10px 1px var(--accent);
  background: var(--accent); pointer-events: none; z-index: 9998; opacity: 0; will-change: transform, opacity; }
@media (pointer: coarse) { .cursor-trail { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-trail { display: none; } }

/* Strong primary CTA in header */
.btn.nav-cta { background: #6c5cff; color: #fff; font-weight: 700; letter-spacing: 0.005em;
  box-shadow: 0 8px 22px -8px rgba(108,92,255,.6); }
.btn.nav-cta:hover { background: #5a48ff; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(108,92,255,.7); }
.btn.nav-cta svg { color: #fff; }

/* Pricing spotlight that follows the cursor */
.price { overflow: hidden; isolation: isolate; }
.price::after, .card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%);
}
.price:hover::after, .card:hover::after { opacity: 1; }
.price > *, .card > * { position: relative; z-index: 1; }
.card::before { z-index: 2; }

/* Micro-animations: smoother, more fluid hover */
.card, .work-card, .price, .project { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.work-card:hover, .quote:hover { transform: translateY(-6px) scale(1.02); }
.price:hover { transform: translateY(-5px) scale(1.012); }
.skill-pills span { transition: transform .25s var(--ease), border-color .25s, color .25s; }
.skill-pills span:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--ink); }
.hero-social a, .nav-links a, .more, .svc-x { transition: all .3s var(--ease); }

/* Process block — decorative + more dynamic, less table-like */
#process { position: relative; overflow: hidden; }
.proc-deco { position: absolute; top: clamp(20px, 4vw, 52px); right: clamp(16px, 4vw, 56px); width: clamp(110px, 15vw, 190px);
  color: var(--accent); opacity: .55; pointer-events: none; }
.proc-deco svg { width: 100%; height: auto; display: block; }
.steps { position: relative; z-index: 1; }
.step { transition: background .35s var(--ease), padding .35s var(--ease); border-radius: 14px; }
.step:hover { background: var(--bg-elev); padding-inline: 18px; }
.step:nth-child(even) { padding-left: clamp(16px, 4vw, 72px); }
.step .n { font-size: 16px; font-weight: 700; }
.step .n::after { content: ""; display: block; width: 18px; height: 2px; background: var(--accent); margin-top: 8px; border-radius: 2px; }
@media (max-width: 720px) { .step:nth-child(even) { padding-left: 0; } .proc-deco { display: none; } }

/* Testimonials — horizontal auto-scroll (lots of them) */
.t-scroller { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.t-track { display: flex; gap: 22px; width: max-content; will-change: transform; animation: velscroll 55s linear infinite; }
.t-scroller:hover .t-track { animation-play-state: paused; }
.t-track .quote { flex: 0 0 360px; width: 360px; min-height: 230px; }
@media (max-width: 600px) { .t-track .quote { flex-basis: 82vw; width: 82vw; } }

/* Featured real project (with cover image) */
.work-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; padding: 0; overflow: hidden; margin-bottom: 24px; }
.work-feature .wf-img { position: relative; min-height: 300px; overflow: hidden; }
.work-feature .wf-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-feature:hover .wf-img img { transform: scale(1.05); }
.work-feature .wf-body { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.work-feature .wf-body h3 { font-size: clamp(24px, 3vw, 34px); }
.work-feature .wf-body p { color: var(--ink-soft); font-size: 15.5px; margin-top: 8px; }
.work-feature .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--accent-ink); }
.work-feature .more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.work-feature:hover .more svg { transform: translate(3px,-3px); }
@media (max-width: 760px) { .work-feature { grid-template-columns: 1fr; } .work-feature .wf-img { min-height: 220px; } }

/* Portfolio grid of real works (with cover images) */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }
.wcard { display: block; padding: 0; overflow: hidden; }
.wcard .wc-thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--bg-soft); }
.wcard .wc-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wcard:hover .wc-thumb img { transform: scale(1.06); }
.wcard .wc-body { padding: 20px 22px 24px; position: relative; z-index: 1; }
.wcard .wc-body h3 { font-size: clamp(19px, 2vw, 23px); margin-top: 4px; }
.wcard .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 600; font-size: 13.5px; color: var(--accent-ink); }
.wcard .more svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.wcard:hover .more svg { transform: translate(3px,-3px); }

/* Brand lockup: Design Lab + small byline */
.brand-lock { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-lock small { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-faint); margin-top: 3px; text-transform: none; }

/* Reusable hover light-sweep (shine) — full colour, no grayscale */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -65%; width: 55%; z-index: 4; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-16deg); opacity: 0;
}
.shine:hover::after { animation: shine 1.1s var(--ease); }
@keyframes shine { 0% { left: -65%; opacity: 0; } 18% { opacity: 1; } 100% { left: 125%; opacity: 0; } }
.photo-mask img { filter: none; }
.photo-mask:hover img { transform: scale(1.05); filter: saturate(1.06) brightness(1.02); }

/* ===== Services — asymmetric bento ===== */
.bento-svc { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.bsvc { position: relative; overflow: hidden; padding: clamp(22px, 2.4vw, 34px); grid-column: span 3;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; }
.bsvc.big { grid-column: span 3; grid-row: span 2; }
.bsvc-n { position: absolute; top: 16px; right: 22px; z-index: 0; font-size: clamp(34px, 4.4vw, 76px); font-weight: 800;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; }
.bsvc h3 { position: relative; z-index: 1; font-size: clamp(20px, 2.1vw, 30px); }
.bsvc.big h3 { font-size: clamp(26px, 3vw, 42px); }
.bsvc p { position: relative; z-index: 1; margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; max-width: 40ch; }
.bsvc .tagline { position: relative; z-index: 1; margin-bottom: auto; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 760px) { .bento-svc { grid-template-columns: 1fr; } .bsvc, .bsvc.big { grid-column: span 1; grid-row: auto; min-height: 150px; } }

/* ===== Process — glowing connected path ===== */
.proc-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 8px; }
.proc-flow::before { content: ""; position: absolute; top: 24px; left: 7%; right: 7%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #ec4899, transparent); opacity: .55; }
.pstep { position: relative; }
.pdot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-elev);
  border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--accent-ink);
  transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.pstep:hover .pdot { border-color: var(--accent); transform: translateY(-3px);
  box-shadow: 0 0 20px 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.pstep h3 { font-size: 18px; margin-top: 20px; }
.pstep p { color: var(--ink-soft); font-size: 14px; margin-top: 6px; line-height: 1.5; }
@media (max-width: 760px) {
  .proc-flow { grid-template-columns: 1fr; gap: 6px; }
  .proc-flow::before { top: 0; bottom: 0; left: 23px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, transparent, var(--accent), #ec4899, transparent); }
  .pstep { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 12px 0; }
  .pstep h3 { margin-top: 8px; }
}

/* ===== Services — horizontal scroll rail (editorial) ===== */
.svc-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 12px; scrollbar-width: none; -ms-overflow-style: none;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.svc-rail::-webkit-scrollbar { display: none; }
.svc-tile { flex: 0 0 clamp(250px, 30vw, 360px); scroll-snap-align: start; min-height: 330px;
  padding: 26px 28px; display: flex; flex-direction: column; justify-content: flex-start; position: relative; overflow: hidden; }
.svc-tile .st-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.svc-tile .st-num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent-ink); }
.svc-tile .st-x { font-size: 18px; color: var(--ink-faint); transition: transform .3s var(--ease), color .3s; }
.svc-tile:hover .st-x { transform: translate(4px,-4px); color: var(--accent); }
.svc-tile .st-big { position: absolute; right: 14px; bottom: 2px; font-size: clamp(80px, 9vw, 130px); font-weight: 800;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); z-index: 0; pointer-events: none; }
.svc-tile h3 { position: relative; z-index: 1; font-size: clamp(22px, 2.2vw, 29px); margin-top: 28px; }
.svc-tile p { position: relative; z-index: 1; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin-top: 12px; max-width: 30ch; }
.svc-arrows { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.svc-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-elev);
  color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: .25s var(--ease); }
.svc-arrows button:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 0 22px -4px var(--accent); }
.svc-arrows svg { width: 18px; height: 18px; }
.has-cursor .svc-arrows button { cursor: none; }

/* Pricing: stronger, always-on spotlight per card + any-budget note */
.price::after, .card::after { transition: opacity .3s var(--ease); }
.budget-note { margin-top: 30px; text-align: center; }
.budget-note span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-elev); font-size: 15px; color: var(--ink-soft); }
.budget-note b { color: var(--ink); font-weight: 600; }
.budget-note .pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ===== Process — scroll rail with the full UI/UX flow ===== */
.proc-flow { display: block; grid-template-columns: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 28px 26px 24px; }
.proc-flow::-webkit-scrollbar { display: none; }
.proc-flow::before { content: none; }
.proc-track { display: flex; gap: 28px; width: max-content; position: relative; padding-top: 2px; }
.proc-track::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #ec4899, transparent); opacity: .5; }
.proc-flow .pstep { flex: 0 0 clamp(165px, 19vw, 200px); display: block; padding: 0; }
.proc-flow .pstep h3 { margin-top: 20px; }
@media (max-width: 760px) { .proc-flow .pstep { flex-basis: 62vw; } }

/* Uniform, aligned select dropdowns */
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b8f99' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}

/* Any-budget banner — refined */
.budget-note { margin-top: 36px; display: flex; justify-content: center; }
.bn-card { display: inline-flex; align-items: center; gap: 16px; padding: 15px 26px 15px 16px; border-radius: 999px;
  position: relative; border: 1px solid transparent;
  background: linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    linear-gradient(100deg, var(--accent), #ec4899, var(--accent)) border-box;
  background-size: 100% 100%, 220% 100%; animation: bnflow 7s linear infinite;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.bn-card:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
@keyframes bnflow { 
    to { background-position: 0 0, 220% 0; } 
}

.bn-ico {
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ec4899);
    box-shadow: 0 0 22px -4px var(--accent);
}
.bn-card p { font-size: clamp(14px, 1.4vw, 16px); color: var(--ink-soft); line-height: 1.4; }
.bn-grad { font-weight: 700; background: linear-gradient(100deg, var(--accent), #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@media (max-width: 520px) { .bn-card { border-radius: 20px; } }

/* Budget icon: centered star in a circle */
.bn-ico { border-radius: 50%; }
.bn-ico svg { width: 18px; height: 18px; display: block; }

/* Pricing: every card clearly lights up on hover */
.price:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 16px 46px -16px color-mix(in srgb, var(--accent) 55%, transparent); }

/* ===== Services — Swiss-style horizontal gallery ===== */
.ss-head { display: flex; align-items: baseline; gap: clamp(16px, 3vw, 32px); border-top: 1px solid var(--line);
  padding-top: 18px; margin-bottom: clamp(30px, 5vw, 52px); }
.ss-head .ss-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }
.ss-head .ss-title { font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.ss-head .ss-count { margin-left: auto; font-size: 12px; letter-spacing: .18em; color: var(--ink-faint); }
.ss-rail { display: flex; gap: clamp(20px, 3vw, 44px); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 8px; align-items: flex-start; }
.ss-rail::-webkit-scrollbar { display: none; }
.ss-tile { flex: 0 0 clamp(220px, 24vw, 290px); scroll-snap-align: start; }
.ss-tile:nth-child(even) { margin-top: clamp(36px, 6vw, 80px); }
.ss-frame { position: relative; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden; border: 1px solid var(--line);
  transition: transform .5s var(--ease); }
.ss-tile:hover .ss-frame { transform: translateY(-4px); }
.ss-bignum { position: absolute; left: 14px; top: 8px; z-index: 2; font-size: clamp(44px, 5vw, 66px); font-weight: 800;
  line-height: 1; color: #fff; mix-blend-mode: overlay; }
.ss-cap { margin-top: 16px; }
.ss-rule { height: 1px; background: var(--line); position: relative; overflow: hidden; margin-bottom: 12px; }
.ss-rule::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--accent); transition: width .55s var(--ease); }
.ss-tile:hover .ss-rule::after { width: 100%; }
.ss-num { font-size: 12px; letter-spacing: .12em; color: var(--accent-ink); }
.ss-tile h3 { font-size: clamp(18px, 1.9vw, 24px); margin-top: 8px; }
.ss-tile p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin-top: 8px; max-width: 26ch; }
.ss-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.ss-nav button { background: none; border: 0; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; padding: 6px 8px;
  transition: color .25s var(--ease), transform .25s var(--ease); }
.ss-nav button:first-child:hover { transform: translateX(-4px); color: var(--accent); }
.ss-nav button:last-child:hover { transform: translateX(4px); color: var(--accent); }
.ss-nav .ss-navline { width: clamp(60px, 10vw, 110px); height: 1px; background: var(--line); }
.has-cursor .ss-nav button { cursor: none; }
@media (max-width: 600px) { .ss-tile { flex-basis: 70vw; } .ss-head .ss-title { display: none; } }

/* Swiss services — type-only (no image frames) */
.ss-frame { display: none; }
.ss-tile { flex-basis: clamp(220px, 24vw, 280px); }
.ss-bignum { position: static; display: block; margin: 0 0 22px; font-size: clamp(64px, 8vw, 108px); font-weight: 800;
  line-height: 1; color: transparent; mix-blend-mode: normal;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 38%, var(--line));
  transition: -webkit-text-stroke-color .4s var(--ease); }
.ss-tile:hover .ss-bignum { -webkit-text-stroke-color: var(--accent); }
.ss-num { display: block; }
.ss-cap { margin-top: 0; }

/* ===== Mentoring section ===== */
.mentor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .mentor-grid { grid-template-columns: 1fr; } }
.mentor-card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 38px); }
.mc-tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.mentor-card h3 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 12px; }
.mentor-card > p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.mc-list { list-style: none; margin-top: 22px; column-count: 2; column-gap: 26px; }
.mc-list li { position: relative; padding-left: 20px; margin-bottom: 11px; break-inside: avoid; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.mc-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); opacity: .6; }
@media (max-width: 460px) { .mc-list { column-count: 1; } }
.mentor-card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; font-weight: 600; font-size: 14px; color: var(--accent-ink); }
.mentor-card .more svg { width: 15px; height: 15px; }

/* Portfolio review — highlighted band */
.review-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 3.5vw, 44px); border: 1px solid transparent; border-radius: var(--radius);
  background: linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    linear-gradient(110deg, var(--accent), #ec4899) border-box; }
@media (max-width: 760px) { .review-band { grid-template-columns: 1fr; } }
.review-band h3 { font-size: clamp(22px, 2.6vw, 30px); }
.review-band p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.review-list { list-style: none; display: grid; gap: 12px; }
.review-list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-soft); }
.review-list li svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }

/* Format row */
.format-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .format-row { grid-template-columns: 1fr; } }
.format-item { display: flex; gap: 14px; align-items: flex-start; }
.format-item .fnum { font-size: 13px; font-weight: 700; color: var(--accent-ink); padding-top: 3px; }
.format-item h4 { font-size: 16px; margin-bottom: 4px; }
.format-item p { font-size: 14px; color: var(--ink-soft); }

/* Smoother, lighter reveal on phones */
@media (max-width: 760px) {
  .reveal { transform: translateY(16px); transition-duration: .6s; }
  .exp .reveal { transform: translateY(20px); }
}

/* ===== Mobile performance: drop heavy effects so scrolling stays smooth ===== */
@media (max-width: 820px) {
  .site-header, .exp .site-header, .exp .site-header.scrolled {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
  }
  .mesh::before, .mesh::after { animation: none !important; }
  .hero2-bg { animation: none !important; }
  .cta-band .glow, .cta-band .glow::before { animation: none !important; }
  .hero::before { animation: none !important; }
  .bn-card { animation: none !important; }
  /* lighter blur for gradient fields on mobile */
  .mesh::before, .mesh::after { filter: blur(30px); }
}

/* Showreel mode: hide cursor bits so the recording is clean */
.reel .cursor, .reel .cursor-ring, .reel .cursor-trail { display: none !important; }
.reel { cursor: none; }

/* ===== UX: consistent, accessible buttons ===== */
.btn { min-height: 50px; }                          /* comfortable tap target */
.hero2 .hero-actions .btn { width: 240px; justify-content: center; }   /* paired = equal width */
.price .btn { width: 100%; justify-content: center; }                  /* full-width inside cards */

@media (max-width: 640px) {
  .hero2 .hero-actions { flex-direction: column; align-items: stretch; }
  .hero2 .hero-actions .btn { width: 100%; }
  .center .btn, .cta-band .btn, .price .btn, .budget-note .btn { width: 100%; justify-content: center; }
  .btn { min-height: 54px; font-size: 16px; }       /* bigger touch target on mobile */
}

/* ===== UX/a11y: visible keyboard focus ===== */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible, .lang-toggle:focus-visible, .nav-toggle:focus-visible,
.nav-links a:focus-visible, .ss-nav button:focus-visible { outline-offset: 4px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; } /* these already show a focus ring */
.has-cursor :focus-visible { outline: 2px solid var(--accent); }  /* keep focus ring even with custom cursor */

/* Skip-to-content link */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: top .2s var(--ease); }
.skip-link:focus { top: 16px; }
