/* ── FONTS ── */
@font-face {
  font-family: 'MelonMarker';
  src: url('Assets/fonts/MelonMarker-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

/* ── VARIABLES ── */
:root {
  --melon:  #f2a65a;
  --lime:   #c8e06a;
  --blush:  #f5c8c0;
  --ink:    #0f0d0a;
  --cream:  #faf6ee;
  --forest: #1e3128;
  --off:    #1a1710;
  --dim:    rgba(250,246,238,0.38);
  --dimmer: rgba(250,246,238,0.12);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--cream); font-family: 'DM Sans', sans-serif; font-weight: 300; overflow-x: hidden; cursor: none; }

/* ── CURSOR ── */
.cursor { position: fixed; width: 10px; height: 10px; background: var(--melon); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .25s, height .25s; mix-blend-mode: screen; }
.cursor-ring { position: fixed; width: 36px; height: 36px; border: 1.5px solid var(--melon); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width .3s, height .3s, opacity .3s; opacity: .4; }

/* ── GRAIN ── */
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"); pointer-events: none; z-index: 100; opacity: .4; transform: translateZ(0); }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: flex; justify-content: space-between; align-items: center; padding: 26px 52px; background: linear-gradient(180deg, rgba(15,13,10,0.92) 0%, transparent 100%); }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; font-style: italic; color: var(--cream); letter-spacing: -.01em; text-decoration: none; }
.nav-logo span { display: inline-block; background: var(--melon); width: 7px; height: 7px; border-radius: 50%; margin: 0 2px 1px 3px; vertical-align: middle; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; color: var(--dim); position: relative; transition: color .3s; }
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--cream); }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--melon); transition: width .3s; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; background: var(--melon); }
/* ══════════════════════════════════════
   STORIES PAGE
══════════════════════════════════════ */

/* ── HEADER ── */
.site-header { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 80px 80px; position: relative; overflow: hidden; }
.site-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 35%; background: linear-gradient(180deg, transparent, var(--ink)); pointer-events: none; z-index: 1; }
/* ── HERO IMAGE ── */
.header-hero { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 1; overflow: hidden; }
.header-hero img,
.header-hero video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.72) contrast(1.04); transform: translateZ(0); }
.header-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.42); z-index: 1; pointer-events: none; }
.header-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--ink) 0%, rgba(15,13,10,0.90) 20%, transparent 58%); z-index: 2; pointer-events: none; }

.header-bg-num { position: absolute; right: -20px; bottom: -60px; font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; font-size: clamp(280px,40vw,520px); line-height: 1; color: rgba(242,166,90,0.045); pointer-events: none; user-select: none; z-index: 0; letter-spacing: -.04em; }
.header-content { position: relative; z-index: 2; max-width: 720px; }
.header-kicker { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--melon); margin-bottom: 36px; opacity: 0; animation: fadeUp .7s .2s forwards; display: flex; align-items: center; gap: 14px; }
.header-kicker::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--melon); flex-shrink: 0; }
.header-title { font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; font-size: clamp(40px,6.5vw,88px); line-height: .92; letter-spacing: -.02em; color: var(--cream); margin-bottom: 32px; opacity: 0; animation: fadeUp .9s .4s forwards; }
.header-sub { font-size: 15px; line-height: 1.8; color: var(--dim); max-width: 400px; border-left: 2px solid var(--melon); padding-left: 20px; opacity: 0; animation: fadeUp .8s .7s forwards; }
.header-tagline { margin-top: 40px; font-family: 'MelonMarker', cursive; font-weight: 700; font-size: clamp(26px,3.5vw,40px); color: var(--lime); opacity: 0; animation: fadeUp .8s .95s forwards; text-transform: uppercase; }
.header-scroll { margin-top: 52px; font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--dimmer); opacity: 0; animation: fadeUp .7s 1.15s forwards; }

/* ── WORK TEASER ── */
.work-teaser { max-width: 1000px; margin: 0 auto; padding: 0 52px 80px; }
.work-teaser-split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(250,246,238,.1); }
.work-teaser-left { padding: 32px 40px; }
.work-teaser-right { padding: 32px 40px; border-left: 1px solid rgba(250,246,238,.1); text-decoration: none; display: block; transition: background .35s, border-left-color .35s; }
.work-teaser-right:hover { background: rgba(242,166,90,.04); border-left-color: rgba(242,166,90,.3); }
.work-teaser-right:hover .work-teaser-cta { color: var(--melon); }
.work-teaser-eyebrow { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--melon); margin-bottom: 10px; }
.work-teaser-label { font-family: 'Playfair Display', serif; font-weight: 400; font-style: italic; font-size: clamp(14px,1.6vw,18px); color: var(--dim); }
.work-teaser-cta { font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; font-size: clamp(18px,2.2vw,26px); color: var(--cream); transition: color .3s; }

/* ── FEED ── */
.feed { max-width: 1000px; margin: 0 auto; padding: 40px 52px 120px; }
.story { margin-bottom: 0; }
.story.left       { display: flex; justify-content: flex-start; }
.story.right      { display: flex; justify-content: flex-end; }
.story.wide       { display: flex; justify-content: flex-start; }
.story.wide-right { display: flex; justify-content: flex-end; }
.story.left  .story-inner,
.story.right .story-inner { width: 46%; }
.story.wide  .story-inner,
.story.wide-right .story-inner { width: 86%; }
.story.center      { display: flex; justify-content: center; }
.story.center .story-inner { width: 66%; }

/* ── PHOTO ── */
.frame-photo { width: 100%; border-radius: 2px; overflow: hidden; position: relative; background: var(--off); }
.frame-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.8) contrast(1.03); transition: transform .9s cubic-bezier(.25,.46,.45,.94), filter .6s; }
.frame-photo:hover img { transform: scale(1.03); filter: saturate(.95); }

/* ── VIDEO ── */
.frame-video { width: 100%; border-radius: 2px; overflow: hidden; position: relative; background: var(--off); }
.frame-video img,
.frame-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border: 1.5px solid rgba(250,246,238,.45); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color .3s, background .3s; z-index: 2; }
.frame-video:hover .play-ring { border-color: var(--melon); background: rgba(242,166,90,.1); }
.play-ring svg { fill: rgba(250,246,238,.75); margin-left: 3px; }

/* ── SHARED ── */
.overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75) 100%); }
.caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 22px 20px; }
.tag { font-family: 'Space Mono', monospace; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.photo-title { font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; line-height: .9; color: var(--cream); }

/* ── FLOATING NOTES ── */
.note { padding: 28px 0; display: flex; }
.note.left   { justify-content: flex-start; padding-left: 60px; }
.note.right  { justify-content: flex-end;   padding-right: 60px; }
.note.center { justify-content: center; }
.note-inner { font-family: 'DM Sans', sans-serif; font-weight: 300; line-height: 1.35; position: relative; color: var(--lime); font-size: clamp(15px,1.9vw,20px); max-width: 600px; }
.note-inner.quiet  { color: rgba(200,224,106,0.48); }

/* ── STORY + NOTE SIDE BY SIDE ── */
.story-pair { display: flex; align-items: center; gap: 52px; padding: 0 0; }
.story-pair .story-inner { width: 46%; flex-shrink: 0; }
.story-pair .note-inner { font-family: 'DM Sans', sans-serif; font-weight: 300; line-height: 1.35; color: var(--lime); max-width: 420px; }
@media (max-width: 768px) {
  .story-pair { flex-direction: column; gap: 24px; }
  .story-pair .story-inner { width: 90%; }
}

/* ── GAPS ── */
.gap    { height: 100px; }
.gap-sm { height: 50px; }

/* ── STORIES END ── */
.stories-end { max-width: 1000px; margin: 0 auto; padding: 0 52px 120px; border-top: 1px solid rgba(250,246,238,.07); }
.stories-end-inner { padding-top: 80px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; }
.stories-end-left .end-more { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--dimmer); margin-bottom: 12px; }
.stories-end-left .end-still { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.stories-end-right a { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--dim); border-bottom: 1px solid rgba(250,246,238,.15); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.stories-end-right a:hover { color: var(--melon); border-color: var(--melon); }

/* ══════════════════════════════════════
   WORK PAGE
══════════════════════════════════════ */

/* ── WORK HEADER ── */
.work-header { min-height: 55vh; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.work-header-content { max-width: 1100px; margin: 0 auto; padding: 140px 0px 80px; width: 100%; position: relative; z-index: 3; }
.work-header-eyebrow { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--melon); margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.work-header-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--melon); }
.work-header-title { font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; font-size: clamp(52px,8vw,110px); line-height: .88; letter-spacing: -.02em; color: var(--cream); margin-bottom: 36px; }
.work-header-title em { color: var(--melon); font-style: normal; }
.work-header-sub { font-size: 15px; line-height: 1.8; color: var(--dim); max-width: 520px; border-left: 2px solid var(--melon); padding-left: 20px; }

/* ── WORK RULE ── */
.work-rule { max-width: 1100px; margin: 0 auto; padding: 0 52px; }
.work-rule hr { border: none; border-top: 1px solid rgba(250,246,238,.08); }

/* ── PROJECT GRID ── */
.work-grid { max-width: 1100px; margin: 0 auto; padding: 80px 52px 120px; display: grid; grid-template-columns: repeat(12,1fr); gap: 20px; align-items: start; }

/* project cards — different widths for off-grid feel */
.project { position: relative; }
.project:nth-child(1) { grid-column: 1 / 8;  }
.project:nth-child(2) { grid-column: 8 / 13; margin-top: 120px; }
.project:nth-child(3) { grid-column: 2 / 7;  margin-top: 80px; }
.project:nth-child(4) { grid-column: 7 / 13; margin-top: 40px; }
.project:nth-child(5) { grid-column: 1 / 6;  margin-top: 60px; }
.project:nth-child(6) { grid-column: 6 / 11; margin-top: 100px; }
.project:nth-child(7) { grid-column: 2 / 8;  margin-top: 80px; }

/* image placeholder */
.project { cursor: pointer; }
.project-img {
  width: 100%; aspect-ratio: 16/10; background: var(--off);
  border-radius: 2px; overflow: hidden;
  position: relative; margin-bottom: 20px;
}
.project-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.7) contrast(1.04); transition: transform .8s cubic-bezier(.25,.46,.45,.94), filter .5s; }
.project-img:hover img { transform: scale(1.03); filter: saturate(.9); }
.project-img::before { content: '↗'; position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border: 1.5px solid rgba(250,246,238,.32); border-radius: 50%; line-height: 31px; text-align: center; font-size: 13px; color: rgba(250,246,238,.5); transition: border-color .3s, color .3s, background .3s; }
.project:hover .project-img::before { border-color: var(--melon); color: var(--cream); background: rgba(242,166,90,.1); }
.project-img::after { content: 'View project'; position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 18px 16px; font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.project:hover .project-img::after { opacity: 1; transform: translateY(0); }
.project-img-placeholder {
  width: 100%; aspect-ratio: 16/10;
  background: var(--off);
  border: 1px solid rgba(250,246,238,.06);
  display: flex; align-items: center; justify-content: center;
}
.project-img-placeholder span { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: rgba(250,246,238,.18); }

/* project meta */
.project-num { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .2em; color: var(--melon); margin-bottom: 10px; }
.project-client { font-family: 'Playfair Display', serif; font-weight: 700; font-style: italic; font-size: clamp(22px,2.5vw,32px); line-height: 1; color: var(--cream); margin-bottom: 8px; }
.project-role { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.project-desc { font-size: 14px; line-height: 1.7; color: rgba(250,246,238,.45); max-width: 340px; }

/* ── ABOUT ── */
.about-story { max-width: 1100px; margin: 0 auto; padding: 100px 52px 80px; }
.about-story-pull { font-family: 'Playfair Display', serif; font-weight: 400; font-style: italic; font-size: clamp(26px,3.8vw,52px); line-height: 1.25; color: var(--cream); margin-bottom: 52px; max-width: 820px; }
.about-story-pull em { color: var(--melon); font-style: normal; font-weight: 700; }
.about-story-body { border-left: 2px solid var(--melon); padding-left: 24px; max-width: 540px; display: flex; flex-direction: column; gap: 20px; }
.about-story-body p { font-size: 15px; line-height: 1.9; color: var(--dim); }
.about-tagline { font-family: 'MelonMarker', cursive; font-weight: 700; font-size: clamp(22px,3vw,36px); color: var(--lime); margin-top: 64px; text-transform: uppercase; }
@media (max-width: 768px) {
  .about-story { padding: 60px 24px 60px; }
}

/* ── SERVICES ── */
.services { max-width: 1100px; margin: 0 auto; padding: 0 52px 100px; }
.services-inner { border-top: 1px solid rgba(250,246,238,.08); padding-top: 80px; }
.services-label { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--melon); margin-bottom: 56px; }
.services-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.service { display: flex; flex-direction: column; gap: 14px; }
.service-num { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .18em; color: rgba(250,246,238,.28); }
.service-name { font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; font-size: clamp(20px,2vw,26px); color: var(--cream); line-height: 1.1; }
.service-desc { font-size: 14px; line-height: 1.75; color: rgba(250,246,238,.55); max-width: 280px; }

/* ── WORK END ── */
.work-end { max-width: 1100px; margin: 0 auto; padding: 40px 52px 120px; border-top: 1px solid rgba(250,246,238,.07); }
.work-end-inner { padding-top: 80px; }
.work-end-title { font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; font-size: clamp(40px,6vw,80px); line-height: .9; color: var(--cream); margin-bottom: 40px; }
.work-end-title em { color: var(--melon); display: block; }
.work-end-email { font-family: 'Playfair Display', serif; font-size: clamp(18px,2.2vw,26px); font-style: italic; color: var(--melon); text-decoration: none; border-bottom: 1px solid rgba(242,166,90,.3); padding-bottom: 4px; transition: color .3s, border-color .3s; display: inline-block; }
.work-end-email:hover { color: var(--lime); border-color: var(--lime); }
.work-end-note { margin-top: 16px; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 20px; color: rgba(200,224,106,0.45); }

/* ── FOOTER ── */
footer { max-width: 1100px; margin: 0 auto; padding: 20px 52px 40px; display: flex; justify-content: space-between; align-items: center; }
footer .fl { font-family: 'Playfair Display', serif; font-size: 13px; font-style: italic; font-weight: 700; color: rgba(250,246,238,.2); }
footer .fr { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .1em; color: rgba(250,246,238,.12); }
footer .f-ig { display: flex; align-items: center; gap: 7px; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .1em; text-decoration: none; color: rgba(250,246,238,.28); transition: color .3s; }
footer .f-ig:hover { color: var(--melon); }
footer .f-ig svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94); will-change: transform, opacity; }
.reveal.visible { opacity: 1; transform: translateY(0); will-change: auto; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ── PROJECT MODAL ── */
.project-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 8000; display: flex; align-items: center; justify-content: center; padding: 28px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.project-modal.active { opacity: 1; pointer-events: all; }
.project-modal-panel { width: 94vw; height: 90vh; background: var(--off); display: grid; grid-template-columns: 300px 1fr; position: relative; border: 1px solid rgba(250,246,238,.06); overflow: hidden; opacity: 0; transform: translateY(20px); transition: opacity .5s .06s cubic-bezier(0.25,.46,.45,.94), transform .55s .06s cubic-bezier(0.25,.46,.45,.94); will-change: transform, opacity; }
.project-modal.active .project-modal-panel { opacity: 1; transform: translateY(0); will-change: auto; }
@keyframes pmCellIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.project-modal-close { position: absolute; top: 22px; right: 28px; z-index: 10; background: none; border: none; color: rgba(250,246,238,.28); font-family: 'Space Mono', monospace; font-size: 12px; cursor: none; transition: color .25s; padding: 6px; }
.project-modal-close:hover { color: var(--cream); }
.project-modal-info { padding: 60px 36px 52px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid rgba(250,246,238,.05); overflow-y: auto; }
.project-modal-num { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .22em; color: var(--melon); margin-bottom: 16px; }
.project-modal-client { font-family: 'Playfair Display', serif; font-weight: 700; font-style: italic; font-size: clamp(24px,2.6vw,40px); line-height: .95; color: var(--cream); margin-bottom: 12px; }
.project-modal-role { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); margin-bottom: 28px; }
.project-modal-desc { font-size: 14px; line-height: 1.85; color: rgba(250,246,238,.4); border-left: 2px solid rgba(242,166,90,.22); padding-left: 16px; }
/* gallery grid */
.project-modal-gallery { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 1fr; gap: 10px; padding: 36px; overflow: hidden; }
.pm-cell { position: relative; overflow: hidden; background: var(--ink); border: 1px solid rgba(250,246,238,.04); }
.pm-cell img,
.pm-cell video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.78); transition: filter .4s, transform .65s cubic-bezier(.25,.46,.45,.94); }
.pm-cell:hover img,
.pm-cell:hover video { filter: saturate(1); transform: scale(1.04); }
.pm-cell-video { cursor: none; }
.pm-cell-ring { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pm-cell-ring svg { display: block; fill: rgba(250,246,238,.8); margin-left: 3px; position: relative; z-index: 1; }
.pm-cell-ring::before { content: ''; position: absolute; width: 44px; height: 44px; border: 1.5px solid rgba(250,246,238,.38); border-radius: 50%; transition: border-color .3s, background .3s; }
.pm-cell-video:hover .pm-cell-ring::before { border-color: var(--melon); background: rgba(242,166,90,.12); }
.pm-cell-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.pm-cell-empty span { font-size: 18px; color: rgba(250,246,238,.1); }
.pm-cell-empty em { font-family: 'Space Mono', monospace; font-style: normal; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: rgba(250,246,238,.1); }

/* ── VIDEO MODAL ── */
.video-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 8000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.video-modal.active { opacity: 1; pointer-events: all; }
.video-modal video { max-width: 90vw; max-height: 88vh; width: auto; height: auto; display: block; }
.video-modal img { max-width: 90vw; max-height: 88vh; width: auto; height: auto; display: none; object-fit: contain; }
.video-modal.img-mode video { display: none; }
.video-modal.img-mode img { display: block; }
.video-modal iframe { display: none; width: min(85vw, calc(88vh * 16/9)); aspect-ratio: 16/9; border: none; }
.video-modal-close { position: absolute; top: 28px; right: 36px; background: none; border: none; color: rgba(250,246,238,.35); font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: .1em; cursor: none; transition: color .25s; padding: 8px; }
.video-modal-close:hover { color: var(--cream); }
.video-modal-prev,
.video-modal-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(250,246,238,.3); font-size: 22px; cursor: none; transition: color .25s, opacity .25s; padding: 20px; z-index: 10; }
.video-modal-prev { left: 16px; }
.video-modal-next { right: 16px; }
.video-modal-prev:hover,
.video-modal-next:hover { color: var(--cream); }
.video-modal-prev.hidden,
.video-modal-next.hidden { opacity: 0; pointer-events: none; }

/* ── PAGE LOADER ── */
.page-loader { position: fixed; inset: 0; z-index: 9500; pointer-events: all; }
.page-loader.done { pointer-events: none; }
.loader-half {
  position: absolute; left: 0; right: 0; background: var(--ink); height: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.loader-half.top    { top: 0;    align-items: flex-end;   padding-bottom: 22px; }
.loader-half.bottom { bottom: 0; align-items: flex-start; padding-top: 22px; }
.page-loader.done .loader-half.top    { transform: translateY(-100%); }
.page-loader.done .loader-half.bottom { transform: translateY(100%); }
.loader-wordmark {
  font-family: 'Playfair Display', serif; font-size: clamp(14px,1.6vw,20px);
  font-weight: 700; font-style: italic; color: var(--cream); letter-spacing: -.01em;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
  display: flex; align-items: center;
}
.loader-wordmark span {
  display: inline-block; background: var(--melon); width: 6px; height: 6px;
  border-radius: 50%; margin: 0 2px 1px 3px; vertical-align: middle;
}
.loader-bar-wrap {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: rgba(250,246,238,0.08);
}
.loader-bar {
  height: 100%; width: 0; background: var(--melon);
  animation: loaderFill 1.4s 0.25s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ── NO SAVE ── */
img, video { -webkit-user-select: none; user-select: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--melon); }

/* ── LANDING (mobile only) ── */
.landing { display: none; }
.landing.exit { opacity: 0; pointer-events: none; transition: opacity .7s cubic-bezier(.25,.46,.45,.94); }
@media (max-width: 768px) {
  .landing { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; }
  .landing-half { flex: 1; position: relative; overflow: hidden; }
  .landing-half video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.45); }
  .landing-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.6) 100%); }
  .landing-content { position: absolute; bottom: 22%; left: 0; right: 0; padding: 0 32px; }
  .landing-label { font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; font-size: clamp(42px,13vw,64px); line-height: 1; color: var(--cream); margin-bottom: 10px; }
  .landing-desc { font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
  .landing-sep { position: absolute; top: 50%; left: 10%; right: 10%; height: 1px; background: rgba(250,246,238,.1); z-index: 5; }
  .landing-brand { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .landing-wm { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; font-style: italic; color: var(--cream); display: flex; align-items: center; justify-content: center; }
  .landing-wm span { display: inline-block; background: var(--melon); width: 6px; height: 6px; border-radius: 50%; margin: 0 3px 1px; }
  .landing-tl { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 18px; color: var(--lime); text-transform: uppercase; }
  .landing-ig { display: flex; align-items: center; gap: 6px; font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); text-decoration: none; margin-top: 4px; pointer-events: all; }
  .landing-ig svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .landing-enter { display: inline-block; margin-top: 20px; padding: 9px 22px; border: 1px solid rgba(250,246,238,.4); font-family: 'Space Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); }
}

/* ── HAMBURGER ── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: transform .35s cubic-bezier(.25,.46,.45,.94), opacity .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── NAV OVERLAY ── */
.nav-overlay { position: fixed; inset: 0; background: var(--ink); z-index: 400; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; opacity: 0; pointer-events: none; transition: opacity .4s cubic-bezier(.25,.46,.45,.94); }
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay-links { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.nav-overlay-links a { font-family: 'Playfair Display', serif; font-weight: 900; font-style: italic; font-size: clamp(40px,12vw,64px); color: var(--cream); text-decoration: none; opacity: 0; transform: translateY(16px); transition: color .3s, opacity .4s, transform .4s; }
.nav-overlay.open .nav-overlay-links a { opacity: 1; transform: translateY(0); }
.nav-overlay.open .nav-overlay-links a:nth-child(1) { transition-delay: .1s; }
.nav-overlay.open .nav-overlay-links a:nth-child(2) { transition-delay: .18s; }
.nav-overlay.open .nav-overlay-links a:nth-child(3) { transition-delay: .26s; }
.nav-overlay-links a:hover { color: var(--melon); }
.nav-overlay-links a.active { color: var(--melon); }
.nav-overlay-ig { display: flex; align-items: center; gap: 8px; margin-top: 52px; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); text-decoration: none; opacity: 0; transition: color .3s, opacity .4s .32s; }
.nav-overlay.open .nav-overlay-ig { opacity: 1; }
.nav-overlay-ig:hover { color: var(--melon); }
.nav-overlay-ig svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .site-header { padding: 100px 28px 60px; }
  .header-hero { width: 100%; opacity: .35; }
  .feed { padding: 20px 24px 80px; }
  .story.left  .story-inner,
  .story.right .story-inner,
  .story.wide  .story-inner,
  .story.wide-right .story-inner,
  .story.center .story-inner { width: 90%; }
  .note.left  { padding-left: 20px; }
  .note.right { padding-right: 20px; }
  .work-teaser { display: none; }
  .work-header-content { padding: 120px 24px 60px; }
  .work-rule { padding: 0 24px; }
  .work-grid { padding: 40px 24px 80px; grid-template-columns: 1fr; }
  .project:nth-child(n) { grid-column: 1/-1; margin-top: 40px; }
  .services { padding: 0 24px 60px; }
  .services-list { grid-template-columns: 1fr; gap: 36px; }
  .work-end { padding: 40px 24px 80px; }
  .stories-end { padding: 0 24px 80px; }
  footer { padding: 20px 24px 32px; flex-direction: column; gap: 8px; }

  /* ── CURSOR (mobile) ── */
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }

  /* ── PROJECT MODAL (mobile) ── */
  .project-modal { padding: 0; align-items: flex-end; }
  .project-modal-panel {
    width: 100%; height: 92vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
    border-radius: 14px 14px 0 0;
    transform: translateY(30px);
  }
  .project-modal-info {
    padding: 48px 24px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(250,246,238,.05);
    justify-content: flex-start;
    overflow-y: visible;
  }
  .project-modal-gallery {
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: auto;
    padding: 20px;
    overflow: visible;
  }
  .pm-cell { aspect-ratio: 1; }
  .project-modal-close { top: 16px; right: 20px; }
  .project-img::after { opacity: 1; transform: translateY(0); }
  .project-img::before { border-color: rgba(250,246,238,.4); color: rgba(250,246,238,.65); }
}
