/* Jewish Media Hub — institutional / index style */
:root {
  --bg: #ffffff;
  --ink: #111111;
  --rule: #e8e8e5;
  --rule-strong: #111111;
  --panel: #ececea;
  --panel-soft: #f7f7f5;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --hebrew-serif: "Noto Serif Hebrew", "Frank Ruhl Libre", "Times New Roman", serif;
  --muted: #6b6b68;
  --blue: #173f5f;
  --burgundy: #8c2633;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --hebrew: "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --col-gap: 24px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; font-feature-settings: "tnum" 1, "ss01" 1; }
img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
[lang="he"], .he { font-family: var(--hebrew); direction: rtl; unicode-bidi: isolate; font-weight: 400; }
::selection { background: var(--blue); color: #fff; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.wrap { width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2rem; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c9 { grid-column: span 9; } .c12 { grid-column: span 12; }
.o7 { grid-column: 7 / 13; } .o8 { grid-column: 8 / 13; } .o9 { grid-column: 9 / 13; } .o10 { grid-column: 10 / 13; }
@media (max-width: 900px) { .c3, .c4, .c5, .c6, .c7, .c8, .c9, .o7, .o8, .o9, .o10 { grid-column: span 12; } }

/* Type scale */
.label { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.label b, .label strong { color: var(--ink); font-weight: 500; }
.label a:hover { color: var(--blue); }
.display { font-size: clamp(2.6rem, 6.5vw, 5.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: .95; }
.display .he { display: block; font-family: var(--hebrew-serif); font-size: .42em; font-weight: 400; letter-spacing: 0; margin-top: .35em; color: var(--blue); text-align: left; line-height: 1.2; }
.title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.1; }
.dek { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.35; font-weight: 400; max-width: 30em; }
.prose { font-family: var(--serif); font-size: 1.125rem; line-height: 1.65; max-width: 66ch; }
.prose h2 { font-family: var(--sans); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin: 2.5rem 0 .8rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.prose a:hover { text-decoration-color: var(--blue); }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.pull { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; max-width: 30em; border-left: 2px solid var(--burgundy); padding-left: 1.25rem; margin: 2rem 0; }
.num { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.arrow::after { content: " →"; }
.cta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--blue); white-space: nowrap; }
.cta:hover { color: var(--burgundy); }
.btn { display: inline-block; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: .7rem 1.2rem; font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; cursor: pointer; border-radius: 0; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--rule); padding: 2px 7px; color: var(--muted); }
.tag.ink { border-color: var(--ink); color: var(--ink); }
.tag.blue { border-color: var(--blue); color: var(--blue); }
.tag.wine { border-color: var(--burgundy); color: var(--burgundy); }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
hr.rule.strong { border-top-color: var(--rule-strong); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 96px; }
.header-row .tagline { justify-self: end; padding-left: 1.5rem; border-left: 1px solid var(--rule); max-width: 220px; }
.header-row .site-nav { justify-self: center; }
.wordmark { display: block; line-height: 1.1; }
.wordmark .en { display: block; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.wordmark .he { display: block; font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; text-align: left; direction: rtl; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.5rem); }
.site-nav a { font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 500; padding: .4rem 0; border-bottom: 1px solid transparent; }
.site-nav a.icon { display: inline-flex; padding: .3rem; border: 0; } .site-nav a.icon svg { width: 18px; height: 18px; } .site-nav a.icon[aria-current] svg { color: var(--blue); }
.site-nav a:hover { border-bottom-color: var(--blue); color: var(--blue); }
.site-nav a[aria-current] { border-bottom-color: var(--ink); }
.mini { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--muted); line-height: 1.6; }
.mini.ink { color: var(--ink); }
.dash { display: block; width: 28px; height: 2px; background: var(--burgundy); margin-top: .5rem; }
.dash.blue { background: var(--blue); }
.dash.ink { background: var(--ink); }
.nav-toggle { display: none; border: 1px solid var(--ink); background: transparent; padding: .45rem .8rem; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 820px) {
  .header-row { display: flex; justify-content: space-between; min-height: 72px; }
  .header-row .tagline { display: none; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: flex-start; padding: .5rem var(--gutter) 1.25rem; gap: .2rem; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .6rem 0; }
}

/* Project sub-navigation */
.subnav { border-bottom: 1px solid var(--rule); background: var(--bg); }
.subnav .wrap { display: flex; align-items: center; gap: 1.6rem; min-height: 46px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav .project { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--blue); padding-right: 1.6rem; border-right: 1px solid var(--rule); }
.subnav a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding: .3rem 0; border-bottom: 1px solid transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.subnav a.ext::after { content: " ↗"; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section.tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section.panel { background: var(--panel); }
.section + .section { border-top: 1px solid var(--rule); }
.intro { padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); }
.intro .dek { margin-top: 2rem; }
.metalist { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.5rem; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.metalist dt { color: var(--muted); font-weight: 500; }
.metalist dd { margin: 0; font-weight: 500; white-space: nowrap; }
.metalist dd a { border-bottom: 1px solid var(--rule); }
.metalist dd a:hover { border-bottom-color: var(--blue); }

/* Index lists */
.index-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--rule-strong); }
.index-head .label { color: var(--ink); }
.index { list-style: none; margin: 0; padding: 0; }
.index > li { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: var(--col-gap); align-items: baseline; padding: 1.75rem 0; transition: background .15s; }
a.row:hover, .row:has(a:hover) { color: inherit; }
.index > li:hover { background: linear-gradient(90deg, var(--panel), transparent 60%); }
.row .num { padding-top: .2rem; }
.row .name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.row .name .he { display: inline-block; margin-left: .8rem; font-family: var(--hebrew-serif); font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.row .desc { margin: .45rem 0 0; max-width: 46ch; color: var(--muted); font-size: .98rem; }
.row .meta { margin-top: .55rem; }
.row .cta { justify-self: end; }
.row.big .name { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.row.big { padding: 2.4rem 0; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; row-gap: .5rem; } .row .num { padding: 0; } .row .cta { justify-self: start; } }

/* Latest / journal index */
.journal .row { grid-template-columns: 110px minmax(0, 1fr) auto; }
.journal .date { font-size: 12px; letter-spacing: .1em; color: var(--muted); font-weight: 500; text-transform: uppercase; }
.journal .name { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.journal .project { display: block; margin-bottom: .3rem; }
.journal .kind { text-align: right; }
.journal .kind .label { display: block; color: var(--ink); }
.journal .kind .dur { display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-top: .3rem; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .journal .row { grid-template-columns: 1fr; } .journal .kind { text-align: left; } }

/* Project head */
.project-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.project-head .num { display: block; margin-bottom: 1.25rem; }
.project-head .display { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.project-head .dek { margin-top: 1.75rem; }
.project-head .metalist { margin-top: .5rem; }

/* Forms */
form.stack { display: grid; gap: 1.2rem; }
label { display: grid; gap: .4rem; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); padding: .7rem .8rem; border: 1px solid var(--rule); border-radius: 0; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: .6rem; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400; color: var(--ink); }
.check input { width: auto; margin-top: .3rem; }
.form-head { padding-bottom: .8rem; border-bottom: 1px solid var(--rule-strong); margin-bottom: 1.5rem; }

/* Audio player */
.player { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: .6rem 0; }
.player + .player { border-top: 1px solid var(--rule); }
.player .play { width: 34px; height: 34px; border: 1px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; color: var(--ink); }
.player .play:hover { background: var(--ink); color: #fff; }
.player .play svg { width: 12px; height: 12px; fill: currentColor; }
.player .play .pause { display: none; }
.player.playing .play .pause { display: block; }
.player.playing .play .tri { display: none; }
.player .wave { position: relative; height: 30px; cursor: pointer; display: flex; align-items: center; }
.player .bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.player .bars span { flex: 1 1 0; background: #cfcfcb; min-height: 2px; }
.player .bars.done { clip-path: inset(0 100% 0 0); }
.player .bars.done span { background: var(--blue); }
.player .time { font-size: 11px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 9ch; text-align: right; }
.player .who { grid-column: 2 / -1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.player .who b { color: var(--ink); font-weight: 500; }

/* Nusach library */
.lib-tools { position: sticky; top: 72px; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--rule); padding: .9rem 0; }
.lib-tools .row-tools { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.search { flex: 1 1 320px; position: relative; }
.search input { padding: .75rem .9rem .75rem 2.4rem; font-size: 15px; }
.search svg { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.search input[dir="rtl"] { padding-left: .9rem; padding-right: 2.4rem; }
.search input[dir="rtl"] + svg { left: auto; right: .8rem; }
.filters { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.filter { border: 0; background: transparent; padding: .3rem 0; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; }
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.lang-toggle { display: inline-flex; gap: .6rem; margin-left: auto; }
.lang-toggle button { border: 0; background: transparent; padding: .3rem 0; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; }
.lang-toggle button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.lib-stats { margin-top: 1.25rem; }
.service-nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin-top: 1.5rem; }
.service-nav a { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); border-bottom: 1px solid transparent; }
.service-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.service { padding: 2.5rem 0 1rem; }
.service + .service { border-top: 1px solid var(--rule-strong); }
.service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: .8rem; border-bottom: 1px solid var(--rule-strong); }
.service-head h2 { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; }
.service-head h2 .num { margin-right: 1rem; }
.service-head .he { font-size: 1.05rem; color: var(--muted); }
.service .collection { padding: 1rem 0 .4rem; }
.prayer { display: grid; grid-template-columns: 48px minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); padding: 1.1rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.prayer .names { display: grid; gap: .15rem; }
.prayer .en { font-weight: 600; font-size: 1rem; letter-spacing: .02em; }
.prayer .he { font-size: 1.1rem; text-align: left; }
body.he-ui .prayer .he { text-align: right; }
.prayer .ref { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.wanted { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .55rem; }
.wanted a { color: var(--blue); margin-left: .8rem; }
.hidden { display: none !important; }
.no-results { padding: 3rem 0; color: var(--muted); font-family: var(--serif); font-size: 1.1rem; }
mark { background: transparent; color: var(--burgundy); }
@media (max-width: 760px) { .prayer { grid-template-columns: 1fr; row-gap: .5rem; } .lib-tools { position: static; } }
body.he-ui .lib-ui { direction: rtl; font-family: var(--hebrew); }
body.he-ui .lib-ui .row-tools, body.he-ui .lib-ui .filters { flex-direction: row-reverse; }

/* Films */
.film { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 1.5rem; padding: 2.5rem 0; border-bottom: 1px solid var(--rule); }
.film .screen { grid-column: span 8; }
.film .about { grid-column: span 4; }
.film video, .film .yt { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.yt { position: relative; overflow: hidden; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film h3 { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.01em; margin: .6rem 0 .5rem; }
.film .source { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.film .synopsis { font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; }
@media (max-width: 900px) { .film .screen, .film .about { grid-column: span 12; } }
.stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.stills figure { margin: 0; }
.stills img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; filter: saturate(.92); }
.stills figcaption { margin-top: .5rem; }
@media (max-width: 700px) { .stills { grid-template-columns: 1fr 1fr; } }
figure.doc { margin: 0; }
figure.doc img { width: 100%; max-width: 260px; }
figure.doc figcaption { margin-top: .6rem; }

/* Definition-style lists (licensing, support) */
.deflist { list-style: none; margin: 0; padding: 0; }
.deflist li { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: var(--col-gap); padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.deflist h3 { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: .3rem; }
.deflist p { margin: 0; color: var(--muted); max-width: 52ch; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: var(--col-gap); padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.steps li::before { counter-increment: s; content: "0" counter(s); font-size: 12px; letter-spacing: .1em; color: var(--muted); padding-top: .2rem; }
.notice { border-left: 2px solid var(--burgundy); padding: .2rem 0 .2rem 1.2rem; max-width: 60ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule-strong); padding: 3rem 0 2rem; margin-top: clamp(3rem, 7vw, 6rem); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2rem; }
.footer-grid .about { grid-column: span 5; }
.footer-grid .col { grid-column: span 2; }
.footer-grid .col:last-child { grid-column: span 3; }
.footer-grid p { color: var(--muted); font-size: .95rem; max-width: 36ch; margin-top: 1rem; }
.footer-grid .col a { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding: .25rem 0; }
.footer-grid .col a:hover { color: var(--ink); }
.footer-grid .col .label { display: block; color: var(--ink); margin-bottom: .6rem; }
.footer-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
@media (max-width: 820px) { .footer-grid .about, .footer-grid .col, .footer-grid .col:last-child { grid-column: span 6; } .footer-grid .about { grid-column: span 12; } }

/* ---- Home (editorial) ---- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.hero .grid { row-gap: 2.5rem; }
.hero .aside { border-left: 1px solid var(--rule); padding-left: clamp(1.5rem, 3vw, 3rem); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero .aside .lines { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; margin: 1.6rem 0 1.4rem; }
@media (max-width: 900px) { .hero .aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1.5rem; } }
.section-bar { display: flex; justify-content: space-between; align-items: baseline; padding: 1.4rem 0 1.2rem; }
.projects-band { background: var(--panel-soft); border-bottom: 1px solid var(--rule); }
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: 3rem; }
.projects .p { padding: 1.2rem clamp(1rem, 2.5vw, 2.4rem) 1rem 0; display: flex; flex-direction: column; color: inherit; }
.projects .p + .p { border-left: 1px solid var(--rule); padding-left: clamp(1rem, 2.5vw, 2.4rem); }
.projects .n { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1; color: var(--blue); }
.projects .p.wine .n, .projects .p.wine .cta { color: var(--burgundy); }
.projects .p.wine .dash { background: var(--burgundy); } .projects .p:not(.wine) .dash { background: var(--blue); }
.projects h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; margin: 1.4rem 0 .9rem; }
.projects p { color: var(--muted); font-size: .98rem; line-height: 1.5; max-width: 22em; margin: 0 0 1.6rem; }
.projects .cta { margin-top: auto; }
.projects .cta::after { content: ""; display: block; width: 32px; height: 1px; background: currentColor; margin-top: .7rem; opacity: .6; }
.projects .p:hover h3 { color: var(--blue); }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; } .projects .p:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .projects { grid-template-columns: 1fr; } .projects .p + .p { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } }
.table { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.table li { border-bottom: 1px solid var(--rule); }
.trow { display: grid; grid-template-columns: 120px 180px minmax(0, 1fr) 120px 130px 40px; align-items: center; min-height: 58px; color: inherit; }
.trow > span { padding: .8rem 1rem .8rem 0; }
.trow .date { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.trow .project { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 600; border-left: 1px solid var(--rule); padding-left: 1rem; }
.trow .ttl { font-family: var(--serif); font-size: 1.1rem; }
.trow .kind, .trow .dur { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-left: 1px solid var(--rule); padding-left: 1rem; font-variant-numeric: tabular-nums; }
.trow .go { text-align: right; padding-right: 0; font-size: 1.1rem; }
.trow:hover .ttl { color: var(--blue); } .trow:hover .go { color: var(--blue); }
@media (max-width: 900px) { .trow { grid-template-columns: 1fr 1fr; row-gap: 0; } .trow .ttl { grid-column: 1 / -1; padding-top: 0; } .trow .project, .trow .kind, .trow .dur { border-left: 0; padding-left: 0; } .trow .go { display: none; } }
.mission { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.mission h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 1.6rem 0 1.2rem; }
.mission .lead { font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.35; max-width: 34em; margin-bottom: 1.8rem; }
.btn.wine { border-color: var(--burgundy); color: var(--burgundy); } .btn.wine:hover { background: var(--burgundy); color: #fff; }
.mission .aside { border-left: 1px solid #d5d5d1; padding-left: clamp(1.5rem, 3vw, 3rem); }
.statement { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.9; color: var(--ink); }
.statement .src { display: block; margin-top: 1.2rem; color: var(--muted); font-size: 11px; }
@media (max-width: 900px) { .mission .aside { border-left: 0; padding-left: 0; border-top: 1px solid #d5d5d1; padding-top: 1.5rem; } }
.site-footer { border-top: 0; margin-top: 0; padding: 2.5rem 0 2rem; }
.site-footer .fgrid { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 2.2fr 2fr; gap: 0; }
.site-footer .fgrid > div { padding: .5rem clamp(1rem, 2.5vw, 2.2rem) .5rem 0; }
.site-footer .fgrid > div + div { border-left: 1px solid var(--rule); padding-left: clamp(1rem, 2.5vw, 2.2rem); }
.site-footer .fgrid a.fmark { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; }
.site-footer .fmark .he { display: block; font-family: var(--hebrew-serif); font-size: 1rem; color: var(--blue); margin-top: .4rem; text-align: left; }
.site-footer .fhead { font-size: 12px; font-weight: 600; margin-bottom: .5rem; display: block; }
.site-footer .fgrid a { display: block; font-size: 13px; color: var(--muted); padding: .12rem 0; }
.site-footer .fgrid a:hover { color: var(--blue); }
.subscribe { display: flex; margin-top: .6rem; }
.subscribe input { border-right: 0; font-size: 13px; padding: .55rem .7rem; min-width: 0; flex: 1 1 auto; }
.subscribe button { border: 1px solid var(--blue); background: var(--blue); color: #fff; font: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 0 1rem; cursor: pointer; white-space: nowrap; }
.subscribe button:hover { background: var(--ink); border-color: var(--ink); }
.site-footer .fnote { text-align: right; }
.site-footer .fnote .mini { display: block; }
@media (max-width: 900px) { .site-footer .fgrid { grid-template-columns: 1fr 1fr; } .site-footer .fgrid > div { border-left: 0 !important; padding-left: 0 !important; } .site-footer .fgrid > div:first-child, .site-footer .fgrid > div:nth-child(4) { grid-column: 1 / -1; } .site-footer .fnote { text-align: left; } }
