:root {
  color-scheme: light;
  --paper: #f8f2e7;
  --ink: #232e28;
  --muted: #535b50;
  --green: #233d34;
  --yellow: #f6cc78;
  --line: #d9d1c4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #bd691e; outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.06; letter-spacing: -.05em; }
h3 { font-size: clamp(1.5rem, 2.7vw, 2.05rem); line-height: 1.15; letter-spacing: -.035em; }
section, details { scroll-margin-top: 1.25rem; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 3; transform: translateY(-150%); background: white; padding: .5rem 1rem; }
.skip:focus { transform: none; }
.shell { width: min(74rem, calc(100% - 7rem)); margin-inline: auto; }
.masthead {
  max-width: 94rem;
  min-height: 84px;
  margin: auto;
  padding: .9rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .67rem; text-decoration: none; flex: none; }
.brand-mark {
  display: grid;
  width: 2.36rem;
  height: 2.36rem;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--yellow);
  font: 1.48rem/1 var(--serif);
}
.wordmark { font-size: 1.64rem; letter-spacing: -.07em; }
.wordmark i { color: #805923; }
nav { display: flex; flex-wrap: wrap; gap: .35rem 2rem; }
nav a { text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero {
  margin: 0 auto;
  width: min(90rem, calc(100% - 3rem));
  min-height: clamp(35rem, 47vw, 43rem);
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: .6rem;
  background: #23362c;
  color: #fff6e6;
}
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 77%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #1d3028 7%, #1d3028 27%, #1d3028ed 37%, #1d302856 60%, transparent 79%), linear-gradient(0deg, #1c261d8a, transparent 18%); }
.hero-copy { padding: 4.3rem 0 4.7rem clamp(2.6rem, 6.1vw, 6.4rem); }
.eyebrow { color: #775122; font-size: .86rem; font-weight: 760; line-height: 1.45; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow, .screening .eyebrow { color: var(--yellow); }
.hero h1 { margin: 1.25rem 0 1.6rem; font-size: clamp(3.45rem, 6.45vw, 6.55rem); line-height: .98; letter-spacing: -.075em; }
.hero h1 em { color: #f8cc7a; font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 26rem; color: #fff3dfea; font-size: 1.08rem; }
.hero-actions { margin-top: 1.95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.55rem; }
.button { display: inline-block; border-radius: .25rem; padding: .67rem 1.05rem; text-decoration: none; font-weight: 750; }
.button-light { color: #283526; background: var(--yellow); }
.button-light:hover { background: #ffe0a2; }
.hero-link, .text-link { font-weight: 720; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.hero-link:hover, .text-link:hover { text-decoration-thickness: 2px; }
.hero-credit { position: absolute; right: 1.15rem; bottom: 1rem; color: white; background: #20291fce; padding: .2rem .55rem; border-radius: .2rem; font-size: .8rem; }

.section { padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.section-intro { margin-bottom: 2rem; }
.section-intro h2 { margin: .57rem 0 .68rem; }
.section-intro > p:last-child { max-width: 41rem; color: var(--muted); }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.book { border: 1px solid var(--line); border-radius: .46rem; overflow: hidden; background: #fffaf1; }
.book-art { display: grid; place-items: center; min-height: 15rem; padding: 1.75rem; }
.book-art-peach { background: #ecd6b8; }
.book-art-mint { background: #d6e0cd; }
.book-art img { width: auto; height: clamp(13rem, 22vw, 20rem); object-fit: contain; box-shadow: 6px 10px 22px #29291c47; border-radius: .13rem; }
.book-copy { padding: 1.45rem 1.55rem 1.75rem; }
.book-copy h3, .video-card h3 { margin: .42rem 0 .58rem; }
.book-copy > p:not(.eyebrow), .video-card > div > p:not(.eyebrow) { margin-bottom: .85rem; }
.book-copy .text-link { color: #32563e; }

.screening { background: var(--green); color: #fff7e9; }
.screening .section-intro > p:last-child, .video-card > div > p:not(.eyebrow) { color: #e9eadb; }
.video-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: 2rem; align-items: stretch; }
.video-card { padding: 1.15rem; border: 1px solid #80908370; border-radius: .45rem; background: #2e4a3e; }
.video-card video { display: block; width: 100%; height: clamp(16rem, 31vw, 27rem); object-fit: contain; background: #16271f; border-radius: .22rem; }
.video-card > div { padding: 1.15rem .3rem .3rem; }
.video-card .text-link { color: #ffdf9d; }

.workbench { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.workbench img { border-radius: .5rem; width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; }
figcaption { color: var(--muted); font-size: .85rem; margin-top: .45rem; }
.workbench h2 { margin: .58rem 0 .82rem; }
.workbench p:not(.eyebrow) { max-width: 33rem; }
.steps { padding: 0; margin: 1.35rem 0 0; list-style-position: inside; }
.steps li { padding: .6rem 0; border-top: 1px solid var(--line); }
.steps li::marker { color: #805923; font-weight: 750; }
.steps strong { margin-left: .3rem; }
.steps span { display: block; color: var(--muted); padding-left: 1.5rem; }

.notebook { background: #e9eadd; }
.notes { border-top: 1px solid #bfc6b5; }
.notes details { border-bottom: 1px solid #bfc6b5; }
.notes summary { cursor: pointer; display: flex; align-items: center; gap: .75rem 1rem; padding: 1.08rem .15rem; list-style: none; }
.notes summary::-webkit-details-marker { display: none; }
.notes summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: #4a6148; }
.notes details[open] summary::after { content: "−"; }
.notes summary > span:first-child { font: clamp(1.2rem, 2.9vw, 1.6rem)/1.2 var(--serif); }
.status { margin-left: auto; background: #f9f6ec; color: #43563f; border: 1px solid #c4ccba; padding: .15rem .55rem; border-radius: .25rem; font-size: .86rem; font-weight: 680; }
.notes details p { max-width: 45rem; padding: 0 .2rem 1.15rem; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer p { color: var(--muted); margin-top: .4rem; font-size: .92rem; }

@media (max-width: 790px) {
  .shell { width: calc(100% - 3rem); }
  .masthead { padding-inline: 1.5rem; }
  nav { gap: .35rem 1rem; }
  .hero-art { width: 100%; object-position: 67% center; }
  .hero::after { background: linear-gradient(90deg, #1d3028f8 10%, #1d3028de 34%, #1d30288f 64%, #1d302826), linear-gradient(0deg, #1d30287a, transparent 22%); }
  .workbench { gap: 2rem; }
}
@media (max-width: 580px) {
  .shell { width: calc(100% - 2.4rem); }
  .masthead { align-items: flex-start; flex-direction: column; gap: .6rem; padding: .8rem 1.2rem .95rem; }
  nav { gap: .35rem clamp(.85rem, 5vw, 1.5rem); }
  .hero { width: calc(100% - 1.4rem); min-height: 38rem; align-items: end; }
  .hero-art { height: 100%; object-position: 63% top; opacity: .76; }
  .hero::after { background: linear-gradient(0deg, #1d3028 0%, #1d3028f7 28%, #1d3028ba 57%, #1d302824 100%); }
  .hero-copy { padding: 8rem 1.35rem 3.6rem; }
  .hero h1 { margin-block: .8rem 1rem; font-size: clamp(2.65rem, 11vw, 4rem); }
  .hero .eyebrow { font-size: .78rem; }
  .desktop-break { display: none; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .hero-actions { margin-top: 1.3rem; gap: .65rem 1rem; }
  .hero-credit { right: .7rem; bottom: .55rem; }
  .book-grid, .video-grid, .workbench { grid-template-columns: 1fr; gap: 1.2rem; }
  .workbench > div { grid-row: 1; }
  .video-portrait video { height: min(105vw, 26rem); }
  .video-landscape video { height: auto; aspect-ratio: 16 / 9; }
  .notes summary { flex-wrap: wrap; }
  .notes summary::after { margin-left: 0; }
  .status { margin-left: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.founder { text-align: center; }
.founder .section-intro { margin-inline: auto; }
.founder blockquote { max-width: 760px; margin: 1.5rem auto; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.35; font-style: italic; }
.founder > p { margin: 1rem auto; }

/* Adult fiction collection */
.echoes { background: #17191d; color: #f4eee4; }
.echoes .eyebrow { color: #d7ad83; }
.echo-feature { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(2rem,6vw,6rem); }
.echo-intro h2 { margin: .65rem 0 1rem; }
.echo-tagline { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 1rem; color: #e4bea1; }
.echo-intro > p:not(.eyebrow,.echo-tagline,.echo-release) { color: #d6d4d0; max-width: 39rem; }
.echo-intro blockquote { font: italic clamp(1.4rem,2.8vw,2rem)/1.35 var(--serif); border-left: 2px solid #9e4851; margin: 1.6rem 0; padding: .4rem 1rem; }
.echo-intro cite { display: block; font: .85rem/1.5 var(--sans); color: #c4b8ad; margin-top: .6rem; }
.echo-release { display: inline-block; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; color: #f1cdab; border: 1px solid #9c7862; padding: .65rem .9rem; border-radius: .25rem; font-size: .85rem; }
.echo-collection { margin: auto; max-width: 19rem; }
.echo-collection img, .echo-book img { width: 100%; aspect-ratio: 2/3; object-fit: contain; background: #101114; border-radius: .15rem; box-shadow: 0 8px 18px #0005; }
.echo-collection figcaption { color: #c4b8ad; text-align: center; }
.echo-divider { margin: 3rem 0 1.4rem; display: flex; gap: 1rem; align-items: center; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; color: #d7ad83; }
.echo-divider::after { content: ""; flex: 1; height: 1px; background: #514a47; }
.echo-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(.8rem,2vw,1.5rem); }
.echo-number { margin-top: .8rem; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; color: #d7ad83; }
.echo-book h3 { font-size: clamp(1.15rem,2vw,1.55rem); margin: .3rem 0; }
.echo-theme { font-size: .85rem; color: #c4b8ad; }
@media(max-width:790px) { .echo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:580px) { .echo-feature { grid-template-columns: 1fr; } .echo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
