/* ============================================================
   FEWERTOOLSTUDIO — THE PRESS SHEET
   A portfolio that looks like an uncut print press sheet.
   CMYK-inspired palette. Registration marks. Crop marks. Raw.
   ============================================================ */

@import url('./base.css');

/* ── Fonts ─────────────────────────────────────────────────── */
/* Clash Display for headlines (bold, agency), Satoshi for body */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.7rem,  0.65rem + 0.25vw, 0.8125rem);
  --text-sm:   clamp(0.8125rem, 0.75rem + 0.35vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem + 2.5vw, 3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem + 4vw, 5rem);
  --text-hero: clamp(3.5rem,   1rem + 8vw, 9rem);

  /* Font Families */
  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Light Mode (default) — Paper / Press Sheet ────────────── */
:root, [data-theme="light"] {
  --color-bg: #f3f0e8;
  --color-surface: #faf8f2;
  --color-surface-2: #eae7e0;
  --color-border: #c8c4bb;
  --color-border-light: #ddd9d0;
  --color-text: #1a1816;
  --color-text-muted: #5a5750;
  --color-text-faint: #a8a49c;

  /* CMYK-inspired accents */
  --color-cyan: #00a8cc;
  --color-magenta: #e6007e;
  --color-yellow: #ffd600;
  --color-key: #1a1816;

  /* Primary accent */
  --color-accent: #e6007e;
  --color-accent-hover: #c7006c;

  /* Registration marks */
  --color-mark: #1a181640;
  --color-mark-strong: #1a181680;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 24, 22, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 24, 22, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 24, 22, 0.12);
  --shadow-card: 0 2px 8px rgba(26, 24, 22, 0.05);
}

/* ── Dark Mode — Night Press ───────────────────────────────── */
[data-theme="dark"] {
  --color-bg: #111010;
  --color-surface: #1a1918;
  --color-surface-2: #222120;
  --color-border: #333231;
  --color-border-light: #2a2928;
  --color-text: #e8e5df;
  --color-text-muted: #8a877f;
  --color-text-faint: #555350;

  --color-cyan: #38d4f8;
  --color-magenta: #ff4daa;
  --color-yellow: #ffe14d;
  --color-key: #e8e5df;

  --color-accent: #ff4daa;
  --color-accent-hover: #ff70be;

  --color-mark: #e8e5df25;
  --color-mark-strong: #e8e5df50;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.25);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #111010;
    --color-surface: #1a1918;
    --color-surface-2: #222120;
    --color-border: #333231;
    --color-border-light: #2a2928;
    --color-text: #e8e5df;
    --color-text-muted: #8a877f;
    --color-text-faint: #555350;
    --color-cyan: #38d4f8;
    --color-magenta: #ff4daa;
    --color-yellow: #ffe14d;
    --color-key: #e8e5df;
    --color-accent: #ff4daa;
    --color-accent-hover: #ff70be;
    --color-mark: #e8e5df25;
    --color-mark-strong: #e8e5df50;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.25);
  }
}

/* ============================================================
   GLOBAL STYLES
   ============================================================ */

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  background-color: var(--color-bg);
  color: var(--color-text);
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* Paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.header--scrolled {
  background: color-mix(in oklab, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.header__logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header__logo-mark {
  width: 32px;
  height: 32px;
  position: relative;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header__nav a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
  position: relative;
}

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

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

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

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

/* Mobile hamburger */
.header__hamburger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.header__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: color-mix(in oklab, var(--color-bg) 96%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-interactive);
}

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

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .mobile-nav { display: flex; }
}

/* ============================================================
   HERO SECTION — THE PRESS SHEET
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-20) var(--space-6);
  overflow: hidden;
}

/* Registration marks — corners */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-mark);
}

.hero::before {
  top: var(--space-16);
  left: var(--space-6);
  border-right: none;
  border-bottom: none;
}

.hero::after {
  top: var(--space-16);
  right: var(--space-6);
  border-left: none;
  border-bottom: none;
}

/* Cross registration marks */
.reg-mark {
  position: absolute;
  width: 24px;
  height: 24px;
}

.reg-mark::before,
.reg-mark::after {
  content: '';
  position: absolute;
  background: var(--color-mark);
}

.reg-mark::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.reg-mark::after {
  height: 1px;
  width: 100%;
  top: 50%;
  left: 0;
}

.reg-mark--circle::after {
  width: 12px;
  height: 12px;
  border: 1px solid var(--color-mark);
  border-radius: 50%;
  background: transparent;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.reg-mark--tl { top: var(--space-16); left: calc(50% - 200px); }
.reg-mark--tr { top: var(--space-16); right: calc(50% - 200px); }
.reg-mark--bl { bottom: var(--space-8); left: var(--space-6); }
.reg-mark--br { bottom: var(--space-8); right: var(--space-6); }

/* CMYK color bars */
.color-bar {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  opacity: 0.6;
}

.color-bar span {
  width: 28px;
  height: 10px;
}

.color-bar span:nth-child(1) { background: var(--color-cyan); }
.color-bar span:nth-child(2) { background: var(--color-magenta); }
.color-bar span:nth-child(3) { background: var(--color-yellow); }
.color-bar span:nth-child(4) { background: var(--color-key); }
.color-bar span:nth-child(5) { background: var(--color-cyan); opacity: 0.7; }
.color-bar span:nth-child(6) { background: var(--color-magenta); opacity: 0.7; }
.color-bar span:nth-child(7) { background: var(--color-yellow); opacity: 0.7; }
.color-bar span:nth-child(8) { background: var(--color-key); opacity: 0.5; }

/* Bleed area indicator */
.bleed-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-mark);
  transform-origin: center;
}

.bleed-label--left {
  left: var(--space-3);
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
}

.bleed-label--right {
  right: var(--space-3);
  top: 50%;
  transform: rotate(90deg) translateX(50%);
}

@media (max-width: 768px) {
  .bleed-label--left,
  .bleed-label--right {
    display: none;
  }
  .bleed-label--top {
    font-size: 7px;
  }
}

.bleed-label--top {
  top: calc(var(--space-16) + 50px);
  left: 50%;
  transform: translateX(-50%);
}

/* Hero content */
.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__pre {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.hero__pre::before,
.hero__pre::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-border);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero__title span {
  display: inline-block;
}

.hero__title--belief {
  font-size: clamp(2rem, 1rem + 5.5vw, 6rem);
  line-height: 1.05;
  max-width: 900px;
}

@media (max-width: 768px) {
  .hero__title--belief {
    font-size: clamp(1.8rem, 0.5rem + 7vw, 3rem);
  }
}

.hero__title .accent {
  color: var(--color-accent);
  position: relative;
}

@media (min-width: 769px) {
  .hero__title .accent {
    white-space: nowrap;
  }
}

/* Crop marks on title */
.hero__title .accent::before,
.hero__title .accent::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
}

.hero__title .accent::before {
  top: -8px;
  left: -12px;
  border-top: 1px solid var(--color-mark-strong);
  border-left: 1px solid var(--color-mark-strong);
}

.hero__title .accent::after {
  bottom: -4px;
  right: -12px;
  border-bottom: 1px solid var(--color-mark-strong);
  border-right: 1px solid var(--color-mark-strong);
}

@media (max-width: 768px) {
  .hero__title .accent::before,
  .hero__title .accent::after {
    display: none;
  }
  .hero {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    min-height: auto;
    padding-top: calc(var(--space-16) + 2rem);
    padding-bottom: var(--space-8);
  }
  .hero__content {
    text-align: left;
  }
  .hero__pre {
    justify-content: flex-start;
    font-size: 9px;
    margin-bottom: var(--space-3);
  }
  .hero__pre::before,
  .hero__pre::after {
    display: none;
  }
  .hero__title {
    font-size: clamp(1.8rem, 0.5rem + 8vw, 3.2rem);
    margin-bottom: var(--space-4);
  }
  .hero__title--belief {
    font-size: clamp(1.6rem, 0.5rem + 6.5vw, 2.8rem) !important;
    line-height: 1.1;
  }
  .hero__offer {
    font-size: var(--text-xs);
  }
  .hero__subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
  }
  .hero__cta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .hero__showcase {
    margin-top: var(--space-6);
  }
  .reg-mark,
  .color-bar {
    display: none;
  }
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero__offer {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.hero__offer::before,
.hero__offer::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-border);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-surface);
  background: var(--color-text);
  padding: var(--space-3) var(--space-6);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), background var(--transition-interactive);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--color-accent);
}

.hero__cta:active {
  transform: translateY(0);
}

/* ── Hero Showcase — Browser Mockup ── */
.hero__showcase {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: var(--space-10) auto 0;
  opacity: 0;
  transform: translateY(30px);
  animation: heroEnterShowcase 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
}

@keyframes heroEnterShowcase {
  to { opacity: 1; transform: translateY(0) perspective(1200px) rotateX(2deg); }
}

.hero__browser {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg), 0 30px 80px rgba(0,0,0,0.12);
  overflow: hidden;
}

.hero__browser-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border-light);
}

.hero__browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.hero__browser-url {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-bg);
}

.hero__browser-screen {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.hero__browser-screen img,
.hero__browser-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

@media (max-width: 768px) {
  .hero__showcase {
    max-width: 100%;
    margin-top: var(--space-6);
  }
}

/* ── About Photo & Name ── */
.about__photo {
  margin-bottom: var(--space-6);
}

.about__photo-frame {
  width: 120px;
  height: 120px;
  border: 1px dashed var(--color-mark);
  overflow: hidden;
  margin-bottom: var(--space-3);
}

.about__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  text-align: center;
  padding: var(--space-2);
}

.about__name-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.about__role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about__links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.about__link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.about__link:hover {
  opacity: 0.7;
}

/* Dashed trim line across full width */
.trim-line {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-mark) 0,
    var(--color-mark) 8px,
    transparent 8px,
    transparent 16px
  );
  position: relative;
}

.trim-line::before,
.trim-line::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 1px;
  height: 13px;
  background: var(--color-mark);
}

.trim-line::before { left: 0; }
.trim-line::after { right: 0; }

/* ============================================================
   SECTION STRUCTURE
   ============================================================ */

.section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
  position: relative;
}

.section__header {
  max-width: 1200px;
  margin: 0 auto var(--space-12);
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.section__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.5rem);
  color: var(--color-text-faint);
  letter-spacing: 0.15em;
  opacity: 0.12;
  font-weight: 700;
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section__line {
  flex: 1;
  height: 1px;
  background: var(--color-border-light);
  min-width: 40px;
}

/* ============================================================
   PROJECTS GRID — THE PRESS SHEET LAYOUT
   ============================================================ */

.projects {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

/* Press sheet border */
.press-sheet {
  position: relative;
  border: 1px dashed var(--color-mark);
  padding: var(--space-6);
}

/* Corner crop marks on press sheet */
.press-sheet::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  pointer-events: none;
  background:
    /* top-left */
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 0 0 / 1px 20px no-repeat,
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 0 0 / 20px 1px no-repeat,
    /* top-right */
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 100% 0 / 1px 20px no-repeat,
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 100% 0 / 20px 1px no-repeat,
    /* bottom-left */
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 0 100% / 1px 20px no-repeat,
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 0 100% / 20px 1px no-repeat,
    /* bottom-right */
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 100% 100% / 1px 20px no-repeat,
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 100% 100% / 20px 1px no-repeat;
}

/* Registration info at top of sheet */
.press-sheet__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  flex-wrap: wrap;
  gap: var(--space-2);
}

@media (max-width: 580px) {
  .press-sheet__meta {
    justify-content: flex-start;
    gap: var(--space-3);
  }
  .press-sheet__footer {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
}

.press-sheet__meta-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.press-sheet__meta-colors {
  display: flex;
  gap: 3px;
}

.press-sheet__meta-colors span {
  width: 10px;
  height: 10px;
  border-radius: 1px;
}

/* The grid itself */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border-light);
}

@media (max-width: 680px) {
  .projects__grid {
    grid-template-columns: 1fr;
  }
}

/* Individual project card */
a.project-card {
  text-decoration: none;
  color: inherit;
}

.project-card {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), z-index 0s;
}

.project-card:hover {
  z-index: 10;
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 8px 24px rgba(0,0,0,0.1);
}

/* Project card image */
.project-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
  filter: saturate(0.5) brightness(0.95);
}

.project-card:hover .project-card__image img {
  transform: scale(1.08);
  filter: saturate(1) brightness(1);
}

/* Project name overlay on hover */
.project-card__body {
  position: relative;
  transition: background 0.4s var(--ease-out);
}

.project-card:hover .project-card__body {
  background: color-mix(in oklab, var(--color-surface) 95%, var(--color-accent));
}

/* Cut to Clarity reveal overlay on images */
.project-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: var(--color-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mix-blend-mode: normal;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.project-card:hover .project-card__image::after {
  clip-path: inset(0 0 0 100%);
}

/* Crop marks on each card */
.project-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  background:
    /* top-left corner */
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 0 0 / 1px 10px no-repeat,
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 0 0 / 10px 1px no-repeat,
    /* top-right corner */
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 100% 0 / 1px 10px no-repeat,
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 100% 0 / 10px 1px no-repeat,
    /* bottom-left corner */
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 0 100% / 1px 10px no-repeat,
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 0 100% / 10px 1px no-repeat,
    /* bottom-right corner */
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 100% 100% / 1px 10px no-repeat,
    linear-gradient(var(--color-mark-strong), var(--color-mark-strong)) 100% 100% / 10px 1px no-repeat;
}

.project-card:hover::before {
  opacity: 1;
}

/* Animated scissors */
.project-card__scissors {
  position: absolute;
  top: -2px;
  left: -30px;
  z-index: 4;
  font-size: 16px;
  opacity: 0;
  transition: left 0.8s var(--ease-in-out), opacity 0.3s var(--ease-out);
  pointer-events: none;
  transform: rotate(0deg);
  color: var(--color-text-muted);
}

.project-card:hover .project-card__scissors {
  opacity: 1;
  left: calc(100% + 10px);
}

/* Dashed cut line */
.project-card__cut-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-accent) 0,
    var(--color-accent) 4px,
    transparent 4px,
    transparent 8px
  );
  z-index: 3;
  transition: width 0.8s var(--ease-in-out);
}

.project-card:hover .project-card__cut-line {
  width: 100%;
}

/* Project card color accent bar */
.project-card__accent {
  height: 3px;
  width: 100%;
  transition: height 0.4s var(--ease-out);
}

.project-card:hover .project-card__accent {
  height: 5px;
}

/* Project card content */
.project-card__body {
  flex: 1;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card__number {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
  display: none;
}

.project-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-1);
  line-height: 1.2;
}

.project-card__type {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-style: italic;
}

.project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.project-card__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  padding: 2px 6px;
  border: 1px solid var(--color-border-light);
  background: transparent;
  transition: border-color var(--transition-interactive), color var(--transition-interactive);
}

.project-card:hover .project-card__tag {
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

.project-card__arrow {
  width: 24px;
  height: 24px;
  color: var(--color-text-faint);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.project-card:hover .project-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Press sheet footer */
.press-sheet__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

.press-sheet__footer-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

/* ── Pricing Cards ── */
.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--color-magenta);
  box-shadow: var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-magenta);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
}

.pricing-card__accent {
  height: 4px;
  width: 100%;
}

.pricing-card__content {
  padding: var(--space-6);
}

.pricing-card__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-2);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.pricing-card__price-plus {
  font-size: 0.5em;
  color: var(--color-text-muted);
  vertical-align: super;
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
}

.pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pricing-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__cta {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-text);
  color: var(--color-surface);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}

.pricing-card__cta:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.pricing-note {
  max-width: 1200px;
  margin: var(--space-8) auto 0;
  text-align: center;
}

.pricing-note p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   ABOUT / PHILOSOPHY SECTION
   ============================================================ */

.about {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.about__text h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.about__text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.about__text p:last-child {
  margin-bottom: 0;
}

/* The "print specs" card */
.about__specs {
  background: var(--color-surface);
  border: 1px dashed var(--color-mark);
  padding: var(--space-6);
  position: relative;
}

.about__specs::before {
  content: 'STUDIO DETAILS';
  position: absolute;
  top: -10px;
  left: var(--space-4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  background: var(--color-bg);
  padding: 0 var(--space-2);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.spec-row__value {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text);
  font-weight: 500;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s;
}

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

.faq-item__icon {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s var(--ease-out);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--color-accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.is-open .faq-item__answer {
  max-height: 300px;
  padding-bottom: var(--space-5);
}

.faq-item__answer p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */

.contact {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.contact__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.7;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-6);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), background var(--transition-interactive), color var(--transition-interactive), border-color var(--transition-interactive);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-surface);
}

.btn--primary:hover {
  background: var(--color-accent);
}

.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--color-text);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: var(--space-8) var(--space-6);
  border-top: 1px dashed var(--color-mark);
  position: relative;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__left {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__right {
  display: flex;
  gap: var(--space-6);
}

.footer__right a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition-interactive);
}

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

/* Footer CMYK bar */
.footer__color-bar {
  display: flex;
  width: 100%;
  height: 3px;
  margin-bottom: var(--space-6);
}

.footer__color-bar span:nth-child(1) { flex: 1; background: var(--color-cyan); }
.footer__color-bar span:nth-child(2) { flex: 1; background: var(--color-magenta); }
.footer__color-bar span:nth-child(3) { flex: 1; background: var(--color-yellow); }
.footer__color-bar span:nth-child(4) { flex: 1; background: var(--color-key); }

/* ============================================================
   HEADER ORDER BUTTON
   ============================================================ */

.header__order-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}

.header__order-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .header__nav .header__order-btn {
    display: none;
  }
}

/* ============================================================
   HERO CTA GROUP
   ============================================================ */

.hero__cta-group {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

.hero__cta--order {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.hero__cta--order:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero__cta--secondary {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
  padding: var(--space-3) 0;
}

.hero__cta--secondary:hover {
  color: var(--color-text);
}


/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-surface);
  padding: var(--space-8) var(--space-6);
}

.trust-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-strip__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
}

.trust-strip__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1;
}

.trust-strip__stat:nth-child(1) .trust-strip__number { color: var(--color-cyan); }
.trust-strip__stat:nth-child(3) .trust-strip__number { color: var(--color-magenta); }
.trust-strip__stat:nth-child(5) .trust-strip__number { color: var(--color-yellow); }

.trust-strip__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.trust-strip__divider {
  width: 1px;
  height: 48px;
  background: var(--color-border-light);
  flex-shrink: 0;
}

.trust-strip__quote {
  flex: 1;
  min-width: 220px;
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-accent);
}

.trust-strip__quote p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-1);
}

.trust-strip__quote span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .trust-strip__divider {
    display: none;
  }
  .trust-strip__inner {
    gap: var(--space-6);
    justify-content: flex-start;
  }
  .trust-strip__quote {
    border-left: none;
    border-top: 1px solid var(--color-border-light);
    padding-left: 0;
    padding-top: var(--space-4);
    width: 100%;
  }
}

/* ============================================================
   ORDER FLOW — Project Builder
   ============================================================ */

.order-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
}

.order-overlay.is-open {
  pointer-events: all;
  visibility: visible;
}

.order-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 22, 0);
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-overlay.is-open .order-overlay__backdrop {
  background: rgba(26, 24, 22, 0.5);
}

.order-panel {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 100%;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.order-overlay.is-open .order-panel {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .order-panel {
    max-width: 100%;
  }
}

/* ── Order Header ── */
.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  z-index: 10;
  background: var(--color-surface);
}

.order-header__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.order-header__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--color-magenta);
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
}

.order-header__step-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.order-header__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.order-header__close:hover {
  background: var(--color-border);
  border-color: transparent;
}

/* ── Progress Bar ── */
.order-progress {
  padding: var(--space-4) var(--space-6) 0;
  flex-shrink: 0;
}

.order-progress__track {
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.order-progress__fill {
  height: 100%;
  background: var(--color-magenta);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-progress__steps {
  display: flex;
  justify-content: space-between;
}

.order-progress__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.order-progress__dot.is-active {
  border-color: var(--color-magenta);
  color: var(--color-magenta);
  font-weight: 700;
}

.order-progress__dot.is-done {
  border-color: var(--color-magenta);
  background: var(--color-magenta);
  color: #fff;
}

/* ── Builder Intro ── */
.builder-intro {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px dashed var(--color-border-light);
}

.builder-intro__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Project Builder Container ── */
.order-builder {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: var(--space-6);
  animation: orderFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Builder Sections ── */
.builder-section {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-10);
  border-bottom: 1px dashed var(--color-border-light);
}

.builder-section:last-child {
  border-bottom: none;
}

.builder-section__label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}

.builder-section__letter {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--color-magenta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.order-field__sub {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

/* ── Live Estimate Bar ── */
.order-estimate-bar {
  flex-shrink: 0;
  z-index: 10;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}

.order-estimate-bar__promise {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  flex: 1;
}

.order-estimate-bar__estimate {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.order-estimate-bar__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.order-estimate-bar__value {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.order-estimate-bar__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  background: var(--color-magenta);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.order-estimate-bar__submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.order-estimate-bar__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 480px) {
  .order-estimate-bar {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  .order-estimate-bar__note {
    display: none;
  }
  .order-estimate-bar__submit {
    flex: 1;
    justify-content: center;
  }
}

/* ── Form Fields ── */
.order-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}
.order-field--full {
  grid-column: 1 / -1;
}

.order-field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.order-field__input,
.order-field__textarea {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  padding: 14px 24px 16px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text);
  transition: border-color 0.15s;
}
.order-field__input::placeholder,
.order-field__textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}
.order-field__input:focus,
.order-field__textarea:focus {
  outline: none;
  border-color: var(--color-magenta);
}
.order-field__textarea {
  resize: vertical;
  min-height: 80px;
}

/* ── Chips ── */
.order-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.order-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
}
.order-chip:hover {
  border-color: var(--color-text-muted);
}
.order-chip.is-selected {
  border-color: var(--color-magenta);
  background: color-mix(in srgb, var(--color-magenta) 8%, transparent);
  color: var(--color-magenta);
  font-weight: 600;
}

/* ── Reference URLs ── */
.order-ref-url {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.order-ref-url .order-field__input {
  flex: 1;
}
.order-ref-url__remove {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 2px;
  transition: all 0.2s;
}
.order-ref-url__remove:hover {
  border-color: var(--color-magenta);
  color: var(--color-magenta);
}

.order-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s;
}
.order-add-btn:hover {
  color: var(--color-magenta);
}

/* ── Navigation Buttons (kept for success state) ── */
.order-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.order-nav__btn--next {
  background: var(--color-magenta);
  color: #fff;
}
.order-nav__btn--next:hover {
  filter: brightness(1.1);
}

/* ── Success State ── */
.order-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
  flex: 1;
}

.order-success__check {
  margin-bottom: var(--space-5);
}
.order-success__check-svg {
  display: block;
}

.order-success__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.order-success__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 380px;
  line-height: 1.6;
}

/* ── Project Timeline ── */
.order-timeline {
  width: 100%;
  max-width: 360px;
  margin-bottom: var(--space-6);
  text-align: left;
}

.order-timeline__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.order-timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  margin-top: 3px;
  transition: all 0.3s;
}
.order-timeline__step.is-active .order-timeline__dot {
  border-color: var(--color-magenta);
  background: var(--color-magenta);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-magenta) 20%, transparent);
}

.order-timeline__connector {
  width: 2px;
  height: 20px;
  background: var(--color-border);
  margin-left: 5px;
}

.order-timeline__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.order-timeline__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.order-timeline__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}
.order-timeline__date--highlight {
  color: var(--color-magenta);
  font-weight: 600;
}

/* ── What Happens Next ── */
.order-success__next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  max-width: 380px;
  padding-top: var(--space-5);
  border-top: 1px dashed var(--color-border);
}
.order-success__next-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: center;
  margin-bottom: var(--space-2);
}
.order-success__brief-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 32px;
  border: none;
  border-radius: 4px;
  background: var(--color-magenta);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}
.order-success__brief-btn:hover {
  filter: brightness(1.1);
}
.order-success__close-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}
.order-success__close-btn:hover {
  color: var(--color-text);
}




/* ============================================================
   GSAP-DRIVEN ANIMATIONS (replaces CSS animation-timeline)
   ============================================================ */

/* Elements start invisible, GSAP reveals them */
.reveal,
.reveal-clip {
  opacity: 1; /* Fallback: visible if JS fails */
}

/* Hero elements hidden until GSAP animates them */
.hero-enter {
  opacity: 0;
}

/* Hero title character wrappers */
.hero__title .char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero__title .char-wrap .char {
  display: inline-block;
  transform: translateY(110%);
}

/* Section line starts at 0 width, GSAP grows it */
.section__line {
  transform-origin: left center;
}

/* Footer color bar children start at 0 width */
.footer__color-bar span {
  transform-origin: left center;
}

/* Scissors animation */
@keyframes cutAcross {
  0% { left: -30px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { left: calc(100% + 10px); opacity: 0; }
}

/* ============================================================
   PAGE PRELOADER
   ============================================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.preloader__bar {
  width: 120px;
  height: 2px;
  background: var(--color-border-light);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.preloader__bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  background: var(--color-accent);
  border-radius: 1px;
  animation: preloaderSlide 0.8s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0% { left: -30%; }
  100% { left: 100%; }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

@media (pointer: fine) and (min-width: 769px) {
  body.cursor-ready {
    cursor: none;
  }
  body.cursor-ready a,
  body.cursor-ready button,
  body.cursor-ready [role="button"] {
    cursor: none;
  }
}

.cursor {
  display: none;
}

@media (pointer: fine) and (min-width: 769px) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    mix-blend-mode: difference;
  }

  .cursor__dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
  }

  .cursor__ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s var(--ease-out),
                height 0.3s var(--ease-out),
                background 0.3s var(--ease-out),
                border-color 0.3s var(--ease-out);
  }

  .cursor__ring-text {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s var(--ease-out);
    white-space: nowrap;
  }

  .cursor__ring.is-hovering {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
  }

  .cursor__ring.is-project {
    width: 100px;
    height: 100px;
    background: color-mix(in oklab, var(--color-accent) 15%, transparent);
    border-color: var(--color-accent);
    border-width: 2px;
  }

  .cursor__ring.is-project .cursor__ring-text {
    opacity: 1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
  }
}

/* ============================================================
   MAGNETIC BUTTON WRAPPER
   ============================================================ */

.magnetic-wrap {
  display: inline-block;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

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

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

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-faint);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Stack testimonial grid on mobile */
@media (max-width: 768px) {
  #testimonials .testimonial-card + div {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .testimonial-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   CASE STUDY MODAL
   ============================================================ */
.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.cs-modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--color-bg) 60%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.cs-modal__panel {
  position: relative;
  width: min(720px, 100%);
  height: 100%;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: csSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes csSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.cs-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0;
}
.cs-modal__badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  padding: 3px 10px;
}
.cs-modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-light);
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cs-modal__close:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}
.cs-modal__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: var(--space-6);
}
.cs-modal__body img {
  width: 100%;
  border: 1px solid var(--color-border-light);
  margin-bottom: var(--space-6);
}
.cs-modal__body h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}
.cs-modal__body .cs-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.cs-modal__body .cs-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-2);
}
.cs-modal__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.cs-modal__body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.cs-modal__body .cs-results {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  border: 1px dashed var(--color-mark);
  background: var(--color-bg);
}
.cs-modal__body .cs-result-item {
  text-align: center;
  flex: 1;
}
.cs-modal__body .cs-result-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
}
.cs-modal__body .cs-result-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.cs-modal__body .cs-quote {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-3) var(--space-5);
  margin-bottom: var(--space-6);
}
.cs-modal__body .cs-quote p {
  font-style: italic;
  color: var(--color-text);
}
.cs-modal__body .cs-visit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}
.cs-modal__body .cs-section {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
}
.cs-modal__body .cs-section:last-child {
  border-bottom: none;
}
@media (max-width: 640px) {
  .cs-modal__body .cs-results {
    flex-direction: column;
    gap: var(--space-3);
  }
  .cs-modal__body .cs-result-item {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
  }
}

/* ============================================================
   PROJECT CARD RESULTS
   ============================================================ */
.project-card__result {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  display: block;
  margin-top: var(--space-1);
  opacity: 0.8;
}

/* ============================================================
   PROOF GRID RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .proof-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   CLIENT LOGOS + TRUST BADGES
   ============================================================ */
.logo-ticker__item {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  opacity: 0.5;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.logo-ticker__item:hover {
  opacity: 1;
}

.industry-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border-light);
  white-space: nowrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* WHY GRID RESPONSIVE */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr !important;
  }
}
