/* delilah-dagger.com · Deckle Edge */
:root {
  --paper: #f1ece2;
  --paper-2: #e9e2d4;
  --paper-3: #e2d9c8;
  --ink: #22201d;
  --ink-2: #3a352e;
  --muted: #5e574d;
  --silver: #9aa0a6;
  --rule: #c8bfae;
  --berry: #7d3a4a;
  --berry-deep: #612e3a;
  --shell: 1180px;
  --display: 'Kalnia', Georgia, 'Times New Roman', serif;
  --body: 'Clarity City', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  z-index: 80;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: .85rem 28px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand-mark { width: 17px; height: 17px; color: var(--berry); flex: none; }
.main-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.main-nav a {
  color: #2b2723;
  background: #f1ece2;
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .01em;
  padding: .2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}
.main-nav a:hover {
  color: #22201d;
  background: #e7e0d2;
  border-bottom-color: #7d3a4a;
}
.main-nav a[aria-current="page"] {
  color: #22201d;
  background: #e7e0d2;
  border-bottom-color: #22201d;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 500;
  font-size: .94rem;
  letter-spacing: .02em;
  text-decoration: none;
  padding: .8rem 1.55rem;
  background: var(--berry);
  color: var(--paper);
  border: 1px solid var(--berry);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--berry-deep); color: var(--paper); border-color: var(--berry-deep); }
.main-nav a.btn {
  color: #f7f2e7;
  background: #7d3a4a;
  border-bottom-color: #7d3a4a;
  padding: .48rem 1.05rem;
  font-size: .84rem;
}
.main-nav a.btn:hover {
  color: #f7f2e7;
  background: #612e3a;
  border-bottom-color: #612e3a;
}

/* hero */
.hero { padding: 2.4rem 0 3rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--berry);
  margin: 0 0 1.1rem;
}
.hero-copy h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.9rem, 6.6vw, 5.4rem);
  line-height: .9;
  letter-spacing: -.025em;
  margin: 0 0 1.3rem;
}
.hero-copy h1 span { display: block; }
.hero-copy h1 .line-2 { color: var(--berry); }
.hero-lead {
  max-width: 42ch;
  font-size: 1.06rem;
  color: var(--ink-2);
  margin: 0 0 .85rem;
}
.hero-meta {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.7rem;
}
.hero-cta { background: #7d3a4a; color: #f7f2e7; }
.hero-cta:hover { background: #612e3a; color: #f7f2e7; }
.hero-figure {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 500px;
  justify-self: end;
}
.hero-figure img { width: 100%; filter: saturate(.94) contrast(1.02); }
.hero-tear {
  position: absolute;
  left: -1px;
  top: 0;
  height: 100%;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

/* sections */
.section { padding: 3rem 0; border-top: 1px solid var(--rule); }
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}
.sec-num {
  font-family: var(--display);
  font-size: .86rem;
  color: var(--berry);
  letter-spacing: .1em;
}
.sec-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
}
.sec-rule {
  flex: 1 1 120px;
  min-width: 60px;
  height: 1px;
  position: relative;
  top: -.4rem;
  background: linear-gradient(90deg, #9aa0a6, rgba(154, 160, 166, 0));
}
.sec-rule::after {
  content: "";
  position: absolute;
  right: 0;
  top: -6px;
  width: 1px;
  height: 14px;
  background: var(--berry);
  transform: rotate(16deg);
}
.sec-intro { max-width: 62ch; color: var(--muted); margin: 0 0 1.6rem; }

/* partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  gap: 16px;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  padding: 14px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  transition: border-color .18s ease, background .18s ease;
}
.partner-card:hover { border-color: var(--berry); background: var(--paper-3); }
.partner-card img { max-width: 210px; max-height: 108px; width: auto; height: auto; object-fit: contain; }

/* quick profile: two-column dossier */
.dossier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.4rem;
  border-top: 1px solid var(--ink);
}
.dossier dl { margin: 0; }
.dossier .row {
  display: grid;
  grid-template-columns: 9.6rem 1fr;
  gap: .9rem;
  padding: .78rem 0;
  border-bottom: 1px solid var(--rule);
}
.dossier dt {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--berry);
}
.dossier dd { margin: 0; font-size: .95rem; color: var(--ink-2); }

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 3.2rem;
  align-items: start;
}
.about-copy p { color: var(--ink-2); max-width: 66ch; }
.about-figure { margin: 0; justify-self: end; width: 100%; max-width: 350px; position: relative; }
.about-figure::before {
  content: "";
  position: absolute;
  inset: auto auto -10px -10px;
  width: 26px;
  height: 26px;
  border-left: 1px solid var(--berry);
  border-bottom: 1px solid var(--berry);
}
.about-figure img { width: 100%; }

/* timeline, knife-cut nodes */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--silver);
}
.timeline li { position: relative; padding: 0 0 1.45rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  margin-left: -5px;
  top: .55em;
  width: 10px;
  height: 10px;
  background: var(--berry);
  transform: skewX(-18deg);
}
.timeline .when {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: .18rem;
}
.timeline .what { display: block; color: var(--ink-2); font-size: .97rem; }
.timeline--full .what { max-width: 64ch; }

/* gallery 2 x 2 */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 720px;
}
.gal-item { margin: 0; position: relative; background: var(--paper-2); }
.gal-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(34, 32, 29, .16);
  pointer-events: none;
}
.gal-item:nth-child(even) { margin-top: 22px; }

/* social */
.social-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.social-list li { border-bottom: 1px solid var(--rule); }
.social-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.4rem;
  padding: .95rem .2rem;
  text-decoration: none;
  transition: background .18s ease, padding-left .18s ease;
}
.social-p { font-family: var(--display); font-size: 1.12rem; }
.social-h { color: var(--muted); font-size: .9rem; }
.social-list a:hover { background: var(--paper-2); padding-left: .85rem; }

/* subpages */
.page-head { padding: 2.9rem 0 1.9rem; border-bottom: 1px solid var(--rule); }
.page-kicker {
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--berry);
  margin: 0 0 .8rem;
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.05rem, 4.6vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0 0 .9rem;
  max-width: 22ch;
}
.page-lead { max-width: 60ch; color: var(--muted); margin: 0; }
.article { padding: 0; }
.article h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.24rem, 2.4vw, 1.58rem);
  line-height: 1.2;
  margin: 2.1rem 0 .7rem;
}
.article h2:first-child { margin-top: 0; }
.article p { color: var(--ink-2); max-width: 68ch; }
.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.4rem;
  align-items: start;
  padding: 2.6rem 0 3.4rem;
}
.bio-aside { position: sticky; top: 96px; }
.facts { border-top: 1px solid var(--ink); padding-top: .9rem; }
.facts-title {
  font-family: var(--display);
  font-size: 1.02rem;
  margin: 0 0 .6rem;
}
.fact-row {
  display: grid;
  gap: .08rem;
  padding: .62rem 0;
  border-bottom: 1px solid var(--rule);
}
.fact-k {
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--berry);
}
.fact-v { font-size: .9rem; color: var(--ink-2); }

.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 340px;
  gap: 3.4rem;
  align-items: start;
  padding: 2.6rem 0 3.4rem;
}
.career-intro { color: var(--ink-2); max-width: 62ch; margin-bottom: 1.9rem; }
.side-box {
  background: var(--paper-2);
  border-top: 2px solid var(--berry);
  padding: 1.25rem 1.35rem 1.35rem;
  margin: 0 0 1.2rem;
}
.side-box h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0 0 .65rem;
}
.side-box p { color: var(--ink-2); font-size: .9rem; margin: 0 0 .7rem; }
.side-box p:last-child { margin-bottom: 0; }
.studio-row {
  display: grid;
  gap: .05rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--rule);
}
.studio-name { font-size: .92rem; }
.studio-note { font-size: .8rem; color: var(--muted); }
.side-note { font-size: .78rem !important; color: var(--muted) !important; margin-top: .7rem !important; }

.film-wrap { padding: 2.6rem 0 3.4rem; }
.film-intro { max-width: 68ch; color: var(--ink-2); margin-bottom: 2rem; }
.block-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin: 2.2rem 0 .9rem;
}
.block-title:first-of-type { margin-top: 0; }
.title-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.title-row {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) 12rem;
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.title-year {
  font-family: var(--body);
  font-weight: 600;
  font-size: .86rem;
  color: var(--berry);
  font-variant-numeric: tabular-nums;
}
.title-name { font-size: .98rem; }
.title-studio { font-size: .84rem; color: var(--muted); }
.film-notes p { color: var(--ink-2); max-width: 70ch; font-size: .92rem; }

.faq-wrap { padding: 2.6rem 0 3.4rem; }
.faq-list { border-top: 1px solid var(--ink); max-width: 78ch; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 1.1rem 0 1.2rem; }
.faq-q {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 .45rem;
}
.faq-a { color: var(--ink-2); margin: 0; max-width: 70ch; }

/* 404 */
.error-page { padding: 5rem 0 6rem; }
.error-code {
  font-family: var(--body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .22em;
  color: var(--berry);
  margin: 0 0 1rem;
}
.error-page h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.error-text { max-width: 52ch; color: var(--ink-2); margin: 0 0 1.8rem; }

/* footer */
.site-footer {
  border-top: 1px solid var(--ink);
  padding: 2.2rem 0 2.6rem;
  background: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.6rem;
  align-items: center;
}
.footer-brand { font-family: var(--display); font-size: 1.08rem; margin: 0; }
.footer-line { color: var(--muted); font-size: .84rem; margin: .2rem 0 0; max-width: 36ch; }
.footer-langs { display: flex; flex-wrap: nowrap; gap: .25rem .8rem; justify-content: center; }
.footer-langs a {
  color: #4a443c;
  background: #f1ece2;
  text-decoration: none;
  font-size: .86rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}
.footer-langs a:hover { color: #7d3a4a; background: #e9e2d4; border-bottom-color: #7d3a4a; }
.footer-langs a[aria-current="true"] { color: #7d3a4a; background: #e9e2d4; }
.footer-copy { margin: 0; text-align: right; font-size: .84rem; color: #4a443c; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-figure { justify-self: start; max-width: 430px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-figure { justify-self: start; }
  .bio-layout, .career-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .bio-aside { position: static; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .footer-langs { justify-content: flex-start; }
  .footer-copy { text-align: left; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 19px; padding-right: 19px; }
  .header-inner { gap: .5rem 1rem; }
  .main-nav { gap: .7rem .9rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 128px; padding: 12px; }
  .partner-card img { max-width: 150px; max-height: 84px; }
  .dossier { grid-template-columns: 1fr; gap: 0; }
  .dossier .row { grid-template-columns: 8.6rem 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gal-item:nth-child(even) { margin-top: 0; }
  .title-row { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .title-studio { grid-column: 2; }
  .social-list a { flex-direction: column; gap: .15rem; }
  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
}
