/* ============================================
   STAVPRAHA REDESIGN — readymag-style
   ============================================ */

:root {
  /* Theme — overridden by JS for tweaks */
  --bg: #f6f5f1;
  --bg-alt: #ece9e2;
  --fg: #0a0a0a;
  --fg-muted: rgba(10, 10, 10, 0.55);
  --fg-faint: rgba(10, 10, 10, 0.12);
  --accent: #c8553d;
  --accent-fg: #ffffff;

  /* Density — overridden by JS */
  --density: 1;
  --space-1: calc(0.5rem * var(--density));
  --space-2: calc(1rem * var(--density));
  --space-3: calc(2rem * var(--density));
  --space-4: calc(4rem * var(--density));
  --space-5: calc(8rem * var(--density));
  --space-6: calc(12rem * var(--density));

  /* Fonts */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --display-weight: 700;
  --display-tracking: -0.04em;
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-alt: #161616;
  --fg: #f6f5f1;
  --fg-muted: rgba(246, 245, 241, 0.55);
  --fg-faint: rgba(246, 245, 241, 0.12);
  --accent-fg: #0a0a0a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
  transition: background 0.4s ease, color 0.4s ease;
}

@media (max-width: 768px) {
  body { cursor: auto; font-size: 16px; }
  .cursor, .cursor-trail { display: none !important; }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.25s cubic-bezier(.2,.9,.2,1), height 0.25s cubic-bezier(.2,.9,.2,1), background 0.25s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
}
.cursor.is-hover {
  width: 64px;
  height: 64px;
  background: var(--fg);
  mix-blend-mode: difference;
}
.cursor.is-hover-accent {
  width: 80px;
  height: 80px;
  background: var(--accent);
  mix-blend-mode: normal;
  color: var(--accent-fg);
}
.cursor.is-text {
  width: 4px;
  height: 28px;
  border-radius: 1px;
}
.cursor-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  white-space: nowrap;
}
.cursor.is-hover-accent .cursor-label {
  opacity: 1;
}
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(.2,.9,.2,1), opacity 0.2s;
  opacity: 0.3;
  mix-blend-mode: difference;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.05s linear;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 0.92;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.huge {
  font-size: clamp(64px, 13vw, 220px);
}

.big {
  font-size: clamp(48px, 8vw, 128px);
}

.medium {
  font-size: clamp(36px, 5vw, 72px);
}

.serif-toggle {
  font-style: italic;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 max(24px, calc(var(--space-3)));
}

section {
  padding: var(--space-5) 0;
  position: relative;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-3);
  color: var(--fg-muted);
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--fg);
  opacity: 0.5;
}

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px max(24px, 3vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
  color: #fff;
}
.nav a, .nav button { color: inherit; }
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::before {
  content: '';
  position: absolute;
  inset: 30% 30% 0 30%;
  background: var(--bg);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav-links a {
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  background: transparent;
  cursor: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
}
.hero-spacer { flex: 1; min-height: 80px; }
.hero-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: var(--space-3);
}
.hero-title {
  font-size: clamp(44px, 9vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin-bottom: var(--space-3);
  max-width: 100%;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero-strip {
  height: 1px;
  background: var(--fg);
  opacity: 0.2;
  margin: var(--space-3) 0;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3);
  align-items: end;
}
.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  max-width: 560px;
  color: var(--fg-muted);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-ctas { justify-content: flex-start; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  cursor: none;
  transition: transform 0.3s cubic-bezier(.2,.9,.2,1), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--fg);
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}
.btn-arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
}
.btn-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--fg-faint);
  border-bottom: 1px solid var(--fg-faint);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-item::after {
  content: '✺';
  display: inline-block;
  color: var(--accent);
  font-weight: 400;
  animation: spin 8s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* ============================================
   ABOUT — split text
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-4);
  align-items: start;
}
.about-lead {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.about-lead em {
  font-style: italic;
  color: var(--accent);
}
.about-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.about-stat {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid var(--fg-faint);
  padding-top: 20px;
}
.about-stat-num {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.about-stat-num em {
  color: var(--accent);
  font-style: normal;
}
.about-stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FEARS / VALUES — list with hover reveal
   ============================================ */
.list-rows {
  border-top: 1px solid var(--fg-faint);
}
.list-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--fg-faint);
  cursor: none;
  transition: padding-left 0.4s cubic-bezier(.2,.9,.2,1), color 0.3s;
  position: relative;
}
.list-row:hover {
  padding-left: 24px;
}
.list-row:hover .list-row-num {
  color: var(--accent);
}
.list-row-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  transition: color 0.3s;
}
.list-row-text {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.list-row-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s, transform 0.4s;
}
.list-row:hover .list-row-meta {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   SERVICES — broken grid w/ hover img
   ============================================ */
.services-list {
  border-top: 1px solid var(--fg);
}
.service-item {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--fg-faint);
  position: relative;
  align-items: center;
  cursor: none;
  transition: background 0.4s, color 0.4s, padding 0.4s;
}
.service-item:hover {
  background: var(--fg);
  color: var(--bg);
  padding: 32px 24px;
  margin: 0 -24px;
}
.service-item:hover .service-num {
  color: var(--accent);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  transition: color 0.3s;
}
.service-name {
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.service-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 280px;
}
.service-item:hover .service-desc { color: rgba(255,255,255,0.7); }
.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.6;
}
.service-preview {
  position: fixed;
  pointer-events: none;
  width: 320px;
  height: 220px;
  z-index: 50;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s, transform 0.3s;
  overflow: hidden;
}
.service-preview.active {
  opacity: 1;
  transform: scale(1);
}
.service-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .service-item { grid-template-columns: 40px 1fr; }
  .service-desc, .service-tags { display: none; }
}

/* ============================================
   PORTFOLIO — large image cards
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.port-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: none;
}
.port-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.9,.2,1);
}
.port-card:hover img { transform: scale(1.04); }
.port-1 { grid-column: span 7; aspect-ratio: 4/3; }
.port-2 { grid-column: span 5; aspect-ratio: 4/5; margin-top: var(--space-4); }
.port-3 { grid-column: span 5; aspect-ratio: 4/5; }
.port-4 { grid-column: span 7; aspect-ratio: 4/3; margin-top: var(--space-4); }
.port-card-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.port-card-title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.port-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .port-1, .port-2, .port-3, .port-4 { grid-column: span 12; margin-top: 0; aspect-ratio: 4/3; }
}

/* ============================================
   BEFORE / AFTER SLIDER
   ============================================ */
.ba-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  user-select: none;
  cursor: none;
}
.ba-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  pointer-events: none;
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
}
.ba-handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-fg);
  font-size: 20px;
  z-index: 2;
}
.ba-label {
  position: absolute;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  backdrop-filter: blur(8px);
}

/* ============================================
   PROCESS — step list
   ============================================ */
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.process-side {
  position: sticky;
  top: 120px;
  align-self: start;
}
.process-side h2 {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.process-side h2 em {
  font-style: italic;
  color: var(--accent);
}
.process-steps {
  display: flex;
  flex-direction: column;
}
.process-step {
  padding: 32px 0;
  border-bottom: 1px solid var(--fg-faint);
}
.process-step:first-child { padding-top: 0; }
.process-step-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.process-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.process-step-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.process-step-text {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process-side { position: relative; top: 0; }
}

/* ============================================
   CALCULATOR
   ============================================ */
.calc {
  background: var(--fg);
  color: var(--bg);
  padding: var(--space-4);
  border-radius: 2px;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}
.calc-grid > .calc-head {
  position: sticky;
  top: 120px;
  align-self: start;
}
.calc-head h2 {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.calc-head h2 em {
  font-style: italic;
  color: var(--accent);
}
.calc-head p {
  margin-top: var(--space-2);
  color: rgba(255,255,255,0.6);
  max-width: 420px;
}
[data-theme="dark"] .calc { background: var(--bg-alt); color: var(--fg); }
[data-theme="dark"] .calc-head p { color: var(--fg-muted); }

.calc-form { display: flex; flex-direction: column; gap: var(--space-2); }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}
[data-theme="dark"] .calc-label { color: var(--fg-muted); }
.calc-select-row {
  display: flex;
  gap: 8px;
}
.calc-chip {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: none;
  border-radius: 999px;
  transition: all 0.3s;
}
[data-theme="dark"] .calc-chip { border-color: var(--fg-faint); }
.calc-chip.active {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.calc-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: inherit;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 12px 0;
  outline: none;
  font-family: inherit;
}
[data-theme="dark"] .calc-input { border-color: var(--fg-faint); }
.calc-input:focus {
  border-color: var(--accent);
}
.calc-result {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.2);
}
[data-theme="dark"] .calc-result { border-color: var(--fg-faint); }
.calc-result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}
[data-theme="dark"] .calc-result-label { color: var(--fg-muted); }
.calc-result-value {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 12px;
}
.calc-result-value em {
  font-style: italic;
  color: var(--accent);
}
.calc-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}
[data-theme="dark"] .calc-note { color: var(--fg-muted); }

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

/* ============================================
   REVIEWS / TESTIMONIALS
   ============================================ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--fg-faint);
  border-bottom: 1px solid var(--fg-faint);
}
.review {
  padding: var(--space-3);
  border-right: 1px solid var(--fg-faint);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review:last-child { border-right: none; }
.review-quote-mark {
  font-size: 80px;
  line-height: 0.5;
  color: var(--accent);
  font-family: serif;
  height: 20px;
}
.review-text {
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.35;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-author-name { font-weight: 600; font-size: 14px; }
.review-author-stage {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; }
  .review { border-right: none; border-bottom: 1px solid var(--fg-faint); }
}

/* ============================================
   CERTIFICATES
   ============================================ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cert {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s;
  cursor: none;
}
.cert:hover { transform: translateY(-6px); }
.cert-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
}
.cert-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.cert-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-top: 8px;
}
@media (max-width: 768px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { cursor: none; }
.team-photo {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  filter: grayscale(1);
  transition: filter 0.5s;
}
.team-card:hover .team-photo { filter: grayscale(0); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.9,.2,1); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   BLOG
   ============================================ */
.blog-list { border-top: 1px solid var(--fg-faint); }
.blog-item {
  display: grid;
  grid-template-columns: 100px 1fr 2fr 100px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--fg-faint);
  align-items: center;
  cursor: none;
  transition: padding-left 0.4s cubic-bezier(.2,.9,.2,1);
}
.blog-item:hover { padding-left: 24px; }
.blog-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.blog-arrow { justify-self: end; }
@media (max-width: 768px) {
  .blog-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .blog-cat, .blog-arrow { display: none; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4);
  align-items: start;
}
.faq-grid > :first-child {
  position: sticky;
  top: 120px;
  align-self: start;
}
.faq-list { border-top: 1px solid var(--fg-faint); }
.faq-item {
  border-bottom: 1px solid var(--fg-faint);
  padding: 28px 0;
  cursor: none;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-q-text {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.faq-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  flex-shrink: 0;
  transition: transform 0.4s, background 0.3s, color 0.3s;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.2,.9,.2,1);
  color: var(--fg-muted);
}
.faq-item.open .faq-a {
  max-height: 320px;
}
.faq-a-inner { padding-top: 16px; line-height: 1.5; }

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

/* ============================================
   CONTACT
   ============================================ */
.contact-hero {
  font-size: clamp(56px, 9vw, 160px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: var(--space-3);
}
.contact-hero em { font-style: italic; color: var(--accent); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--fg-faint);
  padding-top: var(--space-3);
}
.contact-block { display: flex; flex-direction: column; gap: 8px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contact-value {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
}
.contact-value:hover { color: var(--accent); }

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: var(--space-4) 0 var(--space-3);
}
.footer-huge {
  font-size: clamp(80px, 18vw, 320px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.85;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
}
[data-theme="dark"] .footer-huge { border-color: var(--fg-faint); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: var(--space-3);
}
.footer h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.5);
}
[data-theme="dark"] .footer h6 { color: var(--fg-muted); }
.footer a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.15);
}
[data-theme="dark"] .footer-bottom {
  color: var(--fg-muted);
  border-color: var(--fg-faint);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--fg-faint);
}
.partner-box {
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--fg-faint);
  border-bottom: 1px solid var(--fg-faint);
  padding: 24px;
  transition: background 0.3s;
}
.partner-box:hover { background: var(--bg-alt); }
.partner-box:nth-child(4n) { border-right: none; }
.partner-box:nth-last-child(-n+4) { border-bottom: none; }
.partner-box span {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  text-align: center;
}
@media (max-width: 768px) {
  .partners { grid-template-columns: repeat(2, 1fr); }
  .partner-box { border-right: 1px solid var(--fg-faint) !important; }
  .partner-box:nth-child(2n) { border-right: none !important; }
}

/* ============================================
   SPACES
   ============================================ */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.space-chip {
  aspect-ratio: 1;
  border: 1px solid var(--fg-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 16px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: none;
}
.space-chip:hover {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.space-glyph {
  font-size: 28px;
  font-weight: 300;
}
.space-name { font-size: 13px; font-weight: 500; }
@media (max-width: 900px) {
  .spaces-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   ANIMATIONS — reveal on scroll
   ============================================ */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(.2,.9,.2,1), transform 0.9s cubic-bezier(.2,.9,.2,1);
}
.reveal[data-hidden="1"] {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-letters span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.5s, transform 0.5s cubic-bezier(.2,.9,.2,1);
}
.reveal-letters.is-visible span {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  text-decoration: none;
  font-size: 28px;
  cursor: none;
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }

/* Tweaks panel override — has cursor */
.tweaks-panel * { cursor: auto; }
