/* ======================
   TOKENS
====================== */
:root {
  --bg: #f4f4ee;
  --surface: #fcfcf8;
  --text: #1f221e;
  --muted: #636b62;
  --border: #d9ddd4;
  --accent: #4f8a6b;
  --accent-strong: #2f6f52;
  --accent-glow: rgba(47, 111, 82, 0.35);
  --focus-ring: rgba(47, 111, 82, 0.45);
  --radius: 12px;
  --font: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

/* ======================
   RESET
====================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(circle at 88% 14%, rgba(79, 138, 107, 0.08) 0%, transparent 34%),
    linear-gradient(160deg, var(--bg) 0%, #f0f4ef 50%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

section {
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}

/* ======================
   NAV
====================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: color-mix(in srgb, var(--bg) 84%, var(--surface));
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--text);
  color: var(--bg);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.nav nav {
  display: flex;
  gap: 32px;
}

.nav nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.nav nav a:hover {
  color: var(--text);
}

.nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--text);
  transition: width 0.25s ease;
}

.nav nav a:hover::after {
  width: 100%;
}

.design-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.design-open-digital {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.design-open-digital:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--surface) 78%, #edf5ef);
  transform: translateY(-1px);
}



/* ======================
   BUTTONS
====================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid var(--text);
  cursor: pointer;
  min-height: 48px;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(47, 111, 82, 0.3);
}

.btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.82), 0 0 0 8px rgba(47, 111, 82, 0.2);
}

.btn.outline {
  background: transparent;
  color: var(--text);
}

.btn.outline:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
  transform: translateY(-2px);
}

.btn.large {
  font-size: 1.1rem;
  padding: 18px 40px;
}

/* ======================
   DESIGN TOGGLE
====================== */
.design-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font);
}

.design-toggle:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 7px 18px rgba(47, 111, 82, 0.28);
  transform: scale(1.05);
}

.design-toggle:focus-visible,
.design-open-digital:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ======================
   SECTION LABEL
====================== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ======================
   HERO
====================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 40px 80px;
  overflow: hidden;
  max-width: 900px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-image {
  display: none;
}

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 32px;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 820px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.hero-bg-label {
  position: fixed;
  bottom: 0;
  right: -0.02em;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0,0,0,0.06);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
  opacity: 0.4;
  filter: blur(1px);
}

/* ======================
   TICKER
====================== */
.ticker {
  overflow: hidden;
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  padding: 14px 0;
  background: var(--text);
}

.ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
}

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

/* ======================
   ABOUT
====================== */
.about {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about > .section-label {
  margin-bottom: 20px;
}

/* HERO KINETIC */
.about-hero {
  margin-bottom: 20px;
}

.kinetic-hero {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.kinetic-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: kinetic-word-in 0.6s ease-out forwards;
}

.kinetic-line:nth-child(1) {
  animation-delay: 0s;
}

.kinetic-line:nth-child(2) {
  animation-delay: 0.15s;
}

.kinetic-line:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes kinetic-word-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* QUOTE RAIL */
.quote-rail {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.quote-marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: quote-scroll 50s linear infinite;
  white-space: nowrap;
}

.quote-marquee:hover {
  animation-play-state: paused;
}

.quote-line {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

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

/* FRAGMENTED NARRATIVE */
.about-fragments {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.fragment {
  max-width: 800px;
}

.fragment p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.fragment p strong {
  font-weight: 700;
  color: var(--text);
}

/* LAYERED TYPOGRAPHY */
.layered-type {
  position: relative;
  padding: 60px 0;
  min-height: 200px;
}

.layered-bg-words {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--border);
  pointer-events: none;
  opacity: 0.5;
  letter-spacing: -0.02em;
  z-index: 1;
}

.layered-bg-words span {
  display: block;
}

.layered-fg-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.layered-fg-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 600px;
}

/* TERMINAL CARD */
.terminal-card {
  background: #1a1a1a;
  border: 1px solid rgba(122, 155, 130, 0.25);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Monaco', 'Courier New', monospace;
  box-shadow: 0 8px 32px rgba(79, 138, 107, 0.15);
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(122, 155, 130, 0.2);
}

.terminal-title {
  font-size: 0.85rem;
  color: rgba(122, 155, 130, 0.8);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.terminal-controls {
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: rgba(122, 155, 130, 0.6);
}

.terminal-body {
  padding: 20px 16px;
  min-height: 200px;
}

.terminal-line {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.terminal-prefix {
  color: #7a9b82;
  font-weight: 600;
}

.terminal-command {
  color: #7a9b82;
}

.terminal-response {
  color: rgba(122, 155, 130, 0.85);
}

.terminal-typing .terminal-response {
  animation: terminal-type 2s steps(80) 0.5s forwards;
  opacity: 0;
}

@keyframes terminal-type {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* FOLDER CARDS */
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.folder-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.folder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.folder-header:hover {
  background: rgba(79, 138, 107, 0.04);
}

.folder-header[aria-expanded="true"] {
  border-bottom-color: var(--accent);
}

.folder-chevron {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  line-height: 1;
}

.folder-header[aria-expanded="true"] .folder-chevron {
  transform: rotate(90deg);
}

.folder-label {
  display: block;
}

.folder-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.folder-header[aria-expanded="true"] ~ .folder-content {
  max-height: 500px;
}

.folder-body {
  padding: 16px 20px;
}

.folder-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.folder-body strong {
  color: var(--text);
  font-weight: 700;
}

/* MARGIN NOTES */
.margin-notes {
  position: relative;
  margin: 80px 0 60px;
  display: flex;
  justify-content: space-between;
  gap: 100px;
  width: 100%;
  overflow: visible;
  min-height: auto;
  padding: 0 40px;
}

.margin-note {
  position: relative;
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(79, 138, 107, 0.6);
  line-height: 1.5;
  opacity: 0;
  animation: margin-fade-in 0.6s ease-out 1.2s forwards;
  z-index: 10;
  flex: 0 1 150px;
  max-width: 150px;
}

.margin-note p {
  margin: 0;
}

.note-1 {
  text-align: left;
}

.note-2 {
  text-align: right;
  animation-delay: 1.4s;
}

@keyframes margin-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* FINAL CTA */
.about-cta {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.cta-manifesto {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ======================
   SYSTEM WRAPPER
====================== */
.system {
  transition: all 0.6s ease;
}

.system.compact .hero {
  padding: 80px 40px 40px;
}

.hero-title {
  transition: all 0.6s ease;
}

.system.compact .hero-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.system.compact .hero-title br {
  display: none;
}

/* ======================
   SERVICES
====================== */
.services {
  padding: 100px 40px;
  background: var(--text);
  color: var(--bg);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services .section-label {
  color: rgba(255,255,255,0.45);
}

.services h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  padding: 36px 32px;
  background: var(--text);
  transition: background 0.25s;
  position: relative;
  cursor: default;
}

.service-card:hover {
  background: #1a1a1a;
}

.service-card:hover .card-num {
  color: var(--card-color);
}

.card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
  transition: color 0.25s;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--card-color);
  border-radius: 2px;
  margin-bottom: 20px;
  transition: width 0.25s ease;
}

.service-card:hover::before {
  width: 48px;
}

.service-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ======================
   PILLARS
====================== */
.pillars {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillars h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: var(--accent);
  stroke: var(--text);
}

.pillar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ======================
   WORK
====================== */
.work {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.work h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  display: block;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.work-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 46px rgba(47, 111, 82, 0.15);
}

.work-card-header {
  padding: 32px 28px 24px;
  display: flex;
  align-items: flex-end;
}

.work-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.15);
  padding: 4px 10px;
  border-radius: 4px;
}

.work-card-body {
  padding: 28px;
  background: var(--surface);
}

.work-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.work-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--border);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ======================
   WORK METRICS
====================== */
.work-metrics {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.work-metrics div {
  display: flex;
  flex-direction: column;
}

.work-metrics strong {
  font-size: 1.2rem;
  font-weight: 700;
}

.work-metrics span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ======================
   CTA
====================== */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta .section-label {
  color: rgba(255,255,255,0.6);
}

.cta h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

.cta .btn {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.cta .btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
  box-shadow: 0 12px 26px rgba(17, 40, 30, 0.3);
}

/* Final state */
.final-state {
  transition: all 0.8s ease;
}

.final-state * {
  transition: all 0.6s ease;
}

.final-state h2 {
  letter-spacing: -0.04em;
  transform: translateY(10px);
  opacity: 0.95;
}

.system.compact .final-state {
  filter: contrast(1.05);
}

.cta .btn.large {
  position: relative;
  overflow: hidden;
}

.cta .btn.large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.cta .btn.large:hover::after {
  transform: translateX(0);
}

/* Ownership achieved */
body.ownership-achieved {
  background: #f2f2ee;
}

/* ======================
   FOOTER
====================== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ======================
   SCROLL REVEALS
====================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================
   ANIMATIONS - GSAP POWERED
====================== */
/* GSAP handles animations via JavaScript - cards start visible */
.animate {
  /* Initially visible - GSAP will handle animations */
}

/* ======================
   ACCESSIBILITY - REDUCED MOTION
====================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }

  .kinetic-line {
    animation: none;
    opacity: 1;
    transform: translateY(0);
  }

  .quote-marquee {
    animation: none;
  }

  @keyframes kinetic-word-in {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes quote-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(0); }
  }

  @keyframes margin-fade-in {
    from { opacity: 1; }
    to { opacity: 1; }
  }

  @keyframes terminal-type {
    from { opacity: 1; }
    to { opacity: 1; }
  }
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 900px) {
  .about {
    gap: 80px;
  }

  .kinetic-hero {
    font-size: 1.8rem;
  }

  .quote-line {
    font-size: 0.9rem;
  }

  .fragment p {
    font-size: 1rem;
  }

  .folder-grid {
    grid-template-columns: 1fr;
  }

  .margin-note {
    position: static;
    max-width: 100%;
    margin-bottom: 20px;
    opacity: 1;
    animation: none;
    text-align: left;
  }

  .margin-notes {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .note-1, .note-2 {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    text-align: left;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 16px 20px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .about {
    padding: 80px 20px;
    gap: 60px;
  }

  .kinetic-hero {
    font-size: 1.4rem;
  }

  .quote-rail {
    padding: 24px 0;
  }

  .quote-line {
    font-size: 0.85rem;
  }

  .about-fragments {
    gap: 40px;
  }

  .fragment p {
    font-size: 0.95rem;
  }

  .layered-bg-words {
    font-size: 2rem;
  }

  .layered-fg-content p {
    font-size: 1rem;
  }

  .terminal-card {
    border-radius: 8px;
  }

  .terminal-line {
    font-size: 0.8rem;
  }

  .folder-grid {
    grid-template-columns: 1fr;
  }

  .cta-manifesto {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .services-grid,
  .pillars-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .pillars,
  .work {
    padding: 80px 20px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
