/* aisabellastock.com: paper, ink, and her cardigan's mustard as the only accent */
:root {
  --paper: #F4F1EA; --card: #FBF9F4; --ink: #161513; --text: #3A3732; --muted: #5E5A52;
  --line: #D9D3C7; --mustard: #C8961E; --on-dark: #F4F1EA; --on-dark-soft: #CFC8BA;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 760px; }
.section { padding-top: 96px; padding-bottom: 80px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split.center { align-items: center; }
.split.end { align-items: flex-end; justify-content: space-between; gap: 16px 56px; }
.split.top-align { align-items: flex-start; }
.col { display: flex; flex-direction: column; gap: 16px; }
.gap-l { gap: 32px; }
.grow { flex: 1 1 440px; min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.italic { font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header and footer */
.top { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 30px; text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a, .foot-nav a { text-decoration: none; padding: 10px 0; }
.foot { border-top: 1px solid var(--line); }
.foot-in { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.foot-left { display: flex; flex-direction: column; gap: 6px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot a { color: var(--muted); }

/* type */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mustard-t { color: var(--mustard); }
.display { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.02em; }
.h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.02em; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.01em; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 36rem; }
.lead.light { color: var(--on-dark-soft); }
.body { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 40rem; }
.body.small { font-size: 15px; line-height: 1.5; }
.body p + p { margin-top: 4px; }
.muted { color: var(--muted); }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.quote { font-family: var(--serif); font-size: 32px; line-height: 1.15; }
.quote.big { font-size: clamp(30px, 3.6vw, 44px); }
.link { font-weight: 600; font-size: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 16px; font-family: var(--sans); border: 1.5px solid transparent; cursor: pointer; }
.btn.ink { background: var(--ink); color: var(--on-dark); }
.btn.ink:hover { background: #34312C; color: var(--on-dark); }
.btn.ghost { border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn.mustard { background: var(--mustard); color: var(--ink); font-weight: 600; }
.btn.mustard:hover { background: #B5861A; color: var(--ink); }

/* home */
.hero { padding-top: 40px; padding-bottom: 96px; }
.hero-img { flex: 1 1 340px; min-width: 0; max-width: 480px; position: relative; }
.hero-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.tag { position: absolute; left: -16px; bottom: 28px; background: var(--mustard); color: var(--ink); padding: 14px 18px; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.langs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.langs-in { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; font-family: var(--serif); font-size: 24px; color: var(--text); }
.grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 28px; }
.ep { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.ep img { width: 100%; height: auto; aspect-ratio: 9 / 14; object-fit: cover; border-radius: 4px; transition: opacity .2s; }
.ep:hover img { opacity: .9; }
.ep-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.soon-h { margin-top: 64px; }
.soon { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 28px; }
.soon-item { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.square { flex: 0 1 360px; min-width: 0; width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark .wrap { padding-top: 88px; padding-bottom: 88px; }
.dark a { color: var(--on-dark); }
.dark .fine { color: #A9A293; }
.letter-form { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.letter-form .lbl { font-size: 15px; font-weight: 500; }
.letter-form input { flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 18px; font: inherit; font-size: 16px; border: 1.5px solid var(--muted); background: var(--paper); color: var(--ink); border-radius: 999px; }
.dark .btn.mustard { color: var(--ink); }

/* episode */
.episode { padding-top: 24px; padding-bottom: 96px; gap: 64px; }
.player { flex: 0 1 400px; min-width: 0; width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 12px; }
.player video { width: 100%; aspect-ratio: 9 / 16; background: var(--ink); border-radius: 6px; object-fit: cover; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.rule { border-top: 1px solid var(--line); padding-top: 28px; }

/* about and legal */
.portrait { flex: 0 1 340px; min-width: 0; width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.about-grid { padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 56px; }
.legal { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 10px 24px; margin: 32px 0; font-size: 16px; line-height: 1.5; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.narrow .body + .body { margin-top: 16px; }
.narrow .h2 { margin-bottom: 24px; }

@media (max-width: 640px) {
  .section { padding-top: 64px; padding-bottom: 56px; }
  .hero { padding-bottom: 64px; }
  .tag { left: 12px; font-size: 19px; }
  .langs-in { font-size: 20px; justify-content: flex-start; gap: 8px 22px; }
  .legal { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .card { padding: 24px; }
}
