/* ============================================================
   CYNDI OKECH — PORTFOLIO v3
   Colour pulled from Calendar 2024 scanner hair tones:
   deep warm near-black base · amber gold · warm coral
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

:root {
  /* Pastel / nude palette — warm cream base, muted gold & coral */
  --bg:         #fdf7f0;   /* warm cream */
  --bg-2:       #f5ede0;   /* nude surface */
  --bg-3:       #eee0cc;   /* surface / card */
  --amber:      #c9893a;   /* muted gold */
  --coral:      #c85840;   /* muted coral */
  --text:       #3a2e26;   /* dark warm brown */
  --text-dim:   rgba(58,46,38,0.42);
  --text-mid:   rgba(58,46,38,0.72);
  --border:     rgba(58,46,38,0.1);
  --nav-h:      60px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0d0906;
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  overflow-x: hidden;
}
a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Very subtle grain — barely perceptible, adds warmth */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9998;
  animation: grain 0.5s steps(1) infinite;
}
@keyframes grain {
  0%  { background-position: 0 0; }
  33% { background-position: 60px 30px; }
  66% { background-position: 30px 70px; }
  100%{ background-position: 90px 10px; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  transition: background 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: rgba(13,9,6,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-brand {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700; font-style: normal;
  font-size: 0.92rem; letter-spacing: 0.3em;
  color: #f0e8dc;
}
nav.scrolled .nav-brand { color: rgba(244,237,227,0.9); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-weight: 400; font-style: normal;
  font-size: 0.62rem; letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240,232,220,0.85);
  transition: color 0.2s;
}
nav.scrolled .nav-links a { color: rgba(244,237,227,0.65); }
.nav-links a:hover { color: var(--amber); }

/* ============================================================
   HERO — work as the visual, type as statement
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex; align-items: flex-end;
  background: #0d0906; /* hero stays dark regardless of theme */
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
/* Gradient: dark at top to hide calendar numbers, dark at bottom for text */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,9,6,0.88) 0%,
    rgba(13,9,6,0.1)  25%,
    rgba(13,9,6,0.1)  50%,
    rgba(13,9,6,0.75) 75%,
    rgba(13,9,6,0.96) 100%
  );
}
/* Subtle sparkle stars over hero only */
.hero-stars { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.sparkle {
  position: absolute;
  color: #f0b86e; /* keep bright gold on dark hero */
  animation: twinkle var(--dur, 2.5s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0; font-style: normal;
}
@keyframes twinkle {
  0%,100%{ opacity: 0; transform: scale(0.3); }
  50%    { opacity: 0.7; transform: scale(1) rotate(12deg); }
}

.hero-content {
  position: relative; z-index: 10;
  padding: 0 48px 72px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.7rem; font-style: normal;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: rgba(240,184,110,0.9); margin-bottom: 20px;
}
.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-style: normal;
  font-size: clamp(4.5rem, 13vw, 13rem);
  letter-spacing: 0.04em; line-height: 0.9;
  color: #f0e8dc; /* hardcoded: stays cream on dark hero */
  margin-bottom: 28px;
}
.hero-subtitle {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700; font-style: normal;
  font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,184,110,0.92);
  margin-bottom: 8px;
}
.hero-subdisciplines {
  font-weight: 300; font-style: normal;
  font-size: clamp(0.6rem, 1vw, 0.72rem);
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(240,232,220,0.65);
}
.hero-scroll {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 48px;
  font-style: normal; font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240,232,220,0.35); /* hardcoded: stays soft-cream on dark hero */
  animation: scrollPulse 2.4s ease-in-out infinite;
}
.hero-scroll::after { content: '↓'; font-size: 1rem; }
@keyframes scrollPulse {
  0%,100%{ opacity: 0.5; transform: translateY(0); }
  50%    { opacity: 1;   transform: translateY(6px); }
}

/* ============================================================
   HORIZONTAL RULE
   ============================================================ */
.hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.section-rule {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 0 48px; margin: 64px 0 0;
}
@keyframes starSeqPulse {
  0%, 100% { opacity: 0.28; transform: scale(0.75); }
  50%       { opacity: 1;    transform: scale(1.2);  }
}
.section-rule-star {
  display: flex; gap: 18px; align-items: center;
  font-style: normal;
}
.section-rule-star span {
  display: inline-block;
  color: var(--amber); font-size: 0.9rem;
  animation: starSeqPulse 2.4s ease-in-out infinite;
}
.section-rule-star span:nth-child(2) { animation-delay: 0.4s; }
.section-rule-star span:nth-child(3) { animation-delay: 0.8s; }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.label {
  font-size: 0.68rem; font-style: normal;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  position: relative;
}
.about-images {
  overflow: hidden;
  background: #0d0906;
  position: relative;
  z-index: 2;
}
/* Deep fade: portrait emerges from the hero darkness */
.about-images::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(13,9,6,0.92) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.about-img-main {
  width: 100%; height: 100%;
}
.about-img-main img { width:100%; height:100%; object-fit:cover; object-position: center top; display:block; transform: scale(1.3); transform-origin: top center; }
.about-img-secondary { display: none; }

.about-text {
  padding: 72px 64px 56px;
  display: flex; flex-direction: column; justify-content: flex-start;
  background: #0d0906;
  position: relative;
}
/* Whisper of dark on the text side — just covers the empty top padding */
.about-text::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(13,9,6,0.55) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.about-text .label { margin-bottom: 32px; }
.about-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-style: normal;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.08; letter-spacing: 0.03em;
  color: rgba(244,237,227,0.9); margin-bottom: 36px;
}
.about-body {
  font-size: 1.05rem; line-height: 1.85;
  color: rgba(201,168,130,0.72); max-width: 480px;
  margin-bottom: 28px;
}
@keyframes disciplineShimmer {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}
.disciplines {
  margin-top: auto;
  padding-top: 28px;
  position: relative;
}
.disciplines::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #c9893a 50%, transparent 100%);
  background-size: 200% 100%;
  animation: disciplineShimmer 8s linear infinite;
}
.disciplines-row {
  font-size: 0.68rem; font-style: normal;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(201,168,130,0.45);
  line-height: 2;
}
.disc-dot { color: var(--amber); }
.disc-spin {
  display: inline-block;
  color: var(--amber);
  font-size: 11px;
  animation: spinStar 10s linear infinite;
}
@keyframes spinStar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.crest-wrap {
  position: absolute;
  bottom: -360px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}
.crest {
  opacity: 0.28;
  animation: rotateSlow 28s linear infinite;
  width: 720px; height: 720px;
  display: block;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

/* ============================================================
   PORTFOLIO STRIP
   ============================================================ */
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 3px;
  position: relative;
  z-index: 2;
}
.strip-item { overflow: hidden; background: #1a1008; }
.strip-item img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.strip-item:hover img { transform: scale(1.04); }

/* ============================================================
   FEATURED — alternating editorial layout
   ============================================================ */
.featured { padding: 96px 0 0; }
.featured-header { padding: 0 48px 52px; }
.featured-header .label { margin-bottom: 14px; }
.featured-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-style: normal;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: 0.05em; line-height: 1;
  color: rgba(244,237,227,0.9);
}

.feat-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 75vh;
}
.feat-row.reverse { grid-template-columns: 2fr 3fr; }
.feat-row.reverse .feat-image { order: 2; }
.feat-row.reverse .feat-body  { order: 1; }

.feat-image { overflow: hidden; background: var(--bg-2); }
.feat-image img { width:100%; height:100%; object-fit:cover; transition: transform 0.8s ease; }
.feat-row:hover .feat-image img { transform: scale(1.03); }

.feat-body {
  padding: 56px 56px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid rgba(201,137,58,0.12);
  background: #0d0906;
}
.feat-row.reverse .feat-body { border-left: none; border-right: 1px solid rgba(201,137,58,0.12); }
.feat-num {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700; font-style: normal;
  font-size: 5rem; line-height: 1;
  color: rgba(255,255,255,0.05);
  margin-bottom: 0;
  user-select: none;
}
.feat-meta {
  font-size: 0.7rem; font-style: normal;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.feat-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-style: normal;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.04em; color: rgba(244,237,227,0.9);
  margin-bottom: 24px;
}
.feat-excerpt {
  font-size: 0.98rem; line-height: 1.8;
  color: rgba(201,168,130,0.7);
  margin-bottom: 40px;
}
.feat-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-style: normal; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--coral);
  border-bottom: 1px solid rgba(224,90,66,0.3);
  padding-bottom: 4px; width: fit-content;
  transition: gap 0.25s, border-color 0.25s;
}
.feat-row:hover .feat-link { gap: 18px; border-color: var(--coral); }

/* ============================================================
   ALL WORK GRID — 2 columns, full height tiles
   ============================================================ */
.work { padding: 0; position: relative; }
/* Bottom fade — dissolves work grid into connect section */
.work::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, #0d0906 0%, transparent 100%);
}
.work-header {
  padding: 96px 0 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: end;
}
.work-header-left { padding: 0 48px 48px; }
.work-header .label { margin-bottom: 14px; }
.work-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-style: normal;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: 0.05em; color: rgba(244,237,227,0.9);
}
.work-quote {
  padding: 0 48px 48px;
  position: relative;
}
@keyframes quoteShimmerUp {
  0%   { background-position: 0 200%; }
  100% { background-position: 0 -200%; }
}
.work-quote::before {
  content: '';
  position: absolute;
  left: 0; top: -20px;
  height: calc(100% + 60px);
  width: 1.5px;
  background: linear-gradient(to bottom,
    transparent 0%, #c9893a 50%, transparent 100%
  );
  background-size: 100% 200%;
  animation: quoteShimmerUp 8s linear infinite;
}
@keyframes quoteMarkEntrance {
  0%   { transform: scale(1);    text-shadow: none; color: #c9893a; }
  38%  { transform: scale(1.38); text-shadow: 0 0 32px rgba(201,137,58,0.9), 0 0 64px rgba(201,137,58,0.4); color: #f0b86e; }
  58%  { transform: scale(1.24); text-shadow: 0 0 20px rgba(201,137,58,0.5); color: #c9893a; }
  76%  { transform: scale(1.32); text-shadow: 0 0 16px rgba(201,137,58,0.4); }
  100% { transform: scale(1.3);  text-shadow: 0 0 14px rgba(201,137,58,0.35); }
}
.work-quote-open {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.6;
  color: var(--amber);
  display: block;
  margin-bottom: 10px;
  margin-left: -4px;
  transform-origin: left top;
}
.work-quote-open.animated {
  animation: quoteMarkEntrance 1s ease-out forwards;
}
.work-quote-close {
  transform-origin: right bottom;
}
.work-quote-close.animated {
  animation: quoteMarkEntrance 1s ease-out forwards;
}
.work-quote-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
  color: rgba(201,168,130,0.5);
  line-height: 1.7;
}
.work-quote-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}
.work-quote-cite {
  font-size: 0.65rem; font-style: normal;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber);
  padding-bottom: 12px;
}
.work-quote-close {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.5;
  color: var(--amber);
}

.work-grid-wrap {
  position: relative;
}
.grid-star {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--amber);
  font-size: 10px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 5;
  line-height: 1;
}
@keyframes gapBreath {
  0%, 100% { background: #0d0906; }
  50%       { background: rgba(201,137,58,0.08); }
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  animation: gapBreath 6s ease-in-out infinite;
}
.work-tile {
  display: block; position: relative;
  overflow: hidden; height: auto;
  aspect-ratio: 4 / 3;
  background: #1a1008; cursor: pointer;
}
.work-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.work-tile:hover img { transform: scale(1.05); }


/* Permanent gradient — bottom overlay for dark theme */
.work-tile::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to top,
    rgba(13,9,6,0.95) 0%,
    rgba(13,9,6,0.55)  35%,
    transparent 65%
  );
}
.work-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 3; padding: 28px 32px;
}
.work-year {
  font-size: 0.66rem; font-style: normal;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 7px;
}
.work-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-style: normal;
  font-size: 1.2rem; letter-spacing: 0.04em;
  color: rgba(244,237,227,0.9); line-height: 1.15;
}
.work-role {
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: rgba(201,168,130,0.5); margin-top: 5px;
  opacity: 0; transform: translateY(5px);
  transition: opacity 0.3s, transform 0.3s;
}
.work-tile:hover .work-role { opacity: 1; transform: translateY(0); }

/* ============================================================
   FLOATING STAR BLOBS — featured + connect sections
   ============================================================ */
.star-field-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.sb {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
}
.sb-glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,184,110,1) 0%, transparent 70%);
}
.sb-star {
  color: var(--amber); font-style: normal; position: relative;
  z-index: 1; line-height: 1;
}
@keyframes sbDrift1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(9px,-13px)} 66%{transform:translate(-7px,9px)} }
@keyframes sbDrift2 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-11px,7px)} 66%{transform:translate(13px,-9px)} }
@keyframes sbDrift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(7px,11px)} }
@keyframes sbDrift4 { 0%,100%{transform:translate(0,0)} 40%{transform:translate(-8px,-6px)} 80%{transform:translate(5px,10px)} }
@keyframes sbGlow1 { 0%,100%{opacity:0.09} 50%{opacity:0.4} }
@keyframes sbGlow2 { 0%,100%{opacity:0.07} 50%{opacity:0.32} }
@keyframes sbGlow3 { 0%,100%{opacity:0.11} 50%{opacity:0.5} }

/* ============================================================
   CONNECT
   ============================================================ */
@keyframes connectOrbPulse {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;    transform: translateX(-50%) scale(1.15); }
}
@keyframes connectOrbSide {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.2); }
}
.connect {
  padding: 130px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom,
    #0d0906 0%,
    #1c0e06 18%,
    #38180a 42%,
    #5a2c10 66%,
    #7a3c18 84%,
    #8a4820 100%
  );
}
.connect::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,137,58,0.28) 50%, transparent 100%);
  z-index: 2;
}
/* Connect section decoration: aurora + drifting stars + ghost rays */
.connect-deco {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.con-rays {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.con-aurora {
  position: absolute; border-radius: 50%;
  filter: blur(55px); pointer-events: none;
}
/* Main centre-bottom amber bloom */
.con-au1 {
  width: 70%; height: 120%;
  bottom: -30%; left: 50%; transform: translateX(-50%);
  top: auto;
  background: radial-gradient(circle, rgba(201,137,58,0.42) 0%, rgba(180,100,30,0.15) 50%, transparent 70%);
  animation: connectOrbPulse 4.5s ease-in-out infinite;
}
/* Left secondary orb */
.con-au2 {
  width: 35%; height: 55%;
  bottom: -10%; left: -5%; top: auto;
  background: radial-gradient(circle, rgba(201,137,58,0.22) 0%, transparent 68%);
  animation: connectOrbSide 5.5s ease-in-out infinite; animation-delay: -2.5s;
}
/* Right secondary orb */
.con-au3 {
  width: 30%; height: 45%;
  bottom: -5%; right: -5%; left: auto; top: auto;
  background: radial-gradient(circle, rgba(201,137,58,0.18) 0%, transparent 68%);
  animation: connectOrbSide 4s ease-in-out infinite; animation-delay: -1.2s;
}

.connect > *:not(.connect-deco) { position: relative; z-index: 1; }
.connect-star { color: var(--amber); font-style:normal; font-size:0.9rem; letter-spacing:0.4em; margin-bottom:40px; display:block; }
.connect-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-style: normal;
  font-size: clamp(3rem, 8vw, 8rem);
  letter-spacing: 0.07em; line-height: 0.95;
  color: rgba(244,237,227,0.94); margin-bottom: 24px;
}
.connect-sub {
  font-size: 0.72rem; font-style: italic;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(201,168,130,0.65);
  margin-bottom: 56px;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0;
}
.cs-dot  { color: var(--coral); margin: 0 10px; font-style: normal; }
.cs-star { color: var(--amber); margin: 0 10px; font-style: normal; }
.cs-word { display: inline; }
.socials { display:flex; justify-content:center; gap:40px; flex-wrap:wrap; }
.social-link {
  font-style: normal; font-size: 0.75rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(201,168,130,0.6);
  border-bottom: 1px solid rgba(201,137,58,0.25);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.social-link:hover { color: rgba(240,184,110,0.95); border-color: rgba(201,137,58,0.7); }
.connect-cta {
  display: inline-block; margin-top: 48px;
  padding: 15px 52px;
  border: 1px solid rgba(201,137,58,0.5); border-radius: 10px;
  font-style: normal; font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(201,137,58,0.9);
  transition: background 0.25s, color 0.25s;
}
.connect-cta:hover { background: rgba(201,137,58,0.15); color: rgba(240,184,110,0.95); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  text-align: center; padding: 14px 48px;
  border-top: 0.5px solid rgba(255,255,255,0.05);
  font-size: 0.62rem; font-style: normal;
  letter-spacing: 0.16em; color: rgba(244,237,227,0.38);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative; z-index: 2;
  margin: 0 -48px -80px;
}

/* ============================================================
   PROJECT PAGES
   ============================================================ */

/* Hero — full viewport, work takes centre stage */
.proj-hero {
  width: 100%; height: 88vh;
  position: relative;
  margin-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg-2);
}
.proj-hero img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
}
.proj-hero--video {
  height: 0;
  padding-bottom: 56.25%;
  overflow: visible;
}
.proj-hero--video iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  border: none;
}
.proj-hero--video::after { display: none; }
.proj-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(253,247,240,0.55) 80%,
    rgba(253,247,240,0.97) 100%
  );
}

/* Header below hero */
.proj-header {
  padding: 64px 48px 48px;
  border-bottom: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.proj-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-style: normal; font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 40px;
  transition: color 0.2s;
}
.proj-back:hover { color: var(--text); }
.proj-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-style: normal;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 0.04em; line-height: 0.93;
  color: var(--text); margin-bottom: 32px;
}
.proj-meta {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 24px;
}
.meta-item {
  font-size: 0.72rem; font-style: normal;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}
.meta-item + .meta-item::before { content: ' · '; color: var(--amber); margin: 0 10px; }
.meta-label { color: var(--amber); margin-right: 6px; font-weight: 700; }

/* Body text */
.proj-body {
  padding: 64px 48px 72px;
  max-width: 1100px; margin: 0 auto;
}
.proj-description {
  font-size: 1.08rem; line-height: 1.9;
  color: var(--text-mid);
  columns: 2; column-gap: 60px;
}
.proj-description.one-col { columns: 1; max-width: 660px; }
.proj-description p + p { margin-top: 20px; }

/* Video link (external) */
.video-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px;
  padding: 13px 30px;
  border: 1px solid rgba(58,46,38,0.2); border-radius: 2px;
  font-style: normal; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mid);
  transition: border-color 0.2s, color 0.2s;
  column-span: all;
}
.video-link:hover { border-color: var(--text); color: var(--text); }

/* Embedded video — native <video> tag */
.video-embed {
  width: 100%;
  background: #000;
}
.video-embed video {
  width: 100%;
  height: auto;
  display: block;
}

/* Embedded YouTube iframe */
.youtube-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
}
.youtube-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Video caption / label below embed */
.video-caption {
  font-size: 0.68rem; font-style: normal;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 14px 0 0;
  display: block;
}

/* YouTube click-through card (when embedding is disabled) */
.yt-preview {
  display: block; position: relative; overflow: hidden;
}
.yt-preview img { width: 100%; height: auto; display: block; transition: transform 0.6s ease; }
.yt-preview:hover img { transform: scale(1.03); }
.yt-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(13,9,6,0.82);
  border: 2px solid rgba(240,232,220,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--text);
  transition: background 0.25s, border-color 0.25s;
  pointer-events: none;
}
.yt-preview:hover .yt-play {
  background: var(--coral); border-color: var(--coral);
}

/* ============================================================
   IMAGE DISPLAY — natural proportions, full width
   ============================================================ */

/* Full-width single image, natural height */
.img-full {
  width: 100%;
  margin: 0;
}
.img-full img {
  width: 100%;
  height: auto;    /* KEY: natural proportion, no cropping */
  display: block;
}

/* Pair — two images side by side, natural height */
.img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.img-pair img {
  width: 100%;
  height: auto;
  display: block;
}

/* Trio */
.img-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}
.img-trio img { width:100%; height:auto; display:block; }

/* Quad */
.img-quad {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3px;
}
.img-quad img { width:100%; height:auto; display:block; }

/* Levelled Explore pattern system — locked to orange's 3:2 landscape ratio */
.explore-patterns img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
}

/* Levelled Placebo chapter art — equal square crop */
.placebo-chapter img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

/* Levelled Chat logo pairs — consistent crop height */
.chat-logos img {
  height: 340px;
  object-fit: contain;
  object-position: center;
  background: var(--bg-2);
}

/* Levelled wood prints — locked to navy's natural ratio so both palms align */
.kokonata-prints img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

/* Levelled quad — consistent crop height so images sit on the same baseline */
.kokonata-drawings img {
  height: 280px;
  object-fit: cover;
  object-position: center top;
}

/* When you WANT a fixed height (hero-style full bleed) */
.img-cinematic {
  width: 100%; overflow: hidden;
}
.img-cinematic img {
  width: 100%; height: 70vh;
  object-fit: cover; object-position: center;
  display: block;
}

/* Spacing between image blocks */
.img-block { margin-bottom: 3px; }
.img-section { padding: 0 0 72px; }

/* Section label inside gallery */
.gallery-label {
  font-size: 0.68rem; font-style: normal;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--amber);
  padding: 48px 48px 20px;
  display: flex; align-items: center; gap: 16px;
  max-width: 1100px; margin: 0 auto;
}
.gallery-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ============================================================
   PROJECT NAV
   ============================================================ */
.proj-nav {
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
  padding: 48px 48px;
}
.pn-link { display:flex; flex-direction:column; gap:6px; font-style:normal; transition:opacity 0.2s; }
.pn-link:hover { opacity: 0.65; }
.pn-link.right { text-align:right; align-items:flex-end; }
.pn-dir { font-size:0.66rem; letter-spacing:0.22em; text-transform:uppercase; color:var(--amber); }
.pn-name { font-family:Helvetica,Arial,sans-serif; font-weight:700; font-size:1.05rem; color:var(--text); }
.pn-all {
  text-align:center; font-style:normal; font-size:0.66rem;
  letter-spacing:0.22em; text-transform:uppercase; color:var(--text-dim);
}
.pn-all:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   HAMBURGER MENU
   ============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(240,232,220,0.9);
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  border-radius: 1px;
}
nav.scrolled .nav-hamburger span { background: rgba(244,237,227,0.9); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; min-height: auto; }
  .about-images { height: 60vw; flex-direction: row; }
  .about-img-main { flex: 2; }
  .about-img-secondary { flex: 1; }
  .feat-row { grid-template-columns: 1fr; min-height: auto; }
  .feat-row.reverse .feat-image { order: 1; }
  .feat-row.reverse .feat-body  { order: 2; border-right: none; border-top: 1px solid var(--border); }
  .feat-image { height: 56vw; }
  .feat-body { border-left: none; border-top: 1px solid var(--border); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .img-quad { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 24px; }
  .hero-content { padding: 0 24px 56px; }
  .about-text { padding: 56px 24px 40px; }
  .featured-header, .work-header { padding-left: 24px; padding-right: 24px; }
  .featured-header, .work-header { padding-top: 72px; }
  .feat-body { padding: 40px 24px; }
  .section-rule { padding: 0 24px; }
  .connect { padding: 96px 24px 80px; }
  footer { margin: 0 -24px -80px; font-size: 0.58rem; }
  .proj-header, .proj-body { padding-left: 24px; padding-right: 24px; }
  .proj-nav { padding: 36px 24px; }
  .gallery-label { padding-left: 24px; padding-right: 24px; }
  .img-trio { grid-template-columns: 1fr 1fr; }
  .proj-description { columns: 1; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .about-body { font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; }
  .about-heading { margin-bottom: 24px; }
  .work-info { padding: 20px 20px; }
  .work-name { font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(13,9,6,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 52px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1005;
    list-style: none;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 1.1rem !important;
    letter-spacing: 0.3em;
    color: rgba(240,232,220,0.9) !important;
  }
  .nav-links a:hover { color: var(--amber) !important; }
}
@media (max-width: 540px) {
  .work-grid { grid-template-columns: 1fr; }
  .img-pair { grid-template-columns: 1fr; gap: 3px; }
  .img-trio { grid-template-columns: 1fr 1fr; }
  .img-quad { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(3rem, 15vw, 5rem); letter-spacing: 0.03em; }
  .hero-content { padding: 0 20px 48px; }
  .hero-eyebrow { font-size: 0.6rem; }
  .proj-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .feat-num { font-size: 4rem; }
  .about-images { height: 72vw; flex-direction: column; }
  .about-img-main { flex: 2; }
  .about-img-secondary { flex: 1; }
  .about-text { padding: 40px 20px 36px; }
  nav { padding: 0 20px; }
  .video-embed video { max-height: 60vw; }
}
