/* nathanmallek.com */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Mono:wght@300;400;500&family=Instrument+Serif:ital@0;1&display=swap');
:root {
  --nm-ink: #141513;
  --nm-ink-2: #1e201d;
  --nm-paper: #efebe0;
  --nm-paper-2: #e2ddd0;
  --nm-green: #58b56a;
  --nm-green-deep: #2f7d43;
  --nm-display: "Anton", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --nm-serif: "Instrument Serif", "Times New Roman", serif;
  --nm-mono: "DM Mono", "SFMono-Regular", Menlo, "Courier New", monospace;
  --nm-gutter: clamp(16px, 3vw, 40px);
  --nm-gutter-neg: clamp(-40px, -3vw, -16px);
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; background: var(--nm-ink); color: var(--nm-paper); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--nm-green); color: var(--nm-ink); padding: 10px 14px; font-family: var(--nm-mono); }
.skip:focus { left: 8px; }

/* header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--nm-gutter); font-family: var(--nm-mono); }
.site-header__brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--nm-green); line-height: 1; }
.site-header__brand b { font-family: var(--nm-serif); font-style: italic; font-weight: 400; font-size: 30px; letter-spacing: -.01em; }
.site-header__brand span { font-family: var(--nm-serif); font-style: italic; font-size: 14px; opacity: .9; margin-top: 2px; }
.site-nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.site-nav a { color: var(--nm-paper); text-decoration: none; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--nm-green); border-color: var(--nm-green); }
.site-menu-btn { display: none; background: none; border: 1px solid var(--nm-paper); color: var(--nm-paper); border-radius: 999px; padding: 9px 16px; font-family: var(--nm-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 760px) {
  .site-menu-btn { display: inline-flex; }
  .site-nav { display: none; }
}
/* phone menu: full-screen overlay */
.m-menu { position: fixed; inset: 0; z-index: 90; background: var(--nm-ink); color: var(--nm-paper); display: flex; flex-direction: column;
  padding: 22px var(--nm-gutter) calc(28px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.m-menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.m-menu__top { display: flex; justify-content: space-between; align-items: center; }
.m-menu__top .site-menu-btn { display: inline-flex; }
.m-menu nav { margin: auto 0; display: flex; flex-direction: column; gap: 4px; }
.m-menu nav a { font-family: var(--nm-display); text-transform: uppercase; font-size: clamp(38px, 11vw, 68px); line-height: 1.02; color: var(--nm-paper); text-decoration: none;
  display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(239,235,224,.18); padding: 6px 0;
  opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.1,1); }
.m-menu nav a small { font-family: var(--nm-mono); font-size: 11px; letter-spacing: .08em; opacity: .6; }
.m-menu nav a[aria-current="page"] { color: var(--nm-green); }
.m-menu.is-open nav a { opacity: 1; transform: none; }
.m-menu.is-open nav a:nth-child(2) { transition-delay: .05s; } .m-menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.m-menu.is-open nav a:nth-child(4) { transition-delay: .15s; } .m-menu.is-open nav a:nth-child(5) { transition-delay: .2s; } .m-menu.is-open nav a:nth-child(6) { transition-delay: .25s; }
.m-menu__social { display: flex; gap: 20px; font-family: var(--nm-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.m-menu__social a { color: var(--nm-paper); text-decoration: none; }
@media (min-width: 761px) { .m-menu { display: none; } }
.site-header--on-paper .site-header__brand { color: var(--nm-green-deep); }
.site-header--on-paper .site-menu-btn { color: var(--nm-ink); border-color: var(--nm-ink); }
@media (min-width: 761px) {
  .site-header--on-paper .site-nav a { color: var(--nm-ink); }
  .site-header--on-paper .site-nav a:hover, .site-header--on-paper .site-nav a[aria-current="page"] { color: var(--nm-green-deep); border-color: var(--nm-green-deep); }
}
.site-nav.is-open .site-menu-btn { color: var(--nm-paper); border-color: var(--nm-paper); }

/* footer */
.site-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px var(--nm-gutter) 32px; border-top: 1px solid rgba(239,235,224,.28); font-family: var(--nm-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--nm-paper); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--nm-green); }

/* contact form */
.nm-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.nm-form .full { grid-column: 1 / -1; }
.nm-field { display: grid; gap: 8px; }
.nm-field input, .nm-field select, .nm-field textarea { width: 100%; padding: 12px 0; background: transparent; color: inherit; font: inherit; font-size: 15px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.nm-field select option { color: #141513; }
.nm-field textarea { min-height: 140px; resize: vertical; }
.nm-field input:focus, .nm-field select:focus, .nm-field textarea:focus { outline: none; border-color: var(--nm-green); }
.nm-form__row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nm-form__note { margin: 0; min-height: 1.6em; font-size: 13px; color: var(--nm-green); }
.nm-hp { position: absolute; left: -9999px; }
.nm-contact-alt { margin-top: clamp(28px, 4vw, 48px); }
.nm-contact-alt a { text-decoration-color: var(--nm-green); }
@media (max-width: 860px) { .nm-form { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Part 3: page layouts (.nm) ---------- */
.nm { font-family: var(--nm-mono); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--nm-paper); text-align: left; }
.nm *, .nm *::before, .nm *::after { box-sizing: border-box; }
.nm img { max-width: 100%; display: block; }
.nm a { color: inherit; }
.nm p { margin: 0 0 1em; font-family: var(--nm-mono); font-weight: 300; }
.nm :focus-visible { outline: 2px solid var(--nm-green); outline-offset: 3px; }

.nm-band { padding: clamp(56px, 9vw, 130px) var(--nm-gutter); }
.nm-ink { background: var(--nm-ink); color: var(--nm-paper); --line: rgba(239,235,224,.28); --accent: var(--nm-green); --tile: var(--nm-ink-2); --fg: var(--nm-paper); }
.nm-paper { background: var(--nm-paper); color: var(--nm-ink); --line: rgba(20,21,19,.22); --accent: var(--nm-green-deep); --tile: var(--nm-paper-2); --fg: var(--nm-ink); }
.nm-ink p, .nm-paper p { color: var(--fg); }

.nm-label { font-family: var(--nm-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.nm-kicker { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 6vw, 80px); }
.nm .nm-display { font-family: var(--nm-display); font-weight: 400; font-style: normal; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; margin: 0; color: var(--fg); text-wrap: balance; }
.nm .nm-display em { font-family: var(--nm-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--accent); letter-spacing: -.02em; font-size: 1.04em; }
.nm .nm-xl { font-size: clamp(56px, 12vw, 190px); }
.nm .nm-lg { font-size: clamp(44px, 8.5vw, 130px); }
.nm-lede { max-width: 58ch; font-size: clamp(14px, 1.25vw, 17px) !important; }

.nm-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; text-decoration: none !important; font-family: var(--nm-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; line-height: 1.2; transition: background .2s, color .2s, border-color .2s; }
.nm-btn:hover { background: var(--accent, var(--nm-green)); border-color: var(--accent, var(--nm-green)); color: var(--nm-ink); }
.nm-paper .nm-btn:hover { color: var(--nm-paper); }
.nm-btn--solid { background: var(--accent, var(--nm-green)); border-color: var(--accent, var(--nm-green)); color: var(--nm-ink); }
.nm-paper .nm-btn--solid { color: var(--nm-paper); }
.nm-btn--solid:hover { background: transparent; color: var(--fg, var(--nm-paper)); border-color: currentColor; }

.nm-frame { position: relative; display: block; background: var(--tile); overflow: hidden; }
.nm-frame img { width: 100%; height: 100%; object-fit: cover; }

/* hero */
.nm-hero { padding-top: clamp(120px, 14vw, 190px); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.nm-hero__stage { position: relative; max-width: 1500px; margin: 0 auto; padding: clamp(10px, 6vw, 90px) 0 clamp(30px, 8vw, 120px); }
.nm .nm-hero__title { position: relative; z-index: 3; text-align: center; font-size: clamp(64px, 16.5vw, 260px); line-height: .84; }
.nm-hero__still { position: absolute; z-index: 2; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.nm-hero__still--a { width: 24%; aspect-ratio: 16/10; top: 0; right: 6%; }
.nm-hero__still--b { width: 21%; aspect-ratio: 4/5; bottom: 0; left: 9%; z-index: 4; }
.nm-hero__still--c { width: 19%; aspect-ratio: 16/10; top: 30%; left: 0; z-index: 1; }
.nm-hero__still--d { width: 22%; aspect-ratio: 16/9; bottom: 12%; right: 0; z-index: 4; }
.nm-hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; margin-top: clamp(20px, 3vw, 40px); }
.nm .nm-hero__intro { margin: clamp(40px, 6vw, 80px) auto 0; text-align: center; }
.nm-intro { padding-top: clamp(130px, 14vw, 200px); }
.nm-intro .nm-lede { margin-top: clamp(24px, 3vw, 40px); }

/* work */
.nm-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.nm-head p { max-width: 34ch; margin: 0; }
.nm-work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(16px, 2.5vw, 32px); }
.nm-card { display: block; text-decoration: none !important; color: inherit; }
.nm-card--wide { grid-column: 1 / -1; }
.nm-card .nm-frame { aspect-ratio: 16/9; }
.nm-card--wide .nm-frame { aspect-ratio: 21/9; }
.nm-card .nm-frame img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nm-card:hover .nm-frame img, .nm-card:focus-visible .nm-frame img { transform: scale(1.04); }
.nm-card__play { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: var(--nm-ink); color: var(--nm-paper); font-family: var(--nm-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; transition: background .2s, color .2s; }
.nm-card:hover .nm-card__play { background: var(--nm-green); color: var(--nm-ink); }
.nm-card__meta { display: grid; grid-template-columns: 3ch 1fr auto; gap: 12px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 14px; }
.nm-card__title { display: block; font-family: var(--nm-display); text-transform: uppercase; font-size: clamp(22px, 2.6vw, 38px); line-height: 1; }
.nm-card--small .nm-card__title { font-size: clamp(18px, 1.8vw, 26px); }
.nm-card__client { display: block; margin-top: 6px; }
.nm-card__tag { text-align: right; }
.nm-more { margin-top: clamp(36px, 5vw, 64px); }
.nm-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 24px); margin-top: clamp(36px, 6vw, 72px); }
.nm-films .nm-card__meta { grid-template-columns: 3ch 1fr; }

/* what I do */
.nm-svcs { list-style: none; margin: 0; padding: 0; }
.nm-svcs li { margin: 0; padding: 0; }
.nm-svcs li::before { display: none; content: none; }
.nm-svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26ch) 3ch; gap: 24px; align-items: end; padding: clamp(10px, 1.4vw, 20px) 0; border-bottom: 1px solid var(--line); text-decoration: none !important; color: inherit; }
.nm-svc__title { font-family: var(--nm-display); text-transform: uppercase; font-size: clamp(40px, 8.4vw, 150px); line-height: .95; overflow-wrap: anywhere; transition: color .25s, transform .35s cubic-bezier(.2,.7,.2,1); }
.nm-svc__desc { margin-bottom: clamp(6px, 1vw, 16px); font-size: 13px; opacity: .78; }
.nm-svc__num { margin-bottom: clamp(6px, 1vw, 16px); text-align: right; }
.nm-svc:hover .nm-svc__title, .nm-svc:focus-visible .nm-svc__title { color: var(--nm-green); transform: translateX(clamp(6px, 1.2vw, 20px)); }
.nm-svc-preview { position: fixed; left: 0; top: 0; z-index: 30; width: 22vw; max-width: 320px; aspect-ratio: 4/5; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.94); transition: opacity .25s, transform .25s; box-shadow: 0 24px 70px rgba(0,0,0,.5); overflow: hidden; background: var(--nm-ink-2); }
.nm-svc-preview img { width: 100%; height: 100%; object-fit: cover; }
.nm-svc-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* split, packages, photos, about */
.nm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.nm-packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(36px, 6vw, 72px); }
.nm-package { border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.nm-package__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.nm .nm-package__name { font-size: clamp(32px, 4.4vw, 64px); line-height: 1; }
.nm-package__price { font-family: var(--nm-serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--accent); font-variant-numeric: tabular-nums; }
.nm-package p { margin: 0; max-width: 52ch; }
.nm-package ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.nm-package li { display: grid; grid-template-columns: 2ch 1fr; gap: 8px; margin: 0; padding: 0; }
.nm-package li::before { content: "+"; color: var(--accent); font-weight: 500; }
.nm-photos { columns: 4 220px; column-gap: clamp(10px, 1.4vw, 18px); }
.nm-photos .nm-frame { margin-bottom: clamp(10px, 1.4vw, 18px); break-inside: avoid; }
.nm-photos .nm-frame img { height: auto; }
.nm-band > .nm-split + .nm-photos { margin-top: clamp(36px, 6vw, 72px); }
.nm-about__photo { aspect-ratio: 4/5; }
.nm-about .nm-display { margin-bottom: clamp(24px, 3vw, 40px); }
.nm-about p { max-width: 60ch; }
.nm .nm-about__lead { font-family: var(--nm-serif); font-weight: 400; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.15; max-width: 24ch; }

/* contact CTA */
.nm-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0 var(--nm-gutter-neg) clamp(48px, 8vw, 110px); }
.nm-marquee__track { display: flex; gap: 40px; width: max-content; animation: nm-slide 38s linear infinite; }
.nm-marquee__track span { font-family: var(--nm-serif); font-style: italic; font-size: clamp(22px, 2.6vw, 36px); white-space: nowrap; }
.nm-marquee__track span:nth-child(even) { color: var(--nm-green); }
@keyframes nm-slide { to { transform: translateX(-50%); } }
.nm .nm-cta__title { font-size: clamp(60px, 14vw, 230px); }
.nm-cta__title a { text-decoration: none !important; }
.nm-cta__title a:hover { color: var(--nm-green); }
.nm-cta__row { margin-top: clamp(36px, 5vw, 64px); align-items: center; }
.nm-intro--tight { padding-bottom: clamp(24px, 4vw, 48px); }

/* video player */
.nm-player { width: 94vw; max-width: 1200px; max-width: none; padding: 0; border: 0; background: transparent; color: var(--nm-paper); overflow: visible; }
.nm-player::backdrop { background: rgba(10, 11, 10, .92); }
.nm-player__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 12px; }
.nm-player__btns { display: flex; gap: 10px; }
.nm-player__screen { aspect-ratio: 16/9; background: #000; }
.nm-player__screen iframe, .nm-player__screen video { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 860px) {
  .nm-head, .nm-split, .nm-packages, .nm-work { grid-template-columns: minmax(0, 1fr); }
  .nm-card--wide .nm-frame { aspect-ratio: 16/9; }
  .nm-films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nm-svc { grid-template-columns: minmax(0, 1fr) 3ch; align-items: start; gap: 6px 16px; }
  .nm-svc__desc { grid-column: 1; grid-row: 2; }
  .nm-svc__num { grid-column: 2; grid-row: 1; margin-top: 10px; }
  .nm-hero__still--c { display: none; }
  .nm-hero__still--a { width: 34%; right: 2%; }
  .nm-hero__still--b { width: 30%; left: 2%; }
  .nm-hero__still--d { width: 32%; bottom: 4%; }
  .nm-hero__stage { padding: 70px 0 110px; }
  .nm-svc-preview { display: none; }
}
@media (max-width: 480px) {
  .nm-card__meta { grid-template-columns: 3ch 1fr; }
  .nm-card__tag { grid-column: 2; text-align: left; }
  .nm-films { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .nm-marquee__track { animation: none; }
  .nm *, .nm-svc-preview { transition: none !important; }
}

/* ---------- glass header (fixed) ---------- */
.site-header { position: fixed; inset: 12px 12px auto 12px; z-index: 60; padding: 12px clamp(14px, 2vw, 22px);
  border-radius: 18px; border: 1px solid rgba(239,235,224,.14);
  background: linear-gradient(180deg, rgba(30,32,29,.55), rgba(20,21,19,.38));
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.25), 0 10px 30px rgba(0,0,0,.25);
  transition: background .35s, border-color .35s, color .35s, box-shadow .35s; }
.site-header::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 140% at 10% -40%, rgba(255,255,255,.16), transparent 55%); }
.site-header__brand b { font-size: 24px; }
.site-header__brand span { font-size: 12px; }
.site-header.is-paper { background: linear-gradient(180deg, rgba(239,235,224,.62), rgba(226,221,208,.45)); border-color: rgba(20,21,19,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 30px rgba(20,21,19,.12); }
.site-header.is-paper .site-header__brand { color: var(--nm-green-deep); }
.site-header.is-paper .site-menu-btn { color: var(--nm-ink); border-color: var(--nm-ink); }
@media (min-width: 761px) {
  .site-header.is-paper .site-nav a { color: var(--nm-ink); }
  .site-header.is-paper .site-nav a:hover, .site-header.is-paper .site-nav a[aria-current="page"] { color: var(--nm-green-deep); border-color: var(--nm-green-deep); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(20,21,19,.92); } .site-header.is-paper { background: rgba(239,235,224,.94); }
}

/* ---------- hero: photos sit behind the type and drift ---------- */
.nm-hero__still { z-index: 1 !important; will-change: transform; transition: box-shadow .4s; }
.nm .nm-hero__title { z-index: 3; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.nm-hero__still img { transform: scale(1.06); }

/* ---------- selected work ---------- */
.nm-sw__top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(40px, 6vw, 88px); }
.nm .nm-sw__title { font-size: clamp(64px, 11vw, 180px); line-height: .86; display: flex; flex-direction: column; }
.nm-sw__title .w1 { position: relative; z-index: 1; }
.nm .nm-sw__title .w2 { position: relative; z-index: 2; align-self: flex-start; margin: -.32em 0 0 1.35em; font-size: 1.12em; line-height: .9; }
.nm-sw__note { margin: clamp(16px, 2vw, 28px) 0 0; max-width: 34ch; }
.nm-sw__reel .nm-frame { aspect-ratio: 16/9; }

.nm-carousel { position: relative; overflow: hidden; margin: 0 calc(var(--nm-gutter) * -1); padding: 0 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.nm-carousel__track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding: 0 var(--nm-gutter); will-change: transform; }
.nm-carousel .nm-card { width: clamp(260px, 30vw, 440px); flex: none; }
.nm-carousel .nm-card__meta { grid-template-columns: 3ch 1fr; }
.nm-carousel .nm-card__tag { display: none; }
.nm-carousel__hint { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(20px, 3vw, 36px); }

/* ---------- scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translate3d(-60px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(60px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nm-sw__top { grid-template-columns: minmax(0, 1fr); }
  .site-header { inset: 8px 8px auto 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .nm-carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- hero: 11 photos, larger, behind the type ---------- */
.nm-hero { padding-top: clamp(96px, 10vw, 130px); }
.nm .nm-hero__stage { min-height: clamp(620px, 96vh, 1080px); display: grid; place-items: center; padding: 0; max-width: none; }
.nm-hero__still { position: absolute; z-index: 1 !important; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.nm-hero__still img { filter: brightness(.74) saturate(.95); }
.nm-hero__s1  { top: 2%;   right: 3%;  width: 27%; }
.nm-hero__s2  { top: -2%;  left: 15%;  width: 20%; }
.nm-hero__s3  { top: 7%;   left: 41%;  width: 23%; }
.nm-hero__s4  { top: 31%;  left: -1%;  width: 23%; }
.nm-hero__s5  { top: 25%;  right: 1%;  width: 12%; }
.nm-hero__s6  { top: 45%;  left: 24%;  width: 25%; }
.nm-hero__s7  { top: 49%;  right: 15%; width: 23%; }
.nm-hero__s8  { bottom: 1%; left: 5%;  width: 18%; }
.nm-hero__s9  { bottom: 5%; left: 33%; width: 27%; }
.nm-hero__s10 { bottom: -2%; right: 2%; width: 25%; }
.nm-hero__s11 { top: 27%;  left: 60%;  width: 15%; }
.nm .nm-hero__title { position: relative; z-index: 3; font-size: clamp(64px, 16vw, 270px); line-height: .84; text-align: center; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.nm-hero__title .ln { display: block; overflow: hidden; padding-top: .04em; }
.nm-hero__title .ln > * { display: inline-block; }
.nm-hero__title .ln--em { padding-bottom: .14em; margin-bottom: -.14em; }
@media (max-width: 860px) {
  .nm .nm-hero__stage { min-height: clamp(520px, 120vw, 760px); }
  .nm-hero__s3, .nm-hero__s6, .nm-hero__s7, .nm-hero__s9, .nm-hero__s11 { display: none; }
  .nm-hero__s1 { top: 0; right: -2%; width: 44%; }
  .nm-hero__s2 { top: 4%; left: -2%; width: 36%; }
  .nm-hero__s4 { top: 40%; left: -6%; width: 38%; }
  .nm-hero__s5 { top: 34%; right: -3%; width: 24%; }
  .nm-hero__s8 { bottom: 0; left: 6%; width: 30%; }
  .nm-hero__s10 { bottom: 4%; right: -2%; width: 44%; }
}

/* ---------- first-visit intro ---------- */
.nm-curtain { display: none; }
html.nm-intro .nm-curtain { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.nm-curtain__bar { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--nm-ink); transition: transform 1.25s cubic-bezier(.7,0,.15,1); }
.nm-curtain__bar--t { top: 0; } .nm-curtain__bar--b { bottom: 0; }
.nm-curtain__row { position: absolute; left: var(--nm-gutter); right: var(--nm-gutter); top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; color: var(--nm-paper); transition: opacity .4s; }
.nm-curtain__row::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 14px); height: 1px; background: rgba(239,235,224,.25); transform-origin: left; transform: scaleX(var(--p, 0)); }
.nm-curtain__count { position: absolute; right: var(--nm-gutter); bottom: var(--nm-gutter); font-family: var(--nm-display) !important; font-size: clamp(72px, 14vw, 200px) !important; letter-spacing: 0 !important; line-height: .8; color: var(--nm-paper); transition: opacity .4s; }
html.nm-go .nm-curtain__bar--t { transform: translateY(-101%); }
html.nm-go .nm-curtain__bar--b { transform: translateY(101%); }
html.nm-go .nm-curtain__row, html.nm-go .nm-curtain__count { opacity: 0; }

html.nm-intro .nm-hero__title .ln > * { transform: translateY(108%); }
html.nm-intro.nm-go .nm-hero__title .ln > * { transform: none; transition: transform 1.2s cubic-bezier(.2,.8,.1,1); }
.nm-hero__title .ln:nth-child(1) > * { transition-delay: .35s !important; }
.nm-hero__title .ln:nth-child(2) > * { transition-delay: .45s !important; }
.nm-hero__title .ln:nth-child(3) > * { transition-delay: .55s !important; }
.nm-hero__title .ln:nth-child(4) > * { transition-delay: .65s !important; }
html.nm-intro .nm-hero__still { opacity: 0; clip-path: inset(48% 0 48% 0); }
html.nm-intro.nm-go .nm-hero__still { opacity: 1; clip-path: inset(0 0 0 0); transition: opacity .8s ease calc(.6s + var(--i) * .07s), clip-path 1.3s cubic-bezier(.7,0,.15,1) calc(.6s + var(--i) * .07s); }
html.nm-intro .site-header, html.nm-intro .nm-hero__meta, html.nm-intro .nm-hero__intro { opacity: 0; transform: translateY(-14px); }
html.nm-intro.nm-go .site-header, html.nm-intro.nm-go .nm-hero__meta, html.nm-intro.nm-go .nm-hero__intro { opacity: 1; transform: none; transition: opacity .8s 1.3s, transform 1s cubic-bezier(.2,.8,.1,1) 1.3s; }

/* ---------- header: refraction + chromatic aberration ---------- */
.site-header { overflow: hidden; isolation: isolate; }
.site-header::before { background:
    radial-gradient(260px 110px at var(--gx, 22%) var(--gy, -10%), rgba(255,255,255,.26), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 40%); z-index: -1; transition: background .2s; }
.site-header::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: conic-gradient(from var(--ga, 200deg), rgba(255,70,110,.75), rgba(255,210,110,.45), rgba(110,255,200,.6), rgba(80,170,255,.8), rgba(190,110,255,.6), rgba(255,70,110,.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .55; filter: blur(.3px); }
.site-header { box-shadow: inset 2px 0 3px -1px rgba(255,60,100,.35), inset -2px 0 3px -1px rgba(60,190,255,.35),
  inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.25), 0 12px 34px rgba(0,0,0,.28); }
.site-header .site-nav a, .site-header__brand { text-shadow: -.6px 0 rgba(255,60,100,.45), .6px 0 rgba(60,190,255,.45); }
.site-header.is-paper { box-shadow: inset 2px 0 3px -1px rgba(255,60,100,.28), inset -2px 0 3px -1px rgba(60,160,255,.28), inset 0 1px 0 rgba(255,255,255,.7), 0 12px 34px rgba(20,21,19,.14); }
.site-header.lg-on { -webkit-backdrop-filter: url(#nm-lg) blur(5px) saturate(185%) brightness(1.04); backdrop-filter: url(#nm-lg) blur(5px) saturate(185%) brightness(1.04);
  background: linear-gradient(180deg, rgba(30,32,29,.38), rgba(20,21,19,.22)); }
.site-header.lg-on.is-paper { background: linear-gradient(180deg, rgba(239,235,224,.5), rgba(226,221,208,.32)); }
@media (prefers-reduced-motion: reduce) { html.nm-intro .nm-curtain { display: none; } }

/* header: clear glass (round 2 look, lighter frost) */
.site-header { overflow: visible; -webkit-backdrop-filter: blur(9px) saturate(150%) !important; backdrop-filter: blur(9px) saturate(150%) !important;
  background: linear-gradient(180deg, rgba(30,32,29,.36), rgba(20,21,19,.2)) !important; border: 1px solid rgba(239,235,224,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.2), 0 10px 30px rgba(0,0,0,.2) !important; }
.site-header::before { background: radial-gradient(120% 140% at 10% -40%, rgba(255,255,255,.14), transparent 55%) !important; z-index: 0; }
.site-header > * { position: relative; z-index: 1; }
.site-header::after { display: none !important; }
.site-header .site-nav a, .site-header__brand { text-shadow: none !important; }
.site-header.is-paper { background: linear-gradient(180deg, rgba(239,235,224,.5), rgba(226,221,208,.3)) !important; border-color: rgba(20,21,19,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 30px rgba(20,21,19,.1) !important; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(20,21,19,.9) !important; } .site-header.is-paper { background: rgba(239,235,224,.92) !important; } }

/* hero: 7 b-roll stills, larger */
.nm-hero__p1 { top: 0;    right: 3%;  width: 31%; }
.nm-hero__p2 { top: 3%;   left: 7%;   width: 25%; }
.nm-hero__p3 { top: 38%;  left: -2%;  width: 28%; }
.nm-hero__p4 { top: 27%;  right: 1%;  width: 15%; }
.nm-hero__p5 { top: 46%;  left: 37%;  width: 26%; }
.nm-hero__p6 { bottom: 0; left: 8%;   width: 29%; }
.nm-hero__p7 { bottom: -3%; right: 6%; width: 31%; }
@media (max-width: 860px) {
  .nm-hero__p5 { display: none; }
  .nm-hero__p1 { top: 0; right: -2%; width: 46%; }
  .nm-hero__p2 { top: 5%; left: -2%; width: 38%; }
  .nm-hero__p3 { top: 42%; left: -8%; width: 44%; }
  .nm-hero__p4 { top: 33%; right: -3%; width: 25%; }
  .nm-hero__p6 { bottom: 1%; left: 4%; width: 46%; }
  .nm-hero__p7 { bottom: 6%; right: -3%; width: 44%; }
}

/* carousel: real scroller with hidden scrollbar */
.nm-carousel { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.nm-carousel::-webkit-scrollbar { display: none; }
.nm-carousel.is-drag { cursor: grabbing; } .nm-carousel.is-drag a { pointer-events: none; }
.nm-carousel__track { transform: none !important; }
.nm-carousel__nav { display: flex; align-items: center; gap: 10px; }
.nm-carousel__nav .nm-btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 560px) { .nm-carousel__nav .nm-label { display: none; } }

/* ---------- brand films page ---------- */
.nm-bf__lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.nm .nm-bf__title { font-size: clamp(64px, 13vw, 210px); line-height: .86; }
.nm .nm-bf__title em { display: block; margin-left: .9em; margin-top: -.18em; }
.nm-bf__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: 18px; }
.nm-bf__stats b { display: block; font-family: var(--nm-display); font-weight: 400; font-size: clamp(36px, 5vw, 72px); line-height: 1; }
.nm-bf__banner { margin-top: clamp(40px, 6vw, 80px); aspect-ratio: 21/8; }
.nm-bf__banner img { filter: brightness(.85); }
.nm-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
.nm-filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--nm-paper); }
.nm-bf__grid .nm-card.is-hidden { display: none; }
.nm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); counter-reset: s; }
.nm-steps li { border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }
.nm-steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--nm-mono); font-size: 11px; letter-spacing: .08em; color: var(--accent); }
.nm-steps h3 { font-family: var(--nm-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; margin: 12px 0 12px; }
.nm-steps p { font-size: 13px; opacity: .8; margin: 0; }
.nm-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.nm-formats div { padding: clamp(18px, 2.4vw, 32px) clamp(12px, 2vw, 28px) clamp(18px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line); }
.nm-formats h3 { font-family: var(--nm-serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); margin: 0 0 8px; color: var(--accent); }
.nm-formats p { margin: 0; font-size: 13px; max-width: 40ch; }
.nm-formats + div { margin-top: clamp(48px, 7vw, 96px); }
.nm-clients { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: clamp(32px, 5vw, 64px); }
.nm-clients span { font-family: var(--nm-display); text-transform: uppercase; font-size: clamp(24px, 3.4vw, 52px); line-height: 1.1; }
.nm-clients span:not(:last-child)::after { content: "/"; font-family: var(--nm-serif); font-style: italic; color: var(--accent); margin: 0 .35em; }
.nm-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(32px, 5vw, 64px); }
.nm-strip .nm-frame { aspect-ratio: 4/5; }
.nm-strip .nm-frame:nth-child(4n+1), .nm-strip .nm-frame:nth-child(4n+4) { aspect-ratio: 4/3; align-self: end; }
@media (max-width: 960px) { .nm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nm-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .nm-bf__lead { grid-template-columns: minmax(0, 1fr); } .nm-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nm-steps, .nm-formats { grid-template-columns: minmax(0, 1fr); } .nm-bf__stats { grid-template-columns: minmax(0, 1fr); } }
