/* ============================================================
   SALTPILOT — pure black / bone white / gold ×3
   Display: Anton (brutalist) · Body: Fraunces (refined serif)
   Gold budget (exactly 3 uses):
     1. custom cursor (dot + trailing ring)
     2. kinetic word "UNIGNORABLE."
     3. footer primary CTA "Email me"
   ============================================================ */

:root {
  --black: #050505;
  --bone: #ede7da;
  --bone-dim: rgba(237, 231, 218, 0.55);
  --bone-faint: rgba(237, 231, 218, 0.14);
  --gold: #d4af37;
  --display: "Anton", sans-serif;
  --serif: "Fraunces", serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--serif);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

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

::selection { background: var(--bone); color: var(--black); }

/* ---------- grain ---------- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- cursor (GOLD USE 1) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--gold);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  opacity: 0.65;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}
.cursor-ring.is-hover { width: 58px; height: 58px; opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body, a, button { cursor: auto; }
}

/* ---------- nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3vw;
  mix-blend-mode: difference;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
}
.site-nav nav { display: flex; gap: 2.2rem; }
.site-nav nav a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--bone);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.site-nav nav a:hover { opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(5,5,5,0.55) 100%),
    linear-gradient(to bottom, rgba(5,5,5,0.35), transparent 30%, transparent 70%, rgba(5,5,5,0.9));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.hero-title {
  font-family: var(--display);
  font-size: 15.2vw; /* fills ~80% of viewport width */
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--bone);
  text-shadow: 0 0 90px rgba(0,0,0,0.65);
  user-select: none;
}
.hero-tagline {
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  color: var(--bone);
  letter-spacing: 0.02em;
}
.hero-ctas {
  margin-top: 2.8rem;
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
/* ============================================================
   KINETIC MANIFESTO
   ============================================================ */
.manifesto { height: 400vh; position: relative; background: var(--black); }
.manifesto-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kinetic-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kinetic-word {
  position: absolute;
  font-family: var(--display);
  font-size: clamp(3.5rem, 12vw, 13rem);
  line-height: 1;
  color: var(--bone);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: scale(3.4);
  filter: blur(18px);
  transition: none;
  will-change: transform, opacity, filter;
  white-space: nowrap;
}
.kinetic-word.slam {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  transition:
    transform 0.38s cubic-bezier(0.16, 1.3, 0.3, 1),
    opacity 0.22s ease-out,
    filter 0.3s ease-out;
}
.kinetic-word.gone {
  opacity: 0;
  transform: scale(0.82);
  filter: blur(8px);
  transition: transform 0.3s ease-in, opacity 0.25s ease-in, filter 0.25s ease-in;
}
/* GOLD USE 2 */
.kinetic-word.kinetic-gold { color: var(--gold); }

.manifesto-progress {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 1px;
  background: var(--bone-faint);
}
.manifesto-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--bone);
}

/* ============================================================
   SHARED SECTION CHROME
   ============================================================ */
.section-head {
  padding: 9rem 6vw 4rem;
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.section-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--bone-dim);
}
.section-head h2, .services-left h2, .operator-content h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.section-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--bone-dim);
  margin-left: auto;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   WORK / CASE STUDIES
   ============================================================ */
.work { background: var(--black); padding-bottom: 8rem; }

.case {
  display: grid;
  margin: 0 6vw 2.5rem;
  border: 1px solid var(--bone-faint);
  background: #0a0a09;
  overflow: hidden;
}
.case-flagship {
  grid-template-columns: 1.35fr 1fr;
  min-height: 62vh;
}
.case-media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

/* still state: graded photography */
.case-still {
  position: absolute;
  inset: 0;
  background: #0a0a09;
  overflow: hidden;
}
.case-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.12) brightness(0.78);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1);
}
.case:hover .case-still img,
.case:focus-visible .case-still img {
  filter: grayscale(0.4) contrast(1.05) brightness(0.85);
  transform: scale(1.08);
}

.case-info {
  padding: 3rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}
.case-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.case-meta span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--bone-dim);
  border: 1px solid var(--bone-faint);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}
.case-info h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.case-info p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--bone-dim);
  max-width: 46ch;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 0 6vw;
}
.case-small { margin: 0; grid-template-rows: 300px auto; }

/* live concept card (links out to a built demo) */
a.case { text-decoration: none; color: inherit; }
.case-live {
  animation: liveCardGlow 2.6s ease-in-out infinite;
}
.case-live:hover, .case-live:focus-visible {
  animation: none;
  border-color: rgba(52, 224, 110, 0.75);
  box-shadow: 0 0 34px -6px rgba(52, 224, 110, 0.45);
}
@keyframes liveCardGlow {
  0%, 100% { border-color: var(--bone-faint); box-shadow: 0 0 0 0 rgba(52, 224, 110, 0); }
  50% { border-color: rgba(52, 224, 110, 0.6); box-shadow: 0 0 28px -6px rgba(52, 224, 110, 0.35); }
}
.case-live-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-style: italic; font-size: 0.95rem;
  color: var(--black); background: var(--bone);
  padding: 0.42rem 1.05rem; border-radius: 99px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.case-live-badge i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #34e06e;
  animation: livePing 1.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}
@keyframes livePing {
  0% { box-shadow: 0 0 0 0 rgba(52, 224, 110, 0.65); }
  75% { box-shadow: 0 0 0 10px rgba(52, 224, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 224, 110, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .case-live, .case-live-badge i { animation: none; }
  .case-live { border-color: rgba(52, 224, 110, 0.6); }
}
.case-small .case-info { padding: 1.8rem 1.6rem 2rem; gap: 0.7rem; }
.case-small h3 { font-size: 1.35rem; }
.case-small p { font-size: 0.92rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5vw;
  padding: 10rem 6vw;
  border-top: 1px solid var(--bone-faint);
}
.services-left { position: sticky; top: 18vh; align-self: start; }
.services-left .section-index { display: block; margin-bottom: 1rem; }
.services-lede {
  margin-top: 2rem;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--bone-dim);
  max-width: 34ch;
}
.service {
  padding: 3rem 0;
  border-bottom: 1px solid var(--bone-faint);
  display: grid;
  grid-template-columns: 5rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.5rem;
  transition: padding-left 0.3s ease;
}
.service:first-child { border-top: 1px solid var(--bone-faint); }
.service:hover { padding-left: 1rem; }
.service-num {
  grid-row: 1 / 3;
  font-family: var(--serif);
  font-style: italic;
  color: var(--bone-dim);
  font-size: 0.95rem;
  padding-top: 0.5rem;
}
.service h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.service p {
  margin-top: 0.9rem;
  color: var(--bone-dim);
  line-height: 1.75;
  max-width: 52ch;
}
.service-tag {
  margin-top: 1rem;
  justify-self: start;
  grid-column: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--bone-dim);
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { border-top: 1px solid var(--bone-faint); padding-bottom: 10rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 0 6vw;
}
.price-card {
  border: 1px solid var(--bone-faint);
  padding: 3.2rem 3rem;
  background: #0a0a09;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--bone-dim);
}
.price-kind {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.price-card h3 {
  margin-top: 1.2rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  text-transform: uppercase;
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 2rem 0 1.4rem;
}
.price-from {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bone-dim);
}
.price-value {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}
.price-value em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.32em;
  color: var(--bone-dim);
}
.price-card > p {
  color: var(--bone-dim);
  line-height: 1.75;
}
.price-card ul {
  margin-top: 1.8rem;
  list-style: none;
}
.price-card li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--bone-faint);
  font-size: 0.98rem;
}

/* ============================================================
   OPERATOR
   ============================================================ */
.operator {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--bone-faint);
}
#operatorVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.02);
}
.operator-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,5,5,0.92) 25%, rgba(5,5,5,0.55) 55%, rgba(5,5,5,0.25));
}
.operator-content {
  position: relative;
  z-index: 2;
  padding: 8rem 6vw;
  max-width: 720px;
}
.operator-content .section-index { display: block; margin-bottom: 1rem; }
.operator-name {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}
.operator-bio {
  margin-top: 1.4rem;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--bone);
  opacity: 0.85;
  max-width: 56ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 11rem 6vw 4rem;
  border-top: 1px solid var(--bone-faint);
  background: var(--black);
}
.footer-title {
  font-family: var(--display);
  font-size: clamp(3rem, 10.5vw, 10rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.footer-title span { display: block; }
.footer-ctas {
  display: flex;
  gap: 1.6rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 1.15rem 3rem;
  border-radius: 99px;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  display: inline-block;
}
.btn:hover { transform: translateY(-3px); }
/* GOLD USE 3 */
.btn-gold {
  background: var(--gold);
  color: var(--black);
  font-weight: 500;
}
.btn-ghost {
  border: 1px solid var(--bone-dim);
  color: var(--bone);
}
.btn-ghost:hover { background: var(--bone); color: var(--black); }
.footer-bottom {
  margin-top: 7rem;
}
.footer-fine {
  font-size: 0.85rem;
  color: var(--bone-dim);
  font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .case-flagship { grid-template-columns: 1fr; }
  .case-flagship .case-media { min-height: 320px; }
  .case-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .services-left { position: static; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav nav { display: none; }
  .hero-title { font-size: 19vw; }
  .section-head { padding: 6rem 6vw 3rem; }
  .case-info { padding: 2rem 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  html { scroll-behavior: auto; }
}
