/* Lynn Welch — speaking site
   Sister brand to The Lion's View: TLV Green accent, near-black type, generous space. */

:root {
  --ink: #0e1513;          /* page dark, matched to portrait backdrop */
  --ink-2: #151e1b;
  --ink-3: #1d2925;
  --line-dark: rgba(255, 255, 255, 0.12);
  --paper: #f6f4ef;
  --paper-2: #ffffff;
  --line-light: #dedbd3;
  --text: #2d2d2d;         /* TLV Near Black */
  --text-2: #555555;       /* TLV Medium Gray */
  --on-dark: #eef1ed;
  --on-dark-2: #aab5af;
  --green: #116f5f;        /* TLV Green */
  --green-deep: #0c5448;
  --tint: #c0e4dc;         /* TLV Green Tint Light */
  --mint: #8fd3c4;         /* accent text on dark */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Mulish", "Calibri", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin: 0 0 1.1rem; display: block;
}
.dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--mint); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text-2); }
.dark .lede { color: var(--on-dark-2); }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 800; font-size: 0.92rem; letter-spacing: 0.04em;
  padding: 0.95em 1.6em; border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s; line-height: 1.2;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.text-link { font-weight: 800; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.dark .text-link { color: var(--mint); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(14, 21, 19, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand small { display: block; font-family: var(--sans); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mint); margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--on-dark-2); text-decoration: none; font-size: 0.92rem; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--mint); }
.nav .btn { color: #fff; padding: 0.7em 1.2em; }
.nav .btn[aria-current="page"] { box-shadow: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: #fff; border-radius: var(--radius); padding: 9px 12px; font: 800 0.8rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
}

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark-2 { background: var(--ink-2); }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p { color: var(--on-dark-2); }
.white { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }

/* Hero */
.hero { background: var(--ink); color: var(--on-dark); padding: 0; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 24px; min-height: min(860px, calc(100vh - 72px)); }
.hero-copy { padding: clamp(56px, 8vw, 110px) 0; align-self: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero h1 em { font-style: italic; color: var(--mint); font-weight: 400; }
.hero .lede { color: var(--on-dark-2); max-width: 34em; }
.hero-photo { position: relative; align-self: end; height: 100%; min-height: 520px; }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 80%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 80%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%);
  mask-composite: intersect;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-photo { order: -1; min-height: 0; height: 78vw; max-height: 520px; margin: 0 calc(var(--gutter) * -1); }
  .hero-photo img { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 30%); mask-image: linear-gradient(to top, transparent 0, #000 30%); -webkit-mask-composite: initial; mask-composite: initial; }
  .hero-copy { padding: 8px 0 64px; margin-top: -40px; }
}

/* Stages strip */
.stages { background: var(--ink-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 26px 0; }
.stages .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 34px; }
.stages span { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); }
.stages ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; padding: 0; }
.stages li { font-family: var(--serif); font-size: 1.08rem; color: var(--on-dark); }

/* Page head (inner pages) */
.page-head { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.page-head h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 16em; }
.page-head .lede { color: var(--on-dark-2); max-width: 40em; }
.crumbs { font-size: 0.8rem; color: var(--on-dark-2); margin-bottom: 2rem; }
.crumbs a { color: var(--on-dark-2); }
.crumbs ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.stat { padding: 30px 26px 6px 0; border-right: 1px solid var(--line-light); margin-right: 26px; }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; color: var(--green); margin-bottom: 12px; }
.stat span { font-size: 0.95rem; color: var(--text-2); line-height: 1.45; display: block; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; margin-right: 0; } .stat { border-bottom: 1px solid var(--line-light); padding-bottom: 24px; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; margin-right: 0; } }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-2); border: 1px solid var(--line-light); border-top: 3px solid var(--green);
  padding: 30px 28px 28px; display: flex; flex-direction: column; border-radius: var(--radius);
}
.card h3 { margin-bottom: 0.6em; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--green); }
.card p { color: var(--text-2); font-size: 0.98rem; }
.card .meta { margin-top: auto; padding-top: 14px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.dark .card { background: var(--ink-3); border-color: var(--line-dark); border-top-color: var(--mint); }
.dark .card h3 a { color: #fff; }
.dark .card .meta { color: var(--mint); }

/* Pull quote */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 22em; font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.18; color: #fff; font-weight: 400; text-wrap: balance; }
.quote blockquote em { color: var(--mint); }
.quote cite { display: block; margin-top: 1.8rem; font-style: normal; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }

/* Photo frames */
.photo { position: relative; }
.photo img { width: 100%; border-radius: var(--radius); }
.photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); pointer-events: none; }
.photo figcaption, figcaption { font-size: 0.82rem; color: var(--text-2); margin-top: 22px; }
.dark figcaption { color: var(--on-dark-2); }
figure { margin: 0; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { position: relative; padding: 0 0 0.7em 1.7em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.8em; height: 2px; background: var(--green); }
.dark .ticks li::before { background: var(--mint); }
.dark .ticks li { color: var(--on-dark-2); }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.rows > li { display: grid; grid-template-columns: 120px 1fr; gap: 6px 28px; padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.rows .when { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); padding-top: 4px; }
.rows h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.rows p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
.rows .tag { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); background: var(--tint); padding: 3px 9px; border-radius: 2px; margin-bottom: 8px; }
.dark .rows, .dark .rows > li { border-color: var(--line-dark); }
.dark .rows .when { color: var(--mint); }
@media (max-width: 600px) { .rows > li { grid-template-columns: 1fr; } }

/* Talk detail */
.talk { padding: clamp(40px, 6vw, 68px) 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); scroll-margin-top: 90px; }
.talk:first-of-type { padding-top: 0; }
.talk:last-of-type { border-bottom: 0; padding-bottom: 0; }
.talk .num { font-family: var(--serif); font-size: 1rem; color: var(--green); display: block; margin-bottom: 0.8rem; }
.talk h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.talk aside { background: var(--paper); border-left: 3px solid var(--green); padding: 26px 28px; align-self: start; border-radius: 0 var(--radius) var(--radius) 0; }
.white .talk aside { background: var(--paper); }
.talk aside h4 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin: 0 0 0.5em; }
.talk aside p, .talk aside ul { font-size: 0.95rem; color: var(--text-2); margin-bottom: 1.3em; }
.talk aside > :last-child { margin-bottom: 0; }
@media (max-width: 860px) { .talk { grid-template-columns: 1fr; } }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { font: 800 0.8rem var(--sans); letter-spacing: 0.06em; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-light); background: transparent; color: var(--text-2); cursor: pointer; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line-light); }
.timeline li { position: relative; padding: 0 0 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--paper-2); }
.timeline h3 { font-size: 1.25rem; margin-bottom: 0.15em; }
.timeline .role { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 0.5em; }
.timeline p { color: var(--text-2); font-size: 0.98rem; margin: 0; }

/* Form */
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 6px; color: var(--text); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line-light); border-radius: var(--radius);
  background: #fff; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--tint); }
.form textarea { min-height: 150px; resize: vertical; }
.form .note { font-size: 0.86rem; color: var(--text-2); margin: 0; }
.panel { background: var(--paper-2); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.panel + .panel { margin-top: 24px; }
.bio-box { background: var(--paper); border-left: 3px solid var(--green); padding: 20px 22px; font-size: 0.95rem; color: var(--text-2); margin-bottom: 16px; }
.downloads { list-style: none; padding: 0; margin: 0; }
.downloads li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.downloads li:last-child { border-bottom: 0; }
.downloads img { width: 56px; height: 56px; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); }
.downloads a { font-weight: 800; }
.downloads small { display: block; color: var(--text-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line-light); padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line-light); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-family: var(--sans); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--text-2); max-width: 46em; }

/* CTA band */
.cta { background: var(--green); color: #fff; text-align: center; padding: clamp(60px, 8vw, 100px) 0; }
.cta h2 { color: #fff; max-width: 18em; margin: 0 auto 0.5em; }
.cta p { color: rgba(255, 255, 255, 0.88); max-width: 36em; margin: 0 auto; }
.cta .btn { background: #fff; color: var(--green-deep); margin-top: 2rem; }
.cta .btn:hover { background: var(--ink); color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: 64px 0 34px; font-size: 0.93rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { color: #fff; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .tagline { font-family: var(--serif); font-size: 1.3rem; color: #fff; line-height: 1.3; margin: 14px 0 0; max-width: 16em; }
.site-footer .legal { padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.82rem; }

/* Testimonials */
.praise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .praise { grid-template-columns: 1fr; } }
.praise-card { margin: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-light); border-left: 3px solid var(--green); padding: 28px 26px; }
.praise-card blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; color: var(--text); }
.praise-card figcaption { margin-top: auto; font-size: 0.9rem; line-height: 1.45; }
.praise-card figcaption b { display: block; color: var(--text); }
.praise-card figcaption span { display: block; color: var(--text-2); }
.praise-card figcaption small { display: block; margin-top: 6px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.dark .praise-card { background: var(--ink-3); border-color: var(--line-dark); border-left-color: var(--mint); }
.dark .praise-card blockquote, .dark .praise-card figcaption b { color: #fff; }
.dark .praise-card figcaption span { color: var(--on-dark); }
.dark .praise-card figcaption small { color: var(--mint); }
.rows a { font-weight: 700; }
.dark .rows a { color: var(--mint); }

/* Readable secondary text on dark sections */
.dark .rows p, .dark .card p, .dark .stat span, .dark .timeline p,
.dark .talk aside p, .dark .talk aside ul, .dark .faq details p,
.dark .downloads small, .dark .form .note { color: var(--on-dark-2); }
.dark .chip { color: var(--on-dark-2); border-color: var(--line-dark); }
.rows .tag { color: var(--green-deep); }
.photo-sm { max-width: 62%; margin-inline: auto; align-self: center; }
@media (max-width: 860px) { .photo-sm { max-width: 70%; } }
