/* ========= RESET & TOKENS ========= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #5e5e5e;
  --line: #e5e5e5;
  --red: #ef1f2b;
  --red-dark: #c91621;
  --black: #0a0a0a;
  --cream: #f6f3ee;

  --f-display: "Archivo Black", Impact, system-ui, sans-serif;
  --f-serif: "Playfair Display", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --container: 1240px;
  --pad: clamp(20px, 4vw, 64px);
}

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

/* ========= GRAIN OVERLAY ========= */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========= CUSTOM CURSOR ========= */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: transform 0.15s ease-out, width 0.25s, height 0.25s, border-color 0.25s, background 0.25s, opacity 0.2s;
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring { opacity: 1; }
.cursor-ring.is-hover {
  width: 60px; height: 60px;
  background: rgba(239, 31, 43, 0.08);
  border-color: var(--red);
  mix-blend-mode: multiply;
}
.cursor-ring.is-dark { border-color: #fff; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ========= SCROLL PROGRESS ========= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--red);
  z-index: 10000;
  transition: width 0.1s linear;
}

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

/* ========= MARQUEE ========= */
.marquee {
  background: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.marquee-dark {
  background: var(--black);
  border: none;
  padding: 22px 0;
}
.marquee-dark .marquee-track {
  color: #fff;
  font-size: 52px;
  animation-duration: 40s;
}
.marquee-dark .marquee-track .star { color: var(--red); font-size: 36px; }
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: var(--f-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  color: rgba(10, 10, 10, 0.12);
  will-change: transform;
}
.marquee-track .star { color: var(--red); font-size: 22px; align-self: center; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========= NAV ========= */
.nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.05em;
}
.logo-mark { color: var(--red); font-size: 22px; line-height: 1; }
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:not(.nav-cta):hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red);
}
.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--red); }
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding-right: 18px;
  border-right: 1px solid var(--line);
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--ink);
  padding: 3px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}
.lang-toggle:hover { transform: scale(1.05); }
.lang-btn {
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.lang-btn.active {
  background: var(--ink);
  color: #fff;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: #00c97e;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #00c97e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ========= HERO ========= */
.hero {
  padding: 40px var(--pad) 100px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  font-weight: 700;
}
.tag-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(64px, 11vw, 158px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  margin: 0 0 40px;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: normal;
}
.hero-title .line { display: block; position: relative; }
.hero-title .italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 0.44em;
  margin-left: 0.12em;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0;
}
.star-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.42em;
  padding: 0.12em 0.24em;
  margin-left: 0.12em;
  vertical-align: middle;
  line-height: 1;
  transform: rotate(-6deg);
}
.tape {
  display: inline-block;
  position: absolute;
  top: 108%;
  right: 0;
  background: var(--cream);
  padding: 6px 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
  border: 1px dashed var(--ink);
  white-space: nowrap;
  font-weight: 700;
  z-index: 3;
  line-height: 1.2;
}
.strike { position: relative; }
.strike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 48%;
  height: 0.09em;
  min-height: 8px;
  background: var(--red);
  transform: rotate(-2deg);
  z-index: 1;
}
.underline-scribble {
  position: absolute;
  left: 10%;
  bottom: -4%;
  width: 30%;
  height: 8px;
  border-bottom: 4px solid var(--red);
  border-radius: 50%;
  transform: rotate(-2deg);
}
.hero-sub {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 32px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  padding: 18px 28px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  border: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
  z-index: 1;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  z-index: -1;
}
.btn-primary:hover { border-color: var(--red); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary .arrow { transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.btn-primary:hover .arrow { transform: translateX(6px) rotate(-3deg); }

/* ===== Hero Right ===== */
.hero-side {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 40px;
}
.projects-badge {
  position: absolute;
  top: -20px;
  right: 20px;
  z-index: 3;
  background: #fff;
  border: 1.5px solid var(--ink);
  padding: 10px 14px;
  text-align: center;
  transform: rotate(3deg);
}
.badge-num {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1;
}
.badge-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  margin-top: 2px;
  color: var(--muted);
}
.hero-photo {
  position: relative;
  border: 2px solid var(--ink);
  overflow: hidden;
  background: #ddd;
  margin-top: clamp(80px, 14vw, 180px);
}
.hero-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  animation: kenBurns 14s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.06) translate(-1%, -1%); }
}
.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--red);
  color: #fff;
  padding: 14px 18px;
}
.caption-kicker {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.9;
  margin-bottom: 2px;
}
.caption-title {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.1;
}
.hero-extras {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-left: 10px;
  margin-top: 4px;
}
.hero-thumb {
  width: 150px;
  height: 190px;
  border: 2px solid var(--ink);
  transform: rotate(-5deg);
  overflow: hidden;
  background: #eee;
  box-shadow: 6px 6px 0 var(--ink);
  flex-shrink: 0;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-spin {
  width: 70px;
  height: 70px;
  background: var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  animation: spin 8s linear infinite;
  flex-shrink: 0;
  margin-bottom: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========= HERO POLAROID ========= */
.hero-polaroid {
  margin-top: 44px;
  width: 210px;
  padding: 10px 10px 40px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--red);
  transform: rotate(-4deg);
  position: relative;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s;
}
.hero-polaroid:hover {
  transform: rotate(-1deg) translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--red);
}
.hero-polaroid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}
.hero-polaroid-label {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink);
}

/* ========= STATS ========= */
.stats {
  max-width: var(--container);
  margin: 0 auto 80px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-size: 44px;
  line-height: 1;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 8px;
}

/* ========= SERVICES ========= */
.services {
  background: var(--black);
  color: #fff;
  padding: 100px var(--pad);
}
.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 20px;
}
.section-label.dark { color: var(--muted); }
.section-label.light { color: rgba(255,255,255,0.8); }
.services-title {
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.92;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.services-title .red { color: var(--red); }
.services-intro {
  color: #aaa;
  font-size: 15px;
  line-height: 1.65;
  max-width: 360px;
  margin: 0 0 40px;
}
.services-decor {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}
.decor-box {
  width: 60px; height: 60px;
  border: 2px solid #333;
}
.decor-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #666;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #222;
}
.service {
  border-bottom: 1px solid #222;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: background 0.3s;
}
.service::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--red);
  transition: width 0.35s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}
.service:hover::before,
.service.is-open::before { width: 6px; }
.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  position: relative;
  z-index: 1;
  transition: padding-left 0.3s;
}
.service:hover .service-head,
.service.is-open .service-head { padding-left: 24px; }
.service h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
  letter-spacing: 0.01em;
  transition: color 0.25s, transform 0.3s;
}
.service:hover h3 { color: var(--red); }
.service.is-open h3 { color: var(--red); }
.service .plus {
  color: var(--red);
  font-size: 36px;
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  line-height: 1;
  display: inline-block;
}
.service.is-open .plus { transform: rotate(135deg); }
.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.2,.8,.2,1), padding 0.35s;
  padding-left: 24px;
  position: relative;
  z-index: 1;
}
.service.is-open .service-body {
  max-height: 220px;
  padding-bottom: 28px;
}
.service p {
  color: #aaa;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

/* ========= WORK ========= */
.work {
  padding: 100px var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}
.work-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.work-title {
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.92;
  margin: 0;
  letter-spacing: -0.01em;
}
.work-title .red { color: var(--red); }
.work-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 420px;
  justify-self: end;
}
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.project {
  border: 1.5px solid var(--ink);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s;
  position: relative;
}
.project:hover {
  transform: translate(-6px, -6px);
  box-shadow: 10px 10px 0 var(--red);
}
.project-index {
  font-family: var(--f-mono);
  font-size: 13px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}
.project-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
  position: relative;
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1), filter 0.5s;
  filter: grayscale(0.3) contrast(1.03);
}
.project:hover .project-thumb img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1);
}
.project-thumb::after {
  content: "VIEW PROJECT →";
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 18px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.project:hover .project-thumb::after { transform: translateY(0); }
.project-meta {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--ink);
}
.project-tags {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 6px;
}
.project-meta h3 {
  font-family: var(--f-display);
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.project-meta p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
}
.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.project-chips span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.view-case {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
}
.view-case:hover { color: var(--red); border-color: var(--red); }

/* ========= ABOUT ========= */
.about {
  background: var(--red);
  color: #fff;
  padding: 100px var(--pad);
}
.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-title {
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.92;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.about-image {
  margin-bottom: 30px;
  border: 2px solid #fff;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.2);
}
.about-badges {
  display: grid;
  gap: 14px;
}
.about-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0,0,0,0.2);
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.25);
}
.ab-check {
  background: #fff;
  color: var(--red);
  width: 26px; height: 26px;
  display: grid; place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.ab-title {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.05em;
}
.ab-sub {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.about-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 40px;
  padding-left: 28px;
  border-left: 3px solid #fff;
}
.about-quote strong { font-style: normal; font-family: var(--f-display); font-size: 18px; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-stat {
  background: #000;
  color: #fff;
  padding: 24px;
}
.as-num {
  font-family: var(--f-display);
  font-size: 44px;
  line-height: 1;
}
.as-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #aaa;
  margin-top: 8px;
}

/* ========= CTA ========= */
.cta {
  background: var(--red);
  color: #fff;
  padding: 100px var(--pad) 120px;
  text-align: center;
  border-top: 2px solid #000;
}
.cta-kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  margin-bottom: 24px;
}
.cta-title {
  font-family: var(--f-display);
  font-size: clamp(90px, 18vw, 220px);
  line-height: 0.88;
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}
.cta-outline {
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--ink);
  padding: 20px 32px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  border-radius: 999px;
  border: 2px solid #fff;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.cta-pill:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.cta-pill .arrow { transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.cta-pill:hover .arrow { transform: translateX(6px); }

/* ========= CONTACT FORM ========= */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  font-family: var(--f-body);
  font-size: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 0;
  background: rgba(0,0,0,0.25);
  color: #fff;
  outline: none;
  transition: border-color 0.25s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #fff;
}
.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.contact-form select option {
  background: var(--ink);
  color: #fff;
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form button.cta-pill {
  align-self: center;
  margin-top: 8px;
  cursor: pointer;
}
.form-feedback {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  min-height: 20px;
}
.form-feedback.success { color: #fff; }
.form-feedback.error { color: #ffcccc; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ========= MIDBAR ========= */
.midbar {
  background: var(--ink);
  color: #fff;
  padding: 18px var(--pad);
}
.midbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #222;
}
.midbar-logo {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.05em;
}
.midbar-links {
  display: flex;
  gap: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
}
.midbar-links a:hover { color: var(--red); }
.midbar-sub {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #888;
  border-bottom: 1px solid #222;
}
.midbar-meta {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 14px;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #aaa;
}

/* ========= FOOTER ========= */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 60px var(--pad) 30px;
  border-top: 1px solid #222;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  color: #888;
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #666;
  margin: 0 0 14px;
  font-weight: 400;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: #ccc;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #666;
}

/* ========= EXTRA ANIMATIONS ========= */

/* Hero letter-by-letter reveal */
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em) rotate(6deg);
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.hero-title.animated .char {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Floating 150+ badge */
.projects-badge {
  animation: floatBob 5s ease-in-out infinite;
}
@keyframes floatBob {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-8px); }
}

/* Tape wobble on hover */
.tape {
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.tape:hover {
  animation: tapeWobble 0.6s ease-in-out;
}
@keyframes tapeWobble {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  25% { transform: rotate(2deg) scale(1.05); }
  50% { transform: rotate(-5deg) scale(1.08); }
  75% { transform: rotate(1deg) scale(1.03); }
}

/* Drawn strike-through line (for "IMPAC") */
.strike::after {
  transform-origin: left center;
  transform: rotate(-2deg) scaleX(0);
  transition: transform 1s cubic-bezier(.2,.8,.2,1) 0.6s;
}
.hero-title.animated .strike::after {
  transform: rotate(-2deg) scaleX(1);
}

/* Underline scribble draw */
.underline-scribble {
  transform: rotate(-2deg) scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(.2,.8,.2,1) 1.2s;
}
.hero-title.animated .underline-scribble {
  transform: rotate(-2deg) scaleX(1);
}

/* CTA "CREATE" word scales with scroll */
.cta-outline {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

/* Section title word-by-word */
.word-reveal .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word-reveal .word > span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.word-reveal.in-view .word > span { transform: translateY(0); }
.word-reveal.in-view .word:nth-child(2) > span { transition-delay: 0.08s; }
.word-reveal.in-view .word:nth-child(3) > span { transition-delay: 0.16s; }
.word-reveal.in-view .word:nth-child(4) > span { transition-delay: 0.24s; }

/* Tag dot breathing */
.tag-dot, .pulse-dot {
  animation: breathing 2.2s ease-in-out infinite;
}
@keyframes breathing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,31,43,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(239,31,43,0); }
}

/* Stat number glow on count */
.stat-num.counting {
  color: var(--red);
  transition: color 0.2s;
}

/* Marquee pauses on hover */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Project thumb slight skew on hover */
.project { transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s; }

/* ========= SECTION REVEAL ========= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Stat counter tabular */
.stat-num, .as-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Section labels with leading line */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Hero title subtle hover on italic word */
.hero-title .italic {
  transition: color 0.3s;
  cursor: default;
}
.hero-title .italic:hover { color: var(--red); }

/* ========= RESPONSIVE ========= */
@media (max-width: 960px) {
  .hero-grid,
  .services-grid,
  .work-head,
  .projects,
  .about-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .nav-links { gap: 18px; font-size: 11px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-status { display: none; }
  .hero-thumb { width: 120px; height: 150px; box-shadow: 4px 4px 0 var(--ink); }
  .hero-spin { width: 58px; height: 58px; font-size: 22px; }
  .hero-extras { gap: 14px; padding-left: 4px; }
  .work-intro { justify-self: start; }
  .midbar-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .midbar-meta { flex-direction: column; gap: 6px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 32px; }
  .hero-photo img { height: 380px; }
  .about-quote { font-size: 16px; padding-left: 18px; }
  .about-stats { grid-template-columns: 1fr; }
  .tape { font-size: 9px; padding: 3px 8px; }
}
