/* Lisa Ivler Events, Fable build. See Documentation/design-system.md. */

:root {
  --ivory: #f7f4ef;
  --linen: #ede7df;
  --sand: #e2d8c9;
  --ink: #1e1b18;
  --umber: #4f4740;
  --bronze: #8a6a43;
  --bronze-soft: #c9b394;
  --white: #ffffff;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: 24px;
  --max: 1240px;
  --measure: 62ch;
  --t: 180ms ease;
}
@media (min-width: 900px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--bronze-soft); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--bronze); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(42px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); }
h4 { font-size: 22px; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
small, .small { font-size: 14px; }
hr { border: 0; border-top: 1px solid var(--sand); margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }

/* Labels and type helpers */
.label {
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze); display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--bronze); }
.label.plain::before { display: none; }
.lede { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; font-weight: 500; color: var(--ink); }
.muted { color: var(--umber); }
.serif { font-family: var(--serif); }
.caps { font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px;
  border: 1px solid var(--ink); color: var(--ink); background: transparent; text-decoration: none;
  font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: var(--bronze); border-color: var(--bronze); color: var(--white); }
.btn-light { border-color: var(--ivory); color: var(--ivory); }
.btn-light:hover { background: var(--ivory); color: var(--ink); }
.textlink { font-weight: 500; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--bronze); padding-bottom: 3px; }
.textlink:hover { color: var(--bronze); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 239, .97); border-bottom: 1px solid var(--sand); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.wordmark { font-family: var(--sans); text-decoration: none; letter-spacing: .22em; text-transform: uppercase; font-size: 15px; white-space: nowrap; color: var(--ink); }
.wordmark b { font-weight: 600; }
.wordmark span { font-weight: 300; margin-left: .55em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--bronze); }
.nav .btn { min-height: 40px; padding: 6px 18px; font-size: 12px; margin-left: 8px; border-bottom: 1px solid var(--ink); }
.nav .btn:hover { border-bottom-color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); padding: 8px 14px; font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; cursor: pointer; }
@media (max-width: 980px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: fixed; inset: 72px 0 0 0; background: var(--ivory); flex-direction: column; align-items: flex-start; padding: 32px var(--gutter); gap: 8px; overflow: auto; border-top: 1px solid var(--sand); }
  .nav.open { display: flex; }
  .nav a { font-family: var(--serif); font-size: 32px; letter-spacing: 0; text-transform: none; font-weight: 500; padding: 8px 0; border: 0; }
  .nav .btn { margin: 24px 0 0; font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink); padding: 12px 24px; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.linen { background: var(--linen); }
.sand { background: var(--sand); }
.dark { background: var(--ink); color: var(--ivory); }
.dark .label { color: var(--bronze-soft); }
.dark .label::before { background: var(--bronze-soft); }
.dark .muted { color: #cfc6ba; }
.dark a { text-decoration-color: var(--bronze-soft); }
.dark hr { border-color: #3a3530; }

.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, 1fr); gap: 40px; }
  .split > .c4 { grid-column-end: span 4; }
  .split > .c5 { grid-column-end: span 5; }
  .split > .c6 { grid-column-end: span 6; }
  .split > .c7 { grid-column-end: span 7; }
  .split > .c8 { grid-column-end: span 8; }
  .split > .s6 { grid-column-start: 6; }
  .split > .s7 { grid-column-start: 7; }
  .split > .s8 { grid-column-start: 8; }
  .split > .s9 { grid-column-start: 9; }
  .split.middle { align-items: center; }
  .split.end { align-items: end; }
  .order-last { order: 2; }
}

/* Figures */
figure { margin: 0; }
figure img { width: 100%; height: 100%; object-fit: cover; }
figcaption { font-size: 14px; color: var(--umber); margin-top: 10px; font-weight: 300; letter-spacing: .02em; }
.dark figcaption { color: #cfc6ba; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-21 { aspect-ratio: 21 / 9; }
.ratio-1 { aspect-ratio: 1; }
.ratio-34 img, .ratio-45 img, .ratio-43 img, .ratio-32 img, .ratio-169 img, .ratio-21 img, .ratio-1 img { aspect-ratio: inherit; }
.focus-top img { object-position: 50% 20%; }
.focus-right img { object-position: 68% 50%; }
.focus-bottom img { object-position: 50% 80%; }

.bleed { width: 100%; }
.bleed img { width: 100%; max-height: 82vh; object-fit: cover; }

/* Photo rows */
.row-3 { display: grid; gap: 20px; }
@media (min-width: 700px) { .row-3 { grid-template-columns: 5fr 4fr 3fr; align-items: end; } }
.row-2 { display: grid; gap: 20px; }
@media (min-width: 700px) { .row-2 { grid-template-columns: 7fr 5fr; align-items: end; } }
.grid-3 { display: grid; gap: 24px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 24px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.offset > :nth-child(2) { margin-top: 0; }
@media (min-width: 700px) { .offset > :nth-child(2) { margin-top: 64px; } .offset > :nth-child(3) { margin-top: 24px; } }

/* Home hero */
.hero { padding: clamp(32px, 5vw, 72px) 0 0; }
.hero .split { align-items: end; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 30ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero figure { margin-top: 24px; }
@media (min-width: 900px) { .hero figure { margin-top: 0; } }
.facts { display: grid; gap: 18px 32px; border-top: 1px solid var(--sand); padding-top: 24px; margin-top: 8px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, auto); justify-content: start; } }
.facts div { font-size: 14px; color: var(--umber); font-weight: 300; }
.facts b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }

/* Paths */
.paths { display: grid; gap: 28px; }
@media (min-width: 760px) { .paths { grid-template-columns: repeat(3, 1fr); gap: 32px; } .paths > :nth-child(2) { margin-top: 56px; } }
.path { text-decoration: none; display: block; }
.path figure { overflow: hidden; }
.path img { transition: transform 600ms ease; }
.path:hover img { transform: scale(1.03); }
.path h3 { margin: 18px 0 6px; font-size: 30px; }
.path p { font-size: 15px; color: var(--umber); margin: 0 0 10px; }
.path .textlink { font-size: 12px; }

/* Ledger (numbered rows) */
.ledger { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand); }
.dark .ledger { border-color: #3a3530; }
.ledger li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--sand); margin: 0; }
.dark .ledger li { border-color: #3a3530; }
@media (min-width: 700px) { .ledger li { grid-template-columns: 120px 240px 1fr; gap: 24px; } }
.ledger .n { font-family: var(--serif); font-size: 34px; line-height: 1; font-weight: 500; color: var(--bronze); }
.dark .ledger .n { color: var(--bronze-soft); }
.ledger .t { font-family: var(--serif); font-size: 24px; line-height: 1.15; font-weight: 500; }
.ledger .d { color: var(--umber); max-width: 54ch; font-size: 16px; }
.dark .ledger .d { color: #cfc6ba; }
@media (max-width: 699px) { .ledger .d { grid-column: 2; } }

/* Quotes */
.quote { margin: 0; }
.quote p { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; font-weight: 500; font-style: italic; max-width: 26em; margin-bottom: 20px; }
.quote p::before { content: "\201C"; }
.quote p::after { content: "\201D"; }
.quote footer { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--umber); }
.dark .quote footer { color: #cfc6ba; }
.quote footer span { font-weight: 300; letter-spacing: .04em; text-transform: none; font-size: 14px; display: block; margin-top: 4px; }
.quotes { display: grid; gap: 40px; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; gap: 56px 80px; } }
.quotes .quote p { font-size: clamp(20px, 2vw, 24px); }

/* Press band */
.press-band { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; }
.press-band span { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--umber); }
.press-band .k { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--bronze); margin-right: 8px; }

/* Question list */
.qa { border-top: 1px solid var(--sand); max-width: 800px; }
.qa details { border-bottom: 1px solid var(--sand); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--serif); font-size: 24px; font-weight: 500; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-weight: 300; font-size: 28px; color: var(--bronze); }
.qa details[open] summary::after { content: "\2013"; }
.qa .a { padding: 0 0 22px; color: var(--umber); max-width: 60ch; }
.qa .a p { margin-bottom: .6em; }

/* Page title blocks */
.title { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); }
.title h1 { max-width: 14em; }
.title .lede { max-width: 36em; }
.crumbs { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--umber); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--bronze); }
.crumbs span { margin: 0 8px; color: var(--bronze-soft); }

/* Venue list */
.venues { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .venues { columns: 3; } }
.venues li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--sand); margin: 0; font-size: 16px; }
.venues li small { display: block; color: var(--umber); font-weight: 300; }

/* Credits and footer */
.credits { font-size: 13px; color: var(--umber); font-weight: 300; padding: 24px 0; border-top: 1px solid var(--sand); }
.cta { padding: clamp(56px, 8vw, 110px) 0; }
.cta h2 { max-width: 16em; }
.site-footer { background: var(--ink); color: var(--ivory); padding: 56px 0 32px; font-size: 15px; }
.site-footer .wordmark { color: var(--ivory); margin-bottom: 20px; display: inline-block; }
.site-footer .cols { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--bronze-soft); }
.site-footer .h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--bronze-soft); margin-bottom: 14px; }
.site-footer .fine { border-top: 1px solid #3a3530; padding-top: 20px; font-size: 13px; color: #b9b0a4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-weight: 300; }
.site-footer .fine a { color: #cfc6ba; }

/* Forms */
.form { max-width: 640px; }
.form .field { margin-bottom: 22px; }
.form label { display: block; font-weight: 500; font-size: 14px; letter-spacing: .04em; margin-bottom: 8px; }
.form label .opt { color: var(--umber); font-weight: 300; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--ink); padding: 12px 14px; border-radius: 0; min-height: 48px;
}
.form textarea { min-height: 160px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form .hint { font-size: 14px; color: var(--umber); font-weight: 300; margin-top: 6px; }
.form .two { display: grid; gap: 0 20px; }
@media (min-width: 600px) { .form .two { grid-template-columns: 1fr 1fr; } }
.form .trap { position: absolute; left: -9999px; }
.form input:user-invalid, .form select:user-invalid, .form textarea:user-invalid { border-color: #a4321f; box-shadow: inset 0 0 0 1px #a4321f; }
.contact-side { font-size: 16px; }
.contact-side p { margin-bottom: 1.2em; }
.contact-side b { font-weight: 500; display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 4px; }

/* Journal / articles */
.article { max-width: 720px; }
.article h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 1.4em; }
.article h3 { font-size: 24px; margin-top: 1.2em; }
.article p, .article li { font-size: 18px; max-width: 64ch; }
.article .meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--umber); margin-bottom: 24px; }
.timeline { list-style: none; padding: 0; border-top: 1px solid var(--sand); }
.timeline li { padding: 20px 0; border-bottom: 1px solid var(--sand); margin: 0; }
.timeline b { font-family: var(--serif); font-size: 26px; font-weight: 500; display: block; margin-bottom: 6px; }
.timeline ul { margin-top: 8px; }

/* Portfolio */
.stories { display: grid; gap: 40px; }
@media (min-width: 760px) { .stories { grid-template-columns: repeat(12, 1fr); } .stories > :nth-child(1) { grid-column: 1 / span 7; } .stories > :nth-child(2) { grid-column: 8 / span 5; margin-top: 96px; } .stories > :nth-child(3) { grid-column: 2 / span 6; } }
.story { text-decoration: none; display: block; }
.story h3 { margin: 18px 0 4px; }
.story .k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--bronze); }
.story p { color: var(--umber); font-size: 15px; margin: 6px 0 0; }
.masonry { columns: 1; column-gap: 24px; }
@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 960px) { .masonry { columns: 3; } }
.masonry figure { break-inside: avoid; margin-bottom: 24px; }
.masonry img { width: 100%; height: auto; aspect-ratio: auto; }

/* Thank-you */
.center { text-align: center; }
.center p { margin-inline: auto; }

/* Fact sheet */
.facts-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--sand); }
.facts-table th { width: 200px; font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--umber); }

/* Sample notice (not on the production site) */
.noscript-note { font-size: 14px; color: var(--umber); }

/* NYC corporate photo row: on phones the orchids and the speaker sit side by side above the ballroom (Lisa's layout choice). */
.corp-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; align-items: end; }
.corp-row .wide { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .corp-row { grid-template-columns: 3fr 6fr 3fr; }
  .corp-row .wide { grid-column: auto; order: 2; }
  .corp-row .tall { order: 3; }
}

/* Ledger without numbers (press list) */
.ledger.plain li { grid-template-columns: 1fr; }
@media (min-width: 700px) { .ledger.plain li { grid-template-columns: 220px 1fr; } }
.ledger.plain .n { display: none; }
