@font-face {
  font-family: Newsreader;
  src: url('/media/newsreader.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url('/media/newsreader-italic.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url('/media/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f9f4ed;
  --white: #fffdf9;
  --ink: #242039;
  --violet: #282245;
  --fine: #ded5db;
  --muted: #615967;
  --soft: #e9e0fa;
  --apricot: #ffc29f;
  --accent: #714a79;
  --serif: Newsreader, Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; font-size: 1rem; line-height: 1.58; }
h1, h2, h3, p { margin: 0; }
a { color: currentColor; }
button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9b5f98; outline-offset: 4px; }
.hero :focus-visible, .site-head :focus-visible, .practice :focus-visible { outline-color: var(--apricot); }
.frame { width: min(1136px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 5; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.site-head { background: #231f42; color: #fff9f4; }
.head-in { display: flex; min-height: 68px; gap: 22px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; font-size: 1.13rem; letter-spacing: -.035em; text-decoration: none; }
.brand-mark { display: inline-block; position: relative; width: 26px; height: 24px; color: #b597e5; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; width: 15px; height: 18px; border-radius: 45% 45% 45% 12%; border: 2px solid currentColor; }
.brand-mark::before { left: 0; top: 4px; }
.brand-mark::after { right: 0; top: 0; transform: rotate(180deg); color: #cc8058; }
.site-head .brand-mark::after { color: var(--apricot); }
.head-in nav { display: flex; align-items: center; gap: clamp(15px, 3.4vw, 37px); }
.head-in nav a { text-decoration: none; font-size: .93rem; font-weight: 630; }
.head-in nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-practice { padding: 8px 14px; border: 1px solid #7f7099; border-radius: 6px; }

.hero { background: #231f42; color: #fff8ee; }
.hero-in { display: grid; min-height: 510px; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 5vw, 66px); padding-block: clamp(39px, 5vw, 71px) clamp(60px, 6vw, 88px); align-items: center; border-top: 1px solid #49405f; }
.hero-copy { min-width: 0; }
.kicker { font-size: .78rem; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; font-weight: 760; color: #795077; }
.hero .kicker { color: #e3c6ec; margin-bottom: 24px; }
.hero h1 { font: 520 clamp(3.35rem, 5.3vw, 5.2rem)/.99 var(--serif); letter-spacing: -.051em; }
.hero h1 em { color: var(--apricot); font-weight: 430; }
.hero-lead { max-width: 410px; margin: 20px 0 27px; color: #e4dceb; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero-art { width: 100%; height: auto; border: 1px solid #5d4f72; border-radius: 44% 44% 12px 12px / 17% 17% 12px 12px; }
.button { display: inline-flex; min-height: 45px; padding: 10px 17px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; text-align: center; text-decoration: none; font-weight: 730; font-size: .95rem; line-height: 1.3; }
.button-peach { color: #291d30; background: var(--apricot); }
.button-peach:hover { background: #ffd7c0; }
.button-ink { background: var(--ink); color: var(--white); }
.button-ink:hover { background: #40345a; }
.button-quiet { border-color: var(--fine); background: var(--white); }
.button-quiet:hover { background: var(--paper); }

.studio { padding-block: clamp(53px, 7vw, 91px); scroll-margin-top: 11px; }
.studio-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.studio-head h2, .field-notes h2 { margin-top: 8px; font: 550 clamp(2.45rem, 4.7vw, 4.3rem)/1.03 var(--serif); letter-spacing: -.042em; }
.studio-head > p { max-width: 275px; color: var(--muted); font-size: .91rem; padding-bottom: 3px; }
.notice { padding: 12px 18px; border: 1px solid var(--fine); margin-bottom: 14px; }
.studio-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; align-items: start; }
#draft, .practice { min-width: 0; padding: clamp(19px, 3.2vw, 34px); border-radius: 13px; }
#draft { background: var(--white); border: 1px solid var(--fine); }
.sheet-head, .practice-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 15px; padding-bottom: 18px; margin-bottom: 19px; border-bottom: 1px solid var(--fine); }
.sheet-head h3, .practice-head h3 { font: 550 clamp(1.75rem, 3vw, 2.2rem)/1.12 var(--serif); letter-spacing: -.033em; }
.text-button { display: inline-flex; min-height: 37px; align-items: center; border: 0; background: none; padding: 3px 0; color: #6b406e; font-size: .9rem; font-weight: 730; text-decoration: underline; text-underline-offset: 4px; }
.text-button:not(:disabled):hover { color: var(--ink); }
.text-button.muted { color: var(--muted); }
#draft label { display: block; margin-bottom: 5px; font-size: .95rem; font-weight: 750; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; pointer-events: none; width: 9px; height: 9px; border-bottom: 2px solid var(--muted); border-right: 2px solid var(--muted); rotate: 45deg; top: 16px; right: 16px; }
select { appearance: none; min-height: 46px; width: 100%; padding: 9px 38px 9px 12px; border: 1px solid #ad9eb0; border-radius: 6px; background: var(--white); }
.draft-field { margin-top: 18px; }
.field-hint { margin-bottom: 7px; color: var(--muted); font-size: .9rem; }
textarea { display: block; min-height: 66px; resize: vertical; width: 100%; padding: 9px 11px; border: 1px solid #ad9eb0; border-radius: 6px; background: #fffcf9; color: var(--ink); font-size: 1rem; line-height: 1.45; }
textarea::placeholder { color: #6f6678; opacity: 1; }
textarea[aria-invalid="true"] { border-color: #a34540; }
.error { margin-top: 4px; color: #972e2b; font-size: .87rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; align-items: center; }
.practice { background: var(--violet); color: var(--white); }
.practice-head { border-color: #625477; }
.practice-state { color: #f0c9b4; font-size: .88rem; line-height: 1.4; }
.opening { padding-left: 15px; border-left: 2px solid #be8ea5; overflow-wrap: anywhere; }
.opening p { font: 450 clamp(1.43rem, 2.15vw, 1.92rem)/1.28 var(--serif); white-space: pre-wrap; }
.opening p + p { margin-top: 11px; }
.practice-coach { margin-top: 17px; color: #dacfe5; font-size: .92rem; }
#reactions { margin-top: 24px; padding-top: 17px; border-top: 1px solid #625477; }
#reactions fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
#reactions legend { margin-bottom: 10px; padding: 0; font-size: .96rem; font-weight: 720; }
.response-options { display: flex; flex-wrap: wrap; gap: 7px; }
.response-options label { position: relative; cursor: pointer; }
.response-options label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.response-options span { display: flex; align-items: center; min-height: 39px; padding: 5px 10px; border: 1px solid #88799d; border-radius: 6px; font-size: .88rem; line-height: 1.3; color: #fbf3fb; }
.response-options :checked + span { color: #302141; border-color: #f1d5fa; background: #f1dcfa; font-weight: 725; }
.response-options :focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 3px; }
.next-lines { margin-top: 18px; }
.speaker { display: block; color: #ffd4bd; font-weight: 740; font-size: .89rem; }
.their-line { margin: 2px 0 12px; font: 475 1.45rem/1.3 var(--serif); }
.reply-hint { margin-bottom: 7px; color: #eadcec; font-size: .88rem; }
#copy { margin-top: 17px; }
.copy-status:not(:empty) { padding-top: 9px; color: #ffe0cb; font-size: .89rem; }
#manual-label { margin: 14px 0 6px; }

.field-notes { padding-bottom: clamp(60px,9vw,108px); }
.field-notes header { padding-top: 37px; border-top: 1px solid #c5b3c3; margin-bottom: 24px; }
.notes-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid #c5b3c3; }
.notes-list a { min-width: 0; padding: 7px 18px 22px 0; text-decoration: none; }
.notes-list a + a { border-left: 1px solid #c5b3c3; padding-left: 19px; }
.notes-list span { display: block; color: var(--muted); font-size: .93rem; }
.notes-list span:first-child { color: #764b76; font-weight: 740; font-size: .88rem; }
.notes-list strong { display: block; margin: 7px 0 4px; font: 530 clamp(1.36rem,2.4vw,2rem)/1.12 var(--serif); }
.notes-list a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
footer { background: #eee5ec; }
.footer-in { display: flex; flex-wrap: wrap; gap: 14px 25px; justify-content: space-between; align-items: center; padding-block: 24px; }
.footer-in > a:not(.brand) { font-size: .92rem; }
dialog { max-width: 405px; width: calc(100% - 34px); border: 1px solid #a990b0; border-radius: 13px; padding: 24px; background: var(--white); color: var(--ink); }
dialog::backdrop { background: #1c162bb0; }
.confirm-form h2 { font: 550 2rem/1.1 var(--serif); }
.confirm-form p { margin-top: 9px; color: var(--muted); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }

.article { max-width: 822px; margin-inline: auto; padding-block: 52px 84px; }
.article .back { display: inline-flex; margin-bottom: 22px; color: #6a416f; text-decoration-thickness: 1px; text-underline-offset: 4px; font-size: .92rem; font-weight: 680; }
.article h1 { margin: 9px 0 12px; font: 570 clamp(3rem, 6.4vw, 6rem)/.99 var(--serif); letter-spacing: -.047em; }
.article .summary { max-width: 660px; color: var(--muted); font-size: clamp(1.1rem,2.1vw,1.33rem); }
.article .intro { display: grid; gap: 17px; justify-items: start; margin-bottom: 31px; }
.article-content { max-width: 682px; }
.article-content h2 { margin: 30px 0 8px; font: 550 clamp(1.9rem,4vw,2.65rem)/1.07 var(--serif); letter-spacing: -.033em; }
.article-content h3 { margin: 20px 0 5px; font-size: 1.03rem; }
.article-content p + p { margin-top: 11px; }
.article-content blockquote { margin: 15px 0 18px; padding: 14px 17px; border-left: 3px solid #b888a8; background: #f0e6ef; font: 475 1.35rem/1.32 var(--serif); }
.article-content .scripts { margin-top: 10px; }
.article-content a:not(.button) { color: #663d6a; text-underline-offset: 4px; }
.article-content .end-link { margin-top: 24px; }

@media (max-width: 830px) {
  .frame { width: calc(100% - 44px); }
  .hero-in { min-height: 0; gap: 26px; }
  .studio-grid { gap: 12px; }
}
@media (max-width: 660px) {
  .frame { width: calc(100% - 34px); }
  .head-in { min-height: 62px; gap: 10px; }
  .head-in nav { gap: 13px; }
  .nav-practice { padding-inline: 9px; }
  .hero-in { grid-template-columns: 1fr; padding-block: 39px 29px; gap: 28px; }
  .hero .kicker { margin-bottom: 17px; }
  .hero h1 { font-size: clamp(3.25rem, 10.7vw, 4.45rem); }
  .hero-lead { margin: 13px 0 19px; }
  .hero-art { max-height: 280px; object-fit: cover; object-position: 50% 48%; }
  .studio-head { display: grid; gap: 9px; align-items: start; margin-bottom: 16px; }
  .studio-head > p { max-width: 420px; }
  .studio-grid { grid-template-columns: 1fr; gap: 15px; }
  .notes-list { grid-template-columns: 1fr; }
  .notes-list a { padding: 15px 1px; }
  .notes-list a + a { padding-left: 1px; border-left: 0; border-top: 1px solid #c5b3c3; }
}
@media (max-width: 355px) {
  .head-in nav .nav-notes { display: none; }
}
