/*
Darling Projects — LOCKED MASTER
Baseline: Ghost-11-10-excel-print-socials
Do not modify established layout or print behavior except through isolated requested changes.
*/

:root {
  color-scheme: dark;
  --bg: #000;
  --text: #f5f5f3;
  --muted: #b9bcc0;
  --line: rgba(255,255,255,.18);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
button, summary { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: #fff;
  color: #000;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: .85rem clamp(1.15rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: #000;
}
.wordmark {
  display: inline-flex;
  gap: .7rem;
  align-items: baseline;
  text-decoration: none;
  letter-spacing: .22em;
  font-size: clamp(.78rem, 1.35vw, .92rem);
  white-space: nowrap;
}
.wordmark strong { font-weight: 700; }
.wordmark span { font-weight: 400; }

.menu-toggle {
  display: none;
  padding: .48rem .82rem;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: transparent;
  color: #fff;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav > a,
.papers-label {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .78rem;
  list-style: none;
}
.papers-menu { position: relative; }
.papers-list {
  position: absolute;
  top: calc(100% + .85rem);
  right: 0;
  display: grid;
  width: min(320px, 84vw);
  padding: .55rem;
  border: 1px solid var(--line);
  background: #080808;
  box-shadow: 0 20px 45px rgba(0,0,0,.55);
}
.papers-list a {
  padding: .7rem .75rem;
  text-decoration: none;
  color: rgba(255,255,255,.84);
}
.papers-list a:hover,
.papers-list a:focus-visible { background: rgba(255,255,255,.06); color: #fff; }

.hero {
  width: 100%;
  background: #000;
}

.hero-heading {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(1.75rem, 4vw, 3rem);
  text-align: center;
}
.hero-heading h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .92;
  letter-spacing: -.035em;
  white-space: normal;
}

.hero-media {
  position: relative;
  width: min(1120px, 100%);
  aspect-ratio: 882 / 510;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, #000 0%, transparent 18%);
}
.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.sound-toggle {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(0,0,0,.52);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sound-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.sound-toggle .mute { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.sound-toggle.sound-on .mute { display: none; }

.hero-copy {
  width: min(820px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(4.5rem, 9vw, 8rem);
  text-align: center;
}
.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: clamp(.76rem, 1.4vw, .9rem);
  font-weight: 700;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.lead {
  margin: 0 auto 2rem;
  max-width: 760px;
  color: #d5d6d7;
  font-size: clamp(1.22rem, 3vw, 2rem);
  line-height: 1.48;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 2rem;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  text-decoration: none;
  font-weight: 700;
}
.cta:hover,
.cta:focus-visible { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.75); }

@media (max-width: 760px) {
  .site-header { min-height: 72px; padding: .78rem 1.05rem; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .42rem 1.35rem .62rem;
    border-bottom: 1px solid var(--line);
    background: rgba(0,0,0,.98);
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: .56rem 0; font-size: .9rem; }
  .papers-menu { padding: .12rem 0 .18rem; }
  .papers-label {
    display: block;
    padding: .42rem 0 .24rem;
    color: rgba(255,255,255,.55);
    font-size: .82rem;
  }
  .papers-list {
    position: static;
    width: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .papers-list a {
    display: block;
    padding: .34rem 0 .34rem .75rem;
    font-size: .92rem;
    line-height: 1.25;
  }

  .hero-heading { padding: 2.15rem .75rem 1.5rem; }
  .hero-heading h1 {
    font-size: clamp(3.65rem, 15vw, 5rem);
    line-height: .9;
    white-space: nowrap;
  }
  .hero-media { width: 100%; }
  .sound-toggle { top: .8rem; right: .8rem; width: 44px; height: 44px; }
  .hero-copy { padding-top: 3rem; }
}

@media (max-width: 430px) {
  .wordmark { gap: .38rem; letter-spacing: .16em; font-size: .74rem; }
  .menu-toggle { padding: .42rem .72rem; font-size: .86rem; }
  .hero-heading h1 { font-size: clamp(3.55rem, 15vw, 4.2rem); }
  .hero-copy { width: min(100% - 2rem, 820px); }
  .lead { font-size: 1.18rem; }
}

/* Final homepage spacing and mobile drawer refinements */
.hero-copy {
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: 1rem;
}

@media (max-width: 760px) {
  .site-nav {
    left: .75rem;
    right: .75rem;
    top: calc(100% + .55rem);
    padding: .72rem .9rem .82rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(12,12,12,.96);
    box-shadow: 0 18px 48px rgba(0,0,0,.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .site-nav > a {
    padding: .72rem .75rem;
    border-radius: 11px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .08em;
  }
  .papers-menu {
    padding: .16rem 0 .3rem;
  }
  .papers-label {
    padding: .62rem .75rem .35rem;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .11em;
  }
  .papers-list {
    display: grid;
    gap: .12rem;
  }
  .papers-list a {
    padding: .58rem .75rem .58rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.28;
  }
  .site-nav > a:hover,
  .site-nav > a:focus-visible,
  .papers-list a:hover,
  .papers-list a:focus-visible {
    background: rgba(255,255,255,.075);
  }
  .hero-copy {
    padding-top: .85rem;
    padding-bottom: .7rem;
  }
  .eyebrow {
    margin-bottom: .9rem;
  }
  .lead {
    margin-bottom: 1.35rem;
  }
}
