/* ─── TOKENS ──────────────────────────────────────────────────────────────── */

:root {
  --ink: #1C1917;
  --ink2: #292524;
  --paper: #F5F0E8;
  --paper2: #EDE8DF;
  --paper3: #E2DBD0;
  --muted: #5C5551;
  --accent: #C4600A;
  --accent2: #E07B2A;
  --accent-pale: #FAE8D4;
  --cube1: #C4600A;
  --cube2: #1C3F6E;
  --cube3: #2D6A4F;
  --cube4: #6B3FA0;
  --white: #FDFCFA;
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--muted);
}

/* ─── KEYFRAMES ───────────────────────────────────────────────────────────── */

@keyframes cubeFloat {
  0%,
  100% { transform: var(--tf) translateY(0px); }
  33%  { transform: var(--tf) translateY(-12px); }
  66%  { transform: var(--tf) translateY(-6px); }
}

@keyframes cubeSpin {
  0%   { transform: var(--tf) rotate(0deg); }
  100% { transform: var(--tf) rotate(360deg); }
}

@keyframes cubeWobble {
  0%,
  100% { transform: var(--tf) scale(1); }
  50%  { transform: var(--tf) scale(1.04); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes bounce {
  0%,
  100% { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(6px); }
}

@keyframes shimmer {
  0%,
  100% { opacity: 0.6; }
  50%  { opacity: 1; }
}

/* ─── REVEAL ──────────────────────────────────────────────────────────────── */

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

.reveal.vis {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }

/* ─── CUBE SYSTEM ─────────────────────────────────────────────────────────── */

.cube {
  position: absolute;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cube::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 60%);
}

.cube::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 10%;
  right: 10%;
  height: 20px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
}

.cube-face {
  position: absolute;
  inset: 18%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  transform: rotate(8deg);
}

.cube-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  position: absolute;
  bottom: 16px;
  right: 16px;
}

/* Colour variants */

.cube-orange {
  background: var(--cube1);
  box-shadow: 0 20px 60px rgba(196, 96, 10, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cube-orange::after {
  background: var(--cube1);
}

.cube-blue {
  background: var(--cube2);
  box-shadow: 0 20px 60px rgba(28, 63, 110, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cube-blue::after {
  background: var(--cube2);
}

.cube-green {
  background: var(--cube3);
  box-shadow: 0 20px 60px rgba(45, 106, 79, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cube-green::after {
  background: var(--cube3);
}

.cube-purple {
  background: var(--cube4);
  box-shadow: 0 20px 60px rgba(107, 63, 160, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cube-purple::after {
  background: var(--cube4);
}

/* Outline cube variant */

.cube-outline {
  background: transparent;
  border: 2.5px solid var(--accent);
  box-shadow: 0 0 0 0 transparent;
}

.cube-outline::before {
  display: none;
}

.cube-outline::after {
  display: none;
}

.cube-outline .cube-face {
  border-color: rgba(196, 96, 10, 0.4);
}

/* ─── UTILITIES ───────────────────────────────────────────────────────────── */

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 44px;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--paper3);
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'Space Mono', monospace;
}

.tag-accent {
  background: var(--accent-pale);
  color: var(--accent);
}

.tag-ink {
  background: var(--ink);
  color: var(--paper);
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-filled {
  padding: 14px 30px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
}

.btn-filled:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(196, 96, 10, 0.3);
}

.btn-hot {
  padding: 14px 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
}

.btn-hot:hover {
  background: #a84f08;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(196, 96, 10, 0.4);
}

.btn-ghost {
  padding: 13px 29px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 2px;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-3px);
}

.btn-ghost-light {
  padding: 13px 29px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-3px);
}

/* ─── NAVBAR ──────────────────────────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#navbar.scrolled,
#navbar.nav-always-light {
  background: rgba(245, 240, 232, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--paper3);
  padding: 13px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(196, 96, 10, 0.35);
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
  transform: rotate(0deg);
}

.logo-mark-inner {
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  transform: rotate(-10deg);
}

.logo-text-wrap .name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
}

.logo-text-wrap .sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.nl {
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.nl::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nl:hover {
  color: var(--accent);
}

.nl:hover::after {
  width: 100%;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
}

#mmenu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--paper);
  flex-direction: column;
  padding: 90px 44px 44px;
}

#mmenu.open {
  display: flex;
}

.mlink {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper3);
  display: block;
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */

#hero {
  min-height: 100vh;
  background: var(--paper);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-h1 .break {
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-desc strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--paper3);
}

.hs {
  padding: 24px 32px 0 0;
  margin-right: 32px;
  border-right: 1px solid var(--paper3);
}

.hs:last-child {
  border-right: none;
}

.hs-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.hs-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 5px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}

/* Hero right — cube cluster */

.hero-right {
  position: relative;
  height: 500px;
}

.hero-cube-main {
  --tf: rotate(-8deg);
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
  animation: cubeFloat 6s ease-in-out infinite;
  z-index: 3;
}

.hero-cube-sm1 {
  --tf: rotate(15deg);
  width: 90px;
  height: 90px;
  top: 10%;
  right: 10%;
  animation: cubeFloat 8s ease-in-out infinite;
  animation-delay: -2s;
  z-index: 2;
}

.hero-cube-sm2 {
  --tf: rotate(-20deg);
  width: 70px;
  height: 70px;
  bottom: 15%;
  left: 5%;
  animation: cubeFloat 7s ease-in-out infinite;
  animation-delay: -4s;
  z-index: 2;
}

.hero-cube-sm3 {
  --tf: rotate(5deg);
  width: 55px;
  height: 55px;
  top: 20%;
  left: 8%;
  animation: cubeWobble 4s ease-in-out infinite;
  z-index: 1;
}

.hero-cube-outline {
  --tf: rotate(25deg);
  width: 130px;
  height: 130px;
  bottom: 10%;
  right: 5%;
  animation: cubeFloat 9s ease-in-out infinite;
  animation-delay: -1s;
}

.hero-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Scroll hint */

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.65rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.5s forwards;
  opacity: 0;
}

.scroll-arrow {
  animation: bounce 2s ease-in-out infinite;
}

/* ─── MARQUEE STRIP ───────────────────────────────────────────────────────── */

#strip {
  background: var(--ink);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.marquee-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── ABOUT ───────────────────────────────────────────────────────────────── */

#about {
  padding: 140px 0 120px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.about-bg-num {
  position: absolute;
  top: -40px;
  right: -20px;
  font-family: 'Fraunces', serif;
  font-size: 22vw;
  font-weight: 700;
  color: var(--paper2);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.about-layout {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-tag-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.about-h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 28px;
}

.about-h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}

.about-lede {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.about-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 40px;
}

.about-dark-card {
  background: var(--ink2);
  border-radius: 4px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.about-cube-deco {
  --tf: rotate(20deg);
  width: 100px;
  height: 100px;
  position: absolute;
  top: -20px;
  right: -20px;
  animation: cubeFloat 8s ease-in-out infinite;
  opacity: 0.7;
}

.about-cube-deco2 {
  --tf: rotate(-12deg);
  width: 60px;
  height: 60px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  animation: cubeWobble 5s ease-in-out infinite;
  opacity: 0.5;
}

.about-dark-card .tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.about-dark-card h3 {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 600;
}

.about-dark-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 0.97rem;
  font-weight: 400;
}

/* Pillars */

.pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  padding: 20px 0;
  border-bottom: 1px solid var(--paper3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar:first-child {
  border-top: 1px solid var(--paper3);
}

.pillar-name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--muted);
  font-family: 'Space Mono', monospace;
  text-align: right;
  max-width: 180px;
}

/* ─── SERVICES ────────────────────────────────────────────────────────────── */

#services {
  padding: 120px 0;
  background: var(--ink);
}

.services-header {
  margin-bottom: 72px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.services-h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #fff;
  max-width: 480px;
}

.services-h2 em {
  color: var(--accent2);
  font-style: italic;
  font-weight: 300;
}

.services-subtitle {
  max-width: 320px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

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

.svc {
  background: rgba(255, 255, 255, 0.03);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
  cursor: default;
}

.svc:hover {
  background: rgba(255, 255, 255, 0.06);
}

.svc-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  display: block;
}

.svc-cube {
  --tf: rotate(-12deg);
  width: 56px;
  height: 56px;
  position: relative;
  margin-bottom: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc:hover .svc-cube {
  transform: rotate(0deg) scale(1.08);
}

.svc-cube svg {
  position: relative;
  z-index: 1;
}

.svc-title {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.svc-desc {
  font-size: 0.97rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  margin-bottom: 28px;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}

.svc-li::before {
  content: '→';
  color: var(--accent2);
  flex-shrink: 0;
  margin-top: 1px;
}

.svc-bg-cube {
  position: absolute;
  border-radius: 12px;
  opacity: 0.06;
  pointer-events: none;
}

/* Services bottom CTA bar */

.svc-cta-bar {
  margin-top: 2px;
  background: var(--accent);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.svc-cta-bar h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  color: #fff;
  font-weight: 600;
  max-width: 500px;
  line-height: 1.25;
}

.svc-cta-bar h3 em {
  font-style: italic;
  font-weight: 300;
}

/* ─── SOLUTIONS ───────────────────────────────────────────────────────────── */

#solutions {
  padding: 120px 0;
  background: var(--paper2);
}

.sol-header {
  text-align: center;
  margin-bottom: 80px;
}

.sol-h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 16px;
}

.sol-h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}

.sol-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sol-row {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
}

.sol-row:hover {
  box-shadow: 0 8px 40px rgba(28, 25, 23, 0.1);
}

.sol-row.flip {
  direction: rtl;
}

.sol-row.flip > * {
  direction: ltr;
}

.sol-text {
  padding: 52px;
}

.sol-icon-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sol-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sol-label {
  font-size: 0.7rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.sol-title {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.sol-problem {
  font-size: 0.78rem;
  font-family: 'Space Mono', monospace;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sol-p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 16px;
}

.sol-approach {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink);
  font-weight: 400;
}

.sol-panel {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sol-panel-cube {
  position: absolute;
  bottom: -30px;
  right: -30px;
  opacity: 0.12;
  border-radius: 16px;
}

.sol-outcomes-lbl {
  font-size: 0.65rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
}

.sol-outcomes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sol-outcome {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sol-check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── PROJECTS ────────────────────────────────────────────────────────────── */

#projects {
  padding: 120px 0;
  background: var(--ink2);
  position: relative;
  overflow: hidden;
}

.proj-bg-cube1 {
  --tf: rotate(18deg);
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 24px;
  animation: cubeFloat 11s ease-in-out infinite;
  opacity: 0.08;
}

.proj-bg-cube2 {
  --tf: rotate(-25deg);
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 18px;
  animation: cubeFloat 9s ease-in-out infinite;
  animation-delay: -3s;
  opacity: 0.08;
}

.proj-header {
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}

.proj-h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.proj-h2 em {
  color: var(--accent2);
  font-style: italic;
  font-weight: 300;
}

.proj-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  max-width: 440px;
  line-height: 1.7;
}

.proj-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  z-index: 1;
}

.proj-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease;
}

.proj-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.proj-top {
  padding: 36px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.proj-id {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
}

.proj-meta .client {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.proj-meta .industry {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Space Mono', monospace;
}

.proj-tag {
  padding: 5px 14px;
  border-radius: 2px;
  font-size: 0.65rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.proj-body {
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}

.proj-section-lbl {
  font-size: 0.65rem;
  font-family: 'Space Mono', monospace;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.proj-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 24px;
}

.proj-p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  margin-bottom: 20px;
}

.metrics-wrap {
  display: flex;
  flex-direction: column;
}

.metric {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.metric:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.m-num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.m-lbl {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.proj-cta {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

/* ─── WHY US ──────────────────────────────────────────────────────────────── */

#why-us {
  padding: 120px 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.whyus-bg-cube {
  --tf: rotate(-20deg);
  position: absolute;
  top: 40px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 24px;
  animation: cubeWobble 7s ease-in-out infinite;
  opacity: 0.07;
}

.whyus-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.whyus-h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 16px;
}

.whyus-h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.reason {
  background: var(--white);
  padding: 36px;
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reason:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(28, 25, 23, 0.1);
}

.reason-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 20px;
}

.reason-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.reason-title {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
}

.reason-desc {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 400;
}

/* Compare table */

.compare {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.compare-head {
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 140px 140px;
  padding: 18px 40px;
  align-items: center;
}

.compare-head span {
  font-size: 0.7rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-head span:first-child {
  color: rgba(255, 255, 255, 0.3);
}

.compare-head .ch-us {
  color: #fff;
  text-align: center;
}

.compare-head .ch-them {
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 140px 140px;
  padding: 16px 40px;
  border-top: 1px solid var(--paper3);
  align-items: center;
  background: var(--white);
}

.compare-row:nth-child(even) {
  background: var(--paper);
}

.compare-row span:first-child {
  font-size: 0.9rem;
  color: var(--ink);
}

.compare-cell {
  display: flex;
  justify-content: center;
}

.badge {
  padding: 4px 14px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}

.badge-yes   { background: var(--accent-pale); color: var(--accent); }
.badge-no    { background: #FEF0F0; color: #B83232; }
.badge-maybe { background: #FEF8E8; color: #9A6B00; }

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */

#contact {
  padding: 120px 0;
  background: var(--paper2);
  position: relative;
  overflow: hidden;
}

.contact-cube1 {
  --tf: rotate(14deg);
  position: absolute;
  bottom: -40px;
  right: 5%;
  width: 160px;
  height: 160px;
  border-radius: 18px;
  animation: cubeFloat 8s ease-in-out infinite;
  opacity: 0.15;
}

.contact-cube2 {
  --tf: rotate(-22deg);
  position: absolute;
  top: 40px;
  left: -60px;
  width: 120px;
  height: 120px;
  border-radius: 14px;
  animation: cubeWobble 6s ease-in-out infinite;
  opacity: 0.1;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}

.contact-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 44px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 44px;
}

.pstep {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--paper3);
}

.pstep:first-child {
  border-top: 1px solid var(--paper3);
}

.pstep-n {
  width: 34px;
  height: 34px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pstep-title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.pstep-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

.contact-details {
  background: var(--ink);
  border-radius: 4px;
  padding: 28px;
}

.cd-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cd-item:last-child {
  border-bottom: none;
}

.cd-icon {
  width: 34px;
  height: 34px;
  background: rgba(196, 96, 10, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cd-lbl {
  font-size: 0.6rem;
  font-family: 'Space Mono', monospace;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cd-val {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

/* Form */

.form-card {
  background: var(--white);
  border-radius: 4px;
  padding: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fl {
  font-size: 0.65rem;
  font-family: 'Space Mono', monospace;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.fi,
.fs,
.ft {
  width: 100%;
  padding: 13px 15px;
  background: var(--paper);
  border: 2px solid var(--paper3);
  border-radius: 2px;
  font-size: 0.92rem;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
}

.fi:focus,
.fs:focus,
.ft:focus {
  border-color: var(--accent);
}

.ft {
  resize: vertical;
  min-height: 120px;
}

.fg-full {
  margin-bottom: 18px;
}

.form-submit-row {
  margin-top: 8px;
}

.form-note {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}

#success-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.success-cube {
  --tf: rotate(10deg);
  width: 72px;
  height: 72px;
  border-radius: 12px;
  margin: 0 auto 24px;
  position: relative;
  animation: cubeWobble 3s ease-in-out infinite;
}

.success-h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.success-p {
  color: var(--muted);
  line-height: 1.75;
  font-weight: 400;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */

footer {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 0;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.foot-brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}

.foot-brand-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: -2px;
}

.foot-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  font-weight: 400;
  max-width: 240px;
  margin: 18px 0 24px;
}

.foot-socials {
  display: flex;
  gap: 10px;
}

.fsoc {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.fsoc:hover {
  background: var(--accent);
  color: #fff;
}

.fsoc svg {
  width: 14px;
  height: 14px;
}

.foot-col-label {
  font-size: 0.6rem;
  font-family: 'Space Mono', monospace;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}

.foot-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.foot-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.foot-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'Space Mono', monospace;
}

.foot-legal {
  display: flex;
  gap: 24px;
}

.foot-legal a {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  transition: color 0.2s ease;
}

.foot-legal a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero-inner                     { grid-template-columns: 1fr; gap: 48px; }
  .hero-right                     { height: 320px; }
  .about-layout                   { grid-template-columns: 1fr; }
  .svc-grid                       { grid-template-columns: 1fr; }
  .sol-row,
  .sol-row.flip                   { grid-template-columns: 1fr; direction: ltr; }
  .proj-body                      { grid-template-columns: 1fr; }
  .reasons                        { grid-template-columns: repeat(2, 1fr); }
  .contact-inner                  { grid-template-columns: 1fr; }
  .foot-top                       { grid-template-columns: 1fr 1fr; }
  .compare-head,
  .compare-row                    { grid-template-columns: 1fr 110px 110px; padding-left: 20px; padding-right: 20px; }
  .wrap                           { padding: 0 24px; }
}

@media (max-width: 640px) {
  .nav-links,
  .nav-right  { display: none !important; }
  .burger     { display: block !important; }
  .hero-right { display: none; }
  .form-grid  { grid-template-columns: 1fr; }
  .reasons    { grid-template-columns: 1fr; }
  .foot-top   { grid-template-columns: 1fr; }
  .hero-h1    { font-size: 2.8rem; }
  .svc-cta-bar { flex-direction: column; }
}
