:root {
  color-scheme: light;
  --emerald: #093e34;
  --pine: #07372e;
  --ink: #143b32;
  --paper: #f7f2e7;
  --white: #fffcf4;
  --wine: #702039;
  --gold: #caa568;
  --muted: #53635b;
  --rule: #cec6b6;
  --serif: "STIX Two Text", "Baskerville", Georgia, "Noto Serif", serif;
  font: 100%/1.58 "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box }
body, figure { margin: 0 }
body { display: flex; flex-direction: column; min-height: 100vh }
main { flex: 1 }
img { display: block; max-width: 100% }
a { color: inherit; text-underline-offset: .23em }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #2274ae; outline-offset: 3px;
}
.masthead a:focus-visible, .hero a:focus-visible, footer a:focus-visible { outline-color: #ffe09c }
.wrap { width: min(78rem, 90%); margin-inline: auto }
.masthead, footer, .hero { color: var(--paper); background: var(--emerald) }
.masthead { border-bottom: 1px solid #ffffff36 }
.head, .foot, nav, .brand, .bar, .month, .section-head, .edit-row { display: flex; align-items: center }
.head, .foot, .bar, .month, .section-head { justify-content: space-between; gap: 1rem }
.head { min-height: 78px }
.brand { gap: .9rem; text-decoration: none; flex: none; width: fit-content }
.brand img { width: 4.7rem; height: auto }
.brand span { border-left: 1px solid #caa56899; padding: .23rem 0 .23rem .95rem; font-size: .79rem; letter-spacing: .19em; text-transform: uppercase; font-weight: 700 }
nav { flex-wrap: wrap; gap: clamp(.85rem, 2.4vw, 2.3rem) }
nav a { font-size: .98rem; font-weight: 600; text-decoration: none; padding: .5rem 0 }
nav a:hover, nav a[aria-current=page] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .45em; text-decoration-thickness: 2px }
.hero { position: relative; border-bottom: .85rem solid var(--wine); box-shadow: 0 2px 0 var(--gold) }
.hero::after { position: absolute; content: ""; height: 2px; background: var(--gold); bottom: 0; inset-inline: 0 }
.hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(2.5rem,5vw,5.6rem); padding-block: clamp(1.7rem,3.8vw,3.7rem) }
.hero-copy { padding-block: 1rem 1.4rem }
.kicker, .eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.15rem }
.kicker { color: #e7cd99; display: flex; align-items: center; gap: .7rem }
.kicker::before { content: ""; width: 1.9rem; height: 1px; background: var(--gold) }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere }
h1 { font-size: clamp(2.65rem, 5.2vw, 4.8rem); margin: 0 0 .2em }
.hero h1 { font-size: clamp(4.4rem, 7.6vw, 7.15rem); line-height: .96; letter-spacing: -.045em; margin: 0 }
.hero h1 em { font-weight: 400 }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.65rem); margin: 0 }
h3 { font-size: 1.48rem; margin: .28rem 0 }
.intro { max-width: 23rem; font-size: clamp(1.05rem,1.45vw,1.21rem); line-height: 1.5; color: #eee9da; margin: 1.3rem 0 1.55rem }
.hero-photo { position: relative; isolation: isolate; overflow: hidden; background: #d3c5b0; border: 1px solid #dfcfad70 }
.hero-photo > img { width: 100%; aspect-ratio: 1.56; height: auto; object-fit: cover; object-position: center 18% }
.hero-photo figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: flex-end; background: linear-gradient(transparent, #151e1930); padding: 1.75rem .85rem .75rem; pointer-events: none }
.hero-photo figcaption a { background: var(--pine); color: var(--white); font-size: .82rem; padding: .38rem .76rem; text-decoration-color: #d4bc8e; pointer-events: auto }
.btn, button { display: inline-block; padding: .74rem 1.28rem; border: 1px solid var(--emerald); background: var(--emerald); color: var(--white); border-radius: 2px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer }
.btn:hover, button:hover { background: #125747 }
.btn.light { color: var(--pine); background: var(--paper); border-color: var(--paper) }
.btn.light:hover { background: #fffaf0; border-color: var(--gold) }
.split { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem,6vw,6.6rem); margin: clamp(2.7rem,5vw,5rem) 0 }
.bar { border-bottom: 1px solid var(--gold); align-items: baseline; padding-bottom: .8rem; margin-bottom: .3rem }
.bar a, .back, .small { color: var(--wine); font-weight: 650; font-size: .94rem }
.bar a { text-align: right }
.empty { padding: .95rem 0; margin: 0; color: var(--muted) }
.identity { scroll-margin: 1.5rem; border: 1px solid var(--rule); border-top: 3px solid var(--wine); display: grid; grid-template-columns: 1.03fr 1fr; background: var(--white); margin-bottom: clamp(2.7rem,5vw,5rem) }
.jersey-detail { width: 100%; height: 100%; max-height: 24rem; min-height: 100%; object-fit: cover; object-position: center 43% }
.identity-copy { align-self: center; padding: clamp(1.35rem,3vw,3.2rem) }
.identity-copy img { margin-bottom: 1.15rem }
.identity-copy p, .contact-intro { font-size: 1.06rem; max-width: 38rem; margin: .8rem 0 0 }
.row, .edit-row { display: flex; gap: 1.1rem; border-bottom: 1px solid var(--rule); padding: 1.1rem 0; align-items: center }
.row > div:last-child, .edit-row > div { min-width: 0 }
.row a, .edit-row a, .plan a { text-decoration: none }
.row a:hover, .edit-row a:hover, .plan a:hover { text-decoration: underline }
.date { background: var(--wine); color: var(--white); min-width: 3.65rem; flex: none; padding: .4rem; display: grid; justify-items: center; line-height: 1.18; border-top: 2px solid var(--gold) }
.date b { font: 500 1.7rem/1.15 var(--serif) }
.date span, .meta { font-size: .87rem; font-weight: 650 }
.meta, .source, .byline, small { color: var(--muted) }
.eyebrow { color: var(--wine); margin-bottom: .75rem }
.block { padding-block: clamp(2.5rem,6vw,5.8rem); min-height: 60vh }
.section-head { padding-bottom: 1.3rem }
.reading { max-width: 52rem }
.back { display: inline-block; margin-bottom: 1.6rem }
.byline { border-block: 1px solid var(--rule); padding: 1rem 0; margin-bottom: 1.5rem }
.body-copy { font-size: 1.15rem; white-space: pre-line; overflow-wrap: anywhere }
.source, small { font-size: .93rem }
.source { margin: .5rem 0 }
.calendar-layout { display: grid; grid-template-columns: minmax(270px,.82fr) minmax(0,1.3fr); gap: clamp(1.7rem,6vw,5rem); align-items: start }
.calendar { background: var(--white); padding: clamp(.9rem,2vw,1.7rem); border: 1px solid var(--rule); border-top: 3px solid var(--wine) }
.month h2 { font-size: 1.5rem; text-transform: capitalize; text-align:center }
.month a { font-size: 1.7rem; text-align: center; width: 44px; text-decoration: none; flex: none }
.grid { display: grid; grid-template-columns: repeat(7,1fr); margin: .85rem 0 }
.grid b, .day { font-size: .94rem; text-align: center; padding: .55rem .1rem }
.grid b { color: var(--muted) }
.day { position: relative; text-decoration: none; min-height: 42px }
.day[aria-current=date] { box-shadow: inset 0 0 0 1px var(--wine) }
.day:hover, .day.chosen { background: var(--emerald); color: var(--white) }
.day i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: currentColor; bottom: 3px; left: calc(50% - 2.5px) }
.day.has { font-weight: 800 }
.contact-mail { display: inline-block; color: var(--wine); font: 500 clamp(1.6rem,4vw,3.1rem)/1.2 var(--serif); margin: 1.2rem 0; overflow-wrap: anywhere }
.contact-note { max-width: 43rem; color: var(--muted); border-left: 2px solid var(--gold); padding-left: 1rem }
footer { border-top: 2px solid var(--gold) }
.foot { padding: 1.6rem 0; flex-wrap: wrap }
.foot nav { gap: 1.25rem }
.foot nav a { font-size: .9rem }
.skip { position: absolute; top: -100px; left: 1rem; background: white; padding: .5rem; z-index: 4 }
.skip:focus { top: 0 }
.login { max-width: 31rem }
.editor, .login form, fieldset { display: grid; align-items: start; gap: 1rem }
fieldset { border: 1px solid var(--rule); padding: 1.2rem; margin: 0; min-width: 0 }
legend { padding: 0 .4rem; font-weight: 700 }
label { display: grid; gap: .38rem; font-weight: 650 }
input, textarea, select { width: 100%; min-width: 0; padding: .65rem; border: 1px solid #8e9589; border-radius: 2px; background: var(--white); color: var(--ink); font: inherit }
textarea { resize: vertical }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
.editor button, .login button { justify-self: start }
.alert, [role=alert] { padding: .75rem 1rem; border-left: 3px solid var(--wine); background: #f3e5e3 }
.actions, .tabs { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 2.5rem }
.tabs { gap: 1.3rem; margin: 1rem 0 }
.plain { background: transparent; color: var(--ink); padding: .45rem .8rem }
.plain:hover { background: var(--white) }
.plan { padding: 0; list-style: none; margin: 0 0 2.4rem }
.plan li { display: flex; flex-wrap: wrap; gap: 1rem; border-bottom: 1px solid var(--rule); padding: .65rem 0 }
.empty + .bar { margin-top: 2rem }
.meta { margin: 0 }
.edit-row small { display: block }
@media (max-width: 750px) {
  .hero-grid { gap: 1.6rem; grid-template-columns: 1fr 1fr }
  .hero h1 { font-size: clamp(3.35rem,8.5vw,4.5rem) }
  .kicker { font-size: .75rem; letter-spacing: .09em }
  .kicker::before { width: 1rem }
  .hero-photo > img { aspect-ratio: .95; object-position: 50% 30% }
  .calendar-layout, .form-grid { grid-template-columns: 1fr }
  .split { gap: 1.7rem }
}
@media (max-width: 600px) {
  .wrap { width: 90% }
  .head { padding-block: .8rem .35rem; flex-wrap: wrap; gap: .35rem 1.5rem; min-height: 0 }
  .brand img { width: 3.8rem }
  .brand span { font-size: .72rem }
  .head nav { gap: 1.15rem; row-gap: 0 }
  .head nav a { font-size: .94rem }
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; padding-block: 1.4rem 1.2rem }
  .hero-copy { padding-block: .3rem }
  .hero h1 { font-size: clamp(3.05rem,11.8vw,4.4rem); line-height: 1.03 }
  .hero h1 br { display: none }
  .hero h1 em::before { content: ' ' }
  .kicker { margin-bottom: .65rem }
  .intro { font-size: 1rem; margin: .7rem 0 .95rem }
  .hero-photo > img { aspect-ratio: 1.7; object-position: center 7% }
  .hero-photo figcaption { padding: 1rem .5rem .5rem }
  .split, .identity { grid-template-columns: 1fr }
  .split { margin: 2.1rem 0; gap: 1.6rem }
  .identity-copy img { width: 54px; height: 54px }
  .jersey-detail { min-height: 0; max-height: 13rem }
  .identity-copy { padding: 1.35rem }
  .section-head { flex-wrap: wrap; align-items: flex-start }
  .foot { align-items: start; flex-direction: column }
  .foot nav { gap: .9rem }
}
