/* ============================================================
   dawnheumann.com — single stylesheet
   Direction (approved July 2026): carry over current brand.
   Warm cream, rust logo, gold caps nav, thin display headings,
   masonry galleries. Mobile-first. No frameworks.
   ============================================================ */

:root {
  --bg: #f3ece5;        /* warm cream, Dawn's exact brand hex */
  --ink: #33302c;       /* warm near-black */
  --rust: #b16045;      /* logo + accent, Dawn's exact brand hex */
  --gold: #b28114;      /* nav caps, Dawn's exact brand hex */
  --gold-hover: #d7b262; /* hover state, Dawn's exact brand hex */
  --charcoal: #55504a;  /* body copy, softer than ink */
  --muted: #7d766c;     /* secondary text */
  --faint: #a49b8d;     /* footer bio */
  --line: #ddd2c4;      /* hairline borders */
  --img-placeholder: #e6dccf;
  --max-width: 1200px;
  --measure: 62ch;
  --display: "Helvetica Neue", "Avenir Next", Helvetica, Arial, sans-serif;
  --serif: "freight-big-pro", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; /* FreightBig Pro via Adobe Fonts kit kja4uqx (Dawn, July 2026); Light 300 pending in kit, Book 400 live */
  --body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--img-placeholder); /* holds space while images load */
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover { color: var(--rust); }

/* ------------------------------------------------------------
   Typography — thin display caps + clean sans
   ------------------------------------------------------------ */

h1, h2 {
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 {
  font-family: var(--display);
  font-weight: 100;
  text-transform: uppercase;
}

h1 { font-size: 1.9rem; letter-spacing: 0.12em; }
h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300; /* FreightBig Light Italic once the kit carries it; renders Book until then */
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 1.65rem;
  margin-top: 2.5em;
  color: var(--rust);
}

h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 1.75em 0 0.5em;
}

@media (min-width: 760px) {
  h1 { font-size: 2.4rem; }
}

p {
  margin: 0 0 1.1em;
  max-width: var(--measure);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400; /* FreightBig Book Italic */
  letter-spacing: 0.02em;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--rust);
}

.muted { color: var(--muted); }

/* ------------------------------------------------------------
   Layout
   ------------------------------------------------------------ */

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main { padding-bottom: 4rem; }

section { margin-top: 3rem; }

/* ------------------------------------------------------------
   Header + nav — centered, like the current site
   ------------------------------------------------------------ */

.site-header {
  padding: 2rem 0 1.25rem;
}

.site-header .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 0 3.25rem 0 1.25rem;
}

@media (min-width: 760px) {
  .site-header .wrap {
    align-items: center;
    padding: 0 1.25rem;
  }
}

.site-logo {
  font-family: var(--display);
  font-weight: 100; /* Helvetica Neue UltraLight, per Dawn's logo spec */
  font-size: clamp(1.9rem, 8.5vw, 7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rust);
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
  transform: scaleX(1.14); /* 114.5% horizontal scale, per logo spec */
  transform-origin: left center;
}

@media (min-width: 760px) {
  .site-logo { transform-origin: center; }
}

.site-logo:hover { color: var(--rust); opacity: 0.8; }

.nav-toggle {
  position: absolute;
  top: 0.2rem;
  right: 0.5rem;
  background: none;
  border: none;
  padding: 0.6rem;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; }

.site-nav.is-open { display: block; }

.site-nav {
  width: 100%;
}

.site-nav ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.site-nav li { border-top: 1px solid var(--line); }

.site-nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav a:hover { color: var(--gold-hover); }

/* Desktop nav: always visible, centered row */
@media (min-width: 760px) {
  .nav-toggle { display: none; }

  .site-nav { display: block; width: auto; }

  .site-nav ul {
    flex-direction: row;
    gap: 2.25rem;
    margin: 0;
  }

  .site-nav li { border: none; }

  .site-nav a { padding: 0; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero { margin-top: 0.5rem; }

.hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 760px) {
  .hero img { aspect-ratio: 21 / 9; }
}

.identity { margin-top: 2.5rem; }

.identity h1 { max-width: 30ch; }

.identity h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--rust);
  margin-top: 0.7em;
}

/* Bio page: text left, portrait right (stacks on small screens, photo first) */
.bio-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.bio-cols picture img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 799px) {
  .bio-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .bio-cols picture { order: -1; max-width: 420px; }
}

/* ------------------------------------------------------------
   Galleries — masonry (natural image heights, staggered)
   ------------------------------------------------------------ */

.gallery {
  columns: 1;
  column-gap: 1.25rem;
}

.gallery img {
  width: 100%;
  margin-bottom: 1.25rem;
  break-inside: avoid;
  min-height: 200px; /* placeholder scaffolding until real images land */
}

.gallery picture {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

.gallery picture img {
  margin-bottom: 0;
  min-height: 0;
  height: auto;
}

/* ------------------------------------------------------------
   Adaptive grid masonry (Dawn, July 2026). Replaces the column
   masonry above on galleries that opt in with .gallery--grid.
   Fills in READING order (so sequence position maps to on-screen
   position: pos 2 = top center), with verticals spanning taller
   than horizontals for the "horizontals flank a center vertical"
   rhythm. Row spans are set by JS in main.js from each image's
   intrinsic width/height, so there is no layout shift; if JS is
   off it still renders as a clean single-column stack.
   ------------------------------------------------------------ */
.gallery--grid {
  columns: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  grid-auto-rows: 8px;
  grid-auto-flow: row dense;
}

.gallery--grid picture,
.gallery--grid .video-tile,
.gallery--grid .video-band {
  margin-bottom: 0;
  break-inside: auto;
}

.gallery--grid img { margin-bottom: 0; min-height: 0; }
.gallery--grid .video-band { grid-column: 1 / -1; }

@media (min-width: 600px) {
  .gallery--grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .gallery--grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery video {
  width: 100%;
  height: auto; /* else the height attribute wins and the video letterboxes */
  margin-bottom: 1.25rem;
  break-inside: avoid;
}

/* Featured video in a mostly-stills gallery (project pages): spans the full
   gallery width as a cinematic band. Placed ~3rd in source order so it lands
   after the opening stills. Dawn's rule, July 2026.
   NOTE: column-span is ignored on the <video> element itself (replaced-element
   quirk), so the span lives on a div wrapper emitted by reorder_page.py. */
.gallery .video-band {
  column-span: all;
  margin: 0.25rem 0 1.5rem 0;
}
.gallery .video-band video {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

/* Column-width video that carries a credit (keeps video + credit together) */
.gallery .video-tile {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}
.gallery .video-tile video { margin-bottom: 0; }

/* DP credit line under a gallery video (quiet link keeps it invisible).
   Serif italic like the ledes, 30% smaller, muted gray (Dawn's spec). */
.gallery .video-credit {
  margin: 0.5rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.02em;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--muted);
}

@media (min-width: 600px) {
  .gallery { columns: 2; }
}

@media (min-width: 960px) {
  .gallery { columns: 3; }
}

/* Category + journal tiles (linked grids stay uniform for scanability) */
.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.tiles a { text-decoration: none; display: block; }

.tiles img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tiles .tile-label {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.2rem; /* Dawn: 40% larger, July 2026 */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.tiles a:hover .tile-label { color: var(--gold-hover); }

@media (min-width: 600px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------------------
   Logo ticker (wine page) — pure CSS marquee
   ------------------------------------------------------------ */

.logo-ticker {
  /* Full-bleed near-white band so the marquee reads as its own section
     (Dawn, July 2026: "closer to white, but not white"). */
  background: #faf7f2;
  margin-top: 3.5rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 1.6rem 0;
}

.logo-ticker .lane {
  overflow: hidden;
  /* soften the entry/exit so logos fade at the edges instead of clipping */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-ticker .track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: ticker-glide 40s linear infinite;
}

.logo-ticker:hover .track { animation-play-state: paused; }

.logo-ticker img {
  height: 40px;
  width: auto;
  min-height: 0;
  background: none;
  opacity: 0.7;
}

@keyframes ticker-glide {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-ticker .track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1.5rem;
  }
  .logo-ticker .track img[aria-hidden="true"] { display: none; }
}

/* ------------------------------------------------------------
   Client list
   ------------------------------------------------------------ */

.client-list-clip { overflow: hidden; margin-top: 1rem; }

.client-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 calc(-1.6rem - 1px); /* pulls line-start separators outside the clip */
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
}

.client-list li {
  position: relative;
  padding-left: calc(1.6rem + 1px);
}

.client-list li::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.75em;
  background: var(--gold-hover);
}

/* Region links styled to mirror the Selected Clients list: same quiet
   pipe-separated flow, with a faint underline so they read as links. */
.client-list a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.client-list a:hover {
  color: var(--rust);
  border-color: var(--rust);
}

/* ------------------------------------------------------------
   Buy block — sales-page CTA (Production Docs, July 2026)
   ------------------------------------------------------------ */

.buy {
  text-align: center;
  margin: 2.75rem 0 1rem;
}

.buy .price-note {
  max-width: none;
  margin: 2rem auto 0; /* extra breathing room under the button (Dawn, July 2026) */
  font-size: 0.82rem;
  color: var(--muted);
}

/* "This is for you if" affirmation list on the sales page */
.for-you {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  max-width: var(--measure);
}

.for-you li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0 0 0.7rem;
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 0.95rem;
}

.for-you li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold-hover);
}

/* Testimonials (revealed once real quotes are added) */
.testimonial {
  border-left: 2px solid var(--gold-hover);
  margin: 1.75rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  max-width: var(--measure);
}

.testimonial p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rust);
  margin: 0 0 0.6rem;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------
   Inline newsletter signup (bio, contact, resources) — replaces the
   retired subscribe page (Dawn, July 2026). Posts email to Mailchimp.
   ------------------------------------------------------------ */

.newsletter { margin: 3.5rem 0 1rem; }

/* "Back to Unscripted" link, styled to match the gold serif Newsletter title */
.entry-back {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  margin-top: 2.5rem;
}
.entry-back a { color: inherit; text-decoration: none; }
.entry-back a:hover { color: var(--gold-hover); }

.newsletter-title {
  font-family: var(--serif);
  color: var(--gold);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  margin: 0 0 1.75rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 34rem;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  flex: 1 1 14rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(125, 118, 108, 0.1); /* soft warm grey, feminine (Dawn, July 2026) */
  padding: 0.75rem 1rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.newsletter-form input::placeholder { color: var(--muted); font-style: italic; }
.newsletter-form input[type="email"]:focus,
.newsletter-form input[type="text"]:focus {
  outline: none;
  background: rgba(125, 118, 108, 0.05);
  border-color: var(--gold);
}

.newsletter-form button {
  border: 1px solid var(--gold);
  background: none;
  cursor: pointer;
  color: var(--gold);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.newsletter-form button:hover { background: var(--gold); color: var(--bg); }
.newsletter-form .mc-hidden { position: absolute; left: -5000px; }

/* ------------------------------------------------------------
   Project pager — previous/next links so visitors can walk the
   projects without returning to the index (loops at the ends)
   ------------------------------------------------------------ */

.project-pager {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.25rem 0; /* even space inside both rules so the nav is its own moment */
  margin: 5rem 0 3.5rem; /* dropped down to clear content above (newsletter, page strips) — Dawn July 13 2026 */
}

/* a CTA directly below the pager shouldn't draw a second rule right under the pager's bottom border */
.project-pager + .cta {
  border-top: none;
  padding-top: 0;
}

.project-pager a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
}

.project-pager a[rel="next"] { text-align: right; margin-left: auto; }

.project-pager .pager-dir {
  font-family: var(--display);
  font-size: 0.99rem; /* 30% smaller, Dawn July 13 2026 */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.project-pager .pager-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.4rem; /* 30% smaller, Dawn July 13 2026 */
  color: var(--muted);
}

.project-pager a:hover .pager-dir { color: var(--gold-hover); }
.project-pager a:hover .pager-name { color: var(--rust); }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */

.faq-item {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 0.25rem;
  margin-top: 1.25rem;
}

.faq-item h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

/* ------------------------------------------------------------
   Unscripted
   ------------------------------------------------------------ */

.unscripted-tiles .tile-date {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: none;
  font-family: var(--body);
}

.unscripted-entry { margin-top: 3rem; }

.unscripted-entry .entry-meta {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0;
}

.unscripted-entry video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--img-placeholder);
  margin: 0;
}

.unscripted-entry .entry-video { max-width: 380px; margin: 0 0 1.75rem; }
.unscripted-entry .entry-body > :first-child { margin-top: 0; }

/* Entry page: video on the left, copy on the right (Dawn, July 2026 —
   the tall video was hiding the write-up below it) */
@media (min-width: 800px) {
  .unscripted-entry {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3rem;
    align-items: start;
  }
  .unscripted-entry .entry-video { margin: 0; }
}

/* ------------------------------------------------------------
   Contact form (Netlify)
   ------------------------------------------------------------ */

.contact-form {
  max-width: 32rem;
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fffdf9;
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--rust);
  outline-offset: 1px;
}

.contact-form textarea { min-height: 9rem; resize: vertical; }

button.button {
  background: none;
  cursor: pointer;
  justify-self: start;
}

/* ------------------------------------------------------------
   CTA + buttons
   ------------------------------------------------------------ */

.cta {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  text-align: center; /* Dawn: center CTAs on all pages, July 2026 */
}

.cta p { margin-left: auto; margin-right: auto; }

.cta .button { margin-top: 2.25rem; } /* air between the text and the pill (Dawn, July 2026) */

/* contact forms inside a centered CTA keep left-aligned fields, centered as a block */
.cta .contact-form { text-align: left; margin-left: auto; margin-right: auto; }

.button {
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 999px; /* pill, Tara Donne-style (Dawn, July 2026) */
  padding: 1.1rem 2.8rem;
  background: none;
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
}

.button:hover {
  background: none;
  border-color: var(--gold-hover);
  color: var(--gold-hover);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  margin-top: 2rem;
  padding: 0 0 3rem;
  font-size: 0.78rem;
  color: var(--faint);
  text-align: center;
}

.site-footer .footer-bio p {
  max-width: none;
  margin: 0 auto 0.45em;
  font-size: 0.78rem;
  color: var(--faint);
  line-height: 1.6;
}

@media (min-width: 760px) {
  .site-footer .footer-bio p { white-space: nowrap; }
}

.site-footer a { color: inherit; }

.site-footer a:hover { color: var(--rust); }

/* Footer nav links sit at the TOP of the footer, prominent (Dawn, July 2026:
   they were getting lost below the bio). The hairline now sits under them. */
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 2.1rem;
  /* full-bleed near-white band (same as the logo ticker) so the nav pops */
  background: #faf7f2;
  margin: 0 calc(50% - 50vw);
  padding: 1.6rem 1.5rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer .footer-bio {
  border-top: 1px solid var(--line);
  margin-top: 2.25rem;
  padding-top: 2.25rem;
}

.footer-links a:hover { color: var(--gold-hover); }

/* Quiet links: crawlable but visually identical to plain text */
a.quiet,
a.quiet:hover {
  color: inherit;
  text-decoration: none;
}

/* Three-image strip: gives text pages an image for rich search results */
.page-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 6rem 0 0; /* generous gap so the strip reads as its own moment (Dawn, July 2026) */
}

.page-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  min-height: 0;
}

/* Compact contact form on specialty landing pages */
.contact-form-compact {
  margin-top: 1.8rem;
  max-width: 34rem;
}

/* Unscripted index: text-first entry list (tiles return when video stills land) */
.entry-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem 1.5rem;
  align-items: start;
}

@media (min-width: 600px) { .entry-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .entry-list { grid-template-columns: repeat(3, 1fr); } }

.entry-list li {
  border-bottom: none;
  padding: 0;
}

.entry-list .entry-date {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.45rem;
}

.entry-list h2 { margin: 0 0 0.45rem; }

.entry-list h2 a {
  text-decoration: none;
  color: inherit;
}

/* DTC reel inline on the Unscripted index: plays in place (poster only
   until tapped; preload none keeps 17 videos from loading upfront) */
.entry-list video {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 9 / 16;
  background: var(--img-placeholder);
  margin: 0;
}

/* grid video = clickable thumbnail linking to the post, with a play cue */
.entry-list .entry-card-media {
  display: block;
  position: relative;
  margin: 0.9rem 0;
  cursor: pointer;
}
.entry-list .entry-card-media::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.45));
}

.entry-list h2 { font-size: 1.15rem; margin-top: 0; }

/* reserve two title lines so the videos in each grid row start level */
@media (min-width: 600px) {
  .entry-list h2 { min-height: 2.9em; }
}

/* Resources: Free | Courses & Tools side by side, center-aligned (Dawn, July 2026) */
.resource-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .resource-cols { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.resource-cols section { text-align: center; }

.resource-cols h2 { margin-top: 1.5em; }

.resource-cols .btn-pill,
.resource-cols p {
  margin-left: auto;
  margin-right: auto;
}

/* Pill buttons (Tara Donne-style outlines; Dawn, July 2026) */
.btn-pill {
  display: block;
  max-width: 420px;
  margin: 0 0 1.1rem;
  padding: 1.3rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.btn-pill:hover { color: var(--gold-hover); border-color: var(--gold-hover); }

.entry-list h2 a:hover { color: var(--gold-hover); }

.entry-list p { margin: 0; }

/* ------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------ */

.lb-zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(243, 236, 229, 0.88);
  z-index: 100;
}

.lightbox.is-open { display: flex; }

.lightbox-video video {
  max-width: min(92vw, 1600px);
  max-height: 86vh;
  width: auto;
  height: auto;
  background: #000;
  box-shadow: 0 12px 48px rgba(51, 48, 44, 0.18);
}

/* gallery videos read as clickable (open enlarged in the lightbox) */
.gallery video { cursor: zoom-in; }

.lightbox img {
  max-width: min(90vw, 1600px);
  max-height: 86vh;
  width: auto;
  height: auto;
  background: none;
  box-shadow: 0 12px 48px rgba(51, 48, 44, 0.18);
  cursor: pointer;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--rust);
  font-family: var(--display);
  font-weight: 100;
  line-height: 1;
  padding: 0.75rem;
  z-index: 2;
}

.lb-close { top: 0.75rem; right: 1.1rem; font-size: 2.8rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 4.5rem; font-weight: 200; }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }

.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--gold-hover); }

.lb-count {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
}

@media (max-width: 600px) {
  .lightbox img { max-width: 96vw; }
  .lb-prev, .lb-next { font-size: 3rem; padding: 0.5rem; }
  .lb-prev { left: 0.3rem; }
  .lb-next { right: 0.3rem; }
}

/* ------------------------------------------------------------
   Projects page: masonry tiles, natural aspect ratios
   (mirrors .gallery so the page reads like the rest of the site)
   ------------------------------------------------------------ */

.tiles-masonry {
  columns: 1;
  column-gap: 1.25rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.tiles-masonry li {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

.tiles-masonry a { text-decoration: none; display: block; }

.tiles-masonry img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 600px) {
  .tiles-masonry { columns: 2; }
}

@media (min-width: 960px) {
  .tiles-masonry { columns: 3; }
}

/* ------------------------------------------------------------
   Projects page: client name overlaid on tiles
   ------------------------------------------------------------ */

.tiles-overlay a { position: relative; }

/* soft scrim so names read on any image */
.tiles-overlay a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(51, 48, 44, 0.22);
  transition: background 0.2s ease;
}

.tiles-overlay a:hover::after { background: rgba(51, 48, 44, 0.34); }

.tiles-overlay .tile-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 0.75rem;
  text-align: center;
  color: #ffffff;
  font-size: 1.65rem; /* Dawn: +50%, July 2026 */
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
