:root {
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 14px; }
body { margin: 0; color: var(--text); background: var(--page); }
a { color: inherit; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
img { display: block; width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.e-wrap { width: min(1140px, calc(100% - 70px)); margin-inline: auto; }
.e-section { padding-block: clamp(34px, 6.1vw, 74px); }
.skip { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 8px 13px; color: #172126; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.demo { background: var(--demo-bg); color: var(--demo-color); font-size: .84rem; }
.demo > div, .event-footer > div { min-height: 40px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo a, .event-footer a { text-underline-offset: 3px; }
.event-header { border-bottom: 1px solid var(--line); }
.top-nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.event-brand { text-decoration: none; font-weight: 850; font-size: 1.1rem; letter-spacing: -.04em; }
.top-nav nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(12px, 2.7vw, 34px); }
.top-nav nav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: .88rem; }
.top-nav nav a:hover { text-decoration: underline; }
.e-btn { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 48px; padding: 10px 18px; color: var(--button-text); background: var(--button); border: 1px solid transparent; text-decoration: none; cursor: pointer; font-weight: 750; font-size: .93rem; }
.e-btn:hover { background: var(--button-hover); }
.e-btn.small { min-height: 39px; padding: 6px 14px; white-space: nowrap; }
.event-label { color: var(--label); font-size: .92rem; font-weight: 750; }
.e-lead { color: var(--muted); line-height: 1.8; }
.image-note { margin-top: 8px; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.m-photo, .track-photo { min-width: 0; }
.track-photo { display: grid; grid-template-rows: 1fr auto; }
.e-section h2 { font-size: clamp(1.65rem, 3.5vw, 2.55rem); line-height: 1.35; letter-spacing: -.055em; }
.subtle { color: var(--muted); margin-top: 7px; }
.panel-grid { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 70px); }
.agenda { list-style: none; padding: 0; }
.agenda li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.agenda time { font-weight: 850; font-variant-numeric: tabular-nums; color: var(--label); }
.agenda h3 { font-size: 1rem; }
.agenda p, details p { color: var(--muted); margin-top: 3px; }
details { border: 1px solid var(--line); background: var(--panel); border-radius: var(--round); padding: 12px 15px; }
details p { margin: 8px 0 2px; }
summary { cursor: pointer; font-weight: 740; }
.faq-items { display: grid; gap: 9px; }
.event-footer { border-top: 1px solid var(--line); color: var(--muted); }
.event-footer > div { min-height: 65px; padding-block: 9px; }
.event-dialog { width: min(470px, calc(100% - 36px)); color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--round); padding: 22px; }
.event-dialog::backdrop { background: #11192299; }
.event-dialog p { margin-block: 10px; }
.event-dialog form { margin-top: 16px; }

.morning {
  --page: #fffdf8;
  --panel: #fffdf8;
  --text: #293b31;
  --muted: #4e5f51;
  --label: #884532;
  --line: #dcded4;
  --button: #285541;
  --button-hover: #184433;
  --button-text: white;
  --demo-bg: #f5e9d9;
  --demo-color: #674532;
  --focus: #ad593c;
  --round: 10px;
}
.morning .event-brand { color: #285541; }
.morning .e-btn { border-radius: 50px; }
.morning-hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(24px, 4.5vw, 64px); padding-block: clamp(35px, 6vw, 73px) 32px; }
.m-head h1 { font-size: clamp(2.03rem, 4.55vw, 3.65rem); font-weight: 750; letter-spacing: 0; line-height: 1.32; margin-top: 11px; }
.m-head .e-lead { margin: 15px 0 20px; max-width: 25em; }
.m-image-frame { border-radius: 42% 42% 17px 17px / 12% 12% 17px 17px; }
.m-hero-image { height: clamp(315px, 38vw, 450px); object-fit: cover; object-position: center 55%; }
.morning-facts { border: 1px solid #d8e3d5; background: #eef3e9; padding: 16px 22px 19px; border-radius: 13px; }
.meeting-times { display: flex; flex-wrap: wrap; gap: 0 9px; font-variant-numeric: tabular-nums; }
.meeting-times span { white-space: nowrap; }
.morning-facts h2 { font-size: 1rem; margin-bottom: 12px; }
.m-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.m-facts > div { border-left: 1px solid #b8c6b3; padding-left: 12px; }
.m-facts dt { color: #4b634f; font-weight: 650; font-size: .86rem; }
.m-facts dd { margin-top: 4px; color: var(--muted); font-size: .93rem; }
.m-facts strong { color: var(--text); font-size: 1.08rem; }
.m-agenda { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 70px); }
.m-intro h2 { margin-top: 7px; }
.m-intro > p:last-child { margin-top: 10px; color: var(--muted); }
.m-faq { background: #f9f0e5; border-block: 1px solid #eadcce; }
.m-entry { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; background: #e9f0e5; padding: clamp(18px, 4vw, 34px); border-radius: 13px; }
.m-entry p { margin-top: 7px; color: var(--muted); }

.track {
  --page: #151b23;
  --panel: #202932;
  --text: #f4f5ec;
  --muted: #c2cbd2;
  --label: #dafa4d;
  --line: #495763;
  --button: #dafa4d;
  --button-hover: #efff91;
  --button-text: #15201a;
  --demo-bg: #222d39;
  --demo-color: #e0e8ec;
  --focus: #f1ff96;
  --round: 3px;
}
.track .event-brand { font-size: 1.22rem; font-style: italic; letter-spacing: -.055em; }
.track .event-brand span { color: var(--label); font-size: .8rem; white-space: nowrap; letter-spacing: 0; }
.track .e-btn { border-radius: 3px; }
.track-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; gap: clamp(20px, 5vw, 75px); padding-block: clamp(27px, 5vw, 60px) 30px; }
.track-head { padding: 8px 0 0; }
.track-head h1 { font: 900 clamp(4.1rem, 8.5vw, 8.1rem)/.87 "Arial Narrow", Arial, sans-serif; letter-spacing: -.095em; margin: 15px 0 17px; overflow-wrap: anywhere; }
.track-head h1 span { color: var(--label); }
.interval-title { color: var(--text); font-weight: 850; font-size: clamp(1.15rem, 2.45vw, 1.8rem); }
.interval-title span { margin-left: 7px; font-size: .9rem; color: var(--muted); display: inline-block; }
.track-head .e-lead { margin: 10px 0 18px; }
.track-image { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; border-left: 3px solid var(--label); background: #29313d; }
.track-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 54%; }
.session-facts { background: var(--label); color: #1e2b20; }
.session-facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-block: 13px; }
.session-facts dt { font-size: .85rem; font-weight: 650; }
.session-facts dd { font-size: clamp(1rem, 1.75vw, 1.2rem); font-weight: 850; overflow-wrap: anywhere; }
.session-facts small { font-size: .78rem; font-weight: 700; }
.session-facts div + div { border-left: 1px solid #75862a; padding-left: 15px; }
.pace-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 9px 16px; margin-bottom: 16px; }
.pace-heading > p { color: var(--muted); }
.pace-picker { border: 0; min-width: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.pace-picker legend { padding: 0; font-size: .88rem; margin-bottom: 8px; color: var(--muted); }
.pace-option { display: block; cursor: pointer; position: relative; min-width: 0; }
.pace-option input { position: absolute; z-index: 1; top: 16px; right: 16px; width: 17px; height: 17px; accent-color: var(--label); }
.pace-content { display: grid; gap: 3px; padding: 17px 18px; min-width: 0; background: var(--panel); border: 1px solid var(--line); }
.pace-option input:checked + .pace-content { border-color: var(--label); box-shadow: inset 0 0 0 1px var(--label); }
.pace-option:hover .pace-content { background: #2b3641; }
.group-name { color: var(--label); font-size: .89rem; font-weight: 750; }
.pace-content strong { font-size: clamp(1.65rem, 4.4vw, 3.6rem); line-height: 1.22; letter-spacing: -.055em; }
.pace-content strong span { margin-left: 5px; font-size: .8rem; letter-spacing: 0; }
.group-detail { font-size: .87rem; color: var(--muted); }
.group-detail > span { display: inline-block; }
.track-details { border-block: 1px solid var(--line); background: #1a232d; }
.track-details details { margin-top: 14px; }
.track-entry { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; border: 1px solid var(--line); border-left: 4px solid var(--label); padding: clamp(15px, 3.2vw, 32px); background: var(--panel); }
.track-entry h2 { margin-block: 6px; }
.track-entry #selected-pace, .track #dialog-pace { color: var(--label); }
@media (max-width: 850px) {
  .e-wrap { width: calc(100% - 44px); }
  .track-head h1 { font-size: clamp(3.4rem, 9.8vw, 6.45rem); }
  .m-hero-image { height: 340px; }
}
@media (max-width: 650px) {
  .e-wrap { width: calc(100% - 32px); }
  .top-nav { min-height: 62px; gap: 8px; }
  .top-nav nav { display: none; }
  .demo > div { min-height: 43px; font-size: .75rem; gap: 4px; }
  .morning-hero, .track-hero, .m-agenda, .panel-grid { grid-template-columns: 1fr; }
  .m-head h1 { font-size: clamp(2.25rem, 8.4vw, 3.55rem); }
  .m-hero-image { height: clamp(222px, 65vw, 340px); }
  .m-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .morning-facts { padding-inline: 13px; }
  .track-hero { gap: 21px; }
  .track-head h1 { font-size: clamp(3.45rem, 14vw, 6.3rem); }
  .track-image { min-height: clamp(237px, 64vw, 380px); }
  .session-facts dl { gap: 6px; }
  .session-facts div + div { padding-left: 7px; }
  .session-facts dd { font-size: .91rem; }
  .session-facts small { display: block; }
  .pace-picker { gap: 6px; }
  .pace-content { padding: 12px 7px; }
  .pace-option input { right: 6px; top: 10px; width: 14px; height: 14px; }
  .pace-content strong { font-size: clamp(1.38rem, 6.2vw, 2.5rem); }
  .group-detail { font-size: .75rem; }
}
@media (max-width: 365px) {
  .pace-content strong span { display: block; margin-left: 0; }
}
