/* JE-Design site. Dark theme is a deliberate, permanent brand choice,
   not a prefers-color-scheme default. Studio accent blue also anchors PayShift's
   own product color, so the two stay visually related across pages. */

/* Fonts are self-hosted (Outfit, JetBrains Mono; SIL Open Font License) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Native cross-document page transitions (index <-> payshift). No-op where unsupported. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-fade-out 0.35s ease forwards;
}

::view-transition-new(root) {
  animation: vt-fade-in 0.4s ease forwards;
}

@keyframes vt-fade-out {
  to { opacity: 0; transform: scale(0.985); }
}

@keyframes vt-fade-in {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

:root {
  --bg: #f6f7fb;
  --bg-elevated: #ffffff;
  --bg-elevated-2: #eef0f7;
  --navy: #1c1a3a;
  --navy-deep: #12112a;
  --text-primary: #1c1a3a;
  --text-secondary: #4b506b;
  --text-tertiary: #646a86;
  --accent: #2f55e0;
  --accent-strong: #2447c9;
  --accent-soft: rgba(47, 85, 224, 0.08);
  --accent-soft-border: rgba(47, 85, 224, 0.28);
  --border: rgba(28, 26, 58, 0.10);
  --border-strong: rgba(28, 26, 58, 0.18);
  --radius-card: 10px;
  --radius-pill: 8px;
  --shadow-color: 240 40% 15%;
  --glow: 47, 85, 224;
  --max-width: 1180px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1100px 640px at 12% -8%, rgba(var(--glow), 0.20), transparent 60%),
    radial-gradient(900px 560px at 105% 8%, rgba(111, 155, 255, 0.14), transparent 55%),
    radial-gradient(1000px 640px at 40% 115%, rgba(var(--glow), 0.12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Fixed grain layer for material depth. Never on a scrolling container (perf). */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.05;
  mix-blend-mode: overlay;
}

img {
  max-width: 100%;
  display: block;
}

/* Themed scrollbar */
html {
  scrollbar-color: var(--bg-elevated-2) var(--bg);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated-2);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-soft-border);
}

/* Cursor-follow ambient glow. Screen-blended so it adds light without ever
   dimming text underneath it. Desktop pointers only, off under reduced motion. */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), 0.55), transparent 70%);
  transform: translate3d(calc(var(--x, -9999px) - 260px), calc(var(--y, -9999px) - 260px), 0);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cursor-glow.active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

a {
  color: inherit;
}

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

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Accessibility: skip link + focus states ---------- */

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: #051022;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.hero:focus-visible {
  outline: none;
}

.nav-link:focus-visible,
.footer-link:focus-visible,
a.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-strong);
  border-radius: var(--radius-pill);
}

.brand:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-strong);
  border-radius: 10px;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent-strong);
}

.faq-item summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-strong);
  border-radius: 10px;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(18, 17, 42, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.scrolled {
  background: rgba(18, 17, 42, 0.9);
  box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-wordmark {
  margin-right: 24px;
  height: 20px;
  width: auto;
  display: block;
}

.brand-mark {
  display: none;
  height: 22px;
  width: auto;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  border-color: var(--accent-soft-border);
  background: var(--accent-soft);
}

@media (max-width: 640px) {
  .brand-wordmark {
    display: none;
  }
  .brand-mark {
    display: block;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 6px;
  }
  .nav-link {
    padding: 8px 12px;
    font-size: 0.88rem;
  }
}

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

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.btn-primary {
  background: var(--accent);
  color: #051022;
  box-shadow: 0 12px 30px -10px rgba(var(--glow), 0.55);
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 14px 40px -8px rgba(var(--glow), 0.7);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

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

.btn-ghost:hover {
  border-color: var(--accent-soft-border);
  background: var(--accent-soft);
}

.btn-ghost:active {
  transform: translateY(1px) scale(0.98);
}

.btn-ghost.copied {
  color: var(--accent-strong);
  border-color: var(--accent-soft-border);
  background: var(--accent-soft);
}

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

.contact-card {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-email {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: break-all;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 480px) {
  .contact-card {
    padding: 24px;
  }
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-actions .btn {
    width: 100%;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 96px 0;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
  max-width: 52ch;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 88px;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 640px;
  height: 640px;
  right: -160px;
  top: -260px;
  background: radial-gradient(circle, rgba(var(--glow), 0.32), transparent 34%);
  filter: blur(60px);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding-top: 40px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-border);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, #232a44, #0d1122);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 50px 110px -30px rgba(var(--glow), 0.45),
    0 30px 60px -30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.phone::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 41px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(76, 130, 255, 0.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.phone img {
  border-radius: 30px;
  width: 100%;
}

/* ---------- About hero (home page, text-only) ---------- */

.hero-solo {
  padding-top: 72px;
  padding-bottom: 96px;
}

.hero-solo .wrap {
  display: block;
  max-width: 720px;
}

.hero-solo h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
}

.hero-solo .hero-sub {
  max-width: 52ch;
}

.hero-solo .hero-sub-2 {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 0 36px;
}

/* ---------- Work section glow (home page) ---------- */

#work {
  position: relative;
  overflow: hidden;
}

#work::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 800px;
  height: 800px;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--glow), 0.16), transparent 65%);
  pointer-events: none;
}

#work .wrap {
  position: relative;
  z-index: 1;
}

/* ---------- Services grid (wat we doen) ---------- */

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

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Process steps (werkwijze) ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-border);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Editorial statement block ---------- */

.statement {
  max-width: 820px;
}

.statement p {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- Bento features ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.bento-card {
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bento-card:hover {
  border-color: var(--accent-soft-border);
}

.bento-card.image {
  grid-column: span 3;
  padding: 24px 24px 0;
  overflow: hidden;
}

.bento-card.text {
  grid-column: span 2;
}

.bento-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.bento-card p a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft-border);
  text-underline-offset: 2px;
}

.bento-card .shot {
  margin-top: 8px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: none;
  background: #05070d;
}

.bento-card .shot img {
  display: block;
  width: 100%;
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-card.image,
  .bento-card.text {
    grid-column: span 1;
  }
}

/* ---------- Audience chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%), var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s ease, color 0.2s ease;
}

a.chip:hover {
  border-color: var(--accent-soft-border);
  color: var(--accent-strong);
}

/* ---------- Pricing ---------- */

#pricing {
  position: relative;
  overflow: hidden;
}

#pricing::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 700px;
  height: 700px;
  right: -260px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(var(--glow), 0.16), transparent 65%);
  pointer-events: none;
}

#pricing .wrap {
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.plan {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--bg-elevated);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 32px;
}

.plan.pro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 45%),
    linear-gradient(165deg, var(--bg-elevated-2), var(--bg-elevated));
  border-color: var(--accent-soft-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 70px -35px rgba(var(--glow), 0.4);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.plan-price {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.plan-note {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.plan li svg {
  flex: none;
  margin-top: 2px;
  color: var(--accent-strong);
}

/* ---------- FAQ accordion (native details/summary, fully crawlable) ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.faq-item {
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 6px 24px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-strong);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--accent-strong);
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 65ch;
}

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

.footer-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 88px 0 40px;
}

.footer-section::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 800px;
  height: 800px;
  left: -280px;
  bottom: -420px;
  background: radial-gradient(circle, rgba(var(--glow), 0.18), transparent 62%);
  pointer-events: none;
}

.footer-section .wrap {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding-bottom: 56px;
}

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-top h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.footer-top p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.footer-contact .label {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-contact a {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--accent-strong);
  border-color: var(--accent-soft-border);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-strong);
}

/* ---------- Prose (privacy / legal content) ---------- */

.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft-border);
  text-underline-offset: 2px;
}

/* ---------- Spotlight-border hover: a glow that tracks the cursor along the card edge ---------- */

.spot-card {
  position: relative;
}

.spot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow), 0.95), transparent 45%);
  -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.35s ease;
  pointer-events: none;
}

.spot-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow), 0.22), transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.spot-card:hover::before,
.spot-card:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .spot-card::before,
  .spot-card::after {
    display: none;
  }
}

/* ---------- Load-in stagger for hero content ---------- */

.load-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  animation: load-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.load-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.load-stagger > *:nth-child(2) { animation-delay: 0.16s; }
.load-stagger > *:nth-child(3) { animation-delay: 0.27s; }
.load-stagger > *:nth-child(4) { animation-delay: 0.38s; }

.load-in {
  opacity: 0;
  transform: translateY(16px);
  animation: load-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes load-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .load-stagger > *,
  .load-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---------- Work grid (homepage: apps + sites) ---------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 800px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.work-card .work-visual {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05070d;
  border-bottom: 1px solid var(--border);
}

.work-card .work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-visual img {
  transform: scale(1.04);
}

.work-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.work-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.work-head img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}

.work-head-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.work-kind {
  color: var(--text-tertiary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.work-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

.work-card .btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 10px 22px;
  font-size: 0.92rem;
}

.work-body p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Portfolio grid: expand-in-place cards ---------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 800px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.portfolio-toggle {
  all: unset;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.portfolio-toggle:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: -2px;
}

.portfolio-expand-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 4px;
}

.portfolio-expand-label .expand-icon {
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-toggle[aria-expanded='true'] .expand-icon {
  transform: rotate(135deg);
}

.portfolio-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item.open .portfolio-details {
  grid-template-rows: 1fr;
}

.portfolio-details-inner {
  overflow: hidden;
}

.portfolio-details-content {
  padding: 20px 28px 28px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portfolio-details-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.portfolio-details-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-details-content li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.portfolio-details-content li svg {
  flex: none;
  margin-top: 2px;
  color: var(--accent-strong);
}

.portfolio-details-content .btn {
  align-self: flex-start;
  margin-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-details,
  .portfolio-expand-label .expand-icon {
    transition: none;
  }
}

/* ---------- Cookie consent banner ---------- */

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: 560px;
  margin: 0 auto;
  pointer-events: none;
  opacity: 0;
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-inner {
  padding: 22px 26px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 45%),
    var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft-border);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-banner-actions .btn {
  padding: 9px 20px;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-banner-inner {
    padding: 18px 20px;
  }
  .cookie-banner-actions {
    flex-direction: column-reverse;
  }
  .cookie-banner-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: opacity 0.3s ease;
    transform: none;
  }
}

/* ---------- Contact form ---------- */

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-tertiary);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}

.form-status.success {
  color: var(--accent-strong);
}

.form-status.error {
  color: #ff8f8f;
}

.contact-alt {
  margin-top: 48px;
  max-width: 560px;
}

.contact-alt > p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin: 0 0 14px;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ================= Corporate theme (paper ground, navy bands, hairlines) ================= */

/* navy bands re-declare light-on-dark tokens */
.nav, .hero, .footer-section, .cta-band {
  --text-primary: #f3f5fb;
  --text-secondary: #b9bedb;
  --text-tertiary: #9aa0c4;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --accent-soft: rgba(255, 255, 255, 0.08);
  --accent-soft-border: rgba(255, 255, 255, 0.35);
  --accent-strong: #9db6ff;
  --bg: #1c1a3a;
  color: var(--text-primary);
}
.hero, .footer-section, .cta-band { background: var(--navy); }
.nav { background: var(--navy-deep); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.scrolled { background: var(--navy-deep); box-shadow: 0 2px 0 rgba(255,255,255,0.05); }

/* remove decorative effects */
body { background: var(--bg); }
body::after, .cursor-glow, .hero::before, #work::before, #pricing::before, .footer-section::before,
.spot-card::before, .spot-card::after { display: none !important; }
.hero { overflow: visible; }

/* buttons */
.btn { border-radius: 8px; box-shadow: none !important; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.hero .btn-primary, .cta-band .btn-primary { background: #fff; color: var(--navy); }
.hero .btn-primary:hover, .cta-band .btn-primary:hover { background: #e4e9ff; }
.btn-ghost { color: var(--text-primary); border: 1px solid var(--border-strong); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-soft-border); }
.hero .btn-ghost, .cta-band .btn-ghost { color: #fff; }
.nav-cta { background: #fff; color: var(--navy) !important; border-color: #fff !important; font-weight: 600; }
.nav-cta:hover { background: #e4e9ff !important; }
.nav-link { border: 1px solid transparent; }
.nav-link:hover { background: rgba(255,255,255,0.08); border-color: transparent; }
.nav-cta:hover { color: var(--navy) !important; }

/* cards: white, hairline, small radius, quiet shadow */
.bento-card, .work-card, .portfolio-item, .plan, .faq-item, .contact-card, .contact-form, .chip {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(28,26,58,0.05); }
.bento-card:hover, .work-card:hover { border-color: var(--accent-soft-border); }
.plan.pro { background: #fff; border-color: var(--accent); box-shadow: 0 1px 2px rgba(28,26,58,0.05); }
.pill { border-radius: 6px; background: var(--accent-soft); border: 1px solid var(--accent-soft-border); color: var(--accent-strong); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.78rem; font-weight: 500; }
.hero .pill { color: #cfd8ff; }
.work-visual, .shot, .spotlight-visual { background: #12112a; }
.work-head img { border: 1px solid var(--border); }
.form-field input, .form-field textarea { background: #fff; color: var(--text-primary); border-radius: 8px; }
.cookie-banner-inner { background: #fff; color: var(--text-primary); border: 1px solid var(--border-strong); box-shadow: 0 8px 30px rgba(28,26,58,0.18); }
.cookie-banner p { color: var(--text-secondary); }
.cookie-banner a { color: var(--accent-strong); }
.skip-link { color: #fff; }
.phone { background: #1c1a3a; border-color: rgba(255,255,255,0.2); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.phone::before { display: none; }
.prose a, .bento-card p a { color: var(--accent-strong); }

/* type: tighter, more editorial */
h1, h2, h3 { letter-spacing: -0.02em; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.section-head p { color: var(--text-secondary); }
.section-head { max-width: 720px; }
.process-num, .index-label { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.process-num { border-radius: 6px; }
.statement p { color: var(--navy); font-weight: 600; }
.process-step { border-top: 2px solid var(--navy); padding-top: 18px; }
.process-step .process-num { background: none; border: none; padding: 0; width: auto; height: auto; justify-content: flex-start; color: var(--accent); font-size: 0.85rem; }
.process-step .process-num::before { content: '0'; }

/* hero (homepage) */
.hero-solo { padding-top: 88px; padding-bottom: 88px; }
.hero-solo .wrap { max-width: var(--max-width); }
.hero-solo h1 { max-width: 16ch; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.hero-solo .hero-sub { font-size: 1.2rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { margin: 0; }

/* trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 0; }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 28px 28px 28px 0; border-right: 1px solid var(--border); }
.trust-item + .trust-item { padding-left: 28px; }
.trust-item:last-child { border-right: none; }
.trust-item strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.trust-item span { color: var(--text-secondary); font-size: 0.95rem; }
@media (max-width: 760px) { .trust-strip .wrap { grid-template-columns: 1fr; } .trust-item { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 0 !important; } .trust-item:last-child { border-bottom: none; } }

/* index label on service cards */
.index-label { display: block; font-size: 0.78rem; color: var(--accent); margin-bottom: 14px; }
.services-grid .bento-card { padding: 28px; }

/* CTA band */
.cta-band { padding: 72px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0; color: var(--text-secondary); }

/* footer columns */
.footer-section { padding: 64px 0 32px; border-top: none; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-cols h4 { margin: 0 0 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-tertiary); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { text-decoration: none; color: var(--text-primary); font-size: 0.95rem; }
.footer-cols a:hover { color: var(--accent-strong); }
.footer-brand img { height: 20px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.95rem; max-width: 34ch; margin: 0; }
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-top h2, .footer-top p { color: var(--text-primary); }
.footer-contact a { color: #fff; }

.nav .wrap { width: 100%; }
.footer-section { border-top: 1px solid rgba(255,255,255,0.12); }
section[id] { scroll-margin-top: 72px; }
.brand-mark, .brand-wordmark { flex: none; }
@media (max-width: 640px) {
  .nav-link:not(.nav-cta) { display: none; }
  .brand-mark { height: 24px; }
}

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 16px; }
.about-grid p { color: var(--text-secondary); max-width: 52ch; margin: 0; font-size: 1.05rem; }
.about-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-strong); }
.about-list li { padding: 20px 0; border-bottom: 1px solid var(--border-strong); display: flex; flex-direction: column; gap: 4px; }
.about-list strong { font-size: 1.05rem; }
.about-list span { color: var(--text-secondary); font-size: 0.95rem; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.work-visual img { object-position: top center; }
.portfolio-item .work-visual { aspect-ratio: 16 / 9; }

/* Language switch */
.nav-link.lang-switch { font-weight: 600; letter-spacing: 0.06em; font-size: 0.8rem; border-color: rgba(255,255,255,0.28); }
@media (max-width: 640px) {
  .nav-link.lang-switch { display: inline-flex; padding: 6px 10px; }
}

/* About page timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--navy); display: grid; gap: 36px; }
.timeline-item { position: relative; padding-left: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--accent); border-radius: 3px; }
.timeline-item .tl-label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.8rem; color: var(--accent); letter-spacing: 0.04em; }
.timeline-item h3 { margin: 6px 0 8px; font-size: 1.2rem; letter-spacing: -0.01em; }
.timeline-item p { margin: 0; color: var(--text-secondary); line-height: 1.65; max-width: 62ch; }
