/* ==========================================================================
   Udaikiran P — Portfolio
   Design tokens
   ========================================================================== */

:root {
  --ink: #14120f;
  --ink-2: #0f0d0b;
  --surface: #1c1913;
  --surface-2: #251f16;
  --line: rgba(245, 241, 230, 0.11);
  --line-strong: rgba(245, 241, 230, 0.22);

  --amber: #e4a64a;
  --amber-soft: rgba(228, 166, 74, 0.14);
  --indigo: #7c8cff;
  --indigo-soft: rgba(124, 140, 255, 0.14);

  --paper: #f5f1e6;
  --muted: #a89d8a;
  --muted-2: #766c5c;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Space Mono", "SFMono-Regular", monospace;

  --container: 1160px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Grain texture — sits above the gradients, below content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Ambient glow blobs, fixed to viewport */
.glow-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite;
}
.glow-blob.amber { width: 480px; height: 480px; background: var(--amber); top: -160px; left: -120px; opacity: 0.14; }
.glow-blob.indigo { width: 520px; height: 520px; background: var(--indigo); top: 20%; right: -180px; opacity: 0.12; animation-delay: -8s; }
.glow-blob.amber-2 { width: 380px; height: 380px; background: var(--amber); bottom: -140px; left: 30%; opacity: 0.08; animation-delay: -14s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.06); }
}

main, .nav, .footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--amber);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; color: var(--muted); }

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--paper);
  margin-top: 14px;
}

/* ---------------------------------------------------------------------- */
/* Nav */
/* ---------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 18, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--paper);
}
.logo .dot { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 34px;
  font-size: 14px;
}
.nav-links a {
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a.active { color: var(--paper); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--amber);
}

.nav-right { display: flex; align-items: center; gap: 22px; }

.nav-cta {
  font-size: 13px;
  font-family: var(--font-mono);
  border: 1px solid var(--line-strong);
  padding: 9px 16px;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { border-color: var(--amber); background: var(--amber-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  width: 38px; height: 38px;
  border-radius: var(--radius);
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-links { 
    position: fixed; inset: 61px 0 0 0;
    background: var(--ink);
    flex-direction: column;
    padding: 32px 28px;
    gap: 22px;
    font-size: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------------------------------------------------------------------- */
/* Buttons */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary {
  background: var(--amber);
  color: var(--ink-2);
  font-weight: 700;
}
.btn-primary:hover { transform: translateY(-2px); background: #f0b563; }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------------- */
/* Hero + swing tag signature element */
/* ---------------------------------------------------------------------- */

.hero {
  padding: 88px 0 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-top: 20px;
  color: var(--paper);
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  max-width: 480px;
  margin-top: 24px;
  font-size: 17px;
  color: var(--muted);
}
.hero-actions { margin-top: 36px; }

.tag-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}
.swing-tag {
  --tilt: -6deg;
  width: 250px;
  transform-origin: top center;
  animation: swing 6s ease-in-out infinite;
}
@keyframes swing {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
.swing-tag .string {
  width: 1px;
  height: 46px;
  background: var(--muted-2);
  margin: 0 auto;
}
.tag-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px 10px 4px 4px;
  padding: 26px 20px 22px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.tag-card::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-strong);
}
.tag-card .tag-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-top: 14px;
  display: block;
}
.tag-card .tag-role {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--paper);
  margin-top: 6px;
  min-height: 34px;
}
.tag-card .tag-role .role-accent { color: var(--amber); }
.tag-card hr {
  border: none;
  border-top: 1px dashed var(--line-strong);
  margin: 16px 0;
}
.tag-card .tag-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

/* ---------------------------------------------------------------------- */
/* Cards / grids */
/* ---------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pillar:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pillar .pillar-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.pillar h3 {
  font-size: 22px;
  color: var(--paper);
  margin-top: 14px;
}
.pillar p { margin-top: 10px; font-size: 14.5px; }
.chip-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
}

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--amber);
}
.stat .lbl {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Work preview / case cards */
.case-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.case-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.case-visual {
  aspect-ratio: 16/10;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.case-body { padding: 22px 24px 26px; }
.case-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-body h3 { color: var(--paper); font-size: 21px; margin-top: 8px; }
.case-body p { margin-top: 8px; font-size: 14px; }

/* CTA band */
.cta-band {
  border-top: 1px solid var(--line);
  padding: 90px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(30px, 5vw, 52px);
  color: var(--paper);
}
.cta-band .hero-sub { margin: 20px auto 0; text-align: center; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }

/* ---------------------------------------------------------------------- */
/* Footer */
/* ---------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 26px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
}
.footer-col a {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------------------------------------------- */
/* Page header (inner pages) */
/* ---------------------------------------------------------------------- */

.page-header {
  padding: 76px 0 50px;
}
.page-header h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  margin-top: 18px;
  color: var(--paper);
  max-width: 760px;
}
.page-header .hero-sub { margin-top: 20px; }

/* ---------------------------------------------------------------------- */
/* Timeline (About) */
/* ---------------------------------------------------------------------- */

.timeline { border-top: 1px solid var(--line); }
.tl-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.tl-item .tl-year {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--amber);
  padding-top: 4px;
}
.tl-item h4 { color: var(--paper); font-size: 18px; }
.tl-item .tl-org { font-size: 13.5px; margin-top: 4px; color: var(--muted); }
.tl-item .tl-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
  height: fit-content;
}

/* Skill columns */
.skill-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.skill-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 400;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.skill-col ul { list-style: none; padding: 0; margin: 16px 0 0; }
.skill-col li {
  font-size: 14.5px;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}

.tools-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tools-strip span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 20px;
  color: var(--paper);
}

/* ---------------------------------------------------------------------- */
/* Work page detailed cases */
/* ---------------------------------------------------------------------- */

.case-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.case-detail:last-child { border-bottom: none; }
.case-detail.reverse { grid-template-columns: 1.1fr 0.9fr; }
.case-detail.reverse .case-visual-block { order: 2; }

.case-visual-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.case-meta-row {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.case-meta-row .m {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
}
.case-meta-row .m b { display: block; color: var(--paper); font-size: 13px; margin-top: 4px; font-family: var(--font-body); }

.case-list { list-style: none; padding: 0; margin: 22px 0 0; }
.case-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 10px;
}
.case-list li::before {
  content: "—";
  position: absolute; left: 0; color: var(--amber);
}

/* ---------------------------------------------------------------------- */
/* Contact page */
/* ---------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-links { display: flex; flex-direction: column; gap: 0; margin-top: 30px; }
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}
.contact-link:hover { color: var(--amber); }
.contact-link .cl-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-link .cl-value { font-size: 18px; margin-top: 4px; color: var(--paper); font-family: var(--font-display); }
.contact-link:hover .cl-value { color: var(--amber); }
.contact-link .arrow { font-family: var(--font-mono); color: var(--muted-2); }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------------------------------------------------------------------- */
/* Scroll reveal */
/* ---------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.5s; }

/* ---------------------------------------------------------------------- */
/* Button shine */
/* ---------------------------------------------------------------------- */

.btn { position: relative; overflow: hidden; }
.btn span.shine {
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn:hover span.shine { left: 130%; }

/* ---------------------------------------------------------------------- */
/* Marquee ticker */
/* ---------------------------------------------------------------------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 46px;
  padding-right: 46px;
  flex-shrink: 0;
}
.marquee-group span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.marquee-group span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee.reverse .marquee-track { animation-direction: reverse; }

/* Big serif marquee (used under hero) */
.marquee-lg { border: none; padding: 6px 0; }
.marquee-lg .marquee-group span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: var(--muted-2);
  text-transform: none;
  letter-spacing: 0;
}
.marquee-lg .marquee-group span::before { display: none; }
.marquee-lg .marquee-group span.hi { color: var(--amber); }
.marquee-lg .marquee-group span.hi2 { color: var(--indigo); }
.marquee-lg .marquee-group span.sep { color: var(--line-strong); }

/* ---------------------------------------------------------------------- */
/* Quote / philosophy block */
/* ---------------------------------------------------------------------- */

.quote-block {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 90px;
  color: var(--amber);
  opacity: 0.35;
  line-height: 1;
}
.quote-block blockquote {
  margin: 6px auto 0;
  max-width: 780px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 38px);
  color: var(--paper);
  line-height: 1.4;
}
.quote-cite {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------- */
/* Process rail */
/* ---------------------------------------------------------------------- */

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  padding: 0 26px 0 0;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px; right: 0;
  width: 26px; height: 1px;
  background: var(--line-strong);
}
.process-step .p-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  border: 1px solid var(--line-strong);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { color: var(--paper); font-size: 18px; margin-top: 20px; }
.process-step p { margin-top: 8px; font-size: 13.5px; }

/* ---------------------------------------------------------------------- */
/* Feature split (image + text, big) */
/* ---------------------------------------------------------------------- */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-visual {
  aspect-ratio: 5/4;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.feature-visual .glow-inner {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 20%, rgba(228,166,74,0.18), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(124,140,255,0.16), transparent 50%);
}

/* ---------------------------------------------------------------------- */
/* FAQ accordion */
/* ---------------------------------------------------------------------- */

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--paper);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--amber);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 0 26px;
  max-width: 640px;
  font-size: 14.5px;
}

/* ---------------------------------------------------------------------- */
/* Badge / availability pill */
/* ---------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 8px 16px 8px 12px;
  border-radius: 30px;
}
.pill .dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7ee08a;
  box-shadow: 0 0 0 3px rgba(126,224,138,0.18);
  animation: pulse-live 2s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------------------------------------------------------------------- */
/* Big kicker number section (used for "focus areas" style blocks) */
/* ---------------------------------------------------------------------- */

.kicker-list { border-top: 1px solid var(--line); }
.kicker-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.25s var(--ease);
}
.kicker-row:hover { background: rgba(245,241,230,0.02); }
.kicker-row .k-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-2);
}
.kicker-row h4 { color: var(--paper); font-size: 21px; }
.kicker-row .k-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ---------------------------------------------------------------------- */
/* Responsive */
/* ---------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .tag-stage { order: -1; padding-bottom: 10px; }
  .grid-3, .grid-2, .skill-cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .case-detail, .case-detail.reverse { grid-template-columns: 1fr; }
  .case-detail.reverse .case-visual-block { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-item .tl-tag { justify-self: start; }
  .process-rail { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .process-step:nth-child(2)::after { display: none; }
  .feature-split { grid-template-columns: 1fr; }
  .kicker-row { grid-template-columns: 1fr; gap: 10px; }
  .kicker-row .k-tags { justify-content: flex-start; }
  .marquee-lg .marquee-group span { font-size: 20px; }
}
