/* =========================================================
   shingedev portfolio
   ========================================================= */

:root {
  --bg: #08080a;
  --bg-2: #0e0e11;
  --surface: #121216;
  --surface-2: #17171c;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f0eb;
  --muted: #8e8d87;
  --dim: #5b5a56;
  --accent: #c8f560;
  --accent-soft: rgba(200, 245, 96, 0.12);
  --violet: #8b7cff;

  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0b0b0b; }

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

em {
  font-style: normal;
  font-weight: inherit;
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* Film grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Shared ---------- */
.label,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2s var(--ease) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--text);
  color: #0b0b0c;
  font-weight: 500;
  font-size: 15px;
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.4s;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.4s var(--ease);
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -10px rgba(200, 245, 96, 0.5);
}

.btn:hover svg { transform: translate(2px, -2px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.btn--small { padding: 10px 18px; font-size: 14px; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  width: min(var(--container), 100% - 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.5s var(--ease), border-color 0.5s, backdrop-filter 0.5s;
}

.nav.is-scrolled {
  background: rgba(14, 14, 17, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; }

.nav__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: #0b0b0b;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}

.nav__links { display: flex; gap: 4px; }

.nav__links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s, background 0.3s;
}

.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav__right { display: flex; align-items: center; gap: 10px; }

/* EN / HU switch */
.lang {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang__btn {
  position: relative;
  display: block;
  text-align: center;
  text-decoration: none;
  z-index: 1;
  min-width: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.3s;
}

.lang__btn:hover { color: var(--text); }
.lang__btn[aria-current="page"] { color: #0b0b0b; }
.lang__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lang__pill {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--accent);
  transition: transform 0.45s var(--ease);
}

.lang[data-active="hu"] .lang__pill { transform: translateX(100%); }

/* Fade content while switching language */
main,
.nav__links,
.nav__right .btn,
.footer { transition: opacity 0.18s ease; }

.is-switching main,
.is-switching .nav__links,
.is-switching .nav__right .btn,
.is-switching .footer { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%);
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(200, 245, 96, 0.13), transparent 55%),
    radial-gradient(circle at 65% 60%, rgba(139, 124, 255, 0.14), transparent 55%);
  filter: blur(40px);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  to { transform: translate(-6%, 8%) scale(1.08); }
}

.hero__inner { position: relative; z-index: 1; }

.hero__title {
  margin-top: 32px;
  font-size: clamp(44px, 7.6vw, 112px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.045em;
  --d: 0.08s;
}

.hero__title em { color: var(--accent); letter-spacing: -0.02em; }

/* Hungarian lines run longer, so scale the headline down a touch */
html[lang="hu"] .hero__title { font-size: clamp(36px, 5.9vw, 86px); }
html[lang="hu"] .contact__title { font-size: clamp(40px, 6.6vw, 96px); }

.hero__lead {
  max-width: 600px;
  margin-top: 36px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  --d: 0.16s;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  --d: 0.24s;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
  margin: 80px 0 0;
  border-top: 1px solid var(--line);
  --d: 0.32s;
}

.hero__stats div { padding: 24px 24px 0 0; }
.hero__stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }

.hero__stats dt {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 230px; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 24px;
  height: 40px;
  margin-left: -12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text);
  animation: scrolldot 2s var(--ease) infinite;
}

@keyframes scrolldot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 32px;
  padding-right: 32px;
  animation: marquee 45s linear infinite;
  white-space: nowrap;
}

.marquee__track span {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.marquee__track i { font-style: normal; color: var(--accent); font-size: 12px; }

@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: 140px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section__head {
  display: grid;
  gap: 20px;
  margin-bottom: 72px;
}

.section__title {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.section__title em { color: var(--muted); }

.section__lead { max-width: 560px; color: var(--muted); font-size: 17px; }

/* ---------- Bento / Cards ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.card--wide { grid-column: span 7; }
.card--medium { grid-column: span 5; }
.card--small { grid-column: span 4; }

.bento > :nth-child(3) { grid-column: span 5; }
.bento > :nth-child(4) { grid-column: span 7; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  overflow: hidden;
  isolation: isolate;
  transition: opacity 1s var(--ease) var(--d, 0s), transform 0.8s var(--ease), border-color 0.5s var(--ease);
}

.card:nth-child(2) { --d: 0.08s; }
.card:nth-child(4) { --d: 0.08s; }
.card:nth-child(6) { --d: 0.08s; }
.card:nth-child(7) { --d: 0.16s; }

/* cursor spotlight */
[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 245, 96, 0.07), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
}

[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 245, 96, 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

[data-spotlight]:hover::before,
[data-spotlight]:hover::after { opacity: 1; }

.card:hover { transform: translateY(-4px); }

.card__visual {
  position: relative;
  height: 260px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgba(200, 245, 96, 0.06), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, 0.025) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.025) 31px 32px);
}

.card--small .card__visual { height: 200px; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tag {
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag--accent { color: var(--accent); border-color: rgba(200, 245, 96, 0.35); background: var(--accent-soft); }

.card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__status .status-dot { width: 6px; height: 6px; }
.card__status--progress .status-dot { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.card__status--oss { color: var(--text); }

.card__title {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.card__text { margin-top: 12px; color: var(--muted); font-size: 15px; }

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
}

.stack li {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  color: #b9b8b1;
}

.card__note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Visual: agents */
.visual-agents { display: grid; place-items: center; }
.agents { width: 100%; height: 100%; }
.agents line { stroke: rgba(255, 255, 255, 0.09); stroke-width: 1; }
.agents .pulse { fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent)); }
.agents .node circle { fill: var(--surface-2); stroke: var(--line-strong); }
.agents .node text {
  font-family: var(--font-mono);
  font-size: 8.5px;
  fill: var(--muted);
  text-anchor: middle;
  letter-spacing: 0.04em;
}
.agents .node.is-active circle { stroke: var(--accent); fill: rgba(200, 245, 96, 0.12); }
.agents .node.is-active text { fill: var(--text); }
.agents .node--hub circle { fill: var(--accent); stroke: none; }
.agents .node--hub text { fill: #0b0b0b; font-weight: 500; font-size: 9px; }
.agents .hub-ring { fill: none; stroke: rgba(200, 245, 96, 0.3); animation: ring 3s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }

@keyframes ring {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Visual: terminal */
.visual-terminal { display: grid; place-items: center; padding: 20px 24px; }

.terminal {
  width: 100%;
  max-width: 420px;
  height: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(8, 8, 10, 0.85);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 11px;
}

.terminal__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.terminal__bar span { margin-left: 8px; }
.terminal__body { padding: 10px 14px; line-height: 1.7; color: #c9c8c1; }
.terminal__body p { white-space: nowrap; animation: line-in 0.4s var(--ease) both; }
.t-dim { color: var(--dim); }
.t-ok { color: var(--accent); }
.t-v { color: var(--violet); }
.terminal__body .t-right { float: right; color: var(--dim); }

@keyframes line-in {
  from { opacity: 0; transform: translateY(4px); }
}

/* Visual: timeline */
.visual-timeline { display: flex; align-items: center; padding: 28px; }

.timeline {
  position: relative;
  width: 100%;
  display: grid;
  gap: 10px;
}

.timeline__row {
  display: flex;
  gap: 4px;
  height: 34px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.timeline__row--wave { align-items: center; gap: 2px; height: 64px; }
.timeline__row--wave span {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(200, 245, 96, 0.35));
}

.timeline__row--shots span,
.timeline__row--music span {
  width: var(--w);
  border-radius: 4px;
  background: rgba(139, 124, 255, 0.25);
  border: 1px solid rgba(139, 124, 255, 0.45);
}

.timeline__row--shots span:nth-child(even) { background: rgba(139, 124, 255, 0.14); }

.timeline__row--music span {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 6px);
  border-color: var(--line-strong);
}

.timeline__head {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 0;
  width: 2px;
  background: var(--text);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
  animation: playhead 7s linear infinite;
}

.timeline__head::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--text);
}

@keyframes playhead {
  from { left: 0; }
  to { left: 100%; }
}

/* Visual: playing cards */
.visual-cards {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 70%, rgba(80, 255, 140, 0.13), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, 0.025) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.025) 31px 32px);
}

.playing-cards { position: relative; width: 300px; height: 200px; }

.pcard {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 116px;
  height: 164px;
  margin-left: -58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(110, 255, 160, 0.35);
  background:
    linear-gradient(160deg, rgba(110, 255, 160, 0.12), transparent 50%),
    linear-gradient(180deg, #16161b, #0c0c0f);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 30px -8px rgba(80, 255, 140, 0.35);
  transition: transform 0.8s var(--ease);
}

.pcard::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(110, 255, 160, 0.15);
  border-radius: 7px;
}

.pcard span {
  font-size: 44px;
  color: #6effa0;
  line-height: 1;
  text-shadow: 0 0 18px rgba(110, 255, 160, 0.9);
}

.pcard:nth-child(1) { transform: translateX(-90px) rotate(-14deg) translateY(14px); }
.pcard:nth-child(2) { z-index: 1; transform: translateY(-6px); }
.pcard:nth-child(3) { transform: translateX(90px) rotate(14deg) translateY(14px); }

.card:hover .pcard:nth-child(1) { transform: translateX(-118px) rotate(-20deg) translateY(18px); }
.card:hover .pcard:nth-child(2) { transform: translateY(-18px) scale(1.04); }
.card:hover .pcard:nth-child(3) { transform: translateX(118px) rotate(20deg) translateY(18px); }

/* Visual: particles */
.visual-particles canvas { display: block; width: 100%; height: 100%; }

/* Visual: booking grid */
.visual-booking { display: grid; place-items: center; padding: 22px; }

.booking {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: 100%;
  max-width: 300px;
}

.booking span {
  aspect-ratio: 1.5;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.5s, border-color 0.5s;
}

.booking span.is-booked { background: rgba(200, 245, 96, 0.22); border-color: rgba(200, 245, 96, 0.45); }
.booking span.is-new { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px rgba(200, 245, 96, 0.7); }
.booking b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9.5px;
  color: var(--dim);
  text-align: center;
  letter-spacing: 0.06em;
}

/* Visual: chart */
.visual-chart { padding: 26px 0 0; }
.chart { width: 100%; height: 100%; display: block; }
.chart__grid { stroke: var(--line); stroke-dasharray: 3 5; fill: none; }
.chart__area { fill: url(#chartFill); }
.chart__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.card.is-visible .chart__line { animation: draw 2.4s 0.4s var(--ease) forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Now ---------- */
.now { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.now .section__head { position: sticky; top: 120px; margin-bottom: 0; }

.now__list { border-top: 1px solid var(--line); }

.now__list li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 1s var(--ease), transform 1s var(--ease), padding 0.5s var(--ease);
}

.now__list li:hover { padding-left: 12px; }

.now__idx {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
}

.now__list h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.now__list p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 520px; }

.now__tag {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.services > .service { grid-column: span 2; }
.services > .service--featured { grid-column: span 3; }

.service {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: opacity 1s var(--ease) var(--d, 0s), transform 0.8s var(--ease);
}

.service:hover { transform: translateY(-4px); }

.service--featured {
  display: flex;
  flex-direction: column;
  padding: 44px;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(200, 245, 96, 0.1), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: rgba(200, 245, 96, 0.2);
}

.service.service--featured h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }
.service--featured .checklist { margin-top: auto; padding-top: 28px; }

.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.service--featured .service__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--accent);
  border: none;
}

.service__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service--featured .service__icon svg { width: 32px; height: 32px; stroke: #0b0b0b; }

.service .service__kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.service h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.service p { margin-top: 12px; color: var(--muted); font-size: 15px; }

.checklist { display: grid; gap: 4px; }

.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.checklist li:last-child { border-bottom: 0; }

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 11px no-repeat,
    var(--accent);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.step { padding: 36px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step:nth-child(2) { --d: 0.08s; }
.step:nth-child(3) { --d: 0.16s; }
.step:nth-child(4) { --d: 0.24s; }

.step__num {
  display: block;
  margin-bottom: 40px;
  font-weight: 300;
  font-size: 52px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}

.step h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testimonial { padding: 150px 0 0; }

.testimonial__head {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: 56px;
  text-align: center;
}

.testimonial__title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 40px 40px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(200, 245, 96, 0.06), transparent 60%),
    var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: opacity 1s var(--ease) var(--d, 0s), transform 0.8s var(--ease);
}

.quote:nth-child(2) { --d: 0.1s; }
.quote:hover { transform: translateY(-4px); }

.quote__mark {
  display: block;
  width: 40px;
  height: 30px;
  margin-bottom: 24px;
  fill: var(--accent);
  filter: drop-shadow(0 0 14px rgba(200, 245, 96, 0.35));
}

.quote__text {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: #dcdbd5;
}

.quote__by {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 32px;
}

.quote__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(200, 245, 96, 0.4);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.quote__avatar svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote__by strong { display: block; font-weight: 500; font-size: 16px; }
.quote__role { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; }
  .quote { padding: 32px 26px 28px; }
}

/* ---------- FAQ ---------- */
.faq { padding-bottom: 0; }
.faq__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq .section__head { position: sticky; top: 120px; margin-bottom: 0; }

.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  position: relative;
  padding: 26px 48px 26px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  transition: color 0.3s;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 9px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 9px no-repeat;
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--accent);
  background-color: var(--accent-soft);
}

.faq__item p {
  max-width: 600px;
  padding: 0 48px 28px 0;
  color: var(--muted);
  font-size: 16px;
}

.faq__item[open] p { animation: faq-in 0.45s var(--ease); }

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
}

@media (max-width: 1080px) {
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq .section__head { position: static; }
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding: 180px 0;
  overflow: hidden;
  text-align: center;
}

.contact__glow {
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 1100px;
  height: 700px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(200, 245, 96, 0.16), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }

.contact__title {
  margin-top: 24px;
  font-size: clamp(44px, 7.4vw, 108px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.contact__title em { color: var(--accent); }

.contact__lead { max-width: 600px; margin-top: 28px; color: var(--muted); font-size: 18px; }

.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  padding: 22px 34px;
  border-radius: 999px;
  background: var(--text);
  color: #0b0b0b;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: background 0.3s, transform 0.5s var(--ease), box-shadow 0.5s;
}

.contact__mail svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.4s var(--ease); }

.contact__mail:hover {
  background: var(--accent);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 60px -15px rgba(200, 245, 96, 0.6);
}

.contact__mail:hover svg { transform: translate(3px, -3px); }

/* Contact card + form */
.contact__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: 56px;
  width: min(1080px, 100%);
  margin-top: 56px;
  padding: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(200, 245, 96, 0.07), transparent 60%),
    rgba(18, 18, 22, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
}

.contact__side { display: flex; flex-direction: column; align-items: flex-start; }

.contact__person { display: flex; align-items: center; gap: 16px; }

.contact__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0b0b;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.contact__name { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.contact__role { margin-top: 4px; font-size: 13px; color: var(--muted); }

.contact__avail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 14px;
  border: 1px solid rgba(200, 245, 96, 0.25);
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}
.contact__avail .status-dot { flex-shrink: 0; }

.contact__promises { display: grid; gap: 14px; margin: 36px 0 0; }

.contact__promises li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.contact__promises li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 11px no-repeat,
    var(--accent);
}

.contact__book { margin-top: 32px; }
/* Booking button stays hidden until a real Cal.com link is set */
[data-booking][href*="YOUR_"] { display: none; }

.contact__or {
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact__card .contact__mail {
  margin-top: 12px;
  padding: 14px 22px;
  font-size: 16px;
}

.contact__mail--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.contact__mail--ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: none; }

/* Form */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field { display: grid; gap: 8px; }

.field__label {
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__label i { font-style: normal; color: var(--dim); text-transform: none; letter-spacing: 0; }

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }

.field input:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.24); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(200, 245, 96, 0.6);
  background: rgba(200, 245, 96, 0.03);
  box-shadow: 0 0 0 4px rgba(200, 245, 96, 0.1);
}

.field.is-invalid input,
.field.is-invalid textarea { border-color: rgba(255, 110, 110, 0.7); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend { margin-bottom: 8px; float: left; width: 100%; }

.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

.chip span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.chip:hover span { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #0b0b0b; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 6px;
}

.form__privacy { max-width: 300px; font-size: 13px; color: var(--dim); }
.form__privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s; }
.form__privacy a:hover { color: var(--text); }
.form__submit { flex-shrink: 0; border: 0; cursor: pointer; font-family: inherit; }
.form__submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.form__status { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.form__status.is-error { color: #ff8a8a; }
.form__status.is-success { color: var(--accent); }

.form.is-sent .field,
.form.is-sent .form__row,
.form.is-sent .chips,
.form.is-sent .form__footer { display: none; }

.form.is-sent .form__status {
  display: grid;
  place-items: center;
  min-height: 320px;
  text-align: center;
  font-size: 20px;
  line-height: 1.4;
  color: var(--text);
}

.form.is-sent .form__status strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--accent);
}

/* Services CTA strip */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
  padding: 40px 48px;
  border: 1px solid rgba(200, 245, 96, 0.25);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 50% 140% at 0% 50%, rgba(200, 245, 96, 0.12), transparent 60%),
    var(--surface);
}

.cta-strip__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; max-width: 640px; }
.cta-strip__title em { color: var(--accent); }
.cta-strip__text { margin-top: 12px; color: var(--muted); max-width: 600px; }
.cta-strip .btn { flex-shrink: 0; }

.hero__lead strong { color: var(--text); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { padding: 32px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; }
.footer__links { display: flex; gap: 28px; }
.footer__links a { transition: color 0.3s; }
.footer__links a:hover { color: var(--text); }

[hidden] { display: none !important; }

/* ---------- Legal pages (privacy notice) ---------- */
.legal { padding: 168px 0 110px; }
.legal__inner { max-width: 760px; }
.legal h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.legal__updated { margin-bottom: 40px; font-size: 14px; color: var(--dim); }
.legal__intro { font-size: 18px; color: var(--text) !important; }
.legal h2 { margin: 52px 0 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.legal p,
.legal li { color: var(--muted); line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 20px; list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text); font-weight: 500; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__table { display: grid; gap: 1px; margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.legal__row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 20px; background: var(--surface); }
.legal__row dt { color: var(--text); font-weight: 500; }
.legal__row dd { margin: 0; color: var(--muted); }
@media (max-width: 640px) {
  .legal { padding-top: 130px; }
  .legal__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento > * { grid-column: span 6 !important; }
  .bento > :nth-child(1),
  .bento > :nth-child(4) { grid-column: span 12 !important; }
  .services { grid-template-columns: 1fr 1fr; }
  .services > .service { grid-column: span 1; }
  .services > .service--featured { grid-column: span 2; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .now { grid-template-columns: 1fr; gap: 48px; }
  .now .section__head { position: static; }
  .contact__card { grid-template-columns: 1fr; gap: 40px; }
  .contact__or { padding-top: 28px; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .hero { padding-top: 120px; }
  .hero__stats { grid-template-columns: 1fr; margin-top: 56px; }
  .hero__stats div,
  .hero__stats div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bento > * { grid-column: span 12 !important; }
  .section { padding: 96px 0; }
  .section__head { margin-bottom: 48px; }
  .services { grid-template-columns: 1fr; }
  .services > .service,
  .services > .service--featured { grid-column: auto; }
  .service--featured { padding: 34px; }
  .process { grid-template-columns: 1fr; }
  .step,
  .step + .step { padding: 32px 0 0; border-left: 0; }
  .step__num { margin-bottom: 20px; }
  .now__list li { grid-template-columns: 40px 1fr; }
  .now__tag { display: none; }
  .contact { padding: 120px 0; }
  .contact__card { padding: 24px; border-radius: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .form__footer { flex-direction: column; align-items: stretch; }
  .form__submit { justify-content: center; }
  .cta-strip { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .footer__inner { flex-direction: column; }
}

@media (max-width: 380px) {
  .nav__right .btn { display: none; }
}

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