/* ── TOKENS ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --cream:   #f2ede3;
  --cream-2: #ece6d8;
  --cream-3: #e2dccf;
  --ink:     #161410;
  --ink-2:   #2e2b24;
  --ink-3:   #7a7568;
  --ink-4:   #b0aa9e;
  --rule:    rgba(22,20,16,0.1);
  --rule-2:  rgba(22,20,16,0.18);
  --ff-disp: 'Bebas Neue', sans-serif;
  --ff-ser:  'Libre Baskerville', serif;
  --ff-sans: 'Jost', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background:var(--cream);
  color:var(--ink);
  font-family:var(--ff-sans);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><line x1="0" y1="12" x2="24" y2="12" stroke="%23161410" stroke-width="1"/><line x1="12" y1="0" x2="12" y2="24" stroke="%23161410" stroke-width="1"/><circle cx="12" cy="12" r="2.5" fill="%23161410"/></svg>') 12 12, crosshair;
}

/* ── CUSTOM CURSOR (mix-blend-mode inversion) ─────── */
.cursor-cross {
  position: fixed;
  top: 0; left: 0;
  width: 24px; height: 24px;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  opacity: 0;
  will-change: transform;
}
@media (hover: none) { .cursor-cross { display: none; } }

/* ── SPLASH SCREEN ───────────────────────────────── */
#splash-container {
  position: fixed; inset: 0; background: var(--cream);
  z-index: 9999; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
#splash-grid {
  position: absolute; inset: 0; display: grid; align-content: center; justify-content: center;
}
.splash-grid-item {
  display: flex; align-items: center; justify-content: center; opacity: 0;
}
#splash-center {
  position: relative; z-index: 10000; display: flex; align-items: center; justify-content: center;
}
html.is-loading { overflow: hidden; }
html.no-splash #splash-container { display: none !important; }

/* ── NAV ─────────────────────────────────────────── */
nav {
  position:sticky; top:0; z-index:200;
  background:rgba(242,237,227,0.95);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--rule);
  padding:0 60px; height:60px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo { display:flex; align-items:center; gap:14px; text-decoration:none; }
.logo-word {
  font-family:var(--ff-sans); font-size: 13px; font-weight:400;
  letter-spacing:0.45em; text-transform:uppercase; color:var(--ink);
}
.logo-cross { position:relative; width:18px; height:18px; flex-shrink:0; }
.logo-cross::before {
  content:''; position:absolute; top:50%; left:0;
  width:100%; height:1px; background:var(--ink); transform:translateY(-50%);
}
.logo-cross::after {
  content:''; position:absolute; left:50%; top:0;
  height:100%; width:1px; background:var(--ink); transform:translateX(-50%);
}
.logo-cross-dot {
  position:absolute; top:50%; left:50%;
  width:5px; height:5px; border-radius:50%;
  background:var(--ink); transform:translate(-50%,-50%);
}
.nav-links { display:flex; gap:36px; list-style:none; }
.nav-links a {
  font-family:var(--ff-sans); font-size: 13px; font-weight:400;
  letter-spacing:0.2em; text-transform:uppercase;
  color:var(--ink-3); text-decoration:none; transition:color 0.2s;
  position:relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:1px; background:var(--ink); transition:width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color:var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.nav-cta {
  font-family:var(--ff-sans); font-size: 11px; font-weight:400;
  letter-spacing:0.2em; text-transform:uppercase;
  color:var(--ink); text-decoration:none;
  border:1px solid var(--rule-2); padding:8px 20px;
  transition:background 0.2s, color 0.2s;
}
.nav-cta:hover { background:var(--ink); color:var(--cream); }

/* ── SEC MARKER ──────────────────────────────────── */
.sec-marker {
  display:grid; grid-template-columns:auto 1fr auto;
  align-items:center; gap:20px;
  padding:14px 60px;
  border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);
}
.sec-marker-num {
  font-family:var(--ff-sans); font-size: 11px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--ink-4);
}
.sec-marker-rule { height:1px; background:var(--rule); }
.sec-marker-title {
  font-family:var(--ff-sans); font-size: 11px; letter-spacing:0.28em;
  text-transform:uppercase; color:var(--ink-3);
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn-ink {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--ink); color:var(--cream);
  font-family:var(--ff-sans); font-size: 11px;
  letter-spacing:0.25em; text-transform:uppercase;
  padding:13px 30px; text-decoration:none;
  transition:background 0.25s;
}
.btn-ink:hover { background:var(--ink-2); }
.btn-ghost {
  display:inline-flex; align-items:center; gap:10px;
  background:transparent; color:var(--ink);
  font-family:var(--ff-sans); font-size: 11px;
  letter-spacing:0.25em; text-transform:uppercase;
  padding:12px 28px; text-decoration:none;
  border:1px solid var(--rule-2); transition:background 0.2s;
}
.btn-ghost:hover { background:var(--cream-2); }
.btn-white {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--cream); color:var(--ink);
  font-family:var(--ff-sans); font-size: 11px;
  letter-spacing:0.25em; text-transform:uppercase;
  padding:13px 30px; text-decoration:none;
  transition:background 0.25s, color 0.25s;
}
.btn-white:hover { background:var(--ink); color:var(--cream); }

/* ── CONTACT STRIP ───────────────────────────────── */
.contact-strip {
  background:var(--ink); padding:80px 60px;
  position:relative; overflow:hidden;
}
.contact-strip-bg {
  position:absolute; bottom:-20px; right:40px;
  font-family:var(--ff-disp); font-size:260px; line-height:1;
  color:rgba(242,237,227,0.03); pointer-events:none; user-select:none;
}
.contact-strip-eyebrow {
  display:flex; align-items:center; gap:14px; margin-bottom:36px;
}
.contact-strip-eyebrow-rule { width:28px; height:1px; background:rgba(242,237,227,0.2); }
.contact-strip-eyebrow-text {
  font-family:var(--ff-sans); font-size: 11px;
  letter-spacing:0.3em; text-transform:uppercase; color:rgba(242,237,227,0.4);
}
.contact-strip-hed {
  font-family:var(--ff-disp);
  font-size:clamp(72px,10vw,130px); line-height:0.9;
  text-transform:uppercase; color:var(--cream); margin-bottom:6px;
}
.contact-strip-hed-it {
  font-family:var(--ff-ser); font-size:clamp(40px,5.5vw,80px);
  font-style:italic; font-weight:400; line-height:1;
  color:rgba(242,237,227,0.45); margin-bottom:48px; letter-spacing:-0.01em;
}
.contact-strip-email {
  display:inline-block;
  font-family:var(--ff-ser); font-size:20px; font-style:italic;
  color:rgba(242,237,227,0.4); text-decoration:none;
  border-bottom:1px solid rgba(242,237,227,0.15); padding-bottom:5px;
  transition:color 0.3s, border-color 0.3s; margin-bottom:48px;
}
.contact-strip-email:hover { color:var(--cream); border-color:rgba(242,237,227,0.5); }
.contact-strip-row {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:32px; border-top:1px solid rgba(242,237,227,0.08);
}
.contact-strip-links { display:flex; gap:28px; }
.contact-strip-link {
  font-family:var(--ff-sans); font-size: 11px; letter-spacing:0.18em;
  text-transform:uppercase; color:rgba(242,237,227,0.3);
  text-decoration:none; transition:color 0.2s;
}
.contact-strip-link:hover { color:var(--cream); }
.contact-avail {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--ff-sans); font-size: 11px;
  letter-spacing:0.18em; text-transform:uppercase; color:rgba(242,237,227,0.4);
  border: 1px solid rgba(242,237,227,0.2); padding: 8px 12px; border-radius: 4px;
}
.avail-dot {
  width:7px; height:7px; border-radius:50%; background:var(--cream);
  animation:blink 2.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:0; transform:scale(1.5);} }
@keyframes pushBounce { 0%,100%{transform:translateX(0); opacity:1;} 50%{transform:translateX(10px); opacity:0.3;} }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--ink); border-top: 1px solid rgba(242,237,227,0.08);
  padding: 80px 60px 24px; display: flex; flex-direction: column;
}
.foot-index {
  display: flex; justify-content: space-between; flex-direction: row-reverse; margin-bottom: 80px; flex-wrap: wrap; width: 100%;
}
.foot-index > .foot-col:first-child { align-items: flex-end; }
.foot-index > .foot-col:last-child { align-items: flex-start !important; }
.foot-col { display: flex; flex-direction: column; gap: 16px; }
.foot-col-hed {
  font-family: var(--ff-sans); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(242,237,227,0.25); margin-bottom: 8px;
}
.foot-col-link {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-ser); font-size: 16px; font-style: italic;
  color: rgba(242,237,227,0.6); text-decoration: none; transition: color 0.2s;
}
.foot-col-link:hover { color: var(--cream); }
.foot-icon { width: 16px; height: 16px; stroke: currentColor; }

.foot-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(242,237,227,0.08);
  font-family: var(--ff-sans); font-size: 11px; letter-spacing: 0.15em;
  color: rgba(242,237,227,0.25); text-transform: uppercase;
}

/* ── REVEAL ──────────────────────────────────────── */
.reveal {
  opacity:0; transform:translateY(14px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── CHIP ────────────────────────────────────────── */
.chip {
  font-family:var(--ff-sans); font-size: 10px; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--ink-4);
  border:1px solid var(--rule-2); padding:4px 12px; border-radius:2px;
}

/* ── STATUS DOT ──────────────────────────────────── */
@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
.status-dot {
  width: 6px; height: 6px; background: #00ff00; border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

/* ── PROJECT PAGE STYLES ─────────────────────────── */
.project-hero {
  border-bottom: 1px solid var(--rule);
}
.project-hero-img-container {
  width: 100%; height: 85vh; background: var(--cream-3);
  overflow: hidden; position: relative;
}
.project-hero-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.project-hero-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  padding: 24px 60px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.3);
}
.project-hero-overlay-title {
  font-family: var(--ff-disp); font-size: 32px; color: var(--ink);
  line-height: 1; text-transform: uppercase;
}
.project-hero-overlay-meta {
  display: flex; gap: 40px; align-items: center;
}
.project-meta-item { display: flex; flex-direction: column; gap: 4px; }
.project-meta-label {
  font-family: var(--ff-sans); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #ffffff;
}
.project-meta-value {
  font-family: var(--ff-sans); font-size: 15px; color: var(--ink); font-weight: 500;
}
.project-section {
  padding: 120px 60px; border-bottom: 1px solid var(--rule);
}
.project-brief-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
}
.project-section-title {
  font-family: var(--ff-sans); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 24px;
}
.project-brief-text {
  font-family: var(--ff-ser); font-size: 24px; line-height: 1.5; color: var(--ink);
}
.project-gallery {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  grid-auto-flow: dense;
  background: var(--rule); border-bottom: 1px solid var(--rule);
}
.project-gallery img, .project-gallery video {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1;
}
.project-gallery .full-width {
  grid-column: 1 / -1; aspect-ratio: 21/9;
}
.project-gallery .span-2 {
  grid-column: span 2; aspect-ratio: 2/1;
}
.project-gallery .span-3 {
  grid-column: span 3; aspect-ratio: 3/1;
}
.project-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.project-stat-item {
  background: var(--ink); padding: 60px 40px; display: flex; flex-direction: column; gap: 16px;
}
.project-stat-number {
  font-family: var(--ff-disp); font-size: 80px; line-height: 1; color: var(--cream);
}
.project-stat-label {
  font-family: var(--ff-sans); font-size: 14px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-4);
}
.project-cap-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); margin-top: 40px;
}
.project-cap-item {
  background: var(--ink); padding: 32px 40px; display: flex; align-items: center; gap: 24px;
}
.project-cap-num {
  font-family: var(--ff-sans); font-size: 11px; color: var(--ink-4); letter-spacing: 0.1em;
}
.project-cap-text {
  font-family: var(--ff-sans); font-size: 16px; color: var(--ink); text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── MOBILE MENU ─────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 201;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: var(--cream); z-index: 199;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu-inner {
  display: flex; flex-direction: column; gap: 32px; text-align: center;
}
.mobile-menu a {
  font-family: var(--ff-disp); font-size: 48px; color: var(--ink);
  text-decoration: none; text-transform: uppercase; line-height: 1;
}
.mobile-cta {
  font-family: var(--ff-sans) !important; font-size: 14px !important;
  letter-spacing: 0.2em; border: 1px solid var(--ink); padding: 12px 24px;
  margin-top: 24px; border-radius: 40px;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  
  .port-hero, .sec-marker, .featured-work, .contact-strip, footer, .project-hero-overlay, .project-section, .about-strip-left, .about-strip-right, .fw-header {
    padding-left: 24px; padding-right: 24px;
  }
  
  .hero-content, .hero-lower, .hero-pg { padding-left: 24px; padding-right: 24px; }
  
  .project-gallery, .contact-form-section, .disc-tabs { padding-left: 24px !important; padding-right: 24px !important; }
  .project-gallery { grid-template-columns: 1fr !important; gap: 8px !important; }
  
  .disc-grid, .about-strip, .contact-form-section, .fw-grid, .project-brief-grid, .project-cap-grid, .foot-index, .about-strip-stats, .contact-strip-links {
    grid-template-columns: 1fr; gap: 32px; margin-left: 0; margin-right: 0;
  }
  
  .project-stats-grid { grid-template-columns: 1fr 1fr; }
  .disc-card-full { grid-template-columns: 1fr; }
  
  .hero-image-panel { width: 100%; opacity: 0.5; }
  .hero-lower { grid-template-columns: 1fr; text-align: center; margin-top: 32px; gap: 24px; }
  .hero-desc { margin: 0 auto; }
  .hero-right-meta { text-align: center; }
  
  .hero-display { font-size: 72px; }
  .hero-display-italic { font-size: 52px; }
  .contact-strip-hed { font-size: 56px; }
  .contact-strip-hed-it { font-size: 40px; margin-bottom: 24px; }
  .contact-strip-email { font-size: 16px; margin-bottom: 24px; }
  .contact-strip-row { flex-direction: column; gap: 24px; align-items: flex-start; }
  .contact-strip-links { flex-direction: column; gap: 16px; }
  
  .project-hero-img-container { height: 60vh; }
  .project-hero-overlay { flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px; }
  .project-hero-overlay-meta { flex-direction: column; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
  
  .foot-index { flex-direction: column; margin-bottom: 40px; }
  .foot-index > .foot-col:first-child, .foot-index > .foot-col:last-child { align-items: flex-start !important; }
  .foot-legal { flex-direction: column; text-align: left; gap: 8px; }

  .project-page-nav { padding: 32px 24px; flex-wrap: wrap; gap: 24px; }
  .ppn-client { font-size: 22px; }
}

/* ── PROJECT PAGE PREV / NEXT NAV ────────────────── */
.project-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding: 48px 60px;
  gap: 32px;
}
.ppn-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.ppn-btn:hover { opacity: 0.55; }
.ppn-hand {
  font-size: 40px;
  color: var(--ink-3);
  line-height: 1;
  transition: color 0.2s;
}
.ppn-btn:hover .ppn-hand { color: var(--ink); }
.ppn-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ppn-info--right { text-align: right; }
.ppn-label {
  font-family: var(--ff-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.ppn-client {
  font-family: var(--ff-disp);
  font-size: 32px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 0.95;
}
.ppn-date {
  font-family: var(--ff-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 2px;
}
.ppn-all {
  font-family: var(--ff-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.ppn-all:hover { color: var(--ink); }
