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

:root {
  --cream: #F5F0E8;
  --ink: #1A1714;
  --blue: #2B4EE6;
  --muted: #7A6E65;
  --surface: #EDE8DF;
  --border: rgba(26, 23, 20, 0.12);
  --fd: 'Instrument Serif', serif;
  --fb: 'Satoshi', sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── PAPER TEXTURE ──────────────────────────────────────────────── */
#paperTexture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 1;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────────────── */
#cursorDot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: none;
}

#cursorRing {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .15s ease, opacity .15s ease;
  opacity: .6;
  display: none;
}

#cursorRing.hov {
  transform: translate(-50%, -50%) scale(1.8);
  opacity: .25;
}

/* ─── NAV ────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: none;
  border: none;
  background: linear-gradient(to bottom, var(--cream) 0%, transparent 100%);
  border: none;

}.nav-logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* .nav-logo {
  font-family: var(--fd);
  font-size: 1.25rem;
  letter-spacing: -.01em;
  cursor: none;
} */

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  position: relative;
  transition: color .2s;
  cursor: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ─── PAGES ──────────────────────────────────────────────────────── */
.page {
  display: none;
  min-height: 100vh;
  padding-top: 81px;
}

.page.active {
  display: block;
}

/* ─── HOME ───────────────────────────────────────────────────────── */
.hero {
  padding: 96px 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--blue);
}

.hero h1 {
  font-family: var(--fd);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 800px;
  margin-bottom: 32px;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat-num {
  font-family: var(--fd);
  font-size: 2.5rem;
  letter-spacing: -.03em;
  color: var(--blue);
}

.stat-label {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── MARQUEE ────────────────────────────────────────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
  margin-bottom: 64px;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.mq-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.mq-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

/* ─── HOME PROJECT GRID ──────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  margin-bottom: 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--fd);
  font-size: 1.75rem;
  letter-spacing: -.02em;
}

.section-link {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  cursor: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
  text-decoration: none;
}

.section-link:hover {
  gap: 12px;
}

/* ─── HOME PROJECT GRID ─── */
/* ─── HOME PROJECT GRID ─── */
.hp-grid {
  display: flex;
  flex-direction: column;
  padding: 0 64px;
  max-width: 1400px;
  margin: 0 auto 96px;
}

.hp-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  cursor: none;
  overflow: hidden;
  position: sticky;
  top: 80px;
  margin-bottom: 24px;
  box-shadow: 0 8px 48px rgba(26,23,20,.12);
  transition: box-shadow .3s;
}
.hp-card:hover { box-shadow: 0 16px 64px rgba(26,23,20,.2); }

.hp-card:nth-child(1) { top: 80px; }
.hp-card:nth-child(2) { top: 104px; }
.hp-card:nth-child(3) { top: 128px; }
.hp-card:nth-child(4) { top: 152px; }

.hp-card:nth-child(even) .hp-bg { order: -1; }

.hp-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  background: var(--surface);
  transition: background .3s;
}
.hp-card:hover .hp-info { background: #e4dfd6; }

.hp-tag {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.hp-tag::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--blue);
}
.hp-title {
  font-family: var(--fd);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--ink);
  transition: transform .4s var(--ease);
}
.hp-card:hover .hp-title { transform: translateX(8px); }

.hp-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}
.hp-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.hp-card:hover .hp-arrow {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: rotate(45deg);
}

.hp-bg {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hp-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.hp-card:hover .hp-bg img { transform: scale(1.04); }
/* ─── HOME BLOG GRID ─────────────────────────────────────────────── */
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 48px;
  max-width: 1200px;
  margin: 0 auto 96px;
}

/* ─── BLOG CARD ──────────────────────────────────────────────────── */
.blog-card {
  padding: 32px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: background .2s;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card:hover {
  background: #e8e2d9;
}

.blog-date {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.blog-title {
  font-family: var(--fd);
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.blog-excerpt {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.blog-rt {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ─── PROJECTS PAGE ──────────────────────────────────────────────── */
/* ─── PROJECTS PAGE ─── */

.projects-masthead {
  padding: 72px 64px 56px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  border-bottom: 1px solid var(--border);
}
.pm-eyebrow {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.pm-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--blue);
}
.projects-masthead h1 {
  font-family: var(--fd);
  font-size: clamp(3.5rem, 6vw, 6rem);
  letter-spacing: -.04em;
  line-height: .92;
}
.projects-masthead h1 em { font-style: italic; color: var(--blue); }
.pm-right { text-align: right; padding-bottom: 8px; }
.pm-bignum {
  font-family: var(--fd);
  font-size: 8rem;
  line-height: 1;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  user-select: none;
}
.pm-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
  margin-left: auto;
}

.pc-grid {
  max-width: 1400px;
  margin: 0 auto 120px;
  padding: 0 64px;
}

.pcard {
  display: grid;
  grid-template-columns: 72px 1fr 1fr 100px;
  align-items: center;
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  cursor: none;
  position: relative;
  overflow: hidden;
}
.pcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.76,0,.24,1);
  z-index: 0;
}
.pcard:hover::after { transform: scaleX(1); }
.pcard > * { position: relative; z-index: 1; }

.pcard-num {
  font-family: var(--fd);
  font-size: 3.5rem;
  color: var(--border);
  letter-spacing: -.04em;
  line-height: 1;
  transition: color .3s, transform .3s var(--ease);
  -webkit-text-stroke: 1px rgba(26,23,20,.15);
}
.pcard:hover .pcard-num {
  color: var(--blue);
  -webkit-text-stroke: 0px;
  transform: scale(1.1) translateY(-2px);
}

.pcard-title {
  font-family: var(--fd);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 10px;
  transition: transform .4s var(--ease);
}
.pcard:hover .pcard-title { transform: translateX(12px); }

.pcard-meta {
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: transform .4s var(--ease);
  transition-delay: .04s;
}
.pcard:hover .pcard-meta { transform: translateX(12px); }

.pcard-exc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 400px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .35s var(--ease);
}
.pcard:hover .pcard-exc { opacity: 1; transform: translateY(0); }

.pcard-img {
  height: 220px;
  overflow: hidden;
  background: #1A1714;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .55s cubic-bezier(.76,0,.24,1);
}
.pcard:hover .pcard-img { clip-path: inset(0 0% 0 0); }
.pcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform .65s var(--ease);
  display: block;
}
.pcard:hover .pcard-img img { transform: scale(1); }

.pcard-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  justify-content: center;
}
.pcard-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.pcard-tag {
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color .25s, color .25s, transform .25s;
}
.pcard:hover .pcard-tag { border-color: var(--blue); color: var(--blue); transform: translateX(-4px); }
.pcard:hover .pcard-tag:nth-child(2) { transition-delay: .05s; }
.pcard:hover .pcard-tag:nth-child(3) { transition-delay: .1s; }

.pcard-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background .25s, color .25s, border-color .25s, transform .4s var(--ease);
}
.pcard:hover .pcard-arrow {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: rotate(45deg);
}

.pcard {
  opacity: 0;
  transform: translateY(32px);
  animation: cardIn .7s var(--ease) forwards;
}
.pcard:nth-child(1) { animation-delay: .0s; }
.pcard:nth-child(2) { animation-delay: .12s; }
.pcard:nth-child(3) { animation-delay: .24s; }
.pcard:nth-child(4) { animation-delay: .36s; }

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── DETAIL PAGE ────────────────────────────────────────────────── */
/* .detail-hero {
  width: 100%;
  height: 70vh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.detail-hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 48px 48px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  color: #fff;
}

.detail-tag {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 12px;
}

.detail-hero-text h1 {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.detail-meta {
  display: flex;
  gap: 32px;
  padding: 32px 48px;
  border-bottom: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

.detail-meta-item label {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.detail-meta-item span {
  font-size: .95rem;
}

.detail-body {
  max-width: 800px;
  margin: 64px auto;
  padding: 0 48px;
}

.detail-body h2 {
  font-family: var(--fd);
  font-size: 1.75rem;
  letter-spacing: -.02em;
  margin: 48px 0 20px;
}

.detail-body h3 {
  font-family: var(--fd);
  font-size: 1.3rem;
  margin: 32px 0 16px;
}

.detail-body p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-body strong {
  color: var(--ink);
}

.detail-body ul,
.detail-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--muted);
}

.detail-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.detail-body blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 24px;
  margin: 32px 0;
  color: var(--muted);
  font-style: italic;
}

.detail-body img {
  width: 100%;
  margin: 32px 0;
  display: block;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 24px 48px;
  cursor: none;
  transition: color .2s;
  background: none;
  border: none;
}

.back-btn:hover {
  color: var(--blue);
} */

/* ─── DETAIL / CASE STUDY ─── */

.back-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 28px 64px;
  cursor: none;
  transition: color .2s, gap .2s;
  background: none; border: none;
}
.back-btn:hover { color: var(--blue); gap: 16px; }

/* Tall cinematic hero */
.detail-hero {
  width: 100%;
  height: 75vh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.detail-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .75;
  transform: scale(1.04);
  animation: heroZoom 8s ease forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.detail-hero-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 64px;
  background: linear-gradient(to top, rgba(26,23,20,.85) 0%, rgba(26,23,20,.3) 60%, transparent 100%);
  color: #fff;
}
.detail-tag {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.detail-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--blue);
}
.detail-hero-text h1 {
  font-family: var(--fd);
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -.04em;
  line-height: .95;
  max-width: 900px;
}

/* Meta strip — full width grid */
.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.detail-meta-item {
  padding: 28px 48px;
  border-right: 1px solid var(--border);
}
.detail-meta-item:last-child { border-right: none; }
.detail-meta-item label {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.detail-meta-item span { font-size: .95rem; }

/* Body */
.detail-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px 120px;
}

/* h2 — big editorial section breaks */
.detail-body h2 {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: 1;
  margin: 96px 0 32px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
  max-width: 700px;
}

/* h3 — small labeled subsections */
.detail-body h3 {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 48px 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.detail-body h3::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--blue);
}

/* Body text */
.detail-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 24px;
}
.detail-body strong { color: var(--ink); }

/* Lists */
.detail-body ul, .detail-body ol {
  padding-left: 0;
  margin-bottom: 32px;
  max-width: 680px;
  list-style: none;
}
.detail-body li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 16px; align-items: baseline;
}
.detail-body li::before {
  content: '→';
  color: var(--blue);
  font-size: .8rem;
  flex-shrink: 0;
}

/* Pull quote */
.detail-body blockquote {
  margin: 64px 0;
  padding: 48px 56px;
  background: var(--surface);
  border-left: none;
  position: relative;
}
.detail-body blockquote::before {
  content: '\201C';
  font-family: var(--fd);
  font-size: 8rem;
  line-height: 1;
  color: var(--blue);
  opacity: .2;
  position: absolute;
  top: 16px; left: 40px;
}
.detail-body blockquote p {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  max-width: 100%;
  margin: 0;
}

/* Images — full bleed with caption */

.detail-body img {
  display: block;
  width: calc(100% + 128px);
  margin-left: -64px;
  margin-top: 48px;
  margin-bottom: 12px;
}
/* .detail-body img {
  width: 100%;
  display: block;
  margin: 48px 0 12px; */
/* } */
.detail-body img + em {
  display: block;
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 40px;
  font-style: normal;
}

/* ─── CMS FAB ────────────────────────────────────────────────────── */
.cms-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: none;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  box-shadow: 0 4px 24px rgba(26, 23, 20, .2);
}

.cms-fab:hover {
  background: var(--blue);
}

/* ─── ABOUT PAGE ─── */

/* ── Full-bleed intro ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  border-bottom: 1px solid var(--border);
}
.about-intro-left {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
}
.about-intro-right {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.about-intro-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: .9;
  transition: transform .8s var(--ease), opacity .4s;
}
.about-intro-right:hover img { transform: scale(1.03); opacity: 1; }

.about-name-tag {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 48px;
}
.about-name-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--blue);
}

.about-headline {
  font-family: var(--fd);
  font-size: clamp(3.5rem, 5.5vw, 6rem);
  letter-spacing: -.05em;
  line-height: .9;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-headline em {
  font-style: italic;
  color: var(--blue);
  display: block;
}

.about-bio {
  margin-top: 48px;
}
.about-bio p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 480px;
}
.about-bio strong { color: var(--ink); }
.about-bio em { font-style: italic; color: var(--ink); }

.about-ctas {
  display: flex; gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* ── Skills ── */
.about-skills-section {
  max-width: 100%;
}
.about-skills-intro {
  padding: 72px 64px 56px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  border-bottom: 1px solid var(--border);
}
.about-skills-eyebrow {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.about-skills-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--blue);
}
.about-skills-title {
  font-family: var(--fd);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -.04em;
  line-height: 1;
}
.about-skills-desc {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  align-self: end;
}

.about-skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1400px;
  margin: 0 auto;
}
.skill-col {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
}
.skill-col:last-child { border-right: none; }
.skill-col-label {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 8px;
}
.skill-col-label::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--blue);
}
.skill-list {
  list-style: none;
  padding: 0; margin: 0;
}
.skill-list li {
  font-size: .875rem;
  color: var(--muted);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
  cursor: default;
  display: flex; align-items: center; gap: 10px;
}
.skill-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background .2s;
}
.skill-list li:last-child { border-bottom: none; }
.skill-list li:hover { color: var(--ink); padding-left: 4px; }
.skill-list li:hover::before { background: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: background .2s, color .2s, border-color .2s;
  font-family: var(--fb);
}
.btn-primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-outline { border: 1px solid var(--border); color: var(--ink); background: none; }
.btn-outline:hover { border-color: var(--ink); }


/* ─── CMS MODAL ──────────────────────────────────────────────────── */
.cms-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, .5);
  z-index: 600;
  align-items: flex-end;
  justify-content: center;
}

.cms-overlay.open {
  display: flex;
}

.cms-modal {
  background: var(--cream);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
}

.cms-modal h2 {
  font-family: var(--fd);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.cms-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.cms-tab {
  padding: 10px 24px;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: none;
  color: var(--muted);
  transition: color .2s;
  margin-bottom: -1px;
}

.cms-tab.active {
  color: var(--ink);
  border-bottom-color: var(--blue);
}

.cms-list {
  margin-bottom: 24px;
}

.cms-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}

.cms-item-actions {
  display: flex;
  gap: 8px;
}

.cms-btn {
  padding: 6px 14px;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: none;
  cursor: none;
  transition: background .15s, color .15s;
}

.cms-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.cms-btn.danger:hover {
  background: #c0392b;
  border-color: #c0392b;
}

.cms-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.cms-fl {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cms-fl label {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cms-fl input,
.cms-fl textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--fb);
  font-size: .9rem;
  color: var(--ink);
  resize: vertical;
}

.cms-fl input:focus,
.cms-fl textarea:focus {
  outline: 2px solid var(--blue);
}

.cms-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cms-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.cms-save {
  padding: 12px 28px;
  background: var(--blue);
  color: #fff;
  border: none;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: none;
  transition: background .2s;
}

.cms-save:hover {
  background: var(--ink);
}

.cms-cancel {
  padding: 12px 28px;
  background: none;
  border: 1px solid var(--border);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: none;
}

.cms-tip {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--cream);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  margin-top: 96px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 80px 64px 64px;
  gap: 32px;
}

.footer-name {
  font-family: var(--fd);
  font-size: 1.1rem;
  color: var(--ink);
}

.footer-copy {
  font-size: .75rem;
  /* color: rgba(255,255,255,.35); */
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: .04em;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  /* color: rgba(255,255,255,.45); */
  color: var(--muted);
  text-decoration: none;
  cursor: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--blue); }

.footer-top-btn {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  /* color: rgba(255,255,255,.45); */
  color: var(--muted);
  background: none;
  border: none;
  cursor: none;
  transition: color .2s;
  padding: 0;
}
/* .footer-top-btn:hover { color: #fff; } */
.footer-top-btn:hover { color: var(--ink); }

/* Wave bars */
.footer-wave {
  overflow: hidden;
  height: 220px;
  margin-top: 0;
}
.footer-wave-bar {
  width: 100%;
  background: var(--blue);
  margin-top: -2px;
  will-change: transform;
  transition: transform 0.1s ease;
}

/* FOR RESPONSIVENESS ZS BELOW */

@media (max-width: 1024px) {
  .hp-grid { grid-template-columns: 1fr; padding: 0 32px; }
  .hp-card:first-child { grid-column: 1; height: 420px; }
  .home-blog-grid { grid-template-columns: 1fr 1fr; padding: 0 32px; }
  .full-blog-grid { grid-template-columns: 1fr 1fr; padding: 0 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 32px; }
  nav { padding: 16px 32px; }
  .hero { padding: 72px 32px 48px; }
  .section-head { padding: 0 32px; }
  .pc-grid { padding: 0 32px; }
}

@media (max-width: 768px) {
  .pcard { grid-template-columns: 1fr; }
  .pcard-img { height: 220px; }
  .home-blog-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .full-blog-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .hp-grid { padding: 0 24px; }
  .pc-grid { padding: 0 24px; }
  .section-head { padding: 0 24px; }
  .hero { padding: 48px 24px 40px; }
  nav { padding: 16px 24px; }
  .nav-links { gap: 20px; }
  .detail-meta { flex-wrap: wrap; gap: 20px; padding: 24px; }
  .detail-body { padding: 0 24px; }
  footer { flex-direction: column; gap: 24px; padding: 32px 24px; }
}

@media (max-width: 480px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .75rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 28px; }
  .hp-card { height: 320px; }
  .pcard-body { padding: 24px; }
  .about-grid { padding: 32px 20px; }
  .cms-modal { padding: 24px; }
  .cms-row { grid-template-columns: 1fr; }
}

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: none;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  animation: lbIn .3s ease forwards;
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: 32px; right: 40px;
  color: rgba(255,255,255,.6);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: none;
  transition: color .2s;
  letter-spacing: .1em;
  font-family: var(--fb);
}
.lightbox-close:hover { color: #fff; }
.detail-body img {
  display: block;
  width: 100%;
  margin: 48px 0 12px;
  cursor: none;
  transition: opacity .2s;
}
.detail-body img:hover { opacity: .85; }

.detail-intro {
  font-family: var(--fd);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  max-width: 680px;
  padding: 48px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0 !important;
}

/* ─── FEATURE CAROUSEL ─── */

.fcarousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  max-width: 100%;
  margin: 0 auto 96px;
  padding: 0 64px;
  gap: 80px;
  align-items: center;
  width: 100%;
}

/* Left — scrolling labels */
.fcarousel-left {
  position: relative;
  /* height: 560px; */
  /* overflow: hidden; */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .fcarousel-left::before,
.fcarousel-left::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
}
.fcarousel-left::before {
  top: 0;
  background: linear-gradient(to bottom, var(--cream), transparent);
}
.fcarousel-left::after {
  bottom: 0;
  background: linear-gradient(to top, var(--cream), transparent);
} */

.fcarousel-track {
  position: 100%;
  width: 100%;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.fc-item {
  position: relative;
  /* left: 0; */
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  border: 1px solid var(--border);
  cursor: none;
  transition: background .3s, border-color .3s, color .3s, opacity .4s, transform .4s;
  white-space: nowrap;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  user-select: none;
}
.fc-item.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.fc-item:not(.active):hover {
  border-color: var(--blue);
  color: var(--blue);
}
.fc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: .5;
}
.fc-item.active .fc-dot {
  background: var(--blue);
  opacity: 1;
}

/* Right — image card */
.fcarousel-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.fcarousel-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink);
}
.fcarousel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .5s, transform .6s var(--ease);
}
.fcarousel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.fcarousel-card-label {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fcarousel-card-label::before {
  content: '';
  width: 14px; height: 1px; 
  background: var(--blue);
}
.fcarousel-card-desc {
  font-family: var(--fd);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.2;
}

/* Fade transition helper */
.fcarousel-card img.fading {
  opacity: 0;
  transform: scale(1.04);
}