@font-face{font-family:Plex;src:url("brand/IBMPlexSans-Regular.woff") format("woff");font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url("brand/IBMPlexSans-SemiBold.woff") format("woff");font-weight:600;font-display:swap}
@font-face{font-family:Plex;src:url("brand/IBMPlexSans-Bold.woff") format("woff");font-weight:700;font-display:swap}
:root {
  --wine: #722f37; --ink: #302e30; --charcoal: #3a3a3c; --paper: #f5f3f0;
  --rule: #c8c1bd; --muted: #61595a; --wash: #eae4e1; --inverse: #fff9f5;
  font: 100%/1.5 Plex, "IBM Plex Sans", Arial, sans-serif; color: var(--ink); background: var(--paper);
  scroll-behavior: smooth; scroll-padding-top: 1.5rem;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
button, input, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--wine); color: white; }
:focus-visible { outline: 3px solid #1d648d; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 3; background: white; padding: .75rem; }
.skip:focus { top: 1rem; }
.frame { width: min(90%, 82rem); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5rem; border-bottom: 1px solid var(--rule); }
.identity { display: inline-flex; align-items: center; gap: .7rem; color: var(--wine); font-size: 1.06rem; font-weight: 600; text-decoration: none; }
.identity img { width: 4.55rem; height: auto; margin-left: -.65rem; }
.identity span { border-left: 1px solid var(--rule); padding-left: 1.2rem; }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 3.2rem); }
.masthead nav a, footer a { padding-block: .6rem; font-weight: 600; font-size: .95rem; text-decoration: none; }
.masthead nav a:hover, footer a:hover { color: var(--wine); text-decoration: underline; }
.opening { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(2rem, 4.7vw, 5rem); padding-block: clamp(2.5rem, 5vw, 5.2rem); }
.date-line { display: flex; align-items: center; gap: .7rem; color: var(--wine); font-size: .94rem; font-weight: 600; }
.date-line span { border-left: 1px solid #a17c7f; padding-left: .7rem; }
h1,h2,h3 { line-height: 1.03; letter-spacing: -.035em; }
h1 { font-size: clamp(3.6rem, 6.8vw, 6rem); margin: 1.1rem 0 1.45rem; }
h1 em { color: var(--wine); font-style: normal; }
h2 { font-size: clamp(2.4rem, 3.7vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.6rem); }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.48; max-width: 32ch; }
.hero-actions, .dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.45rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; color: white; background: var(--wine); border: 1px solid var(--wine); padding: .65rem 1.15rem; text-decoration: none; font-weight: 600; border-radius: 3px; }
.button:hover { background: #542029; border-color: #542029; }
.text-link { display: inline-block; padding: .35rem 0; border: 0; background: transparent; color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.lead-photo { min-width: 0; }
.lead-photo img { width: 100%; height: auto; aspect-ratio: 1.46; object-fit: cover; object-position: center 54%; background: #dbd6d1; }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .85rem; color: var(--muted); padding-top: .55rem; }
.lead-photo figcaption span:last-child { flex: none; font-weight: 600; }
.giving { background: var(--wine); color: var(--inverse); padding: clamp(3rem, 6vw, 6rem) 0; }
.team-intro { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); align-items:center; gap:clamp(2rem,6vw,6rem); padding-block:clamp(2.5rem,5vw,5rem); border-top:1px solid var(--rule); }
.team-story h2 { font-size:clamp(2.1rem,3.7vw,3.8rem); text-wrap:balance; }
.team-story p { max-width:62ch; margin-top:.85rem; }
.team-story .team-lead { margin-block:1rem 1.4rem; color:var(--wine); font-size:clamp(1.15rem,1.55vw,1.4rem); line-height:1.35; font-weight:600; }
.team-photo img { width:100%; height:auto; }
.impact-section {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:2rem;padding-block:clamp(2.5rem,5vw,5rem);border-bottom:1px solid var(--rule)}
.impact-section p {max-width:62ch;margin-bottom:1rem}
@media(max-width:760px) { .impact-section {grid-template-columns:1fr;gap:1rem} }
@media(max-width:760px) { .team-intro { grid-template-columns:1fr; gap:1.5rem; } }
.giving-grid, .parts { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(2rem, 4.7vw, 5rem); align-items: start; }
.section-intro > p { font-size: 1.08rem; max-width: 36ch; margin-top: 1.3rem; }
.giving .section-intro { padding-top: .15rem; }
.giving .section-intro p, .giving .picker-foot span { color: #f1dcda; }
.giving details { margin-top: 1.5rem; max-width: 38ch; }
.giving details summary { font-weight: 600; padding-block: .25rem; }
.giving details p { margin-top: .5rem; }
.giving .text-link { color: var(--inverse); }
.giving :focus-visible { outline-color: #fff2bd; }
.switch { display: inline-flex; padding: .18rem; border: 1px solid #c39c9f; border-radius: 3px; }
.switch button { background: transparent; color: var(--inverse); border: 0; padding: .42rem 1.1rem; border-radius: 1px; font-weight: 600; }
.switch button[aria-pressed="true"] { color: var(--wine); background: var(--paper); }
.tiers { margin: 1.25rem 0 0; padding: 0; border: 0; }
.tiers legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tier { display: grid; grid-template-columns: 1.15rem minmax(6.1rem,.65fr) 1.6fr; gap: .85rem; align-items: baseline; border-top: 1px solid #ad7479; padding: .82rem .2rem; cursor: pointer; }
.tier:last-child { border-bottom: 1px solid #ad7479; }
.tier:hover { background: #7f3a42; }
.tier input { appearance: none; display: grid; place-items: center; width: 1.06rem; height: 1.06rem; padding: 0; border: 1.5px solid var(--inverse); border-radius: 50%; background: transparent; align-self: start; margin: .25rem 0 0; cursor: pointer; }
.tier input:checked::after { content: ""; width: .54rem; height: .54rem; border-radius: 50%; background: var(--inverse); }
@media(forced-colors: active) { .tier input { appearance: auto; } .tier input:checked::after { display: none; } }
.tier .money { font-weight: 600; font-size: 1.11rem; white-space: nowrap; }
.tier small { font-size: .96rem; line-height: 1.4; }
.tier-detail { display: block; margin-top: .32rem; font-size: .89rem; color: #f2dedb; }
.tier input:not(:checked) ~ small .tier-detail { display: none; }
.picker-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.15rem; }
.picker-foot span { font-size: .87rem; }
.giving .button { color: var(--wine); background: var(--paper); border-color: var(--paper); }
.giving .button:hover { background: white; }
.section-space { padding-block: clamp(3rem, 6.5vw, 6rem); }
.part-sheet { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 1.1rem 0 1.5rem; }
.source-date { color: var(--wine); font-size: .91rem; font-weight: 600; margin-bottom: .8rem; }
.part-sheet h3 { margin-bottom: .5rem; }
.specs { margin-top: 1.25rem; border-top: 1px solid var(--rule); }
.specs > div { display:flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.specs dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.part-note { color: var(--muted); font-size: .94rem; margin: .85rem 0 1rem; }
.parts { grid-template-areas: "intro sheet" "drawing sheet"; row-gap: 1.35rem; }
.parts .section-intro { grid-area: intro; } .part-sheet { grid-area: sheet; }
.drawing { grid-area: drawing; max-width: 21rem; }
.drawing img { width: 100%; height: auto; mix-blend-mode: multiply; }
.drawing a { display: block; }
.secondary { background: transparent; color: var(--wine); }
.secondary:hover { color: white; }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.25rem; min-height: 6.2rem; padding-block: 1rem; }
footer strong { color: var(--wine); } footer span { color: var(--muted); font-size: .94rem; } footer a { margin-left: auto; }
footer img { width: 3.8rem; height: 3.8rem; object-fit: contain; }
dialog { position: fixed; inset: 0; width: min(32rem, 94vw); max-height: 92dvh; background: var(--paper); color: var(--ink); padding: clamp(1.25rem, 3vw, 2.1rem); border: 0; border-top: 5px solid var(--wine); overflow-y: auto; }
dialog::backdrop { background: rgb(28 22 24 / .68); }
body:has(dialog[open]) { overflow: hidden; }
.close-form { display: flex; justify-content: end; }
.close { padding: .3rem .15rem; background: transparent; border: 0; color: var(--wine); text-decoration: underline; }
dialog h2 { font-size: 2rem; margin: .4rem 0 1rem; }
dialog label:not(.check-line) { display: block; font-weight: 600; margin: .9rem 0 .3rem; }
dialog input:not([type="checkbox"]),dialog select { width: 100%; background: white; color: var(--ink); padding: .56rem .7rem; border: 1px solid #908587; border-radius: 2px; }
.check-line { display: flex; gap: .6rem; align-items: center; margin-top: .85rem; }
input[type="checkbox"] { accent-color: var(--wine); width: 1.1rem; height: 1.1rem; }
#plan-result { display: block; margin: 1.15rem 0 .8rem; padding: .85rem 1rem; border-left: 3px solid var(--wine); white-space: pre-line; background: var(--wash); }
.plan-note,.feedback { font-size: .9rem; color: var(--muted); }.feedback:not(:empty) { margin-top: .75rem; }
.dialog-actions { margin-top: 1.05rem; }
@media(max-width: 760px) {
  .frame { width: min(92%, 38rem); }.masthead { min-height: 4.4rem; gap: .4rem; }.identity { gap: .1rem; }.identity span { font-size: .93rem; padding-left: .55rem; }.identity img { width: 3.6rem; margin-left: -.4rem; }
  .masthead nav { gap: .72rem; }.masthead nav a { font-size: .84rem; }
  .opening,.giving-grid,.parts { grid-template-columns: 1fr; gap: 1.8rem; }
  .parts { grid-template-areas: "intro" "sheet" "drawing"; }
  .opening { padding-block: 2.25rem; }.intro h1 { margin-block: .7rem .9rem; }.intro h1 br { display: none; }.intro h1 em::before { content: " "; }
  .lead { max-width: 43ch; }.hero-actions { margin-top: 1.25rem; }.lead-photo img { aspect-ratio: 1.55; }
  .section-intro h2 br { display: none; }.section-intro h2 br::after { content: " "; }
  .section-intro > p { margin-top: .85rem; max-width: 45ch; }
}
@media(max-width: 450px) {
  .frame { width: 90%; }.masthead { flex-wrap: wrap; gap: 0; padding-bottom: .4rem; }.identity { margin-right: 1rem; }
  .masthead nav { width: 100%; justify-content: space-between; }.masthead nav a { padding: .35rem 0; font-size: .9rem; }
  h1 { font-size: clamp(3.1rem,12vw,3.6rem); }.tier { gap: .55rem; grid-template-columns: 1rem 5.65rem 1fr; }
  .picker-foot { align-items: flex-start; }.picker-foot .button { flex: none; }.picker-foot span { max-width: 16ch; }
  footer { align-items: baseline; } footer span { width: 100%; } footer a { margin-left: 0; }
}
@media(prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; } }
