/* ============================================
   AAKAR GRAPHICS — Connected Creativity
   Pure white canvas. Dark UI in inked grays.
   Designer's playground edition.
   ============================================ */

:root {
  --white:    #ffffff;
  --paper:    #ffffff;
  --paper-2:  #fafafa;
  --smoke:    #f0f0f0;
  --gray-100: #ebebeb;
  --gray-200: #d4d4d4;
  --gray-300: #a3a3a3;
  --gray-400: #737373;
  --gray-500: #525252;
  --gray-600: #2a2a2a;
  --gray-700: #1a1a1a;
  --ink:      #0a0a0a;
  --ink-soft: #1a1a1a;

  --accent:   #0a0a0a;

  /* Subtle gradients — like real ink with slight variance */
  --grad-paper:   linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  --grad-smoke:   linear-gradient(135deg, #ffffff 0%, #ebebeb 50%, #a3a3a3 100%);
  --grad-ink:     linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 60%, #000000 100%);
  --grad-button:  linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
  --grad-button-h:linear-gradient(180deg, #404040 0%, #1a1a1a 100%);
  --grad-card-d:  linear-gradient(140deg, #1f1f1f 0%, #0a0a0a 70%, #000000 100%);

  --font-display: 'Bricolage Grotesque', serif;
  --font-serif:   'Instrument Serif', serif;
  --font-body:    'Manrope', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Halftone dot pattern */
  --halftone: radial-gradient(circle, #0a0a0a 1.2px, transparent 1.4px);
}

  --font-display: 'Bricolage Grotesque', serif;
  --font-serif:   'Instrument Serif', serif;
  --font-body:    'Manrope', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
  letter-spacing: -0.005em;
}

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

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

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

.serif-italic, .reveal em, em.italic, .word.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* =========================================
   GRAIN OVERLAY (paper texture feel)
   ========================================= */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================
   CUSTOM CURSOR
   ========================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--ink);
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  mix-blend-mode: difference;
}
.cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.05);
}
.cursor-ring.is-drag {
  width: 80px;
  height: 80px;
  border-style: dashed;
}

/* =========================================
   PAGE LOADER
   ========================================= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
  /* Fallback: if JS never dismisses within 5s, auto-hide */
  animation: loaderFallback 0.5s 5s forwards;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  animation: none;
}
@keyframes loaderFallback {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.loader__inner {
  text-align: center;
  color: var(--ink);
  width: min(420px, 80vw);
}
.loader__logo {
  width: 64px;
  height: auto;
  margin: 0 auto 28px;
  color: var(--ink);
  animation: logoBreath 2.4s var(--ease) infinite;
}
@keyframes logoBreath {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.95); opacity: 0.7; }
}
.loader__counter {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}
.loader__counter i {
  font-size: 0.4em;
  margin-top: 0.2em;
  font-style: normal;
  color: var(--gray-400);
}
.loader__bar {
  margin-top: 24px;
  height: 1px;
  background: var(--smoke);
  position: relative;
  overflow: hidden;
}
.loader__bar-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--ink);
  transition: right 0.1s linear;
}
.loader__label {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 8px 8px 8px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), top 0.4s var(--ease);
  width: max-content;
  max-width: calc(100vw - 40px);
}
.nav.is-hidden {
  transform: translateX(-50%) translateY(-120%);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav__logo svg {
  width: 22px;
  height: auto;
  color: var(--ink);
}
.nav__name {
  text-transform: lowercase;
}
.nav__tm {
  font-size: 9px;
  color: var(--gray-400);
  margin-left: 1px;
}
.nav__center {
  display: flex;
  gap: 24px;
}
.nav__center a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav__center a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.4s var(--ease);
}
.nav__center a:hover {
  color: var(--ink);
}
.nav__center a:hover::after {
  right: 0;
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-button);
  color: var(--paper);
  padding: 11px 18px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.3s var(--ease);
}
.nav__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--ink-soft);
}
.nav__cta:hover svg {
  transform: translateX(3px);
}

@media (max-width: 820px) {
  .nav__center { display: none; }
  .nav { gap: 12px; padding: 6px 6px 6px 14px; }
  .nav__cta { padding: 9px 14px; font-size: 12px; }
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--white);
  overflow: hidden;
  padding: 140px 6vw 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--halftone);
  background-size: 30px 30px;
  background-position: center;
  opacity: 0.06;
  mask-image: radial-gradient(ellipse at 80% 80%, black 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 80%, black 0%, transparent 60%);
  pointer-events: none;
}

.hero__tools {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tool {
  position: absolute;
  color: var(--gray-300);
  opacity: 0.85;
  animation: float 8s ease-in-out infinite;
}
.tool--ps { animation-delay: -2s; width: 56px; }
.tool--ai { animation-delay: -4s; width: 56px; }
.tool--id { animation-delay: -1s; width: 56px; }
.tool--pen { animation-delay: -3s; width: 38px; }
.tool--bezier { animation-delay: -5s; width: 80px; }
.tool--layers { animation-delay: -2.5s; width: 38px; }
.tool--type { animation-delay: -3.5s; width: 32px; }
.tool--color { animation-delay: -4.5s; width: 36px; }
.tool svg {
  width: 100%;
  height: auto;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(8px, -12px) rotate(2deg); }
  50% { transform: translate(-6px, -8px) rotate(-1deg); }
  75% { transform: translate(-10px, 6px) rotate(1deg); }
}

.hero__rail {
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
.hero__rail--left { left: 24px; }
.hero__rail--right { right: 24px; }
.hero__rail .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gray-400);
  writing-mode: horizontal-tb;
}
@media (max-width: 900px) {
  .hero__rail { display: none; }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gray-200);
}
.badge--outline {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}
.dot-live {
  width: 7px; height: 7px;
  background: #000000;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.6); }
  100% { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(54px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 56px;
}
.hero__title-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__title-row--mid {
  margin-left: clamp(40px, 8vw, 120px);
}
.hero__title em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
}
.hero__year {
  font-family: var(--font-mono);
  font-size: 0.16em;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  text-transform: uppercase;
  align-self: flex-end;
  padding-bottom: 0.4em;
}
.hero__year em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
  font-size: 1.2em;
  letter-spacing: 0;
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  max-width: 1100px;
  margin-bottom: 80px;
}
.hero__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--gray-600);
  max-width: 580px;
  font-weight: 400;
}
.hero__sub .serif-italic {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.05em;
}

.hero__cta-row {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .hero__meta { grid-template-columns: 1fr; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn__icon {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.btn__icon svg { width: 14px; height: 14px; }
.btn--primary {
  background: var(--grad-button);
  color: var(--paper);
  padding-right: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 8px 24px rgba(0,0,0,0.18);
}
.btn--primary:hover {
  background: var(--grad-button-h);
}
.btn--primary:hover .btn__icon { transform: rotate(45deg); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--gray-200);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* hero giant */
.hero__bigtype {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(140px, 24vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-300);
  text-stroke: 1px var(--gray-300);
  margin: -40px -6vw 0;
  text-align: center;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero__rating {
  display: flex;
  gap: 16px;
  align-items: center;
}
.hero__rating .stars {
  display: flex;
  gap: 2px;
}
.hero__rating svg {
  width: 16px; height: 16px;
  color: var(--ink);
}
.hero__rating strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  display: block;
}
.hero__rating span:not(.stars) {
  font-size: 12px;
  color: var(--gray-400);
}
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.hero__scroll svg {
  width: 14px; height: 14px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.4; }
}

/* =========================================
   MARQUEE STRIP
   ========================================= */
.marquee-strip {
  background: var(--grad-card-d);
  color: var(--paper);
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.marquee-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--halftone);
  background-size: 22px 22px;
  opacity: 0.04;
  pointer-events: none;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  margin: 14px 0;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: marqueeScroll 50s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee--right .marquee__track {
  animation-name: marqueeScrollR;
}
.marquee--big .marquee__track {
  gap: 32px;
  animation-duration: 70s;
}

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

.m-tag {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 38px);
  letter-spacing: -0.02em;
  color: var(--paper);
  flex-shrink: 0;
}
.m-tag--filled {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.m-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(80px, 12vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--paper);
  flex-shrink: 0;
}
.m-big.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.m-big-sep {
  font-size: clamp(40px, 6vw, 80px);
  color: var(--gray-400);
  flex-shrink: 0;
}

/* =========================================
   SECTION TAG / TITLES
   ========================================= */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 32px;
}
.section-tag i {
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* =========================================
   MANIFESTO / STUDIO
   ========================================= */
.manifesto {
  padding: 140px 6vw 100px;
  background: var(--paper);
  position: relative;
}
.manifesto__head {
  margin-bottom: 80px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.4fr;
  gap: 48px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 1100px) {
  .manifesto__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .manifesto__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.manifesto__col {
  padding-top: 8px;
}
.manifesto__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.manifesto__lead em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.manifesto__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 18px;
}
.manifesto__body em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
  font-size: 1.05em;
}

.manifesto__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
@media (max-width: 1100px) {
  .manifesto__bento {
    grid-column: span 2;
    margin-top: 30px;
  }
}
@media (max-width: 720px) {
  .manifesto__bento {
    grid-column: auto;
    grid-template-columns: repeat(2, 1fr);
  }
}

.bento {
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--r-lg);
  padding: 28px 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.bento:hover {
  transform: translateY(-4px);
  border-color: var(--gray-300);
}
.bento--xl {
  grid-row: span 2;
  grid-column: span 2;
  background: var(--grad-smoke);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}
.bento--wide {
  grid-column: span 2;
}
.bento--mark {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.bento--mark svg {
  width: 32px;
  color: var(--paper);
}
.bento__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.bento__num i {
  font-style: normal;
}
.bento--xl .bento__num {
  font-size: clamp(80px, 11vw, 160px);
  line-height: 0.85;
}
.bento__lbl {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-top: 8px;
}
.bento__sub {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 6px;
}

/* =========================================
   SERVICES BENTO
   ========================================= */
.services {
  padding: 140px 6vw 100px;
  background: var(--white);
  border-top: 1px solid var(--smoke);
}
.services__head {
  max-width: 1500px;
  margin: 0 auto 60px;
}
.services__lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--gray-500);
  max-width: 580px;
  margin-top: 24px;
}

.bento-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 14px;
}
@media (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--smoke);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gray-400);
}
.card--xl {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--grad-smoke);
  min-height: 460px;
}
.card--med {
  grid-column: span 1;
  grid-row: span 1;
}
.card--wide {
  grid-column: span 2;
}
.card--small {
  grid-column: span 1;
}
.card--dark {
  background: var(--grad-card-d);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.card--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--halftone);
  background-size: 18px 18px;
  opacity: 0.06;
  pointer-events: none;
}
.card--dark > * { position: relative; z-index: 1; }
.card--dark .card__body { color: var(--gray-200); }
.card--dark .card__num { color: var(--gray-300); }

.card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gray-400);
}
.card__tools {
  display: flex;
  gap: 6px;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  height: 26px;
  min-width: 26px;
}
.tool-pill svg {
  width: 18px;
  height: 18px;
  color: var(--gray-700);
}
.tool-pill--inv {
  border-color: var(--gray-400);
  color: var(--paper);
}
.tool-pill--inv svg { color: var(--paper); }

.card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: inherit;
  margin-bottom: 14px;
  margin-top: auto;
}
.card__title--lg {
  font-size: clamp(28px, 2.6vw, 44px);
}
.card--xl .card__title {
  font-size: clamp(36px, 4.2vw, 60px);
}
.card__title .serif-italic {
  display: inline-block;
}
.card__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 460px;
}
.card__list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card__list li {
  font-size: 14px;
  color: var(--gray-600);
  padding-left: 16px;
  position: relative;
}
.card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gray-300);
}
.card__list--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}
.card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.card__chips span {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  color: var(--gray-600);
}
.card__divider {
  height: 1px;
  background: var(--gray-200);
  margin: 22px 0;
}
.card__bullets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 800px) {
  .card__bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card__bullets > div {
  display: flex;
  flex-direction: column;
}
.card__bullets strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.card__bullets span {
  font-size: 12px;
  color: var(--gray-500);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.card__hover {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover .card__hover {
  opacity: 1;
  transform: translateX(0);
}

.card__art {
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  color: var(--gray-300);
  max-height: 130px;
}

.card--frame {
  border-style: dashed;
}

.card--stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding: 24px;
}
.card--stamp p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-600);
}
.stamp {
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  animation: spinSlow 24s linear infinite;
}
.stamp svg {
  width: 100%;
  height: 100%;
}
@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* =========================================
   PULL QUOTE
   ========================================= */
.pullquote {
  background: var(--paper);
  padding: 100px 6vw;
  border-top: 1px solid var(--smoke);
  border-bottom: 1px solid var(--smoke);
}
.pullquote__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(120px, 14vw, 200px);
  line-height: 0.5;
  color: var(--gray-200);
  margin-bottom: -20px;
}
.pullquote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 1000px;
  margin: 0 auto;
}
.pullquote__by {
  display: block;
  margin-top: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* =========================================
   WORK — HORIZONTAL SCROLLER
   ========================================= */
.work {
  padding: 140px 0 80px;
  background: var(--paper);
  border-top: 1px solid var(--smoke);
  position: relative;
  overflow: hidden;
}
.work__head {
  max-width: 1500px;
  margin: 0 auto 60px;
  padding: 0 6vw;
}
.work__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.work__meta {
  display: flex;
  align-items: center;
  gap: 36px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease);
}
.link-arrow svg {
  width: 14px; height: 14px;
}
.link-arrow:hover { gap: 14px; }

.work__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  text-transform: uppercase;
}

.work__scroller {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 6vw 40px;
  cursor: grab;
}
.work__scroller::-webkit-scrollbar { display: none; }
.work__scroller.is-grabbing { cursor: grabbing; }

.work__track {
  display: inline-flex;
  gap: 18px;
  padding-right: 6vw;
}

.work-card {
  flex: 0 0 auto;
  width: 360px;
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.work-card--tall .work-card__media { aspect-ratio: 3/4; }
.work-card--wide { width: 540px; }
.work-card--wide .work-card__media { aspect-ratio: 4/3; }

@media (max-width: 700px) {
  .work-card { width: 78vw; }
  .work-card--wide { width: 90vw; }
}

.work-card__num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--paper);
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 100px;
}
.work-card__media {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--smoke);
  position: relative;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}
.work-card:hover .work-card__media img {
  filter: grayscale(1) contrast(1.1) brightness(1.05);
  transform: scale(1.04);
}
.work-card__caption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.work-card__caption h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.work-card__caption span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  text-align: right;
}

.work__controls {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 6vw 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.work-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: transparent;
  color: var(--ink);
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.work-btn svg { width: 18px; height: 18px; }
.work-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.work__progress {
  flex: 1;
  height: 1px;
  background: var(--smoke);
  position: relative;
  overflow: hidden;
}
.work__progress-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--ink);
  transition: right 0.3s var(--ease);
}
.work__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}
@media (max-width: 600px) {
  .work__hint { display: none; }
}

/* =========================================
   PROCESS
   ========================================= */
.process {
  padding: 140px 6vw 100px;
  background: var(--white);
  border-top: 1px solid var(--smoke);
}
.process__head {
  max-width: 1500px;
  margin: 0 auto 60px;
}
.process__list {
  max-width: 1500px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-200);
}
.process-row {
  display: grid;
  grid-template-columns: 80px 240px 1fr 60px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease);
  position: relative;
}
.process-row:hover {
  padding-left: 24px;
  padding-right: 24px;
  background: var(--paper);
}
@media (max-width: 800px) {
  .process-row {
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
  }
  .process-row__icon {
    display: none;
  }
  .process-row__body {
    grid-column: 1 / -1;
  }
}
.process-row__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
}
.process-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.process-row__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-500);
  max-width: 540px;
}
.process-row__icon {
  display: flex;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--gray-600);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}
.process-row__icon svg { width: 20px; height: 20px; }

/* =========================================
   LEGACY (Founder Tribute)
   ========================================= */
.legacy {
  padding: 140px 6vw 100px;
  background: var(--grad-ink);
  color: var(--paper);
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.legacy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--halftone);
  background-size: 26px 26px;
  opacity: 0.05;
  pointer-events: none;
}
.legacy > * { position: relative; z-index: 1; }
.legacy .section-tag { color: var(--gray-300); }
.legacy .section-tag i { background: var(--paper); }

.legacy__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto 60px;
}
.legacy__top .section-title { color: var(--paper); }
.legacy__date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: -0.02em;
  color: var(--gray-200);
  display: flex;
  gap: 14px;
  align-items: center;
}
.legacy__date i {
  font-style: normal;
  color: var(--gray-400);
}

.legacy__grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 900px) {
  .legacy__grid { grid-template-columns: 1fr; gap: 40px; }
}
.legacy__portrait {
  position: relative;
}
.legacy__portrait img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  filter: grayscale(1);
}
.legacy__portrait figcaption {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--gray-300);
}
.legacy__portrait strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.legacy__words p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-200);
  margin-bottom: 18px;
}
.legacy__words p em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--paper);
  font-size: 1.05em;
}
.legacy__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px) !important;
  line-height: 1.3 !important;
  color: var(--paper) !important;
  letter-spacing: -0.02em;
}
.legacy__sign {
  margin-top: 40px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px !important;
  color: var(--paper) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
}

/* =========================================
   TODAY (Umang)
   ========================================= */
.today {
  padding: 140px 6vw 100px;
  background: var(--paper);
  border-top: 1px solid var(--smoke);
}
.today__grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .today__grid { grid-template-columns: 1fr; gap: 40px; }
}
.today__portrait {
  position: relative;
}
.today__portrait img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  background: var(--smoke);
  filter: grayscale(1) contrast(1.02);
}
.today__portrait figcaption {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--gray-500);
}
.today__portrait strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.today__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 18px;
}
.today__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 28px;
}
.today__words p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 18px;
}
.today__words p em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
  font-size: 1.05em;
}
.today__signoff {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.today__signoff svg {
  width: 130px;
  color: var(--ink);
}
.today__signoff span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}

/* =========================================
   AWARDS marquee
   ========================================= */
.awards {
  background: var(--paper);
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--smoke);
  border-bottom: 1px solid var(--smoke);
}
.awards .marquee__track { gap: 28px; animation-duration: 60s; }
.award {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 56px);
  letter-spacing: -0.025em;
  color: var(--ink);
  flex-shrink: 0;
}
.award.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gray-500);
}
.award-sep {
  color: var(--gray-300);
  font-size: clamp(28px, 3.4vw, 56px);
  flex-shrink: 0;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  padding: 140px 6vw 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: var(--halftone);
  background-size: 18px 18px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  pointer-events: none;
}

.contact__sticker {
  position: absolute;
  top: 80px;
  right: 6vw;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  color: var(--ink);
  z-index: 3;
}
.contact__sticker-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: stickerSpin 24s linear infinite;
}
.contact__sticker-mark {
  width: 60px;
  height: auto;
  color: var(--ink);
}
.contact__sticker-mark svg { width: 100%; height: 100%; }

.contact__flourish {
  position: absolute;
  color: var(--ink);
  pointer-events: none;
  z-index: 1;
  animation: gentleSpin 16s linear infinite;
}
.contact__flourish svg { width: 100%; height: 100%; }
.contact__flourish--1 {
  top: 30%;
  left: 4%;
  width: 32px;
  opacity: 0.5;
}
.contact__flourish--2 {
  bottom: 16%;
  right: 6%;
  width: 24px;
  opacity: 0.7;
  animation-direction: reverse;
  animation-duration: 12s;
}

@media (max-width: 900px) {
  .contact__sticker {
    width: 120px;
    height: 120px;
    top: 60px;
    right: 18px;
  }
  .contact__sticker-mark { width: 38px; }
  .contact__flourish--1 { display: none; }
}
@media (max-width: 640px) {
  .contact__sticker { display: none; }
}

.contact__inner {
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(60px, 10vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 36px 0 50px;
}
.contact__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.contact__cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.big-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px 22px 36px;
  background: var(--grad-button);
  color: var(--paper);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -0.015em;
  border: 1px solid var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), gap 0.4s var(--ease), transform 0.4s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 12px 32px rgba(0,0,0,0.18);
}
.big-btn:hover {
  gap: 26px;
  background: var(--grad-button-h);
  transform: translateY(-2px);
}
.big-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--gray-300);
}
.big-btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.big-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  flex-shrink: 0;
}
.big-btn--ghost .big-btn__icon {
  background: var(--ink);
  color: var(--paper);
}
.big-btn:hover .big-btn__icon { transform: rotate(45deg); transition: transform 0.4s var(--ease); }
.big-btn__icon svg { width: 18px; height: 18px; }

.contact__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--gray-200);
  padding-top: 40px;
}
@media (max-width: 800px) {
  .contact__info { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}
.contact__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.contact__val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.contact__val--mute { color: var(--gray-500); font-weight: 400; }
a.contact__val:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--grad-card-d);
  color: var(--paper);
  padding: 60px 6vw 0;
  position: relative;
  overflow: hidden;
}
.footer__top {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.footer__brand svg {
  width: 36px;
  color: var(--paper);
}
.footer__brand sup {
  font-size: 12px;
  color: var(--gray-300);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 600px) {
  .footer__links { grid-template-columns: 1fr; gap: 24px; }
}
.footer__links > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 6px;
}
.footer__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--paper);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer__links a:hover {
  color: var(--smoke);
  padding-left: 8px;
}

.footer__bigtype {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(140px, 30vw, 460px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-500);
  text-stroke: 1px var(--gray-500);
  text-align: center;
  margin: 30px -6vw 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.footer__bottom {
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-300);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer__sep { color: var(--gray-500); }

/* =========================================
   REVEAL ANIMATION
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  /* CSS fallback: if JS never fires .is-visible within 2.5s, force show */
  animation: revealFallback 0.001s 2.5s forwards;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
@keyframes revealFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger children */
.bento-grid .reveal:nth-child(1).is-visible { transition-delay: 0s; }
.bento-grid .reveal:nth-child(2).is-visible { transition-delay: 0.08s; }
.bento-grid .reveal:nth-child(3).is-visible { transition-delay: 0.16s; }
.bento-grid .reveal:nth-child(4).is-visible { transition-delay: 0.24s; }
.bento-grid .reveal:nth-child(5).is-visible { transition-delay: 0.32s; }
.bento-grid .reveal:nth-child(6).is-visible { transition-delay: 0.40s; }
.bento-grid .reveal:nth-child(7).is-visible { transition-delay: 0.48s; }

.process-row.reveal.is-visible {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* Mobile cursor disable */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  .work-btn { cursor: pointer; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================
   TOOLBOX / Atelier strip
   ========================================= */
.toolbox {
  padding: 100px 6vw;
  background: var(--white);
  border-top: 1px solid var(--smoke);
  position: relative;
  overflow: hidden;
}
.toolbox::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--halftone);
  background-size: 16px 16px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  pointer-events: none;
}
.toolbox__head {
  max-width: 1500px;
  margin: 0 auto 50px;
}
.toolbox__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-top: 18px;
}
.toolbox__title .serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.toolbox__grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
}
@media (max-width: 1100px) {
  .toolbox__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 260px);
  }
}
@media (max-width: 640px) {
  .toolbox__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 240px);
  }
}

.tool-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.tool-card:hover {
  transform: translateY(-3px);
}
.tool-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.tool-card__label--inv { color: var(--gray-300); }
.tool-card__sub {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}
.tool-card__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.tool-card__head em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  margin: 0 4px;
}
.tool-card__copy {
  font-size: 13.5px;
  color: var(--gray-300);
  line-height: 1.55;
}

/* Big rotating mark card */
.tool-card--mark {
  grid-column: span 1;
  grid-row: span 2;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: grid;
  place-items: center;
  position: relative;
}
.tool-card--mark .tool-card__rotate {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.tool-card--mark .tool-card__rotate svg {
  width: 88%;
  height: auto;
  color: var(--ink);
  animation: stickerSpin 22s linear infinite;
}
.tool-card--mark .tool-card__mark {
  width: 80px;
  height: auto;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .tool-card--mark { grid-row: span 1; }
}

/* Number cards */
.tool-card--num {
  background: var(--paper-2);
  align-items: flex-start;
  gap: 8px;
}
.tool-card--num .card__big-number {
  font-size: clamp(72px, 9vw, 140px);
  margin: auto 0;
}

/* Halftone dark process card */
.tool-card--halftone.tool-card--dark {
  background: var(--grad-card-d);
  color: var(--paper);
  position: relative;
  grid-column: span 2;
}
.tool-card--halftone.tool-card--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--halftone);
  background-size: 14px 14px;
  opacity: 0.12;
  pointer-events: none;
}
.tool-card--halftone > * { position: relative; z-index: 1; }
@media (max-width: 1100px) {
  .tool-card--halftone.tool-card--dark { grid-column: span 2; }
}
@media (max-width: 640px) {
  .tool-card--halftone.tool-card--dark { grid-column: span 1; }
}

/* Tag cloud */
.tool-card--tags {
  grid-column: span 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
}
@media (max-width: 1100px) {
  .tool-card--tags { grid-column: span 2; }
}
@media (max-width: 640px) {
  .tool-card--tags { grid-column: span 1; }
}
.tool-card__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}
.cloud {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--paper-2);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-600);
  letter-spacing: -0.01em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cloud:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.cloud--lg { font-size: 18px; padding: 10px 18px; }
.cloud--xl {
  font-size: 24px;
  padding: 12px 22px;
  font-style: italic;
  font-family: var(--font-serif);
  background: var(--ink);
  color: var(--paper);
}

/* Apps card */
.tool-card--apps {
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.tool-card__apps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: auto;
}
.app-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--ink);
  transition: background 0.3s var(--ease);
}
.app-pill:hover {
  background: var(--smoke);
}
.app-pill svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.app-pill i {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* =========================================
   DESIGNER PLAYGROUND ELEMENTS
   ========================================= */

/* Rotating sticker — top-right of hero */
.sticker-rotate {
  position: absolute;
  top: 110px;
  right: 6vw;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  color: var(--ink);
  z-index: 5;
  transition: transform 0.4s var(--ease);
}
.sticker-rotate:hover {
  transform: scale(1.08);
}
.sticker-rotate__text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: stickerSpin 18s linear infinite;
}
@keyframes stickerSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.sticker-rotate__center {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-button);
  color: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  transition: transform 0.4s var(--ease);
}
.sticker-rotate__center svg {
  width: 22px;
  height: 22px;
}
.sticker-rotate:hover .sticker-rotate__center svg {
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease);
}
@media (max-width: 900px) {
  .sticker-rotate {
    top: 90px;
    right: 18px;
    width: 96px;
    height: 96px;
  }
  .sticker-rotate__center {
    width: 38px;
    height: 38px;
  }
  .sticker-rotate__center svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 640px) {
  .sticker-rotate {
    width: 76px;
    height: 76px;
    top: 80px;
    right: 14px;
  }
  .sticker-rotate__center {
    width: 28px;
    height: 28px;
  }
  .sticker-rotate__center svg {
    width: 12px;
    height: 12px;
  }
}

/* Hero decorative asterisks/sparkles */
.hero__flourish {
  position: absolute;
  color: var(--ink);
  pointer-events: none;
  z-index: 2;
  animation: gentleSpin 14s linear infinite;
}
.hero__flourish svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero__flourish--ast-1 {
  top: 38%;
  left: 32%;
  width: 28px;
  opacity: 0.5;
  animation-duration: 18s;
}
.hero__flourish--ast-2 {
  bottom: 22%;
  left: 48%;
  width: 16px;
  opacity: 0.7;
  animation-duration: 12s;
  animation-direction: reverse;
}
.hero__flourish--ast-3 {
  top: 60%;
  left: 38%;
  width: 22px;
  opacity: 0.4;
  animation-duration: 22s;
}
@keyframes gentleSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Registration crosses at corners */
.reg-mark {
  position: absolute;
  width: 18px;
  height: 18px;
  color: var(--gray-300);
  z-index: 3;
  pointer-events: none;
}
.reg-mark--tl { top: 96px; left: 24px; }
.reg-mark--tr { top: 96px; right: 24px; }
.reg-mark svg { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .reg-mark--tr { display: none; }
}

/* Number callout in hero title */
.hero__num {
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  align-self: flex-start;
  padding-top: 0.6em;
  padding-right: 4px;
  position: relative;
  white-space: nowrap;
  flex: 0 0 auto;
}
.hero__num::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gray-300);
  margin-left: 8px;
  vertical-align: middle;
  margin-bottom: 4px;
}

/* Inline asterisk after title */
.hero__title-asterisk {
  display: inline-flex;
  width: 0.32em;
  height: 0.32em;
  align-self: flex-start;
  padding-top: 0.4em;
  padding-left: 0.15em;
  color: var(--ink);
  animation: gentleSpin 12s linear infinite;
  flex: 0 0 auto;
}
.hero__title-asterisk svg { width: 100%; height: 100%; }

/* Mono badge variant */
.badge--mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
}
.badge--filled {
  background: var(--grad-button);
  color: var(--paper);
}

/* "Now in press" indicator */
.now-playing {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gray-600);
}
.now-playing__label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.15em;
  white-space: nowrap;
}
.now-playing__label i {
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
  display: inline-block;
  animation: pulseInk 1.6s ease-in-out infinite;
}
@keyframes pulseInk {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.now-playing__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}
@media (max-width: 900px) {
  .now-playing { display: none; }
}

/* Section corner registration marks */
.section-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  color: var(--gray-200);
  pointer-events: none;
}
.section-corner--tl { top: 24px; left: 24px; }
.section-corner--tr { top: 24px; right: 24px; }
.section-corner--bl { bottom: 24px; left: 24px; }
.section-corner--br { bottom: 24px; right: 24px; }
.section-corner svg { width: 100%; height: 100%; display: block; }

/* Designer dots accent */
.dots-accent {
  display: inline-flex;
  gap: 4px;
  margin: 0 12px;
}
.dots-accent i {
  width: 6px;
  height: 6px;
  background: var(--ink);
  border-radius: 50%;
}
.dots-accent i:nth-child(2) { background: var(--gray-400); }
.dots-accent i:nth-child(3) { background: var(--gray-200); }

/* Halftone card */
.card--halftone {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.card--halftone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--halftone);
  background-size: 14px 14px;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse at 100% 100%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, black 0%, transparent 70%);
}
.card--halftone > * { position: relative; z-index: 1; }

/* Big number cards */
.card__big-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 12vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.card__big-number sup {
  font-size: 0.3em;
  font-weight: 500;
  vertical-align: super;
  margin-left: -0.1em;
}


@media (max-width: 640px) {
  /* Hero — calmer, tighter type */
  .hero {
    padding: 120px 22px 60px;
    min-height: auto;
  }
  .hero__title {
    font-size: clamp(40px, 11vw, 56px);
    margin-bottom: 32px;
    letter-spacing: -0.035em;
  }
  .hero__title-row {
    gap: 14px;
  }
  .hero__title-row--mid {
    margin-left: 24px;
  }
  .hero__num { display: none; }
  .hero__title-asterisk { display: none; }
  .hero__year {
    font-size: 11px;
    align-self: flex-start;
    padding-bottom: 0;
    padding-top: 4px;
  }
  .hero__eyebrow {
    flex-wrap: wrap;
    gap: 8px;
  }
  .badge--mono { display: none; }
  .hero__sub {
    font-size: 14px;
    max-width: 100%;
  }
  .hero__cta-row {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }
  .hero__cta-row .btn {
    flex: 1 1 auto;
    justify-content: space-between;
    padding: 13px 18px;
    font-size: 13px;
  }
  .hero__bigtype {
    font-size: clamp(76px, 22vw, 120px);
    margin: 24px -22px 0;
  }
  /* Hide most floating tools on mobile, keep just two for atmosphere */
  .tool--ai, .tool--id, .tool--bezier, .tool--type, .tool--color, .tool--layers {
    display: none;
  }
  .tool--ps, .tool--pen { opacity: 0.5; }
  .hero__bottom {
    margin-top: 20px;
  }

  /* Marquee — smaller pills */
  .marquee-strip {
    padding: 28px 0;
  }
  .marquee__row--big {
    font-size: 56px;
  }
  .marquee-pill {
    font-size: 15px;
    padding: 10px 20px;
  }

  /* Manifesto */
  .manifesto {
    padding: 80px 22px;
  }
  .manifesto__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Section titles in general */
  .section-title {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  /* Services */
  .services {
    padding: 80px 22px;
  }
  .services__head {
    margin-bottom: 40px;
  }
  .card {
    padding: 24px 22px;
  }
  .card--xl {
    min-height: 360px;
  }
  .card--xl .card__title {
    font-size: 38px;
  }

  /* Pull quote */
  .pullquote {
    padding: 60px 22px;
  }
  .pullquote p {
    font-size: clamp(20px, 5.6vw, 28px);
    line-height: 1.35;
  }

  /* Work scroller */
  .work {
    padding: 80px 0;
  }
  .work__head {
    padding: 0 22px;
  }
  .work__nav {
    padding: 0 22px;
  }

  /* Process */
  .process {
    padding: 80px 22px;
  }
  .process-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 16px;
  }
  .process-row__num {
    grid-row: 1;
  }
  .process-row__title {
    grid-row: 1;
    grid-column: 2;
    font-size: 24px;
  }
  .process-row__body {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-left: 56px;
    font-size: 14px;
  }
  .process-row__icon {
    display: none;
  }

  /* Legacy + Today */
  .legacy, .today {
    padding: 80px 22px;
  }
  .legacy__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .legacy__date {
    font-size: 22px;
  }
  .legacy__grid, .today__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legacy__portrait, .today__portrait {
    max-width: 320px;
  }
  .legacy__lead, .today__lead {
    font-size: 22px;
  }

  /* Contact */
  .contact {
    padding: 80px 22px;
  }
  .contact__title {
    font-size: clamp(48px, 14vw, 96px);
  }
  .contact__cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .contact__cta-row .btn {
    width: 100%;
    justify-content: space-between;
  }
  .contact__info {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Footer */
  .footer {
    padding: 60px 22px 30px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__display {
    font-size: clamp(72px, 22vw, 120px);
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 11px;
  }
}

