:root {
  --ink: #0a0a0a;
  --paper: #f5f5f0;
  --accent: #ff2d78;
  --muted: #c7c7c2;
  --paper-10: rgba(245, 245, 240, 0.1);
  --paper-15: rgba(245, 245, 240, 0.15);
  --paper-40: rgba(245, 245, 240, 0.4);
  --paper-60: rgba(245, 245, 240, 0.6);
  --paper-70: rgba(245, 245, 240, 0.7);
  --font-display: "Space Grotesk", "Inter Tight", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wl-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.wl-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.wl-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.wl-btn-solid,
.wl-btn-ghost,
.wl-btn-solid-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wl-btn-solid {
  background: var(--accent);
  color: var(--ink);
}

.wl-btn-solid:hover {
  transform: translateY(-2px);
}

.wl-btn-solid-ink {
  background: var(--paper);
  color: var(--ink);
}

.wl-btn-solid-ink:hover {
  transform: translateY(-2px);
}

.wl-btn-ghost {
  background: transparent;
  border-color: var(--paper-15);
  color: var(--paper);
}

.wl-btn-ghost:hover {
  border-color: var(--paper-40);
}

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

.wl-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--paper-10);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wl-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.wl-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.wl-nav-links {
  display: none;
  gap: 32px;
  font-size: 0.9rem;
  color: var(--paper-70);
}

.wl-nav-links a:hover {
  color: var(--paper);
}

.wl-nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: var(--paper);
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 860px) {
  .wl-nav-links {
    display: flex;
  }
  .wl-nav-toggle {
    display: none;
  }
}

.wl-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 20px;
  border-top: 1px solid var(--paper-10);
}

.wl-nav-mobile.is-open {
  display: flex;
}

.wl-nav-mobile a {
  padding: 12px 4px;
  font-size: 0.95rem;
  color: var(--paper-70);
  border-bottom: 1px solid var(--paper-10);
}

@media (min-width: 860px) {
  .wl-nav-mobile {
    display: none !important;
  }
}

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

.wl-hero-scrub {
  position: relative;
  height: 400vh;
}

.wl-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.wl-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.wl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.8) 65%, var(--ink) 100%);
}

.wl-scroll-hint {
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper-40);
  animation: wl-hint-bounce 2s ease-in-out infinite;
}

@keyframes wl-hint-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

.wl-section {
  position: relative;
}

.wl-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.wl-section-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* ---------- Scroll-scrub sections (same mechanic as hero) ---------- */

.wl-scrub-section {
  position: relative;
  border-top: 1px solid var(--paper-10);
}

.wl-scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.wl-scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.wl-scrub-sticky > .wl-page {
  position: relative;
  z-index: 1;
  width: 100%;
}

.wl-section-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, var(--ink) 88%);
}

.wl-section > .wl-page {
  position: relative;
  z-index: 1;
}

.wl-orb {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 45, 120, 0.9), rgba(255, 45, 120, 0.15) 45%, transparent 70%);
  filter: blur(10px);
  animation: wl-float 9s ease-in-out infinite;
  pointer-events: none;
}

@media (max-width: 860px) {
  .wl-orb {
    width: 360px;
    height: 360px;
    right: -20%;
    top: 5%;
    opacity: 0.7;
  }
}

@keyframes wl-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.04); }
}

.wl-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.wl-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 18px 0 24px;
}

.wl-hero p {
  font-size: 1.1rem;
  color: var(--paper-70);
  max-width: 560px;
  margin: 0 0 32px;
}

.wl-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.wl-tag {
  border: 1px solid var(--paper-15);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--paper-70);
}

.wl-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

.wl-section {
  padding: 90px 0;
  border-top: 1px solid var(--paper-10);
}

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

.wl-section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 14px 0 16px;
}

.wl-section-head p {
  color: var(--paper-70);
  font-size: 1.05rem;
}

.wl-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.wl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Manifesto ---------- */

.wl-manifesto-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .wl-manifesto-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wl-manifesto-item {
  border: 1px solid var(--paper-10);
  border-radius: 20px;
  padding: 28px;
}

.wl-manifesto-item .wl-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.wl-manifesto-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 14px 0 10px;
}

.wl-manifesto-item p {
  color: var(--paper-70);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Portfolio ---------- */

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

@media (min-width: 700px) {
  .wl-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wl-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--paper-10);
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

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

.wl-card.is-featured {
  border-color: var(--accent);
}

.wl-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  z-index: 0;
}

.wl-card > * {
  position: relative;
  z-index: 1;
}

.wl-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.85) 100%);
  z-index: 0;
}

.wl-card-type {
  font-size: 0.85rem;
  color: var(--paper-60);
}

.wl-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 6px 0 0;
}

.wl-card-link {
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.wl-process-list {
  display: grid;
  gap: 20px;
}

.wl-process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--paper-10);
}

.wl-process-item:first-child {
  border-top: none;
}

.wl-process-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.wl-process-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.wl-process-item .wl-step-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}

.wl-process-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.wl-process-item p {
  color: var(--paper-70);
  margin: 0;
  font-size: 0.95rem;
}

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

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

@media (min-width: 760px) {
  .wl-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wl-price-card {
  border: 1px solid var(--paper-10);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.wl-price-card.is-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 45, 120, 0.08), transparent 40%);
}

.wl-price-badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.wl-price-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 6px;
}

.wl-price-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 6px 0 4px;
}

.wl-price-value span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--paper-60);
}

.wl-price-desc {
  color: var(--paper-70);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

.wl-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
  flex-grow: 1;
}

.wl-price-features li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--paper-70);
}

.wl-price-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Testimonials ---------- */

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

@media (min-width: 760px) {
  .wl-testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wl-testimonial {
  border: 1px solid var(--paper-10);
  border-radius: 20px;
  padding: 28px;
}

.wl-testimonial p {
  font-size: 1.05rem;
  margin: 0 0 20px;
}

.wl-testimonial-author {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--paper-60);
}

.wl-testimonial-author strong {
  color: var(--paper);
  font-size: 0.95rem;
}

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

.wl-contact {
  position: relative;
  text-align: center;
  padding: 100px 0;
}

.wl-contact > .wl-page {
  position: relative;
  z-index: 1;
}

.wl-contact h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 16px 0 20px;
}

.wl-contact p {
  color: var(--paper-70);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

.wl-contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.wl-contact-info {
  margin: 24px 0 0;
  font-size: 0.95rem;
  color: var(--paper-60);
}

.wl-contact-info a:hover {
  color: var(--paper);
  text-decoration: underline;
}

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

.wl-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--paper-40);
}

.wl-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.wl-footer-links a,
.wl-footer-links button {
  background: none;
  border: none;
  color: var(--paper-40);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.wl-footer-links a:hover,
.wl-footer-links button:hover {
  color: var(--paper-70);
}

@media (min-width: 700px) {
  .wl-footer {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.wl-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid var(--paper-15);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.wl-cookie-banner.is-visible {
  transform: translateY(0);
}

.wl-cookie-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 760px) {
  .wl-cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.wl-cookie-text {
  font-size: 0.9rem;
  color: var(--paper-70);
  max-width: 640px;
}

.wl-cookie-text a {
  color: var(--paper);
  text-decoration: underline;
}

.wl-cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.wl-cookie-actions button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--paper-15);
  background: transparent;
  color: var(--paper);
}

.wl-cookie-actions .wl-cookie-accept {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.wl-cookie-actions .wl-cookie-settings {
  background: transparent;
}

.wl-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wl-cookie-modal-backdrop.is-visible {
  display: flex;
}

.wl-cookie-modal {
  background: var(--ink);
  border: 1px solid var(--paper-15);
  border-radius: 20px;
  padding: 28px;
  max-width: 480px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
}

.wl-cookie-modal h3 {
  font-family: var(--font-display);
  margin: 0 0 16px;
}

.wl-cookie-category {
  border-top: 1px solid var(--paper-10);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.wl-cookie-category:first-of-type {
  border-top: none;
}

.wl-cookie-category h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.wl-cookie-category p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--paper-60);
}

.wl-switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.wl-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.wl-switch-track {
  position: absolute;
  inset: 0;
  background: var(--paper-15);
  border-radius: 999px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.wl-switch input:checked + .wl-switch-track {
  background: var(--accent);
}

.wl-switch input:disabled + .wl-switch-track {
  opacity: 0.5;
  cursor: not-allowed;
}

.wl-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.wl-switch input:checked + .wl-switch-track::after {
  transform: translateX(18px);
}

.wl-cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.wl-cookie-modal-actions button {
  flex: 1;
  min-width: 140px;
}

/* ---------- Privacy policy page ---------- */

.wl-legal {
  padding: 60px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}

.wl-legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 16px 0 8px;
}

.wl-legal .wl-updated {
  color: var(--paper-60);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.wl-legal h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 40px 0 14px;
}

.wl-legal p,
.wl-legal li {
  color: var(--paper-70);
  font-size: 0.98rem;
}

.wl-legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.88rem;
}

.wl-legal th,
.wl-legal td {
  border: 1px solid var(--paper-15);
  padding: 10px 12px;
  text-align: left;
  color: var(--paper-70);
}

.wl-legal th {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.wl-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wl-orb {
    animation: none;
  }
  .wl-scroll-hint {
    animation: none;
  }
  .wl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
