@font-face{font-family:Poppins;font-style:normal;font-weight:200;font-display:fallback;src:url('../fonts/poppins-latin-200-normal.woff2') format('woff2');}
@font-face{font-family:Poppins;font-style:normal;font-weight:100;font-display:fallback;src:url('../fonts/poppins-latin-100-normal.woff2') format('woff2');}
/* Todd Kreidler — static rebuild of toddkreidler.com (originally WordPress / YITH Wonder theme)
   Values mirror the original theme.json + block styles so the pages render the same. */

@font-face{font-family:Poppins;font-style:normal;font-weight:300;font-display:fallback;src:url('../fonts/poppins-latin-300-normal.woff2') format('woff2');}
@font-face{font-family:Poppins;font-style:italic;font-weight:300;font-display:fallback;src:url('../fonts/poppins-latin-300-italic.woff2') format('woff2');}
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:fallback;src:url('../fonts/poppins-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:Poppins;font-style:italic;font-weight:400;font-display:fallback;src:url('../fonts/poppins-latin-400-italic.woff2') format('woff2');}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:fallback;src:url('../fonts/poppins-latin-600-normal.woff2') format('woff2');}

:root {
  --base: #ffffff;
  --contrast: #404040;
  --primary: #968152;
  --secondary: #d4c492;
  --header-bg: #e8e8e8;
  --gap: 1.25rem;               /* --wp--custom--vertical-spacing (20px) */
  --content-size: 1510px;
  --fs-body: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.068), 15px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--base);
  color: var(--contrast);
  font-family: Poppins, Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif;
  font-size: var(--fs-body);
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; vertical-align: bottom; border: 0; }
strong, b { font-weight: 400; }   /* matches original (bolder than 300) */
figure { margin: 0; }

a { color: var(--primary); font-family: inherit; font-size: var(--fs-body); font-weight: 400; text-decoration: none; }
a:hover { color: var(--primary); text-decoration: underline; }
a:focus { text-decoration: underline dashed; }
a:active { text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: var(--primary); font-family: inherit; font-weight: 400; text-decoration: none; text-transform: none; margin: 0; }
h1 { font-size: clamp(25.984px, 1.624rem + ((1vw - 3.2px) * 1.217), 44px); }
h2 { font-size: clamp(24.034px, 1.502rem + ((1vw - 3.2px) * 1.079), 40px); }
h3 { font-size: clamp(21.027px, 1.314rem + ((1vw - 3.2px) * 0.877), 34px); }
h4 { font-size: clamp(18.959px, 1.185rem + ((1vw - 3.2px) * 0.746), 30px); }
h5 { font-size: clamp(15.747px, 0.984rem + ((1vw - 3.2px) * 0.558), 24px); }
h6 { font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.405), 20px); }
p { margin: 0; }

.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }

/* ---------- Layout: vertical rhythm ("flow") ---------- */
.flow > * { margin-block-start: var(--gap); margin-block-end: 0; }
.flow > :first-child { margin-block-start: 0; }
.flow > :last-child { margin-block-end: 0; }

.site > * { margin-block-start: var(--gap); margin-block-end: 0; }
.site > :first-child { margin-block-start: 0; }

/* Constrained content area */
.content { display: flow-root; }
.content > * { max-width: var(--content-size); margin-left: auto !important; margin-right: auto !important; }
.content > .alignfull { max-width: none; }
.content > .pad { padding-left: 16px; padding-right: 16px; }

/* ---------- Columns ---------- */
.cols { display: flex; flex-wrap: wrap !important; align-items: normal !important; gap: var(--gap); }
.col { flex-grow: 1; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.col.v-center { align-self: center; }
@media (min-width: 782px) {
  .cols { flex-wrap: nowrap !important; }
  .col { flex-basis: 0; flex-grow: 1; }
  .col[style*="flex-basis"] { flex-grow: 0; }
}
@media (max-width: 781px) {
  .cols:not(.keep) > .col { flex-basis: 100% !important; }
}

/* ---------- Spacer ---------- */
.spacer { display: block; }

/* ---------- Separator ---------- */
hr.sep {
  border: none;
  border-bottom: 2px solid;
  color: #808080;
  background: none;
  height: 0;
  width: 100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  opacity: 1;
  overflow: visible;
}
.content > hr.sep { padding: 0 16px; }
hr.sep.wide { width: 100%; }
hr.sep.left { margin-left: 0 !important; margin-right: auto; }
hr.sep.light { border-bottom: none; height: 1px; background-color: var(--header-bg); color: var(--header-bg); }

/* ---------- Images ---------- */
.img { display: table; }
.img.alignleft { float: left; }
.img.aligncenter { margin-left: auto; margin-right: auto; }
.img img { display: block; }

/* ---------- Video embeds ---------- */
.embed .embed-wrap { position: relative; width: 100%; }
.embed.r16x9 .embed-wrap { aspect-ratio: 16 / 9; }
.embed.r4x3 .embed-wrap { aspect-ratio: 4 / 3; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Header ---------- */
.site-header .cols { padding: 2% 3%; margin-bottom: 1.75em; }
.site-header .logo { display: block; line-height: 0; }
.site-header .logo img { width: 250px; height: auto; }
.site-header .logo:hover, .site-header .logo:focus { text-decoration: none; }

.nav { display: flex; justify-content: flex-end; align-items: center; line-height: 1.75; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--gap); }
.nav a { color: var(--contrast); font-weight: 400; text-decoration: none; display: block; line-height: 1.75; }
.nav a:hover { color: var(--primary); text-decoration: none; }
.nav a:focus { text-decoration: none; }
/* clicked / current page: thin solid line in the link's own color (no dashed focus line) */
.nav a[aria-current="page"], .nav a:focus-visible, .nav a:active {
  text-decoration: underline solid currentColor; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
/* current page: word and line in the logo's gold */
.nav a[aria-current="page"], .nav-panel.is-open a[aria-current="page"] { color: var(--primary); }

.nav-open, .nav-close { display: none; background: transparent; border: none; padding: 0; margin: 0; color: currentColor; cursor: pointer; width: 24px; height: 24px; line-height: 0; }
.nav-open svg, .nav-close svg { width: 24px; height: 24px; fill: currentColor; }

@media (max-width: 599px) {
  .nav-open { display: flex; align-items: center; justify-content: center; }
  .nav-panel { display: none; }
  .nav-panel.is-open {
    display: block; position: fixed; inset: 0; z-index: 100000; overflow: auto;
    background-color: var(--header-bg); color: #000; padding: 16px;
    animation: navFade .1s ease-out;
  }
  .nav-panel.is-open .nav-close { display: flex; position: absolute; top: 16px; right: 16px; }
  .nav-panel.is-open ul { flex-direction: column; align-items: flex-end; padding-top: calc(2rem + 24px); gap: var(--gap); }
  .nav-panel.is-open a { color: #000; }
}
@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
body.nav-locked { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer .inner { padding: 0 16px; }
.site-footer p { color: #bebebe; font-size: 10px; font-style: normal; font-weight: 400; text-align: center; max-width: var(--content-size); margin-left: auto; margin-right: auto; }

/* ---------- Home slider ---------- */
.slider { position: relative; width: 100%; aspect-ratio: 1800 / 1000; overflow: hidden; background: transparent; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: grab; }
.slider:active { cursor: grabbing; }
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 1; }
.slider .slide.active { opacity: 1; z-index: 2; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.slider .arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; transition: opacity .4s ease; }
.slider .arrow img { width: 32px; height: 32px; display: block; }
.slider .arrow.prev { left: 15px; }
.slider .arrow.next { right: 15px; }
.slider:hover .arrow, .slider .arrow:focus-visible { opacity: 1; }
@media (hover: none) { .slider .arrow { opacity: 1; } }

/* ---------- Justified gallery (FooGallery look) ---------- */
.jgallery { text-align: center; line-height: 0; }
.jgallery .jrow { display: flex; justify-content: center; margin-bottom: 2px; }
.jgallery .jitem { position: relative; display: block; overflow: hidden; margin-right: 2px; background: #fff; flex: none; opacity: 0; transition: opacity .3s ease; }
.jgallery .jitem.loaded { opacity: 1; }
.jgallery .jitem:last-child { margin-right: 0; }
.jgallery .jitem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jgallery .jitem::after { content: ""; position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.jgallery .jitem:hover::after, .jgallery .jitem:focus-visible::after { opacity: 1; visibility: visible; }
.jgallery.pending .jitem { position: absolute; visibility: hidden; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200000; background: rgba(0, 0, 0, 0.9); display: none; flex-direction: column; opacity: 0; transition: opacity .3s ease; }
.lb.open { display: flex; }
.lb.show { opacity: 1; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 50px 60px 10px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .3s ease; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.lb-stage img.fading { opacity: 0; }
.lb-btn { position: absolute; background: rgba(0,0,0,.4); border: 0; color: #fff; width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: .8; transition: opacity .2s; z-index: 2; padding: 0; }
.lb-btn:hover { opacity: 1; }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; }
.lb-close { top: 6px; right: 6px; }
.lb-full { top: 6px; right: 50px; }
.lb-thumbs-toggle { top: 6px; right: 94px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-thumbs { flex: none; height: 86px; display: flex; gap: 4px; justify-content: center; align-items: center; overflow-x: auto; padding: 8px; background: rgba(0,0,0,.3); }
.lb.no-thumbs .lb-thumbs { display: none; }
.lb-thumbs button { flex: none; height: 70px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .5; transition: opacity .2s; }
.lb-thumbs button.active, .lb-thumbs button:hover { opacity: 1; border-color: #fff; }
.lb-thumbs img { height: 100%; width: auto; display: block; }
@media (max-width: 599px) { .lb-stage { padding: 50px 8px 8px; } .lb-thumbs { height: 64px; } .lb-thumbs button { height: 48px; } }

/* ---------- Tiled gallery (Jetpack rectangular look) ---------- */
.tiled { display: flex; flex-direction: column; }
.tiled .trow { display: flex; }
.tiled .trow + .trow { margin-top: 4px; }
.tiled .tcol { display: flex; flex-direction: column; flex-grow: 0; flex-shrink: 1; }
.tiled .tcol + .tcol { margin-left: 4px; }
.tiled .titem { margin: 0; display: flex; flex-grow: 1; justify-content: center; overflow: hidden; position: relative; }
.tiled .titem + .titem { margin-top: 4px; }
.tiled .titem img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) {
  .tiled .trow { flex-direction: column; }
  .tiled .tcol { flex-basis: auto !important; width: 100%; }
  .tiled .tcol + .tcol { margin-left: 0; margin-top: 4px; }
  .tiled .titem img { height: auto; }
}

/* Screen-reader helper */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: absolute; left: 6px; top: 7px; z-index: 300000; width: auto; height: auto; clip: auto; background: #f1f1f1; color: #21759b; padding: 15px 23px 14px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* ---------- Work page: 3 across on desktop, straight to 2 across below that (never 1) ---------- */
@media (max-width: 781px) {
  .work-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 28px; padding: 0 3%; }
  .work-grid > * { margin: 0 !important; }
  .work-grid > .spacer { display: none; }
  .work-grid > .cols { display: contents; }
  .work-grid .col > p { margin-top: 10px; line-height: 1.4; }
  /* 9 projects: center the odd one out on the last line */
  .work-grid > .cols:last-of-type > .col:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
}

/* ---------- Header: menu sits flush with the bottom of the name ---------- */
@media (min-width: 782px) {
  .site-header .cols { align-items: flex-end !important; }
  .site-header .col.v-center { align-self: flex-end; }
  .site-header .nav, .site-header .nav ul { align-items: flex-end; }
  .site-header .nav a { line-height: 1; position: relative; top: var(--nav-nudge, -3.5px); }
}

/* thin divider bars in headings (Writer | Director | Collaborator) */
.pipe { font-weight: 100; }

/* footer credit link: same look as the footer text */
.site-footer p a { color: inherit; font-size: inherit; font-weight: inherit; text-decoration: none; }
.site-footer p a:hover, .site-footer p a:focus-visible { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* About: small pen-nib ornament under the name, 50% gray */
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: #808080; line-height: 0; }
.content > .ornament { margin-top: 14px !important; }
.ornament svg { display: block; flex: none; }
.ornament .rule { display: block; width: 36px; height: 0; border-top: 1px solid currentColor; }

/* About section headings: small connecting words at half size */
.sw { font-size: 0.65em; }

/* About photo strips: click to enlarge — gray dim behind, bigger arrows, endless loop */
.jgallery .jitem { cursor: zoom-in; }
.lb { background: rgba(64, 64, 64, 0.88); }
.lb-prev, .lb-next { width: 52px; height: 52px; background: rgba(0, 0, 0, 0.25); border-radius: 50%; }
.lb-prev svg, .lb-next svg { width: 28px; height: 28px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-thumbs { background: transparent; }
.lb-stage { padding: 56px 80px 12px; }
.lb-stage img { width: 100%; height: 100%; object-fit: contain; box-shadow: none; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
@media (max-width: 599px) { .lb-stage { padding: 56px 8px 8px; } .lb-prev { left: 6px; } .lb-next { right: 6px; } }

/* Extra side margin for text blocks only (images keep their width) */
.content > .copy { padding-left: clamp(18px, 8vw, 140px) !important; padding-right: clamp(18px, 8vw, 140px) !important; }

/* About: a little extra breathing room where a paragraph leads into a new section heading */
.content > p + h4 { margin-top: 34px !important; }

/* Project pages: lead image sits inside the same side margin as the text */
.copy .img.alignleft { margin-left: 0 !important; }

/* Project pages: image top aligned to the first line under the title (set by main.js) */

/* Project pages: gold rule across the top of the lead image, as thick as the title's lowercase "l" */
:root {
  --h2fs: clamp(24.034px, 1.502rem + ((1vw - 3.2px) * 1.079), 40px);
  --h4fs: clamp(18.959px, 1.185rem + ((1vw - 3.2px) * 0.746), 30px);
  --h6fs: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.405), 20px);
}
.copy > .col:first-child > figure.img { position: relative; }
.copy > .col:first-child > figure.img::before {
  content: ""; position: absolute; left: 0; right: calc(-1 * var(--rule-ext, 0px));   /* main.js stretches it toward the title */
  bottom: calc(100% + var(--rule-gap, 10px));   /* main.js sets this so the line sits on the title's baseline */
  height: calc(0.045 * var(--hfs, var(--h2fs)));
  background: var(--primary);
}

/* Project pages: Interviews / Articles / Videos headings sit close to a gold line */
h5 + hr.sep, h6 + hr.sep { margin-top: 6px !important; border-bottom-color: var(--primary); color: var(--primary); }

/* Dividers between entries (Associate Artistic Director, Dramaturg, Other Projects): subtitle gold */
hr.sep.light { background-color: var(--primary); color: var(--primary); }

/* ---------- Project pages: image + gold line placed by CSS on first paint (no jump) ----------
   Poppins metrics at line-height 1.5: first-line capital tops sit 0.30em below the line top;
   title capitals are centered 0.7515em below the title top; a word space is 0.2675em.      */
@media (min-width: 782px) {
  .copy > .col:first-child > figure.img {
    --lead-mt: calc(1.5 * var(--hfs, var(--h2fs)) + var(--gap) + 0.30 * var(--nfs, var(--fs-body)));
    margin-top: var(--lead-mt) !important;
  }
  .copy > .col:first-child > figure.img::before {
    bottom: calc(100% + var(--rule-gap, calc(var(--lead-mt) - 0.774 * var(--hfs, var(--h2fs)))));
    right: calc(-1 * var(--rule-ext, calc(var(--gap) - 0.2675 * var(--hfs, var(--h2fs)))));
  }
  /* project-page posters carry a 2% right margin, so the line reaches that much further */
  .copy > .col:first-child > figure.img.alignleft::before {
    right: calc(-1 * var(--rule-ext, calc(var(--gap) + 2.0408% - 0.2675 * var(--hfs, var(--h2fs)))));
  }
}

/* Associate Artistic Director page: no gold line; image top level with the top of the title's capitals; titles on one line */
.cap-align > .col:first-child > figure.img::before { display: none; }
.cap-align.one-line h2 { white-space: nowrap; }
@media (min-width: 782px) {
  .cap-align > .col:first-child > figure.img { margin-top: calc(0.403 * var(--hfs, var(--h2fs))) !important; }
}
/* the first row also holds a video, so its one-line title scales down a little on narrower screens instead of overlapping */
@media (min-width: 782px) {
  .cap-align:has(.embed) { --hfs: min(var(--h2fs), 3vw); }
  .cap-align:has(.embed) h2 { font-size: var(--hfs); }
}

/* Dividers between entries stay inside the same side margins as the text and images */
.content > hr.sep.light {
  width: calc(100% - 2 * clamp(18px, 8vw, 140px));
  max-width: calc(var(--content-size) - 2 * clamp(18px, 8vw, 140px));
  padding: 0 !important; margin-left: auto !important; margin-right: auto !important;
}

/* Other Projects: tighter spacing between title, subtitles, lines and links */
.tight > * + * { margin-top: 12px; }
.tight > .spacer { display: none; }
.tight > h6 + hr.sep { margin-top: -4px !important; }   /* line tucked up under the subtitle */
.tight > hr + p { margin-top: 16px; }                 /* links stay where they were */
.tight > p + p { margin-top: 4px; }
.tight > p + h6, .tight > .spacer + h6 { margin-top: 34px; }                 /* more room above Articles / Videos */

/* ---------- Sticky header: smaller name, shorter bar, stays at the top while scrolling ---------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 1000;
  background: var(--base);
  margin-bottom: 1.75em;
}
.site-header .cols { padding: 14px 3% !important; margin-bottom: 0 !important; flex-wrap: nowrap !important; align-items: flex-end !important; }
.site-header .cols > .col { flex: 1 1 auto !important; min-width: 0; }
.site-header .cols > .col:first-child { flex: 0 0 auto !important; }
.site-header .logo img { width: 180px; }
.site-header .col.v-center { align-self: flex-end; }
.site-header .nav, .site-header .nav ul { align-items: flex-end; }
.site-header .nav a { line-height: 1; position: relative; top: var(--nav-nudge, -2.5px); }
@media (max-width: 599px) {
  .site-header .cols { padding: 10px 16px !important; align-items: center !important; }
  .site-header .col.v-center { align-self: center; }
  .site-header .logo img { width: 160px; }
  .nav-panel.is-open a { top: 0; line-height: 1.75; }
}

/* ---------- Work pages: strip of the nine work thumbnails across the top ---------- */
.work-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(4px, 1vw, 14px); }
.work-strip a { display: block; position: relative; line-height: 0; }
.work-strip img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: opacity .2s ease, transform .2s ease; }
.work-strip a:hover img, .work-strip a:focus-visible img { opacity: .8; transform: translateY(-2px); }
.work-strip a:hover, .work-strip a:focus { text-decoration: none; }
/* the page you're on: thin gold bar under its thumbnail */
.work-strip a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--primary); }
/* hover label above each thumbnail: small, centered, wraps to two lines for long titles */
.work-strip a::before {
  content: attr(data-label);
  position: absolute; left: 50%; bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);
  width: max-content; max-width: 150px;
  font-size: 11px; line-height: 1.3; font-weight: 400; color: var(--primary);
  text-align: center; white-space: normal; text-wrap: balance;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.work-strip a:hover::before, .work-strip a:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }

/* Other Projects: the line under Articles / Videos is exactly the word's width, and thinner */
.tight > h6 { text-decoration: underline solid var(--primary); text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.tight > h6 + hr.sep { display: none; }
.tight > h6 + hr.sep + p { margin-top: 14px; }   /* links stay where they were */

/* Work pages: Interviews / Articles / Videos sit right on their lines (lines and links stay put) */
main h5 { position: relative; top: 9px; }
.tight > h6 { text-underline-offset: 7px; }

/* Work pages: thinner line under Interviews / Articles / Videos (matches Other Projects) */
h5 + hr.sep { border-bottom-width: 1px; }

/* ornament: dashes in the title gold */
.ornament .rule { border-top-color: var(--primary); }

/* ornament: Todd's quill mark between the gold dashes */
.ornament img.quill { display: block; height: 26px; width: auto; flex: none; }
