/* Jacob Little — site styles */
:root {
  --ink: #171B29;
  --ink-2: #1E2439;
  --panel: #1D2338;
  --tree: #0E111B;
  --text: #EEEAF2;
  --soft: #DCD7E6;
  --muted: #C9C5D6;
  --dim: #B4B0C4;
  --line: rgba(238, 234, 242, 0.18);
  --accent: #E3A6B4;
  --accent-hover: #F3CBD4;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--accent); color: var(--ink); padding: 10px 16px;
  font-family: var(--sans); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.label {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---------- Page shell ---------- */
.page {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #171B29 0%, #232B47 48%, #5A5779 78%, #A8879E 92%, #C99AAA 100%);
}
.page--reading, .page--gallery {
  background: linear-gradient(180deg, #171B29 0%, #1E2439 70%, #3A3B5C 100%);
}
.treeline {
  position: absolute; left: 0; bottom: 0; width: 100%;
  height: 18vh; min-height: 110px; max-height: 220px; display: block; pointer-events: none;
}
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  justify-content: space-between; align-items: center;
  padding-top: 20px;
}
.brand {
  display: flex; align-items: center; gap: 14px; min-height: 44px;
  color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand span { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.nav a {
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.site-header--center { justify-content: center; }

@media (max-width: 560px) {
  .site-header { justify-content: center; text-align: center; }
  .nav { justify-content: center; gap: 0 16px; }
  .nav a { font-size: 11.5px; letter-spacing: 0.08em; }
}
@media (max-width: 380px) {
  .nav { gap: 0 11px; }
  .nav a { font-size: 11px; letter-spacing: 0.04em; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--accent); color: var(--text); background: transparent; cursor: pointer;
}
.btn:hover { background: rgba(227, 166, 180, 0.12); color: var(--text); }
.btn--solid { background: var(--accent); color: var(--ink); }
.btn--solid:hover { background: var(--accent-hover); color: var(--ink); }
.btn--quiet { border-color: rgba(238, 234, 242, 0.45); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Home ---------- */
.home-main {
  position: relative; z-index: 1; flex-grow: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 3vh, 32px); padding: clamp(8px, 2vh, 24px) var(--gutter) 0;
  text-align: center;
}
.monogram { width: clamp(84px, 15vh, 150px); height: auto; }
.home-name {
  margin: 0; font-family: var(--sans); font-size: clamp(16px, 2.4vh, 22px); font-weight: 600;
  letter-spacing: 0.42em; padding-left: 0.42em; text-transform: uppercase;
}
.home-kicker { margin: 0; color: var(--accent); font-weight: 500; font-size: 12px; letter-spacing: 0.22em; }
.brand-block { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.6vh, 16px); }

.quotes { margin: 0; padding: 0; list-style: none; max-width: 820px; width: 100%; min-height: clamp(150px, 22vh, 200px); display: grid; }
.quotes li { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; transition: opacity 0.6s ease; }
.js .quotes li { opacity: 0; visibility: hidden; }
.js .quotes li.is-active { opacity: 1; visibility: visible; }
.quotes li:not(:first-child) { display: none; }
.js .quotes li:not(:first-child) { display: flex; }
.quotes blockquote {
  text-wrap: balance;
  margin: 0; font-size: clamp(21px, min(4.2vw, 3.6vh), 34px); line-height: 1.3; font-weight: 300; font-style: italic;
}
.quotes .who { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.quotes .who .dot { color: var(--accent); }
.quotes .who .cred { font-weight: 500; color: var(--muted); }

.quotes li { align-items: center; }
.quotes blockquote.long { max-width: 720px; font-size: clamp(17px, 2.4vw, 21px); line-height: 1.6; text-align: left; }
.quotes .more {
  display: none; align-self: center; min-height: 44px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--accent);
  background: transparent; color: var(--text); cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.js .quotes .more { display: inline-block; }
.quotes .more:hover { color: var(--accent-hover); }
.carousel-controls { display: none; align-items: center; gap: 14px; }
.js .carousel-controls { display: flex; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(238, 234, 242, 0.45);
  background: transparent; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.round-btn:hover { border-color: var(--accent); }
.dots { display: flex; gap: 2px; }
.dots button { width: 26px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.dots button span { display: block; width: 12px; height: 3px; background: rgba(238, 234, 242, 0.45); transition: width 0.3s, background 0.3s; }
.dots button[aria-current="true"] span { width: 24px; background: var(--accent); }

.home-foot { position: relative; z-index: 0; margin-top: clamp(12px, 3vh, 32px); }
.home-foot svg { display: block; width: 100%; height: clamp(60px, 12vh, 130px); margin-bottom: -1px; }
.venue-strip {
  background: var(--tree);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 22px;
  padding: 0 var(--gutter) max(10px, env(safe-area-inset-bottom));
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.venue-strip a, .venue-strip span { color: var(--muted); text-decoration: none; padding: 12px 0; }
.venue-strip a:hover { color: var(--text); }
.venue-strip .lead { color: var(--accent); }
@media (max-width: 560px) {
  .venue-strip { gap: 0 12px; font-size: 10px; letter-spacing: 0.1em; }
  .venue-strip a, .venue-strip span { padding: 9px 0; }
}

/* Larger screens: let the logo and reviews fill the landing page */
@media (min-width: 900px) and (min-height: 600px) {
  .home-main { gap: clamp(10px, 1.7vh, 24px); padding-top: 0; }
  .monogram { width: clamp(170px, 29vh, 340px); }
  .home-name { font-size: clamp(21px, 3.1vh, 34px); }
  .home-kicker { font-size: clamp(12px, 1.6vh, 15px); }
  .brand-block { gap: clamp(10px, 1.6vh, 18px); }
  .quotes { max-width: 1000px; min-height: 0; }
  .quotes li { gap: clamp(8px, 1.3vh, 16px); }
  .quotes blockquote { font-size: clamp(22px, 3.1vh, 36px); line-height: 1.22; }
  .quotes blockquote.long { font-size: clamp(17px, 2.3vh, 21px); }
  .quotes .who { font-size: 13px; }
  .quotes .more { min-height: 36px; }
  .home-foot { margin-top: clamp(6px, 1.4vh, 24px); }
  .home-foot svg { height: clamp(40px, 6.5vh, 100px); }
  .site-header { padding-top: clamp(8px, 1.6vh, 20px); }
}

/* ---------- Bio ---------- */
.two-col { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 56px); align-items: flex-start; }
.bio-main { position: relative; z-index: 1; flex-grow: 1; padding-top: clamp(32px, 6vw, 64px); padding-bottom: calc(18vh + 40px); }
.portrait { position: relative; flex: 1 1 280px; max-width: 380px; margin: 0 18px 18px 0; }
.portrait::before { content: ""; position: absolute; left: 18px; top: 18px; right: -18px; bottom: -18px; border: 2px solid var(--accent); }
.portrait img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.bio-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.bio-lead { margin: 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.3; font-weight: 300; }
.bio-text p.body { margin: 0; font-size: clamp(18px, 2.4vw, 20px); line-height: 1.65; color: var(--soft); }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.roles li { background: var(--panel); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.roles .mag { font-size: 23px; font-style: italic; }
.roles .role { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* ---------- Publications ---------- */
.gallery-main { position: relative; z-index: 1; padding-top: clamp(32px, 6vw, 64px); padding-bottom: 220px; display: flex; flex-direction: column; gap: 56px; }
.gallery-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.gallery-head h1 { margin: 8px 0 0; font-size: clamp(38px, 6vw, 52px); line-height: 1.05; font-weight: 300; letter-spacing: -0.015em; }
.filters { display: none; flex-wrap: wrap; gap: 8px; }
.js .filters { display: flex; }
.filters button {
  min-height: 44px; padding: 0 16px; border: 1px solid rgba(238, 234, 242, 0.35); background: transparent; color: var(--text);
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.filters button span { opacity: 0.7; margin-left: 4px; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.genre { display: flex; flex-direction: column; gap: 24px; }
.genre[hidden] { display: none; }
.genre-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.genre-head h2 { margin: 0; font-size: 30px; font-weight: 400; }
.genre-head .count { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--dim); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 32px 24px; }
@media (max-width: 480px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } }
.tile { display: flex; flex-direction: column; gap: 14px; color: var(--text); text-decoration: none; }
.tile:hover { color: var(--text); }
.tile .frame { overflow: hidden; aspect-ratio: 3 / 4; background: #232A40; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.5s ease; }
.tile .frame.contain img { object-fit: contain; object-position: center; }
a.tile:hover img, a.tile:focus-visible img { transform: scale(1.04); }
.tile .title { font-size: clamp(17px, 2.4vw, 21px); line-height: 1.3; }
.tile .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.tile .venue { font-size: 16px; font-style: italic; color: var(--muted); }
.tile .note { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.tile .read { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* ---------- Contact ---------- */
.contact-main { position: relative; z-index: 1; flex-grow: 1; padding-top: clamp(32px, 6vw, 56px); padding-bottom: calc(18vh + 40px); }
.contact-intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.contact-intro h1 { margin: 0; font-size: clamp(40px, 7vw, 56px); line-height: 1.05; font-weight: 300; letter-spacing: -0.015em; }
.contact-intro p { margin: 0; max-width: 420px; font-size: clamp(18px, 2.6vw, 21px); line-height: 1.55; color: var(--soft); }
.form {
  flex: 1.4 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(22px, 4vw, 36px); background: rgba(23, 27, 41, 0.82); border: 1px solid var(--line);
}
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: #10141F; border: 1px solid #4A5274; border-radius: 0;
  color: var(--text); font-family: var(--serif); font-size: 18px; line-height: 1.5;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.form-foot small { font-size: 15px; color: var(--dim); font-style: italic; }
.form-status { margin: 0; font-size: 18px; }
.form-status[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- Reading pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; padding: 12px 0; }
.crumbs a:hover { color: var(--text); }
.crumbs .where { color: var(--dim); }
.crumbs .where i { font-family: var(--serif); font-size: 16px; letter-spacing: 0; text-transform: none; }
.crumbs .where .dot { color: var(--accent); }
.reading-main { padding-bottom: 96px; }
.paper { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); position: relative; overflow: hidden; }
.paper p { margin: 0; }
.text { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.text p + p { text-indent: var(--indent, 1.4em); }
.text .after-break { text-indent: 0 !important; }
.after { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 40px; }
.after p { margin: 0; font-size: 18px; color: var(--muted); }
.w-760 { max-width: 760px; } .w-880 { max-width: 880px; } .w-920 { max-width: 920px; } .w-1200 { max-width: 1200px; }

/* Gigantic Sequins — Foreigner */
.gs { background: #FBFAF7; color: #1E1C1A; display: flex; flex-wrap: wrap; }
.gs figure { flex: 1 1 340px; min-width: 0; margin: 0; padding: clamp(20px, 4vw, 40px); border-right: 1px solid #E6E2DA; }
.gs figure img { position: sticky; top: 24px; width: 100%; }
.gs .col { flex: 999 1 520px; min-width: 0; padding: clamp(32px, 6vw, 64px) clamp(22px, 6vw, 72px) 48px; display: flex; flex-direction: column; gap: 36px; }
.gs h1 { margin: 0; font-family: 'Jost', Futura, sans-serif; font-weight: 500; font-size: clamp(32px, 5vw, 40px); line-height: 1.1; }
.gs .by { font-family: 'Lato', 'Gill Sans', sans-serif; font-weight: 300; font-size: 22px; color: #4A4640; margin-top: 4px; }
.gs .text { font-family: 'EB Garamond', Garamond, serif; font-size: clamp(18px, 2.4vw, 20px); line-height: 1.6; text-align: justify; }
.gs .num { font-family: 'Jost', Futura, sans-serif; font-weight: 500; font-size: 17px; margin: 32px 0 6px; text-align: left; }
.gs .num:first-child { margin-top: 0; }
.gs .folio { padding-top: 16px; border-top: 1px solid #E6E2DA; display: flex; justify-content: space-between; gap: 12px; font-family: 'Lato', 'Gill Sans', sans-serif; font-weight: 300; font-size: 14px; color: #5E5A53; }
@media (max-width: 760px) { .gs figure { border-right: 0; border-bottom: 1px solid #E6E2DA; } .gs figure img { position: static; max-width: 420px; margin: 0 auto; } }

/* Indiana Review — Waiting */
.ir { background: #FFFEFB; color: #1A1918; padding: clamp(32px, 6vw, 56px) clamp(22px, 8vw, 88px) 48px; display: flex; flex-direction: column; gap: 28px; font-family: 'Tinos', 'Times New Roman', serif; }
.ir .byline { display: flex; align-items: flex-end; gap: 16px; }
.ir .byline::before { content: ""; flex-grow: 1; height: 1px; background: #1A1918; margin-bottom: 7px; }
.ir .byline span { font-weight: 700; font-style: italic; font-size: 19px; }
.ir h1 { margin: 6px 0 0; font-weight: 400; font-size: clamp(27px, 4.4vw, 34px); line-height: 1.2; }
.ir .text { font-size: clamp(17px, 2.3vw, 19px); line-height: 1.6; text-align: justify; }
.ir .drop { float: left; font-size: 4.1em; line-height: 0.82; padding: 6px 6px 0 0; }
.ir .folio { text-align: center; font-style: italic; font-size: 16px; color: #4B4844; }

/* The Pinch — Parking Cars */
.pinch { background: #FFFFFF; color: #1C1A18; padding: clamp(40px, 7vw, 72px) clamp(22px, 9vw, 104px) 56px; display: flex; flex-direction: column; gap: 40px; }
.pinch .head p { font-family: 'Cinzel', 'Trajan Pro', serif; font-size: 18px; letter-spacing: 0.04em; }
.pinch h1 { margin: 0; font-family: 'Cinzel', 'Trajan Pro', serif; font-weight: 700; font-size: clamp(22px, 3.6vw, 26px); letter-spacing: 0.04em; line-height: 1.2; }
.pinch .text { --indent: 1.5em; font-family: 'Libre Caslon Text', 'Adobe Caslon Pro', serif; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.75; }
.pinch .gap { height: 1.75em; }
.pinch .ornament { width: 56px; align-self: center; }

/* Ninth Letter — On Harmony */
.nl { background: #F6F2E8; color: #201E1B; }
.nl .tab { position: absolute; right: 0; top: min(64vw, 640px); width: 12px; height: 180px; background: #2F8FD5; }
.nl .col { padding: 24px clamp(22px, 9vw, 104px) 56px; display: flex; flex-direction: column; gap: 40px; }
.nl .text { font-family: 'Crimson Pro', 'Minion Pro', serif; font-size: clamp(18px, 2.5vw, 20px); line-height: 1.65; text-align: justify; }
.nl .star { text-align: center; margin: 22px 0 !important; font-size: 18px; text-indent: 0 !important; }
.nl .run { display: flex; justify-content: space-between; gap: 12px; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: #5A564F; }

/* Fourth Genre — Gooseberry Falls */
.fg { background: #FFFFFF; color: #1E1E1E; padding-bottom: 56px; }
.fg .tab { position: relative; height: 44px; width: 300px; max-width: 72%; }
.fg .tab::before { content: ""; position: absolute; inset: 0; background: #C7C7C7; }
.fg .tab span { position: absolute; inset: 0; background: #3C3C3C; clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%); display: flex; align-items: center; padding-left: clamp(22px, 9vw, 96px); font-family: 'Fira Sans', sans-serif; font-size: 11px; letter-spacing: 0.5em; text-transform: uppercase; color: #FFFFFF; }
.fg .col { padding: 44px clamp(22px, 9vw, 96px) 0; display: flex; flex-direction: column; gap: 40px; }
.fg h1 { margin: 0; font-family: Charter, 'Bitstream Charter', 'Source Serif 4', serif; font-weight: 300; font-size: clamp(34px, 6vw, 48px); line-height: 1.1; }
.fg .by { font-family: Charter, 'Bitstream Charter', 'Source Serif 4', serif; font-variant: small-caps; font-size: 20px; letter-spacing: 0.06em; margin-top: 12px; }
.fg .text { font-family: Charter, 'Bitstream Charter', 'Source Serif 4', serif; font-size: clamp(17px, 2.3vw, 18px); line-height: 1.75; }
.fg .text p { margin: 0 0 1.75em; text-indent: 0; }
.fg .drop { float: left; font-family: 'Fira Sans', sans-serif; font-weight: 200; font-size: 6em; line-height: 0.78; padding: 8px 14px 0 0; color: #2A2A2A; }
.fg .tri { text-align: center; font-size: 11px; letter-spacing: 0.9em; color: #6F6F6F; }
.fg .run { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #555555; font-family: Charter, 'Bitstream Charter', 'Source Serif 4', serif; }
.fg .run .mag { font-variant: small-caps; letter-spacing: 0.4em; }

/* Angle — Ask Me about Love */
.angle { background: #FFFFFF; color: #1C1C1C; padding: 36px clamp(22px, 9vw, 88px) 44px; display: flex; flex-direction: column; gap: 32px; font-family: Georgia, 'Times New Roman', serif; }
.angle .mast { text-align: right; font-size: 15px; color: #3A3A3A; padding-bottom: 8px; border-bottom: 1px solid #8A8A8A; }
.angle .mast b { color: #C0272D; font-size: 19px; }
.angle h1 { margin: 0; font-weight: 400; font-size: clamp(25px, 4.4vw, 30px); line-height: 1.2; }
.angle .poem { display: flex; flex-direction: column; gap: 22px; font-size: clamp(16px, 2.6vw, 19px); line-height: 1.6; }
.angle .poem .ln { display: block; padding-left: 1.5em; text-indent: -1.5em; }
.angle .poem .ast { padding-left: 6.5em; text-indent: 0; }
.angle .sig { text-align: right; font-style: italic; font-size: 16px; }
.angle .folio { text-align: center; font-size: 14px; color: #555555; }

/* ---------- 404 ---------- */
.nf { position: relative; z-index: 1; flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 40px var(--gutter) calc(18vh + 40px); }
.nf h1 { margin: 0; font-size: clamp(36px, 7vw, 56px); font-weight: 300; }
.nf p { margin: 0; font-size: 20px; color: var(--soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Speaking & Teaching ---------- */
.speak-main { position: relative; z-index: 1; padding-top: clamp(32px, 6vw, 64px); padding-bottom: 220px; display: flex; flex-direction: column; gap: clamp(48px, 7vw, 72px); }
.speak-hero { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: center; }
.speak-intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.speak-intro h1 { margin: 0; font-size: clamp(38px, 6vw, 56px); line-height: 1.05; font-weight: 300; letter-spacing: -0.015em; }
.speak-intro .lede { margin: 0; font-size: clamp(18px, 2.4vw, 21px); line-height: 1.6; color: var(--soft); max-width: 560px; }
.speak-photo { flex: 1.3 1 440px; min-width: 0; margin: 0 18px 18px 0; position: relative; }
.speak-photo::before { content: ""; position: absolute; left: 18px; top: 18px; right: -18px; bottom: -18px; border: 2px solid var(--accent); }
.speak-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.speak-block { display: flex; flex-direction: column; gap: 22px; }
.events, .venues, .schools { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.events { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.venues { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.schools { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.events li, .venues li, .schools li { background: var(--panel); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.events .when { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.events .org { font-size: 22px; }
.events .branch { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.events .tba { font-size: 16px; font-style: italic; color: var(--dim); }
.venues .org, .schools .org { font-size: 21px; }
.venues .branch { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.teach { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 48px); align-items: flex-start; }
.teach-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.teach-text p { margin: 0; font-size: clamp(18px, 2.4vw, 20px); line-height: 1.65; color: var(--soft); }
.teach-photos { flex: 1 1 380px; min-width: 0; max-width: 560px; display: grid; gap: 16px; }
.teach-photos figure { margin: 0; }
.teach-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.aside { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 18px; color: var(--muted); }

/* Phones: keep the landing page to one screen */
@media (max-width: 560px) {
  .site-header { padding-top: 10px; }
  .home-main { gap: clamp(8px, 1.8vh, 22px); padding-top: 4px; }
  .monogram { width: clamp(62px, 11vh, 120px); }
  .brand-block { gap: clamp(4px, 1vh, 12px); }
  .home-name { font-size: clamp(15px, 2.2vh, 19px); }
  .quotes { min-height: 0; }
  .quotes li { gap: 10px; }
  .quotes blockquote { font-size: clamp(18px, min(5.4vw, 3vh), 25px); }
  .quotes .more { min-height: 36px; }
  .round-btn { width: 40px; height: 40px; }
  .dots button { height: 40px; }
  .home-main .btn { min-height: 44px; }
  .home-foot { margin-top: clamp(6px, 1.5vh, 20px); }
  .home-foot svg { height: clamp(36px, 7vh, 80px); }
}

/* Longer highlights set a touch smaller so every review fits the same space */
.quotes blockquote.longish { font-size: 0.86em; }
.quotes li { font-size: clamp(21px, min(4.2vw, 3.6vh), 34px); }
.quotes blockquote { font-size: inherit; }
.quotes blockquote.long { font-size: clamp(17px, 2.3vh, 21px); }
.quotes blockquote.longish { font-size: 0.84em; }
.dots button { width: 22px; }
@media (min-width: 900px) and (min-height: 600px) {
  .quotes li { font-size: clamp(22px, 3.1vh, 36px); }
}
@media (max-width: 560px) {
  .quotes li { font-size: clamp(18px, min(5.4vw, 3vh), 25px); }
  .dots { gap: 0; }
  .dots button { width: 17px; }
  .dots button span { width: 9px; }
  .dots button[aria-current="true"] span { width: 16px; }
  .carousel-controls { gap: 8px; }
}
