/* ============ De Molen Reclame — Pricing Landing ============ */
:root {
  --red: #8b1a0a;
  --red-deep: #5a0e04;
  --red-glow: #c2402b;
  --cream: #f5efe6;
  --cream-warm: #ede4d3;
  --ink: #1a1614;
  --ink-soft: #3d342f;
  --muted: #7a6e64;
  --line: #d8ccb9;
  --ochre: #d4a45c;
  --white: #fffaf2;

  --font-display: "Newsreader", "Source Serif Pro", Georgia, serif;
  --font-sans: "Geist", "Söhne", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

/* ===== Display type ===== */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  font-style: normal;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--red);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--cream) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 40%, transparent);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.brand-mono {
  width: 30px; height: 30px;
  color: var(--red);
  flex-shrink: 0;
}
.foot-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.foot-mono { width: 36px; height: 36px; color: var(--red); }
.foot-brand { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.01em; }
.nav-links {
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--red); }

@media (max-width: 820px) {
  .nav-inner { grid-template-columns: auto auto; }
  .nav-links { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 128px);
  overflow: hidden;
  background-image:
    linear-gradient(rgba(245,239,230,0.74), rgba(245,239,230,0.74)),
    url('https://www.demolenreclame.nl/assets/img/header/header.jpg');
  background-size: cover;
  background-position: center top;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  font-size: 13px;
  margin-bottom: 32px;
}
.hero-tag-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  color: var(--white);
  font-size: 11px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 112px);
  margin-bottom: 28px;
}
.hero-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 40px;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px -12px rgba(139,26,10,0.6);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 0;
}
.hero-stat {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
}
.hero-stat-num em { font-style: italic; color: var(--red); font-weight: 500; }
.hero-stat-label {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Windmill mark — large background */
.hero-mill {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  color: var(--red);
}
.hero-mill svg { width: 100%; height: 100%; }
.hero-mill .sails { animation: spin 60s linear infinite; transform-origin: 100px 110px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero .wrap { position: relative; z-index: 2; }
.hero-tag, .hero h1, .hero-lede, .hero-ctas, .hero-aside { position: relative; z-index: 2; }

@media (max-width: 1024px) {
  .hero { padding-top: clamp(72px, 10vw, 120px); }
}

@media (max-width: 1100px) {
  .hero-mill { right: -300px; opacity: 0.04; }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-mill { display: none; }
}

/* ===== Trust bar ===== */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--cream-warm);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.trust-items {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.trust-items span { opacity: 0.7; }

/* ===== Pricing ===== */
.pricing {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.pricing-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 72px;
}
.pricing h2 {
  font-size: clamp(44px, 6vw, 88px);
  max-width: 18ch;
}
.pricing h2 em { color: var(--ochre); }
.pricing-head-aside {
  max-width: 40ch;
  color: color-mix(in oklab, var(--cream) 70%, transparent);
  font-size: 16px;
  line-height: 1.55;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tier {
  background: color-mix(in oklab, var(--cream) 5%, var(--ink));
  border: 1px solid color-mix(in oklab, var(--cream) 12%, transparent);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.tier:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--cream) 25%, transparent); }
.tier.featured {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--ochre);
  box-shadow: 0 30px 80px -30px rgba(212,164,92,0.45);
}
.tier-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--ochre);
  color: var(--ink);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.tier-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in oklab, currentColor 8%, transparent);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.tier-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.tier-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.tier-tag {
  font-size: 13px;
  color: color-mix(in oklab, currentColor 60%, transparent);
  margin-bottom: 28px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.tier-price-num {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.tier-price-cur {
  font-family: var(--font-display);
  font-size: 32px;
  opacity: 0.7;
}
.tier-price-period {
  font-size: 14px;
  color: color-mix(in oklab, currentColor 55%, transparent);
  margin-bottom: 24px;
}
.tier-divider {
  height: 1px;
  background: color-mix(in oklab, currentColor 15%, transparent);
  margin: 8px 0 24px;
}
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}
.tier-features li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.45;
}
.tier-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--ochre);
}
.tier.featured .tier-check { color: var(--red); }
.tier-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: all .2s;
  background: color-mix(in oklab, currentColor 10%, transparent);
  color: inherit;
}
.tier-cta:hover {
  background: color-mix(in oklab, currentColor 18%, transparent);
}
.tier.featured .tier-cta {
  background: var(--red);
  color: var(--white);
}
.tier.featured .tier-cta:hover {
  background: var(--red-deep);
}
.tier-cta-arrow {
  transition: transform .2s;
}
.tier-cta:hover .tier-cta-arrow { transform: translateX(4px); }

.pricing-foot {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
  color: color-mix(in oklab, var(--cream) 60%, transparent);
}
.pricing-foot-item { display: flex; align-items: center; gap: 8px; }

@media (max-width: 900px) {
  .pricing-head { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier.featured { order: -1; }
}

/* ===== Compare table ===== */
.compare {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--cream);
}
.compare h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 56px;
  max-width: 18ch;
}
.compare h2 em { color: var(--red); }
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.compare-table-wrap::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--cream));
  pointer-events: none;
  transition: opacity .25s;
}
.compare-table-wrap.scrolled-end::after {
  opacity: 0;
}
@media (min-width: 721px) {
  .compare-table-wrap::after { display: none; }
}
.compare-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table thead th {
  text-align: left;
  padding: 20px 16px;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 22px;
  border-bottom: 2px solid var(--ink);
  letter-spacing: -0.01em;
  vertical-align: bottom;
}
.compare-table thead th:first-child {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 500;
}
.compare-table thead th .price {
  display: block;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}
.compare-table thead th.feat { color: var(--red); }
.compare-table tbody td, .compare-table tbody th {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}
.compare-table tbody th {
  color: var(--ink-soft);
  font-weight: 500;
}
.compare-table tbody td {
  color: var(--ink-soft);
}
.compare-table tbody td.feat-col { background: color-mix(in oklab, var(--ochre) 10%, transparent); }
.check-icon {
  width: 18px; height: 18px;
  color: var(--red);
}
.dash-icon { color: var(--line); font-size: 18px; }

@media (max-width: 720px) {
  .compare-table { font-size: 13px; }
  .compare-table thead th { font-size: 16px; padding: 14px 8px; }
  .compare-table tbody td, .compare-table tbody th { padding: 12px 8px; }
}

/* ===== Process ===== */
.process {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--cream-warm);
}
.process-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: end;
}
.process h2 {
  font-size: clamp(40px, 5vw, 72px);
  max-width: 16ch;
}
.process h2 em { color: var(--red); }
.process-intro {
  color: var(--ink-soft);
  max-width: 40ch;
  font-size: 17px;
  line-height: 1.55;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 24px;
  font-feature-settings: "tnum";
}
.step-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .process-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ===== Platform section ===== */
.platform {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.platform-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.platform h2 {
  font-size: clamp(40px, 5vw, 72px);
  margin-bottom: 32px;
}
.platform-lede {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: 40px;
}
.platform-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.platform-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.platform-point-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--red);
  font-feature-settings: "tnum";
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.platform-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.platform-points p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 48ch;
}

.platform-visual {
  position: relative;
  height: 480px;
}
.platform-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(20,15,12,0.25);
}
.platform-card-front {
  top: 30px;
  left: 0;
  right: 80px;
  padding: 0;
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.platform-card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--cream-warm);
  border-bottom: 1px solid var(--line);
}
.platform-card-bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.platform-card-bar .dot:first-child { background: #e57373; }
.platform-card-bar .dot:nth-child(2) { background: var(--ochre); }
.platform-card-bar .dot:nth-child(3) { background: #7ba87b; }
.platform-card-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.platform-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.platform-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-soft);
}
.platform-row strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
}
.platform-row strong.ok { color: var(--red); }
.platform-row.tiny { font-size: 13px; }
.platform-row.tiny strong { font-size: 15px; }
.platform-bar {
  height: 6px;
  background: var(--cream-warm);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}
.platform-bar-fill {
  height: 100%;
  background: var(--red);
  border-radius: 999px;
}

.platform-card-back {
  bottom: 20px;
  right: 0;
  width: 220px;
  padding: 24px;
  transform: rotate(3deg);
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.platform-mini-stamp {
  width: 64px; height: 64px;
  color: var(--ochre);
  animation: stampSpin 40s linear infinite;
}
.platform-mini-stamp svg { width: 100%; height: 100%; }
@keyframes stampSpin { to { transform: rotate(360deg); } }
.platform-mini-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.platform-mini-foot {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.005em;
  opacity: 0.75;
  max-width: 18ch;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-visual { height: 420px; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .platform-visual { height: auto; max-width: 100%; }
  .platform-card-front { position: relative; top: auto; left: auto; right: auto; transform: none; }
  .platform-card-back { display: none; }
}

/* ===== Portfolio ===== */
.portfolio {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--cream);
}
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.portfolio h2 {
  font-size: clamp(40px, 5vw, 72px);
}
.portfolio h2 em { color: var(--red); }
.projects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 20px;
}
.project {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  transition: transform .3s ease;
  grid-column: span 2;
  grid-row: span 2;
}
.project:hover { transform: translateY(-4px); }

.projects.all .project:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.projects.all .project:nth-child(2) { grid-column: span 2; grid-row: span 3; }
.projects.all .project:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.projects.all .project:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.projects.all .project:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.projects.all .project:nth-child(6) { grid-column: span 4; grid-row: span 2; }

@media (max-width: 900px) {
  .projects { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .project, .project:nth-child(n) { grid-column: span 1 !important; grid-row: span 1 !important; }
  .projects.all .project:nth-child(1),
  .projects.few .project:nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; }
}
@media (max-width: 520px) {
  .projects { grid-template-columns: 1fr; }
  .project, .project:nth-child(n) { grid-column: span 1 !important; grid-row: span 1 !important; }
  .projects.all .project:nth-child(1),
  .projects.few .project:nth-child(1) { grid-column: span 1 !important; grid-row: span 2 !important; }
}

.projects.few {
  grid-auto-rows: 200px;
}
.projects.few .project { grid-column: span 2; grid-row: span 2; }
.projects.few .project:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.projects.few .project:nth-child(2) { grid-column: span 2; grid-row: span 3; }
.projects.few .project:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.projects.few .project:nth-child(4) { grid-column: span 3; grid-row: span 2; }

.projects-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.projects-more .btn { font-size: 14px; padding: 14px 24px; }
.project-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.project:hover .project-img { transform: scale(1.04); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,15,12,0.85) 0%, rgba(20,15,12,0.1) 60%, transparent 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.project-cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
  margin-bottom: 8px;
}
.project-name {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.015em;
  line-height: 1;
}
.project-stat {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 820px) {
  .portfolio-head { flex-wrap: wrap; }
}

/* ===== FAQ ===== */
.faq {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--cream-warm);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.faq h2 {
  font-size: clamp(40px, 5vw, 64px);
  position: sticky;
  top: 96px;
  align-self: start;
}
.faq h2 em { color: var(--red); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-q:hover { color: var(--red); }
.faq-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all .25s;
  flex-shrink: 0;
  background: var(--cream);
}
.faq-item.open .faq-toggle {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: rotate(45deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-a-inner {
  overflow: hidden;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-text {
  padding: 0 0 24px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}

@media (max-width: 820px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq h2 { position: static; }
}

/* ===== Final CTA ===== */
.final {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--red);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, color-mix(in oklab, var(--ochre) 40%, transparent) 0%, transparent 50%);
  pointer-events: none;
}
.final-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.final h2 {
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.final h2 em { font-style: italic; font-weight: 300; color: var(--cream-warm); opacity: 0.7; }
.final-sub {
  margin-top: 24px;
  font-size: 18px;
  max-width: 50ch;
  opacity: 0.85;
  line-height: 1.5;
}
.final-form {
  background: var(--cream);
  color: var(--ink);
  padding: 32px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.final-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.final-form input, .final-form textarea, .final-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s;
}
.final-form input:focus, .final-form textarea:focus, .final-form select:focus {
  outline: none;
  border-color: var(--red);
}
.final-form textarea { resize: vertical; min-height: 80px; }
.final-form button {
  background: var(--red);
  color: var(--white);
  padding: 14px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  margin-top: 4px;
  transition: background .2s;
}
.final-form button:hover { background: var(--red-deep); }
.final-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 820px) {
  .final-inner { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.foot {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 12%, transparent);
}
.foot-tag {
  font-size: 14px;
  opacity: 0.6;
  max-width: 30ch;
  line-height: 1.5;
}
.foot-col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.5;
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  opacity: 0.85;
  transition: opacity .2s, color .2s;
}
.foot-col a:hover { color: var(--ochre); opacity: 1; }
.foot-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 820px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .foot-top { grid-template-columns: 1fr; }
}


/* ===== WhatsApp FAB ===== */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px -4px rgba(37,211,102,0.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(37,211,102,0.65);
}
.wa-fab-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.wa-fab-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.wa-fab-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
}
.wa-fab:hover .wa-fab-tooltip,
.wa-fab--hint .wa-fab-tooltip { opacity: 1; }

/* ===== Theme variants ===== */
[data-theme="dark"] {
  --cream: #16110e;
  --cream-warm: #1f1814;
  --white: #2a2017;
  --ink: #f5efe6;
  --ink-soft: #d8ccb9;
  --muted: #8a7c6f;
  --line: #3a2e26;
}
[data-theme="dark"] .nav { background: color-mix(in oklab, var(--cream) 88%, transparent); }
[data-theme="dark"] .pricing { background: #0a0706; }
[data-theme="dark"] .nav-cta { background: var(--red); color: var(--white); }
[data-theme="dark"] .nav-cta:hover { background: var(--red-deep); }
[data-theme="dark"] .btn-ghost { color: var(--ink); border-color: var(--ink); }
[data-theme="dark"] .btn-ghost:hover { background: var(--ink); color: var(--cream); }
[data-theme="dark"] .tier:not(.featured) { background: color-mix(in oklab, var(--cream) 30%, #000); }
[data-theme="dark"] .foot { background: #0a0706; }

[data-accent="ochre"] { --red: #b8841f; --red-deep: #845c10; --red-glow: #d4a45c; }
[data-accent="forest"] { --red: #2d5a3d; --red-deep: #1c3a26; --red-glow: #4a8a5e; }
[data-accent="ink"]    { --red: #1a1614; --red-deep: #000; --red-glow: #3d342f; --ochre: #b8841f; }

/* fade-in on load */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s ease forwards;
}
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
