/* Lunar Agency — Web Gen Z Edition */

:root {
  --bone: #F4EFE6;
  --bone-deep: #ECE5D7;
  --paper: #FFFCF5;
  --ink: #0F0E0E;
  --ink-soft: #2A2622;
  --hero: #FF2E93;
  --hero-soft: #FFC4DE;
  --lime: #DFFF1C;

  --display: "Archivo Black", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --hand: "Caveat", "Comic Sans MS", cursive;

  --container: 1480px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bone);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}

/* paper noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px;
  opacity: 0.6;
  mix-blend-mode: multiply;
}

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

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

/* === TYPOGRAPHY UTILITIES === */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.hand {
  font-family: var(--hand);
  font-weight: 600;
}
.mono {
  font-family: var(--mono);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

/* === PRE-HEADER (lang + status) === */
.preheader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 15%, transparent);
}
.ph-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ph-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ph-sep { opacity: 0.4; }
.ph-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ph-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hero);
  display: inline-block;
  animation: pulse 2s infinite;
}
.ph-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ph-lang {
  background: transparent;
  border: none;
  color: var(--paper);
  opacity: 0.5;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  transition: opacity 0.15s ease;
}
.ph-lang:hover { opacity: 0.85; }
.ph-lang.on {
  opacity: 1;
  color: var(--lime);
}

/* === NAV (offset by preheader) === */
.nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 56px;
  background: color-mix(in oklab, var(--bone) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo svg { display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--hero); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-lang {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  transition: transform 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 0 0 var(--hero);
}
.btn-primary:hover { box-shadow: 0 6px 0 0 var(--hero); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-hero {
  background: var(--hero);
  color: var(--paper);
}
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translate(3px, -2px); }

/* === STICKER / PILL === */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--hero);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
}
.sticker.lime { background: var(--lime); color: var(--ink); }
.sticker.ink { background: var(--ink); color: var(--paper); }
.sticker.bone { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 56px 100px;
  overflow: hidden;
}
.hero-meta { display: none; }
.hero-meta-l {
  display: flex;
  gap: 22px;
  align-items: center;
}
.hero-meta .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-meta .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-stickers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(72px, 11.5vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  max-width: 1500px;
  margin: 0 0 48px;
}
.hero-headline em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--hero);
  font-weight: 400;
}
.hero-headline .smiley-inline {
  display: inline-block;
  vertical-align: middle;
  margin: 0 8px 0.18em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
  margin-top: 48px;
}
.hero-sub {
  font-size: 22px;
  line-height: 1.45;
  max-width: 640px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1.5px solid var(--ink);
}
.kpi-num {
  font-family: var(--display);
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.kpi-num em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--hero);
}
.kpi-lbl {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* hero floating sparkles */
.hero-sparkle {
  position: absolute;
  pointer-events: none;
}

/* === TRUST MARQUEE === */
.trust {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.trust-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  animation: scroll 28s linear infinite;
}
.trust-track > span {
  display: inline-flex;
  align-items: center;
  gap: 36px;
}
.trust-track .serif-italic {
  font-family: var(--serif);
  font-style: italic;
  color: var(--lime);
  text-transform: none;
}
.trust-track .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero);
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* === SECTIONS === */
.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.section-headline {
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 14px 0 0;
}
.section-headline em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--hero);
  font-weight: 400;
}

/* === WHAT WE DO === */
.what-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  margin-top: 16px;
}
.what-body p {
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.what-aside {
  margin-top: 32px;
  display: grid;
  gap: 22px;
}
.what-aside-item .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero);
  margin-bottom: 6px;
}
.what-aside-item p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* === SELECTED WORK === */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 16px;
}
.work-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 10%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,0.10); }
.work-card.span-7 { grid-column: span 7; }
.work-card.span-5 { grid-column: span 5; }
.work-card.span-6 { grid-column: span 6; }
.work-card.span-12 { grid-column: span 12; }
.work-img-wrap {
  width: 100%;
  height: 520px;
  overflow: hidden;
}
.work-card.tall .work-img-wrap { height: 580px; }
.work-card.span-12 .work-img-wrap { height: 580px; }
.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.work-card:hover .work-img { transform: scale(1.03); }
.work-meta {
  padding: 26px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: var(--paper);
  gap: 24px;
}
.work-meta-l {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero);
  margin-bottom: 8px;
}
.work-client {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.work-name {
  font-family: var(--display);
  font-size: 30px;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 2px;
}
.work-card.span-12 .work-name { font-size: 40px; }
.work-meta-r {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ink-soft);
}
.work-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.work-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in oklab, var(--ink) 15%, transparent);
}
.work-foot p { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); margin: 0; }

/* === SERVICES === */
.services {
  padding: 120px 0;
  background: var(--bone-deep);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.svc-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.svc-card.span-7 { grid-column: span 7; min-height: 380px; }
.svc-card.span-5 { grid-column: span 5; min-height: 380px; }
.svc-card.span-6 { grid-column: span 6; }
.svc-card.featured {
  background: var(--hero);
  color: var(--paper);
}
.svc-card.featured .svc-num,
.svc-card.featured .svc-desc { color: var(--paper); opacity: 0.85; }
.svc-card.featured .svc-tag { color: var(--paper); border-color: var(--paper); }

.svc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.svc-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--hero);
}
.svc-glyph {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.svc-card.featured .svc-glyph { color: var(--paper); }

.svc-title {
  font-family: var(--display);
  font-size: 30px;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 16px 0 12px;
}
.svc-card.span-7 .svc-title,
.svc-card.span-5 .svc-title { font-size: 38px; }
.svc-desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

.svc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}
.svc-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1.5px solid var(--ink);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink);
}
.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
}
.svc-cta:hover { color: var(--hero); }

/* === EXTENDED === */
.ext-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  margin-top: 16px;
}
.ext-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ext-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 15%, transparent);
  align-items: baseline;
}
.ext-item:first-child { border-top: 1px solid color-mix(in oklab, var(--ink) 15%, transparent); }
.ext-item-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.ext-item-name {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.02em;
}
.ext-item-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero);
}

/* === WHY LUNAR === */
.why {
  background: var(--ink);
  color: var(--paper);
}
.why .eyebrow,
.why .section-num,
.why .what-aside-item .label { color: var(--lime); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.why-cell {
  background: color-mix(in oklab, var(--paper) 8%, var(--ink));
  border: 1px solid color-mix(in oklab, var(--paper) 15%, transparent);
  border-radius: 22px;
  padding: 32px;
}
.why-cell .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--lime);
}
.why-cell h3 {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.03em;
  margin: 24px 0 12px;
  color: var(--paper);
}
.why-cell p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  color: color-mix(in oklab, var(--paper) 85%, transparent);
}
.why-cell-glyph {
  margin-top: 24px;
  color: var(--lime);
}

/* === FOUNDER === */
.founder {
  padding: 120px 0;
  background: var(--hero);
  color: var(--paper);
}
.founder .eyebrow,
.founder .section-num { color: var(--paper); opacity: 0.85; }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 56px;
}
.founder-portrait {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-portrait::after {
  content: "founder";
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--lime);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
}
.founder-headline {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 14px 0 24px;
  color: var(--paper);
}
.founder-headline em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--lime);
  font-weight: 400;
}
.founder-text p {
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 32px;
  color: var(--paper);
}
.founder-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0;
}
.founder-meta-item .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
}
.founder-meta-item p {
  font-size: 16px;
  margin: 0;
}
.founder-stat-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
  border-top: 1.5px solid color-mix(in oklab, var(--paper) 30%, transparent);
}
.founder-bigstat-num {
  font-family: var(--display);
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.founder-bigstat-num em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--lime);
}
.founder-bigstat-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.85;
  margin-top: 8px;
}
.founder .btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 4px 0 0 var(--lime); }

/* === PROCESS === */
.process { padding: 120px 0; }
.process-track { position: relative; margin-top: 56px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.proc-step {
  position: relative;
  padding-top: 60px;
}
.proc-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--hero);
  margin-bottom: 16px;
}
.proc-dot {
  position: absolute;
  top: 28px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hero);
  z-index: 2;
}
.proc-step::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 18px;
  right: -16px;
  height: 2px;
  background: color-mix(in oklab, var(--ink) 20%, transparent);
}
.proc-step:last-child::before { display: none; }
.proc-name {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.proc-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* === FINAL CTA === */
.final {
  padding: 140px 56px;
  background: var(--bone-deep);
  position: relative;
  overflow: hidden;
}
.final-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.final-headline {
  font-family: var(--display);
  font-size: clamp(60px, 9vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  margin: 14px 0 40px;
}
.final-headline em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--hero);
  font-weight: 400;
}
.final-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
}
.final-bottom p { font-size: 20px; line-height: 1.5; color: var(--ink-soft); max-width: 540px; margin: 0 0 18px; }
.final-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -0.02em;
}
.final-email:hover { color: var(--hero); }
.response-micro {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 14px;
}
.final-bg-smiley {
  position: absolute;
  bottom: -120px;
  right: -100px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 56px 36px;
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 15%, transparent);
}
.footer-brand img { max-width: 200px; }
.footer-tagline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  margin-top: 22px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.footer-col a:hover { color: var(--lime); }
.footer-mega {
  font-family: var(--display);
  font-size: clamp(120px, 22vw, 360px);
  letter-spacing: -0.06em;
  line-height: 0.8;
  margin: 64px 0 32px;
  text-align: center;
  color: var(--paper);
  position: relative;
}
.footer-mega .smiley-mega {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.04em 0.1em;
}
.footer-bot {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .container, .nav, .ph-inner { padding-left: 32px; padding-right: 32px; }
  .hero { padding-left: 32px; padding-right: 32px; }
  .nav-links { display: none; }
  .ph-inner { font-size: 10px; }
  .ph-left > span:not(.ph-live) { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-kpis { grid-template-columns: 1fr; gap: 28px; }
  .what-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-card.span-7,
  .work-card.span-5,
  .work-card.span-6,
  .work-card.span-12 { grid-column: span 12; }
  .work-img-wrap { height: 320px !important; }
  .svc-card.span-7,
  .svc-card.span-5,
  .svc-card.span-6 { grid-column: span 12; }
  .ext-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .proc-step::before { display: none; }
  .final-bottom { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .final-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer-mega { font-size: 120px; }
}

@media (max-width: 720px) {
  .container, .nav, .ph-inner { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 130px 20px 60px; }
  .section { padding: 70px 0; }
  .services { padding: 70px 0; }
  .process, .founder { padding: 70px 0; }
  .final { padding: 80px 20px; }
  .footer { padding: 60px 20px 28px; }

  /* preheader */
  .ph-inner { padding: 6px 20px; }
  .ph-left > span:not(.ph-live) { display: none; }
  .ph-left .ph-sep { display: none; }

  /* nav */
  .nav { padding: 14px 20px; top: 30px; }
  .nav-right { gap: 8px; }
  .nav-right .btn { padding: 10px 14px; font-size: 13px; }

  /* hero */
  .hero-headline { font-size: clamp(48px, 13vw, 88px); margin: 0 0 30px; }
  .hero-headline .smiley-inline,
  .hero-headline svg { width: 56px !important; height: 56px !important; margin: 0 4px -0.05em !important; }
  .hero-stickers { gap: 8px; margin-bottom: 22px; }
  .sticker { font-size: 11px; padding: 6px 10px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 12px 18px; font-size: 13px; }
  .hero-kpis { margin-top: 50px; padding-top: 28px; }
  .kpi-num { font-size: 60px; }
  .kpi-lbl { font-size: 11px; }
  .hero-meta, .hero-sparkle { display: none; }
  .hero-bottom > div:last-child { display: none; } /* hide badge on mobile */

  /* trust */
  .trust-track { font-size: 22px; gap: 22px; }
  .trust-track > span { gap: 22px; }

  /* section headlines */
  .section-headline { font-size: clamp(34px, 8vw, 48px) !important; }
  .eyebrow { font-size: 11px; }
  .section-num { font-size: 11px; }

  /* what */
  .what-aside { grid-template-columns: 1fr; }
  .what-body p { font-size: 16px; }

  /* work */
  .work-grid { gap: 14px; }
  .work-img-wrap { height: 260px !important; }
  .work-card.span-12 .work-img-wrap { height: 260px !important; }
  .work-meta { padding: 18px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .work-name, .work-card.span-12 .work-name { font-size: 22px; }
  .work-client { font-size: 11px; }
  .work-foot { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }

  /* services */
  .svc-grid { gap: 12px; }
  .svc-card { padding: 22px; min-height: 240px; }
  .svc-card.span-7, .svc-card.span-5 { min-height: 240px; }
  .svc-title, .svc-card.span-7 .svc-title, .svc-card.span-5 .svc-title { font-size: 24px; }
  .svc-desc { font-size: 14px; }
  .svc-glyph { transform: scale(0.85); }

  /* extended */
  .ext-item { grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; }
  .ext-item-name { font-size: 18px; }
  .ext-item-meta { display: none; }

  /* why */
  .why-cell { padding: 24px; }
  .why-cell h3 { font-size: 22px; }
  .why-cell p { font-size: 14px; }

  /* founder */
  .founder-grid { padding: 0 20px; }
  .founder-headline { font-size: clamp(34px, 7vw, 44px); }
  .founder-text p { font-size: 16px; }
  .founder-meta { grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
  .founder-portrait::after { font-size: 11px; padding: 4px 10px; }
  .founder-bigstat-num { font-size: 56px; }
  .founder-stat-row { flex-direction: column; align-items: flex-start; gap: 18px; }

  /* process */
  .proc-step { padding-top: 50px; }
  .proc-name { font-size: 22px; }
  .proc-desc { font-size: 14px; }

  /* final */
  .final-headline { font-size: clamp(42px, 12vw, 80px); }
  .final-bottom p { font-size: 17px; }
  .final-email { font-size: 22px; }

  /* footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-mega { font-size: 90px; margin: 36px 0 20px; }
  .footer-mega .smiley-mega svg { width: 72px !important; height: 72px !important; }
  .footer-bot { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 10px; }

  /* hero smiley adjustment when stacked */
  .hero-headline span img,
  .hero-headline svg { display: inline-block; vertical-align: middle; }
}

@media (max-width: 420px) {
  .hero-headline { font-size: clamp(40px, 11vw, 68px); }
  .hero-headline svg { width: 44px !important; height: 44px !important; }
  .sticker { font-size: 10px; padding: 5px 9px; }
  .section-headline { font-size: clamp(28px, 7vw, 38px) !important; }
  .work-img-wrap { height: 220px !important; }
  .final-email { font-size: 18px; }
  .founder-bigstat-num { font-size: 48px; }
}

/* === LANGUAGE SPLASH === */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: splash-in 0.4s ease-out;
}
@keyframes splash-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.splash-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.splash-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.splash-blob-1 {
  width: 600px; height: 600px;
  background: var(--hero);
  top: -200px; right: -180px;
}
.splash-blob-2 {
  width: 500px; height: 500px;
  background: var(--lime);
  opacity: 0.25;
  bottom: -200px; left: -150px;
}

.splash-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.splash-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.splash-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
}

.splash-hero {
  display: flex;
  align-items: center;
  gap: 30px;
}
.splash-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 8vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.splash-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.splash-title span:last-of-type {
  color: color-mix(in oklab, var(--paper) 55%, transparent);
}

.splash-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.splash-btn {
  all: unset;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: 18px;
  font-family: var(--sans);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.splash-btn:hover {
  transform: translateY(-3px);
}
.splash-btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.splash-btn-primary {
  background: var(--hero);
  color: var(--paper);
  box-shadow: 0 6px 0 0 var(--lime);
}
.splash-btn-primary:hover { box-shadow: 0 9px 0 0 var(--lime); }
.splash-btn-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 0 0 var(--hero);
}
.splash-btn-secondary:hover { box-shadow: 0 9px 0 0 var(--hero); }

.splash-btn-flag { font-size: 28px; line-height: 1; }
.splash-btn-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.splash-btn-label {
  font-family: var(--display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.splash-btn-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}
.splash-btn-arrow {
  font-family: var(--display);
  font-size: 28px;
  transition: transform 0.18s ease;
}
.splash-btn:hover .splash-btn-arrow { transform: translateX(4px); }

.splash-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
}

@media (max-width: 720px) {
  .splash-inner { padding: 36px 22px; gap: 32px; }
  .splash-hero { flex-direction: column; align-items: flex-start; gap: 20px; }
  .splash-hero svg { width: 90px !important; height: 90px !important; }
  .splash-actions { grid-template-columns: 1fr; }
  .splash-btn { padding: 18px 20px; gap: 14px; }
  .splash-btn-label { font-size: 20px; }
  .splash-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .splash-blob-1 { width: 380px; height: 380px; }
  .splash-blob-2 { width: 320px; height: 320px; }
}
