/* Wet Nose Films. Palette pulled from Dani's own photos:
   cloud white, lake slate, shallows teal, dusk apricot, moss. */
:root {
  --paper:   #F4F2ED;  /* overcast cloud */
  --paper-2: #E7E4DC;
  --ink:     #1B2530;  /* lake at night */
  --ink-2:   #3D4C5B;  /* storm front */
  --ink-3:   #5F6B74;  /* mackerel sky */
  --lake:    #1F3A4A;
  --teal:    #2F7C7E;  /* shallows */
  --dusk:    #A8552E;  /* apricot, dark enough for text on paper */
  --dusk-lt: #E9A57C;  /* apricot for dark backgrounds */
  --moss:    #5E5333;

  /* Arial Narrow is on Macs and most Windows PCs; Archivo Narrow (Google) fills in where it is missing. */
  --sans:  'Arial Narrow', 'Archivo Narrow', Arial, sans-serif;
  --serif: var(--sans);  /* sans throughout (Sep 29 2026); old serif stack was Iowan Old Style */

  --rule: 1px solid rgba(27, 37, 48, 0.14);
  --pad-x: clamp(16px, 5vw, 64px);
  --gap-y: clamp(64px, 9vw, 120px);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-wrap: pretty;
  font-variant-ligatures: common-ligatures no-discretionary-ligatures no-historical-ligatures;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.narrow { max-width: 760px; }
.nose-defs { position: absolute; width: 0; height: 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgb(244, 242, 237);
  border-bottom: var(--rule);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(28px, 4vw, 56px); padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand .nose { width: 26px; height: 26px; color: var(--lake); }
.brand .nm { font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: clamp(22px, 3vw, 40px); font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--ink-3); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--dusk); }
/* Nav: search (magnifying glass), email (postage stamp), Instagram, LinkedIn icons */
.nav-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.nav-tools .tool-sep { width: 1px; height: 18px; background: var(--ink-3); opacity: .45; margin: 0 6px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; transition: color .15s, background .15s; }
.icon-btn:hover { color: var(--ink); background: var(--paper-2); }
.icon-btn:focus-visible { outline: 2px solid var(--dusk); outline-offset: 2px; }
@media (max-width: 760px) {
  .nav-row { flex-wrap: wrap; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .nav-tools { gap: 12px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; gap: 18px; justify-content: space-between; font-size: 14px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(43.2px, 7.2vw, 76.8px); }
h2 { font-size: clamp(31.2px, 4.1vw, 45.6px); }
h3 { font-size: 26.4px; }
.eyebrow { font-size: 14.4px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.lead { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.45; color: var(--ink-2); margin: 0; }
.accent { color: var(--dusk); font-style: italic; }
p { margin: 0 0 1em; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  color: #fff; background: var(--lake);
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 24, 32, 0.72) 0%, rgba(15, 24, 32, 0.15) 45%, rgba(15, 24, 32, 0) 70%);
}
/* White mist: the photo dissolves into a band of page white. The title rises out of it; the tagline sits on it. */
.hero { overflow: hidden; }
.hero-text { position: relative; padding-bottom: 32px; width: 100%; }
.hero h1 { position: relative; z-index: 1; font-size: clamp(50.4px, 9.6vw, 115.2px); text-shadow: 0 1px 14px rgba(15, 24, 32, 0.35); animation: rise-from-mist 2.4s cubic-bezier(.2, .7, .2, 1) .2s both; }
.hero p { position: relative; z-index: 2; font-size: clamp(17px, 1.8vw, 20px); max-width: 560px; margin: 26px 0 0; color: var(--ink-3); }
.hero p::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -100vw; right: -100vw; top: -44px; bottom: -33px;
  background: linear-gradient(to bottom, rgba(244, 242, 237, 0) 0, rgba(244, 242, 237, 0.75) 22px, rgba(244, 242, 237, 0.9) 40px);
}
@keyframes rise-from-mist {
  from { transform: translateY(clamp(90px, 11vw, 130px)); opacity: 0; filter: blur(6px); }
  60%  { opacity: 1; }
  to   { transform: none; opacity: 1; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 { animation: none; }
}
.hero .where { position: absolute; right: var(--pad-x); bottom: 16px; font-size: 12px; color: rgba(255,255,255,0.7); font-style: italic; font-family: var(--serif); }

/* ---------- page head (inner pages) ---------- */
/* Full-bleed faded photo fixed behind every page. Taller than the screen so it can drift as you scroll. */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop img {
  display: block; width: 100%; height: 145vh; object-fit: cover;
  opacity: 0.13; filter: saturate(0.7) blur(3px);
  will-change: transform;
}
.backdrop + .wrap.page-head { padding-top: clamp(72px, 10vw, 136px); }
.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 8px; }
.page-head .lead { margin-top: 16px; max-width: 640px; }

.block { padding-top: var(--gap-y); }
.block:last-child { padding-bottom: var(--gap-y); }
.intro { padding-top: clamp(48px, 7vw, 88px); }

/* ---------- photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  font-family: var(--serif); font-style: italic; font-size: 13px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0));
}
.m-wide { grid-column: span 8; aspect-ratio: 16 / 10; }
.m-side { grid-column: span 4; }
.m-third { grid-column: span 4; aspect-ratio: 4 / 3; }
.m-half { grid-column: span 6; aspect-ratio: 4 / 3; }
.m-full { grid-column: span 12; aspect-ratio: 21 / 9; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: 6px; }
  .m-wide, .m-full { grid-column: span 2; aspect-ratio: 4 / 3; }
  .m-side, .m-third, .m-half { grid-column: span 1; aspect-ratio: 1 / 1; }
}

/* ---------- doors ---------- */
.home-doors { padding-top: clamp(28px, 3.5vw, 44px); }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.door { text-decoration: none; color: var(--ink); display: block; }
.door .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.door img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.door:hover img { transform: scale(1.03); }
.door h3 { margin-top: 14px; }
.door p { color: var(--ink-3); font-size: 15px; margin: 6px 0 0; }
.door .go { color: var(--dusk); font-size: 14px; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- camera roll (still lifes) ---------- */
.roll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.roll figure { margin: 0; }
.roll .ph { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.roll img { width: 100%; height: 100%; object-fit: cover; }
.roll figcaption { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }
@media (max-width: 900px) { .roll { grid-template-columns: repeat(2, 1fr); } }

/* ---------- about ---------- */
.bio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.bio figure { margin: 0; }
.bio img { width: 100%; height: auto; }
.bio figcaption { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
@media (max-width: 800px) { .bio { grid-template-columns: 1fr; } }

.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.facts li { border-top: var(--rule); padding: 14px 0; }
.facts .k { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.facts .v { font-family: var(--serif); font-size: 19px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

/* ---------- credits ---------- */
.cred-group { margin-top: 48px; scroll-margin-top: 96px; }
.cred-sub { margin-top: 28px; }
.cred-sub h3 { font-size: 24px; margin-bottom: 6px; color: var(--ink-2); }
/* Contents row at the top of Credits */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { padding: 7px 14px; border: 1px solid rgba(27, 37, 48, 0.22); border-radius: 999px; background: rgba(244, 242, 237, 0.7);
  text-decoration: none; color: var(--ink); font-size: 15px; white-space: nowrap; }
.toc a:hover { border-color: var(--teal); color: var(--teal); }
.cred-group h2 { font-size: 31.2px; margin-bottom: 4px; }
.cred-group .note, .cred-sub .note { color: var(--ink-3); font-size: 15px; margin: 0 0 12px; }
.creds { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 48px; }
.creds li { break-inside: avoid; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 9px 0; border-top: var(--rule); }
.creds .t { font-family: var(--serif); font-size: 18px; }
.creds .y { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.creds .r { grid-column: 1 / -1; color: var(--ink-3); font-size: 14px; }
.creds.big .t { font-size: 21px; }
@media (max-width: 760px) { .creds { columns: 1; } }
.imdb-link { display: inline-block; margin-top: 28px; color: var(--dusk); }

/* ---------- writing ---------- */
.slate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.proj { display: block; text-decoration: none; color: var(--ink); border-top: var(--rule); padding: 22px 0 26px; }
.proj .meta { font-size: 13px; color: var(--ink-3); letter-spacing: 0.02em; }
.proj h3 { font-size: 33.6px; margin: 4px 0 8px; }
.proj p { margin: 0; color: var(--ink-2); }
.proj .go { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--dusk); }
.proj:hover h3 { color: var(--teal); }
.flag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-left: 8px; }
@media (max-width: 760px) { .slate { grid-template-columns: 1fr; } }
.also { list-style: none; padding: 0; margin: 0; }
.also li { border-top: var(--rule); padding: 12px 0; }
.also .t { font-family: var(--serif); font-size: 19px; }
.also .d { color: var(--ink-3); font-size: 15px; display: block; }

/* ---------- press ---------- */
.press { list-style: none; padding: 0; margin: 0; }
.press li { border-top: var(--rule); }
.press a, .press .row { display: grid; grid-template-columns: 200px 1fr auto; gap: 16px; padding: 16px 0; text-decoration: none; color: var(--ink); align-items: baseline; }
.press .src { font-size: 13px; color: var(--ink-3); }
.press .t { font-family: var(--serif); font-size: 19px; }
.press .y { font-size: 14px; color: var(--ink-3); }
.press a:hover .t { color: var(--teal); }
@media (max-width: 700px) { .press a, .press .row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.big-mail { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 36px); color: var(--ink); text-decoration-color: var(--dusk); text-underline-offset: 6px; word-break: break-word; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn { display: inline-block; padding: 10px 18px; border: 1px solid var(--ink-2); border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink); }
.btn:hover { background: var(--ink); color: var(--paper); }
.dl { margin: 0; }
.dl h3 { font-size: 15.6px; font-family: var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 28px 0 8px; }
.dl h3:first-child { margin-top: 0; }
.dl p { margin: 0 0 2px; }
.dl .sub { color: var(--ink-3); font-size: 15px; }

/* ---------- footer ---------- */
.foot { background: var(--lake); color: rgba(244, 242, 237, 0.82); margin-top: max(0px, calc(var(--gap-y) - 96px)); font-size: 14px; }
.foot a { color: var(--dusk-lt); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.foot .mark { display: flex; align-items: center; gap: 10px; color: var(--paper); }
.foot .nose { width: 22px; height: 22px; color: var(--paper); }
.foot .social { display: flex; gap: 18px; }
.foot { --nose-hole: #1F3A4A; }
.creds .t a { text-decoration: none; }
.creds .t a:hover { color: var(--teal); }
.creds .watch { font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: var(--dusk); margin-left: 8px; white-space: nowrap; }
.creds a.watch { text-decoration: none; }
.creds a.watch:hover { color: var(--teal); }
.inline-list { font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--ink-2); border-top: var(--rule); padding-top: 12px; margin: 0; }
.creds .t a, .inline-list a, .facts a { color: inherit; text-decoration: underline; text-decoration-color: rgba(27, 37, 48, 0.22); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.creds .t a:hover, .inline-list a:hover, .facts a:hover { color: var(--teal); text-decoration-color: var(--teal); }
/* Standalone Watch links (Anesthesia, Plymouth Rock) keep the apricot, not the title underline */
.creds .t a.watch { color: var(--dusk); text-decoration: none; }
.creds .t a.watch:hover { color: var(--teal); }
/* 1st AD: Commercial, TV and Feature side by side, one column each; stacked on phones */
.ad-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; align-items: start; }
.creds.one { columns: 1; }
@media (max-width: 860px) { .ad-cols { grid-template-columns: 1fr; } }
.bio p a { color: inherit; text-decoration-color: var(--dusk); text-underline-offset: 3px; }
/* About: Mermaid and Rumpel beside the certifications; stacks on phones */
.cert-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cert-dogs { margin: 0; }
.cert-dogs img { width: 100%; height: auto; display: block; }
.cert-row .facts { grid-template-columns: 1fr; }
@media (max-width: 800px) { .cert-row { grid-template-columns: 1fr; } }
/* About: young PA photo beside the certifications; dogs centered at the end */
.cert-row { grid-template-columns: minmax(0, 360px) 1fr; }
.cert-pa { margin: 0; }
.cert-pa img { width: 100%; height: auto; display: block; }
.cert-pa figcaption { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.end-dogs { max-width: 640px; margin: 0 auto; }
.end-dogs figcaption { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
@media (max-width: 800px) { .cert-row { grid-template-columns: 1fr; } .cert-pa { max-width: 360px; } }
/* Press: featured article with photo (DGA Quarterly, Blue Bloods) */
.press-feature { display: grid; grid-template-columns: minmax(0, 450px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; text-decoration: none; color: var(--ink); margin: 8px 0 40px; }
.press-feature figure { margin: 0; }
.press-feature img { width: 100%; height: auto; display: block; }
.press-feature figcaption { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.press-feature .src { font-size: 13px; color: var(--ink-3); margin: 0 0 6px; }
.press-feature h2 { font-size: clamp(28.8px, 3.6vw, 38.4px); }
.press-feature blockquote { margin: 14px 0 0; font-size: 19px; color: var(--ink-2); font-style: italic; }
.press-feature .go { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--dusk); }
.press-feature:hover h2 { color: var(--teal); }
@media (max-width: 760px) { .press-feature { grid-template-columns: 1fr; } }
/* Writing: filter chips */
.filters { margin: 0 0 28px; }
.fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 0; border-top: var(--rule); }
.flabel { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); min-width: 120px; }
.chip { font: inherit; font-size: 15px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(27, 37, 48, 0.22); background: rgba(244, 242, 237, 0.7); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--lake); border-color: var(--lake); color: var(--paper); }
.frow { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: var(--rule); font-size: 14px; color: var(--ink-3); }
.fclear { font: inherit; font-size: 14px; background: none; border: 0; color: var(--dusk); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.proj[hidden] { display: none; }
.proj .tags { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
div.proj:hover h3 { color: inherit; }
.fnone { color: var(--ink-3); padding: 24px 0; }
@media (max-width: 600px) { .flabel { min-width: 100%; } }
/* Photography: masonry gallery */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery.small { columns: 3 200px; }
.gallery .shot { display: block; margin: 0 0 14px; break-inside: avoid; overflow: hidden; background: var(--paper-2); }
.gallery img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.gallery .shot:hover img { transform: scale(1.02); }
/* About: portrait plus the early-PA photo stacked in the left column, each credited */
.bio-pics figure + figure { margin-top: 28px; }
.bio-pics figcaption { font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
/* About: name heading at 75% of the standard h1 */
h1.name-head { font-size: clamp(32.4px, 5.4vw, 57.6px); }

/* Site search dialog */
.search { width: min(640px, calc(100vw - 32px)); max-height: 80vh; padding: 0; border: 0; border-radius: 14px;
  background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.search::backdrop { background: rgba(15, 24, 32, .55); }
.search-bar { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--paper-2); }
.search-bar input { flex: 1; min-width: 0; font: 17px var(--sans); padding: 10px 12px; border: 1px solid var(--paper-2); border-radius: 8px; background: #fff; color: var(--ink); }
.search-x { font: 600 14px var(--sans); padding: 0 14px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); cursor: pointer; }
.search-res { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; max-height: calc(80vh - 76px); }
.search-res a { display: block; padding: 12px 18px; text-decoration: none; color: var(--ink); }
.search-res a:hover, .search-res a:focus-visible { background: var(--paper-2); }
.search-res b { display: block; font-size: 16px; }
.search-res span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.search-res .none { padding: 14px 18px; color: var(--ink-3); }

/* Contact: Canada and New York shooting guides side by side (stack on narrow screens) */
.shoot-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 64px); row-gap: 0; margin-top: 56px; align-items: start; }
.shoot-cols > div { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
.shoot-cols .press a { grid-template-columns: 1fr auto; gap: 2px 12px; }
.shoot-cols .press .src { grid-column: 1; }
.shoot-cols .press .t { grid-column: 1; grid-row: 2; font-size: 18px; }
.shoot-cols .press .y { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
@media (max-width: 860px) { .shoot-cols { grid-template-columns: 1fr; } .shoot-cols > div + div { margin-top: 48px; } }
