/* Logged-out homepage (index.html). Colours and fonts come from styles.css. Pictures come from
   /home-art, which tools/build-previews.js rebuilds. Nothing moves by itself. */
.hp {
  --hp-sky: #071B31; --hp-onsky: #fff; --hp-soft: #F0E6D6;
  --hp-paper: #FFFDF9; --hp-ink: #29241F; --hp-dim: #65564A; --hp-rule: #DDD5C9; --hp-band: #F1EBE1;
  --hp-moss: #2F4A36; --hp-gap: clamp(72px, 9vw, 132px);
  font-size: 17px; line-height: 1.6; overflow-x: clip;
}
html[data-theme="dark"] .hp { --hp-paper: #261F1A; --hp-ink: #F3EBDF; --hp-dim: #C9BAA8; --hp-rule: #4A3C30; --hp-band: #1E1814; --hp-moss: #26351F; }
html { scroll-padding-top: 16px; }
.hp [hidden] { display: none !important; }
.hp-wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.hp-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp h1, .hp h2, .hp h3, .hp h4 { font-weight: 700; text-wrap: balance; }
.hp h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
.hp h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.18; letter-spacing: -.02em; }
.hp h4 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.hp p { text-wrap: pretty; }
.hp img { display: block; max-width: 100%; height: auto; }
.hp figure { margin: 0; }
.hp fieldset { border: 0; padding: 0; min-width: 0; }
.hp fieldset:not(.hp-wrap) { margin: 0; }
.hp-stack { display: block; max-width: 700px; } .hp-stack p { margin-top: 18px; }
.hp :focus-visible { outline: 3px solid #E8823A; outline-offset: 3px; border-radius: 4px; }
.hp main:focus { outline: none; }
.hp figcaption { font-size: 15px; line-height: 1.5; color: var(--color-text-muted); margin-top: 14px; max-width: 60ch; }
.hp-sec { padding-block: var(--hp-gap); }
.hp-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.hp-head p { max-width: 50ch; }
.hp-head.hp-stack { display: block; max-width: 700px; }
.hp-sheet { background: var(--hp-paper); color: var(--hp-ink); border: 1px solid var(--hp-rule); border-radius: 10px; }
.hp-tool { font-size: 14px; font-weight: 700; color: var(--hp-dim); }

/* buttons and links */
.hp-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 10px 26px; border-radius: 8px; background: #B4531B; color: #fff; font-weight: 700; transition: background .15s; }
.hp-btn:hover { background: #984413; }
.hp-quiet { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 4px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hp-quiet:hover { text-decoration-thickness: 3px; }
.hp-cta { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }

/* first view: the college quad, with words either side of its spire */
.hp-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; margin-bottom: -80px; color: #fff; }
.hp-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.hp-top nav { display: flex; gap: 28px; }
.hp-top nav a { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 600; }
.hp-top nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hp-intro { position: relative; color: var(--hp-onsky); background: var(--hp-sky); height: clamp(600px, min(60vw, 100vh - 80px), 900px); margin-bottom: 72px; }
.hp-quad { position: absolute; inset: 0; background: url(/home-art/quad-day.webp) 50% 0 / cover no-repeat; }
html[data-theme="dark"] .hp-quad { background-image: url(/home-art/quad-night.webp); }
/* darkens only the sky behind the words, so stars and lighter sky can't make them hard to read */
.hp-quad::after { content: ""; position: absolute; inset: 0 0 auto; height: 440px; background: linear-gradient(rgba(7, 27, 49, .55) 78%, rgba(7, 27, 49, 0)); }
.hp-words { position: relative; z-index: 1; display: grid; grid-template-columns: 5.8fr 5.2fr; gap: 40px 15%; padding-top: clamp(104px, 9vw, 136px); align-items: start; }
.hp h1 { font-size: clamp(50px, 5.5vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.hp h1 span { display: block; }
.hp-lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; margin: 4px 0 20px; color: #fff; }
.hp-invite { font-size: 15px; margin-top: 8px; color: #fff; }
.hp-desk { position: absolute; z-index: 1; left: 0; right: 0; bottom: -56px; display: grid; grid-template-columns: 5.4fr 4fr 2.800fr; gap: 20px; align-items: end; }
.hp-desk > div { padding: 18px 20px 20px; box-shadow: 0 18px 40px rgba(7, 27, 49, .26); }
.hp-mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 10px; }
.hp-mini > div { min-height: 96px; padding: 0 5px; border-left: 1px solid var(--hp-rule); }
.hp-mini b, .hp-week b { display: block; font-size: 14px; margin-bottom: 8px; }
.hp i[class^="c-"] { display: block; font-style: normal; font-size: 13px; line-height: 1.3; font-weight: 600; padding: 6px 4px 6px 7px; border-left: 4px solid; border-radius: 2px; background: var(--tint-neutral); color: var(--hp-ink); }
.hp-mini i[class^="c-"] { margin-right: -2px; letter-spacing: -.02em; }
.hp i.c-hw { border-color: #3E6E5A; background: var(--tint-green); } .hp i.c-rev { border-color: #5E6B3A; background: var(--tint-blue); }
.hp i.c-mock { border-color: #A8543A; background: var(--tint-orange); } .hp i.c-les { border-color: #7C5A3C; } .hp i.c-task { border-color: #6E5A48; background: var(--tint-gold); }
html[data-theme="dark"] .hp i[class^="c-"] { border-color: #8fb3a0; } html[data-theme="dark"] .hp i.c-rev { border-color: #B4BD86; } html[data-theme="dark"] .hp i.c-mock { border-color: #E08A68; } html[data-theme="dark"] .hp i.c-les, html[data-theme="dark"] .hp i.c-task { border-color: #B89A7C; }
.hp-q { display: block; font-size: 25px; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
.hp-desk-card { min-height: 188px; display: flex; flex-direction: column; justify-content: space-between; }
.hp-tap { font-size: 14px; color: var(--hp-dim); }
.hp-desk-time { text-align: left; }
.hp-clock { font-size: 46px; line-height: 1.25; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* learn */
.hp-study { display: grid; grid-template-columns: 4.6fr 7.4fr; gap: 40px; align-items: start; }
.hp-flash { overflow: hidden; border-top: 8px solid #B4531B; }
.hp-flash summary { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 334px; padding: 24px 28px; cursor: pointer; list-style: none; }
.hp-flash summary::-webkit-details-marker { display: none; }
.hp-flash[open] summary { min-height: 176px; }
.hp-flash .hp-q { font-size: clamp(28px, 2.6vw, 36px); }
.hp-flip { font-weight: 700; color: var(--color-accent-orange); text-decoration: underline; text-underline-offset: 5px; min-height: 28px; }
.hp-flash .is-open, .hp-flash[open] .is-shut { display: none; } .hp-flash[open] .is-open { display: inline; }
.hp-flash summary:focus-visible { outline-offset: -5px; }
.hp-answer { border-top: 1px solid var(--hp-rule); padding: 22px 28px 0; }
.hp-a { font-size: 20px; line-height: 1.4; font-weight: 600; margin: 4px 0 20px; }
.hp-rate { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 -28px; border-top: 1px solid var(--hp-rule); }
.hp-rate div { padding: 14px 8px; text-align: center; } .hp-rate div + div { border-left: 1px solid var(--hp-rule); }
.hp-rate dt { font-weight: 700; font-size: 15px; } .hp-rate dd { margin: 0; font-size: 14px; color: var(--hp-dim); }
.hp-notes { display: grid; grid-template-columns: 190px 1fr; overflow: hidden; min-height: 342px; }
.hp-tree { background: var(--hp-band); padding: 24px 0; font-size: 15px; }
.hp-tree b, .hp-tree span { display: block; padding: 8px 20px; } .hp-tree span { padding-left: 32px; color: var(--hp-dim); }
.hp-tree .on { color: var(--hp-ink); font-weight: 700; box-shadow: inset 4px 0 #B4531B; background: var(--hp-paper); }
.hp-pagex { padding: 24px 30px 28px; font-size: 15px; }
.hp-note-h { font-size: 23px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.hp-cornell { display: grid; grid-template-columns: 2fr 3fr; border: 1px solid var(--hp-rule); }
.hp-cornell > * { padding: 11px 14px; border-bottom: 1px solid var(--hp-rule); } .hp-cornell > :nth-child(odd) { border-right: 1px solid var(--hp-rule); } .hp-cornell > :nth-last-child(-n+2) { border-bottom: 0; min-height: 70px; }
.hp-cornell mark { background: #F0D9A0; color: #2a2112; padding: 1px 3px; }
.hp-sum { margin-top: 16px; } .hp-sum b { display: block; }
.hp-tf { display: grid; grid-template-columns: 7fr 5fr; gap: 40px 72px; align-items: end; }
.hp-upcoming { margin-top: 32px; max-width: 700px; } .hp-upcoming summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--color-text-muted); cursor: pointer; list-style: none; } .hp-upcoming summary span { text-decoration: underline; text-underline-offset: 5px; } .hp-upcoming summary::-webkit-details-marker { display: none; } .hp-upcoming summary::after { content: "+"; margin-left: 10px; font-size: 22px; line-height: 1; display: inline-block; } .hp-upcoming[open] summary::after { content: "\2212"; } .hp-upcoming p { margin-top: 4px; }
.hp-own { margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(40px, 4vw, 56px); border-top: 2px solid var(--color-text); } .hp .hp-big { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.03em; }
.hp-subject { margin-top: 48px; } .hp-sub-top { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 24px 28px 16px; } .hp-sub-top b { font-size: 26px; letter-spacing: -.02em; } .hp-sub-top span { color: var(--hp-dim); }
.hp-sub-tabs { display: flex; flex-wrap: wrap; gap: 0 28px; padding: 0 28px; border-bottom: 1px solid var(--hp-rule); font-weight: 600; } .hp-sub-tabs span { padding: 10px 0; } .hp-sub-tabs .on { box-shadow: inset 0 -4px #B4531B; }
.hp-sub-next { padding: 28px; } .hp-sub-next span, .hp-sub-next b { display: block; } .hp-sub-next b { font-size: 24px; letter-spacing: -.02em; }
.hp-tf p { max-width: 58ch; margin: 20px 0 28px; } .hp-tf img { border-radius: 10px; width: 100%; }
.hp-tf-play { grid-column: 1 / -1; display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: center; } .hp-tf-pic { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--hp-band); } .hp-tf-pic > * { width: 100%; height: 100%; object-fit: cover; }
.hp-tf { align-items: start; } .hp-tf-words, .hp-lv { grid-column: 1 / -1; min-width: 0; } .hp .hp-tf-words p { margin-bottom: 0; }
.hp-lv { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 56px; align-items: center; width: 100%; }
.hp :is(.hp-lv, .hp-tree, .hp-pick) input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hp-levels { counter-reset: l; }
.hp-levels > div { position: relative; }
.hp-levels label { counter-increment: l; display: grid; grid-template-columns: 48px 1fr; padding: 18px 16px; border-bottom: 1px solid var(--hp-rule); border-left: 5px solid transparent; line-height: 1.35; cursor: pointer; }
.hp-levels label:hover { background: var(--hp-band); } .hp .hp-levels input:checked + label { border-color: var(--hp-rule); border-left-color: #E8823A; background: var(--hp-band); font-weight: inherit; }
.hp-levels label::before { content: counter(l); grid-row: span 2; font-size: 34px; line-height: 1.1; font-weight: 700; color: var(--color-accent-orange); }
.hp .hp-lvstage img { width: 100%; border-radius: 14px; background: var(--hp-band); }
.hp-lvstage figcaption { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; } .hp-lvstage figcaption b { flex: 0 0 100%; color: var(--color-text); font-size: 18px; }
.hp-lvstage figcaption span, .hp-upcoming li { padding: 6px 14px; border-radius: 8px; background: var(--hp-band); color: var(--hp-ink); font-size: 15px; font-weight: 600; }
/* Choosers that work without scripts: the first one shows unless another is chosen. */
:is(.hp-lvstage, .hp-pages) > :not(.s1) { display: none; }
.hp-lv:has(#lv2:checked) .s1, .hp-lv:has(#lv3:checked) .s1, .hp-lv:has(#lv4:checked) .s1, .hp-notes:has(#nt2:checked) .s1, .hp-notes:has(#nt3:checked) .s1, .hp-notes:has(#nt4:checked) .s1 { display: none; }
.hp-lv:has(#lv2:checked) .hp-lvstage > .s2, .hp-lv:has(#lv3:checked) .hp-lvstage > .s3, .hp-lv:has(#lv4:checked) .hp-lvstage > .s4, .hp-notes:has(#nt2:checked) .hp-pages > .s2, .hp-notes:has(#nt3:checked) .hp-pages > .s3, .hp-notes:has(#nt4:checked) .hp-pages > .s4 { display: block; }
.hp-levels b { font-size: 19px; } .hp-levels span { font-size: 15px; color: var(--color-text-muted); }

/* things to try (home-demos.js). Anything that needs a script stays hidden until it's ready. */
.hp-do, .hp-go { min-height: 44px; padding: 8px 18px; border: 2px solid currentColor; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; } .hp-do { align-self: flex-start; }
.hp-do:hover { background: var(--hp-band); }
.hp-go { border: 0; background: #F5A623; color: #1a1410; padding-inline: 34px; } .hp-go:hover { background: #FFBD4A; }
.hp-hint { font-weight: 500; margin-left: 10px; }
.hp-tick { position: relative; display: block; cursor: pointer; }
.hp-tick input { position: absolute; right: 5px; top: 5px; width: 18px; height: 18px; margin: 0; accent-color: #2F5233; cursor: pointer; }
.hp .hp-tick i { padding-right: 28px; min-height: 44px; }
.hp .hp-mini .hp-tick i { padding: 6px 4px 28px 7px; min-height: 66px; } .hp-mini .hp-tick input { top: auto; right: auto; left: 10px; bottom: 6px; }
.hp-mini em { font-style: normal; font-size: 13px; color: var(--hp-dim); }
.hp-tick:hover i { text-decoration: underline; } .hp .hp-tick input:checked + i { text-decoration: line-through; border-left-style: dotted; }
.hp-said { font-weight: 700; } .hp-answer .hp-said { margin: 0 -28px; padding: 0 28px; } .hp-answer .hp-said:not(:empty) { padding-block: 14px; border-top: 1px solid var(--hp-rule); }
.hp-rate button { padding: 12px 4px; min-height: 60px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; } .hp-rate button + button { border-left: 1px solid var(--hp-rule); }
.hp-rate button:hover { background: var(--hp-band); } .hp-rate button[aria-pressed="true"] { background: var(--hp-band); box-shadow: inset 0 -5px #E8823A; }
.hp-rate b, .hp-rate span { display: block; } .hp-rate b { font-size: 15px; } .hp-rate span { font-size: 14px; color: var(--hp-dim); } .hp-rate button:focus-visible { outline-offset: -4px; }
.hp-tree div { position: relative; padding: 0; } .hp-tree label { display: flex; align-items: center; min-height: 46px; padding: 8px 14px 8px 32px; color: var(--hp-dim); cursor: pointer; } .hp-tree label:hover { color: var(--hp-ink); text-decoration: underline; }
.hp .hp-tree input:checked + label { color: var(--hp-ink); font-weight: 700; box-shadow: inset 4px 0 #B4531B; background: var(--hp-paper); }
.hp-pages { min-width: 0; } .hp-sum > span { display: block; } .hp-cornell > *, .hp-sum > span { min-width: 0; overflow-wrap: anywhere; }
.hp-notes [contenteditable] { cursor: text; border-radius: 2px; } .hp-sum > [contenteditable] { padding: 8px 10px; margin-top: 4px; border: 1px solid var(--hp-rule); } .hp-notes [contenteditable]:hover { background: var(--hp-band); } .hp-notes [contenteditable]:focus { outline: 3px solid #E8823A; outline-offset: -2px; }
.hp-marks input { width: 72px; min-height: 44px; padding: 6px 8px; border: 1px solid var(--color-border-strong); border-radius: 6px; background: var(--hp-paper); color: var(--hp-ink); font: inherit; }
.hp-modes button, .hp-mins button { min-height: 36px; padding: 6px 11px; border: 0; border-radius: 99px; background: none; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; } .hp-timer button[aria-pressed="true"] { background: #fff; color: #1a2430; } .hp-modes button:hover, .hp-mins button:hover { text-decoration: underline; }
.hp-timer .hp-go { margin-top: 16px; }
.hp-ring b, .hp-clock { font-variant-numeric: tabular-nums; }
.hp-pick { display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 40px; } .hp-pick > div { position: relative; }
.hp-pick label { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 20px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 8px; font-weight: 600; cursor: pointer; } .hp-pick label:hover { border-color: #fff; } .hp .hp-pick input:checked + label { background: #F6EDDD; color: #3B271C; border-color: #E8823A; }
.hp .hp-post b .hp-in { display: inline; }
.hp-buds { flex-wrap: wrap; } .hp-buds button { display: grid; gap: 8px; justify-items: center; min-width: 64px; padding: 8px; border: 2px solid transparent; border-radius: 12px; background: none; color: inherit; font: inherit; cursor: pointer; } .hp-buds button:hover { border-color: var(--color-border-strong); } .hp-buds button[aria-pressed="true"] { border-color: #E8823A; }
.hp .hp-corner-words .hp-bubble { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--hp-band); color: var(--hp-ink); font-weight: 600; }
.hp-rooms button { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; } .hp-rooms button img { border: 4px solid transparent; } .hp-rooms button:hover span { text-decoration: underline; } .hp-rooms [aria-pressed="true"] img { border-color: #E8823A; } .hp-rooms [aria-pressed="true"] span { font-weight: 700; }
.hp-roomlist small { font-size: 14px; font-weight: 500; color: var(--hp-dim); }
.hp-status { margin-top: 22px; } .hp-status > p { font-weight: 700; margin-bottom: 10px; } .hp-status > div { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-status button { min-height: 44px; padding: 8px 16px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 8px; background: none; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; } .hp-status button:hover { border-color: #F2A66E; } .hp-status button[aria-pressed="true"] { background: #F6EDDD; color: #29241F; border-color: #F6EDDD; }
.hp-status label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; font-weight: 600; cursor: pointer; } .hp-status input { width: 20px; height: 20px; accent-color: #E8823A; }
.hp-find { margin-bottom: 32px; } .hp-find > label { display: block; font-weight: 700; margin-bottom: 8px; }
.hp-find input { width: min(100%, 460px); min-height: 52px; padding: 10px 16px; border: 2px solid var(--color-border-strong); border-radius: 8px; background: var(--hp-paper); color: var(--hp-ink); font: inherit; }
.hp-find > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .hp-find button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--color-border-strong); border-radius: 8px; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; } .hp-find button:hover { background: var(--hp-band); } .hp-find button[aria-pressed="true"] { background: #B4531B; border-color: #B4531B; color: #fff; }
.hp-find > p { margin-top: 12px; min-height: 1.6em; }

/* plan */
.hp-plan { background: var(--hp-band); }
.hp-week-in { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.hp-week-in > div { min-height: 232px; padding: 16px 10px; } .hp-week-in > div + div { border-left: 1px solid var(--hp-rule); }
.hp-week b { font-size: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--hp-rule); }
.hp-week i { margin-bottom: 8px; } .hp-week i.c-les { min-height: 84px; } .hp i.c-les { font-size: 13px; }
.hp-week em { font-style: normal; font-size: 14px; color: var(--hp-dim); }
.hp-after { display: grid; grid-template-columns: 1fr 1fr 1.350fr; gap: 48px; margin-top: 48px; align-items: start; }
.hp-after p { margin-top: 10px; }
.hp-marks { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hp-marks caption { text-align: left; font-size: 15px; color: var(--color-text-muted); padding-bottom: 8px; }
.hp-marks th, .hp-marks td { text-align: left; padding: 11px 8px 11px 0; border-top: 1px solid var(--color-border-strong); font-size: 16px; } .hp-marks thead th { font-size: 14px; } .hp-marks tbody td:last-child { font-weight: 700; }

/* focus */
.hp-focus { background: var(--hp-sky); color: #fff; padding-top: var(--hp-gap); }
.hp-focus .hp-head p, .hp-trip p, .hp-way p { color: var(--hp-soft); }
.hp-places { position: relative; display: grid; grid-template-columns: max(32px, (100% - 1240px) / 2) repeat(4, auto) 1fr; }
.hp-places > input, .hp-places > label { grid-row: 2; align-self: start; }
.hp-places > :is(#pl1, [for=pl1]) { grid-column: 2; } .hp-places > :is(#pl2, [for=pl2]) { grid-column: 3; } .hp-places > :is(#pl3, [for=pl3]) { grid-column: 4; } .hp-places > :is(#pl4, [for=pl4]) { grid-column: 5; }
.hp-places input, .hp-garden input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hp-places label, .hp-garden label { display: inline-flex; align-items: center; min-height: 52px; padding: 8px 0; margin-right: 32px; font-weight: 600; cursor: pointer; border-bottom: 4px solid transparent; }
.hp-places label:hover, .hp-garden label:hover { border-color: var(--color-border-strong); }
.hp input:checked + label { border-color: #E8823A; font-weight: 700; }
.hp input:focus-visible + label { outline: 3px solid #E8823A; outline-offset: 3px; border-radius: 4px; }
.hp-stage { position: relative; flex: 0 0 100%; min-width: 0; }
.hp-stage > [class^="s"] { display: none; }
#pl1:checked ~ .hp-stage .s1, #pl2:checked ~ .hp-stage .s2, #pl3:checked ~ .hp-stage .s3, #pl4:checked ~ .hp-stage .s4,
#pl5:checked ~ .hp-stage .s5, #pl6:checked ~ .hp-stage .s6,
#gd1:checked ~ .hp-stage .s1, #gd2:checked ~ .hp-stage .s2, #gd3:checked ~ .hp-stage .s3, #gd4:checked ~ .hp-stage .s4 { display: block; }
.hp-places .hp-stage { grid-row: 1; grid-column: 1 / -1; margin-bottom: 14px; height: clamp(520px, 50vw, 800px); background: #241a16; overflow: hidden; }
.hp-places .hp-stage > img { width: 100%; height: 100%; object-fit: cover; }
.hp-timer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 372px; padding: 24px; border-radius: 16px; background: rgba(32, 24, 22, .86); text-align: center; color: #fff; }
.hp-modes, .hp-mins { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; font-size: 14px; font-weight: 600; } .hp-modes span, .hp-mins span { padding: 6px 11px; border-radius: 99px; } .hp-timer .on { background: #fff; color: #1a2430; }
.hp-ring { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 190px; height: 190px; margin: 22px auto; border: 9px solid #F5A623; border-radius: 50%; } .hp-ring b { font-size: 48px; line-height: 1.1; letter-spacing: -.03em; } .hp-ring span { font-size: 14px; }
.hp-journey { padding-block: var(--hp-gap); }
.hp-journey .hp-head h3 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.hp-trip { display: grid; grid-template-columns: 3.1fr 5.900fr 3.400fr; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: t; align-items: start; }
.hp-trip li { counter-increment: t; position: relative; display: grid; grid-template-rows: auto 1fr; border-top: 2px solid rgba(255, 255, 255, .38); padding-top: 18px; grid-template-rows: auto minmax(108px, auto) auto; }
.hp-trip h4::before { content: counter(t) "."; margin-right: .35em; color: #F2A66E; }
.hp-trip p { font-size: 16px; line-height: 1.5; margin: 8px 0 20px; }
.hp-trip .t2 > img { border-radius: 10px; width: 100%; }
.hp-trip .t1 { grid-template-rows: auto minmax(108px, auto) 1fr; height: 100%; } .hp-ticket > div { display: flex; flex-direction: column; height: 100%; }
.hp-ticket { background: #F6EDDD; color: #3B271C; border-radius: 10px; overflow: hidden; border: 3px solid #E8823A; }
.hp .hp-ticket p, .hp .hp-post p { color: inherit; margin: 0; }
.hp .hp-ticket .hp-tk-top { color: #fff; } .hp .hp-tk-top { display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; background: #B4531B; color: #fff; font-size: 15px; font-weight: 700; }
.hp .hp-tk-city { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; padding: 18px 16px 0; } .hp .hp-tk-land { padding: 2px 16px 18px; }
.hp-tk-stub { flex: 1; align-content: center; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; justify-items: start; border-top: 2px dashed #A58A6C; padding: 14px 16px; font-size: 15px; line-height: 1.35; } .hp .hp-tk-stub img { height: 66px; width: auto; } .hp-tk-stub span { grid-column: 1 / -1; }
.hp-post { background: #F6EDDD; color: #3B271C; border-radius: 10px; overflow: hidden; } .hp-post img { width: 100%; }
.hp .hp-post p { padding: 14px 16px 18px; padding-right: 92px; font-size: 15px; line-height: 1.4; } .hp-post b, .hp-post span { display: block; } .hp-post b { font-size: 17px; }
.hp-trip .hp-gift { position: absolute; right: 14px; bottom: -22px; width: 72px; }
.hp-more { display: flex; gap: 14px; margin-top: 26px; } .hp-way .hp-more img { aspect-ratio: auto 16 / 9; width: 168px; border: 6px solid #F6EDDD; border-bottom-width: 22px; border-radius: 4px; }
.hp-way { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; margin-top: clamp(64px, 7vw, 96px); } .hp-way img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; object-position: 50% 35%; }
.hp-way h4 { font-size: clamp(24px, 2.4vw, 32px); } .hp-way p { margin-top: 12px; max-width: 42ch; }

/* grow */
.hp-garden { position: relative; display: flex; flex-wrap: wrap; counter-reset: g; }
.hp-garden label { counter-increment: g; flex: 1 1 22%; margin: 0; padding: 10px 0; border-bottom: 0; border-top: 4px solid var(--hp-rule); }
.hp-garden label::before { content: counter(g); margin-right: 12px; font-weight: 700; color: var(--color-text-muted); }
.hp-garden .hp-stage { margin-top: 12px; }
.hp-garden .hp-stage img { width: 100%; aspect-ratio: 15 / 8; background: #B9BF8C; border-radius: 10px; }
.hp-garden figcaption { min-height: 3em; }
.hp-corner { display: grid; grid-template-columns: 7.6fr 4.4fr; gap: 28px 56px; align-items: center; margin-top: clamp(64px, 7vw, 104px); }
.hp-room { width: 100%; border-radius: 10px; background: #3B271C; }
.hp-corner-words h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.03em; } .hp-corner-words p { margin: 16px 0 28px; }
.hp-buds { display: flex; gap: 20px; } .hp-buds li { display: grid; gap: 8px; justify-items: center; font-size: 15px; font-weight: 600; }
.hp-rooms { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; } .hp-rooms img { width: 100%; border-radius: 8px; background: #3B271C; } .hp-rooms span { display: block; margin-top: 8px; font-size: 15px; }

/* with others */
.hp-with { background: var(--hp-moss); color: #fff; }
.hp-with-in { display: grid; grid-template-columns: 5.600fr 6.400fr; gap: 40px 88px; align-items: start; }
.hp-with .hp-fig { margin-top: 36px; } .hp .hp-with figcaption { color: #fff; }
.hp-roomlist p { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--hp-rule); font-size: 15px; } .hp-roomlist p > span { color: var(--hp-dim); }
.hp-roomlist .hp-rl-top { grid-template-columns: 1fr auto; border-top: 0; padding-block: 16px; font-size: 17px; } .hp-roomlist .hp-rl-top span { font-size: 26px; font-weight: 700; color: var(--hp-ink); font-variant-numeric: tabular-nums; }
.hp-with-list > div { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .45); } .hp-with-list p { margin-top: 8px; max-width: 54ch; }

/* everything */
.hp-all .hp-head { margin-bottom: 28px; }
.hp-group { border-top: 1px solid var(--color-border-strong); } .hp-group:last-child { border-bottom: 1px solid var(--color-border-strong); }
.hp-group summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; cursor: pointer; list-style: none; font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; padding-block: 10px; }
.hp-group summary::-webkit-details-marker { display: none; }
.hp-group summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 8px; border: solid var(--color-accent-orange); border-width: 0 3px 3px 0; transform: translateY(-3px) rotate(45deg); }
.hp-group[open] summary::after { transform: translateY(3px) rotate(225deg); }
.hp-group summary:hover span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hp-group dl { margin: 0; padding: 8px 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 44px; }
.hp-group dt { font-weight: 700; } .hp-group dd { margin: 2px 0 0; font-size: 16px; line-height: 1.5; color: var(--color-text-muted); }

/* finish and footer */
.hp-end { background: var(--hp-sky); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.hp-end-in { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 56px; align-items: start; } .hp-end h2 { font-size: clamp(40px, 5vw, 72px); } .hp-end p + p { margin-top: 20px; } .hp-end p a:not([class]) { text-decoration: underline; text-underline-offset: 4px; }
.hp-foot { background: var(--hp-sky); color: #E8DCCB; padding-bottom: 40px; } .hp-foot > div { display: grid; grid-template-columns: auto 1fr; gap: 12px 56px; align-items: center; border-top: 1px solid rgba(255, 255, 255, .24); padding-top: 24px; }
.hp-foot ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 26px; } .hp-foot li a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; font-size: 16px; } .hp-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hp-small { grid-column: 1 / -1; font-size: 14px; max-width: 90ch; }
.hp-ann { position: fixed; z-index: 90; inset: auto 0 0 0; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 10px 20px; background: var(--color-surface); color: var(--color-text); border-top: 2px solid var(--color-accent-orange); font-size: 16px; } .hp-ann a { text-decoration: underline; font-weight: 700; } .hp-ann button { min-width: 64px; min-height: 44px; border: 1px solid var(--color-border-strong); border-radius: 8px; background: none; color: inherit; font: inherit; font-weight: 600; }

/* the owner's homepage plan (30 Nov 2026): small previews, quiet links and counts */
.hp-duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
.hp-duo > div > p { max-width: 46ch; margin-top: 18px; }
@media (min-width: 1081px) { .hp-swap > :first-child { order: 2; } }
.hp-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 28px; margin-top: 18px; min-height: 44px; }
.hp-seemore { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; } .hp-seemore:hover { text-decoration-thickness: 3px; }
.hp-focus .hp-under { color: var(--hp-soft); }
.hp-test { padding: 24px 28px 26px; } .hp-test label { display: flex; align-items: center; gap: 12px; min-height: 48px; border-top: 1px solid var(--hp-rule); cursor: pointer; } .hp-test input { width: 20px; height: 20px; flex: none; accent-color: #2F5233; }
.hp .hp-test-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: none; margin: 0 0 14px; } .hp-test-top b { font-size: 22px; } .hp-test-top strong { font-size: 40px; line-height: 1; color: var(--color-accent-orange); }
.hp-test .hp-do { margin-top: 14px; } .hp .hp-test .hp-said { margin-top: 12px; min-height: 1.6em; }
.hp-marksbox { padding: 24px 28px; } .hp-marksbox .hp-marks caption { color: var(--hp-dim); } .hp-marksbox .hp-marks th, .hp-marksbox .hp-marks td { border-color: var(--hp-rule); }
.hp .hp-places { display: flex; flex-wrap: wrap; align-items: center; gap: 0 32px; padding-inline: max(32px, (100% - 1240px) / 2); }
.hp .hp-facts-h { font-weight: 700; margin-bottom: 0; }
.hp-facts { margin: 8px 0 0; display: grid; gap: 6px; } .hp-facts li { position: relative; padding-left: 26px; font-size: 16px; }
.hp-facts li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px; border: solid #F2A66E; border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.hp-places .hp-stage { order: -2; flex: 0 0 100vw; margin-inline: calc(50% - 50vw); }
.hp-places label { margin-right: 0; }
.hp-taphint { order: -1; flex: 0 0 100%; font-weight: 600; color: #F8C99B; transition: opacity .6s, visibility .6s; } .hp-taphint.is-done { opacity: 0; visibility: hidden; }
.hp-locked { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 2px dashed rgba(255, 255, 255, .6); border-radius: 8px; color: var(--hp-soft); font-weight: 600; } .hp-locked:hover { border-style: solid; text-decoration: underline; text-underline-offset: 4px; }
.hp-trip { align-items: stretch; margin-top: 22px; } .hp-tripview { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.hp-corner { margin-top: 0; } .hp-rooms { grid-template-columns: repeat(3, 1fr); } .hp-corner .hp-under { grid-column: 1 / -1; margin-top: 0; }
.hp-upcoming { margin-top: 0; max-width: none; } .hp-upcoming ul { display: flex; flex-wrap: wrap; gap: 10px; } .hp-upcoming li { background: var(--hp-paper); border: 1px solid var(--hp-rule); font-size: 17px; padding: 10px 18px; }
.hp-taste { padding: 8px 20px clamp(48px, 5vw, 72px); text-align: center; font-size: clamp(20px, 2vw, 26px); font-weight: 600; } .hp-taste a { text-decoration: underline; text-underline-offset: 5px; }

/* the homepage master plan (30 Nov 2026) */
.hp section[id] { scroll-margin-top: 0; }
.hp-top .hp-links { align-items: center; gap: clamp(16px, 2vw, 30px); } .hp-top .hp-start { padding: 0 20px; border: 2px solid currentColor; border-radius: 8px; } .hp-top .hp-start:hover { background: #fff; color: #071B31; text-decoration: none; }
.hp-menu { display: none; position: relative; } .hp-menu summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 2px solid currentColor; border-radius: 8px; font-weight: 700; cursor: pointer; list-style: none; } .hp-menu summary::-webkit-details-marker { display: none; }
.hp-top .hp-menu nav { position: absolute; z-index: 5; right: 0; top: calc(100% + 8px); display: grid; gap: 0; width: min(280px, 86vw); padding: 10px; border-radius: 12px; background: #FFFDF9; color: #29241F; box-shadow: 0 18px 40px rgba(7, 27, 49, .35); } .hp-top .hp-menu a { padding: 0 14px; } .hp-top .hp-menu .hp-start { justify-content: center; margin-top: 8px; border-color: #B4531B; background: #B4531B; color: #fff; }
.hp-try { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 56px; align-items: center; margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--color-text); } .hp-try h3 { margin-bottom: 12px; }
.hp-saver { padding: 24px 28px; } .hp-saver label { display: block; font-size: 18px; font-weight: 600; } .hp-saver output { font-size: 28px; font-weight: 800; color: var(--color-accent-orange); } .hp-saver input { width: 100%; height: 44px; margin: 4px 0 10px; accent-color: #B4531B; }
.hp-jar { display: flex; align-items: flex-end; gap: 4px; height: 130px; border-bottom: 2px solid var(--hp-rule); } .hp-jar:empty { display: none; } .hp-jar i { flex: 1; min-width: 3px; border-radius: 4px 4px 0 0; background: #D79A35; } .hp-jar i:last-child { background: #5F7D35; } .hp-saver p { margin-top: 14px; font-size: 18px; font-weight: 700; }
.hp-soon { margin-top: 20px; color: var(--color-text-muted); }
.hp-org { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; margin-top: clamp(32px, 4vw, 56px); } .hp-org h3 { margin-bottom: 16px; } .hp-org p:not([class]) { margin-top: 12px; } .hp .hp-gardenpic { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; } .hp-org .hp-marksbox { padding: 20px; } .hp-org .hp-marks input { width: 62px; } .hp-org .hp-marks th, .hp-org .hp-marks td { padding-right: 4px; font-size: 15px; }
.hp-read { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: 1fr 1fr; gap: 28px 40px; } .hp-story { display: grid; gap: 14px; align-content: start; } .hp-story:first-child { grid-row: 1 / 3; } .hp .hp-story img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 10px; } .hp .hp-story:first-child img { height: 100%; aspect-ratio: auto; }
.hp-story:first-child { grid-template-rows: minmax(0, 1fr) auto; } .hp-story b { display: block; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; } .hp-story:first-child b { font-size: clamp(24px, 2.6vw, 34px); } .hp-story small { display: block; margin-top: 6px; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; } .hp-story:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hp-story:not(:first-child) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: center; align-content: center; }
.hp-together { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--color-border-strong); } .hp-together p { margin: 8px 0 12px; } .hp-facts { list-style: none; padding: 0; } .hp-sec:not(.hp-with) .hp-facts li::before { border-color: var(--color-accent-orange); }
.hp-ways { padding: 0; overflow: hidden; } .hp .hp-ways { padding: 0; } .hp-ways-pick { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--hp-band); } .hp-ways-pick > div { position: relative; } .hp .hp-ways input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hp-ways label { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 8px; font-weight: 600; cursor: pointer; border-bottom: 4px solid transparent; } .hp-ways label:hover { text-decoration: underline; text-underline-offset: 4px; } .hp .hp-ways input:checked + label { background: var(--hp-paper); border-color: #E8823A; }
.hp-ways .hp-pages > div { padding: 28px 30px 32px; min-height: 230px; } .hp-ways ul { display: grid; gap: 12px; } .hp-ways li { padding-left: 18px; border-left: 4px solid #E3A13B; line-height: 1.45; }
.hp-ways:has(#wy2:checked) .s1, .hp-ways:has(#wy3:checked) .s1 { display: none; } .hp-ways:has(#wy2:checked) .hp-pages > .s2, .hp-ways:has(#wy3:checked) .hp-pages > .s3 { display: block; }
.hp-trust { gap: 16px; } .hp-trust li { padding: 0 0 16px 34px; border-bottom: 1px solid rgba(255, 255, 255, .35); font-size: 18px; line-height: 1.45; } .hp-trust li:last-child { border: 0; }
.hp-faq h2 { margin-bottom: 28px; } .hp-faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; } .hp-faqs details { border-top: 1px solid var(--color-border-strong); } .hp-faqs summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; } .hp-faqs summary::-webkit-details-marker { display: none; }
.hp-faqs summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border: solid var(--color-accent-orange); border-width: 0 3px 3px 0; transform: rotate(45deg); } .hp-faqs [open] summary::after { transform: rotate(225deg); } .hp-faqs p { padding-bottom: 22px; max-width: 60ch; } .hp-faqs p a { text-decoration: underline; text-underline-offset: 4px; }
.hp-page .hp-hero { background: var(--hp-sky); } .hp-page .hp-top { margin-bottom: 0; } .hp .hp-page-h { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; line-height: 1.05; }

/* smaller screens */
@media (max-width: 1200px) {
  .hp-intro { height: auto; }
  .hp-words { gap: 40px 6%; grid-template-columns: 1fr 1fr; padding-top: 112px; }
  .hp-quad { position: static; height: 56vw; max-height: 620px; background-position: 50% 12%; }
  .hp-quad::after { display: none; }
}
@media (max-width: 1080px) {
  .hp-desk { grid-template-columns: 1.900fr 1fr; } .hp-desk-time { display: none; } .hp-desk .hp-q { font-size: 22px; }
  .hp-study, .hp-tf, .hp-with-in { grid-template-columns: minmax(0, 1fr); }
  .hp-lv, .hp-duo, .hp-try { grid-template-columns: minmax(0, 1fr); } .hp-org { grid-template-columns: 1fr 1fr; }
  .hp-top .hp-links { display: none; } .hp-menu { display: block; }
  .hp .hp-trip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hp-tripview { grid-column: 1 / -1; grid-row: 2; height: auto; }
  .hp-after { grid-template-columns: 1fr 1fr; } .hp-after figure { grid-column: 1 / -1; }
  .hp-trip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hp-trip .t2 { grid-column: 1 / -1; grid-row: 2; } .hp-trip .t3 { grid-row: 3; grid-column: 1 / -1; display: block; max-width: 420px; } .hp-trip .t1 { display: block; grid-column: 1 / -1; } .hp-ticket { max-width: 420px; }
  .hp-trip li { display: block; }
  .hp-group dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-corner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .hp-desk { grid-template-columns: minmax(0, 1fr); } .hp-desk-card { display: none; }
  .hp-week-in { grid-template-columns: minmax(0, 1fr); } .hp-week-in > div { display: grid; grid-template-columns: 56px repeat(2, minmax(0, 1fr)); gap: 8px; min-height: 0; padding: 12px 14px; align-items: start; } .hp-week-in > div + div { border-left: 0; border-top: 1px solid var(--hp-rule); } .hp-week b { border: 0; } .hp-week i, .hp-week i.c-les { min-height: 0; margin: 0; } .hp-week em { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .hp { font-size: 16px; }
  .hp-wrap { width: calc(100% - 40px); }
  .hp-top { min-height: 72px; margin-bottom: -72px; } .hp-inside { display: none !important; }
  .hp-intro { padding-bottom: 0; margin-bottom: 84px; }
  .hp-words { display: block; padding-top: 92px; } .hp h1 { font-size: clamp(42px, 13.2vw, 60px); }
  .hp-lede { font-size: 17px; margin: 18px 0 18px; } .hp-invite { margin-top: 6px; }
  .hp-quad { height: 400px; max-height: none; margin-top: 12px; background-image: url(/home-art/quad-day-s.webp); background-position: 50% 0; }
  html[data-theme="dark"] .hp-quad { background-image: url(/home-art/quad-night-s.webp); }
  .hp-desk { grid-template-columns: minmax(0, 1fr); bottom: -40px; } .hp-desk-plan { display: none; } .hp-desk-card { display: flex; min-height: 150px; }
  .hp-head, .hp-after, .hp-end-in, .hp-way, .hp-tf-play, .hp-foot > div { grid-template-columns: minmax(0, 1fr); }
  .hp-head { gap: 14px; } .hp-after { gap: 32px; }
  .hp-notes { grid-template-columns: minmax(0, 1fr); } .hp-tree { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 0; } .hp-tree b { grid-column: 1 / -1; } .hp-tree label { padding-left: 18px; } .hp-pagex { padding: 20px; }
  .hp-flash summary { padding: 22px; min-height: 220px; } .hp-answer { padding-inline: 22px; } .hp-rate { margin-inline: -22px; }
  .hp-week-in > div { grid-template-columns: 44px repeat(2, minmax(0, 1fr)); }
  .hp-places { grid-template-columns: 20px 1fr 1fr 20px; } .hp-places > :is(#pl3, [for=pl3]) { grid-column: 2; grid-row: 3; } .hp-places > :is(#pl4, [for=pl4]) { grid-column: 3; grid-row: 3; } .hp-places label, .hp-garden label { margin: 0; } .hp-garden label { flex: 0 0 50%; } .hp-way .hp-more img { width: calc(50% - 7px); }
  .hp-places .hp-stage { height: 470px; }
  .hp-timer { width: min(320px, 100% - 32px); padding: 20px 12px; } .hp-modes span, .hp-mins span { padding: 5px 8px; font-size: 13px; } .hp-ring { width: 160px; height: 160px; margin-block: 16px; } .hp-ring b { font-size: 40px; }
  .hp-garden .hp-stage img { aspect-ratio: 5 / 4; object-fit: cover; }
  .hp-way { gap: 22px; }
  .hp-org, .hp-faqs, .hp-read { grid-template-columns: minmax(0, 1fr); } .hp-read { grid-template-rows: none; } .hp-story:first-child { grid-row: auto; display: grid; grid-template-rows: none; } .hp .hp-story:first-child img { height: auto; aspect-ratio: 8 / 5; } .hp-saver, .hp-ways .hp-pages > div { padding: 20px; } .hp-ways label { font-size: 15px; } .hp-pick label { padding: 8px 14px; }
  .hp .hp-places { padding-inline: 20px; gap: 0 16px; } .hp-places label { flex: 0 0 calc(50% - 8px); } .hp-locked { flex: 1 0 100%; justify-content: center; margin-top: 12px; }
  .hp .hp-trip { grid-template-columns: minmax(0, 1fr); } .hp-tripview { grid-row: auto; } .hp-test, .hp-marksbox { padding: 20px; } .hp-under { justify-content: flex-start; }
  .hp-rooms { grid-template-columns: 1fr 1fr; gap: 18px 14px; } .hp-buds { justify-content: space-between; gap: 8px; }
  .hp-roomlist p { grid-template-columns: 48px 1fr; padding-inline: 16px; } .hp-roomlist p:not(.hp-rl-top) > span { grid-column: 2; margin-top: -8px; }
  .hp-group dl { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hp-foot ul { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) { .hp-story:not(:first-child) { grid-template-columns: minmax(0, 1fr); } .hp-week-in > div { grid-template-columns: 44px minmax(0, 1fr); } .hp-week-in > div > i, .hp-week .hp-tick, .hp-week em { grid-column: 2; } }

/* clearer for anyone who asks for it */
html.a11y-high-contrast .hp { --hp-paper: #fff; --hp-ink: #000; --hp-dim: #000; --hp-rule: #000; --hp-band: #fff; --hp-soft: #fff; --hp-moss: #0B2114; --hp-sky: #000; }
html.a11y-high-contrast[data-theme="dark"] .hp { --hp-paper: #000; --hp-ink: #fff; --hp-dim: #fff; --hp-rule: #fff; --hp-band: #000; --hp-moss: #000; }
html.a11y-high-contrast .hp-quad { background-image: none; }
html.a11y-high-contrast .hp-top nav a, html.a11y-high-contrast .hp-foot li a { text-decoration: underline; }
html.a11y-high-contrast .hp-timer { background: #000; }
html.a11y-high-contrast .hp-btn { outline: 2px solid #fff; outline-offset: -4px; }
html.a11y-high-contrast .hp i[class^="c-"] { background: none; border: 1px solid; border-left-width: 5px; }
@media (prefers-contrast: more) { .hp { --hp-dim: var(--hp-ink); --hp-soft: #fff; } .hp dd, .hp figcaption { color: inherit !important; } }
@media (forced-colors: active) {
  .hp-btn, .hp-sheet, .hp-ticket, .hp-post, .hp-timer { border: 2px solid; }
  .hp input:checked + label { border-color: Highlight; } .hp-tree .on { outline: 2px solid; }
  .hp-group summary::after { border-color: CanvasText; } .hp-words { background: Canvas; }
}
@media (prefers-reduced-motion: reduce) { .hp *, .hp *::after { transition: none !important; animation: none !important; } }
@media print { .hp-quad, .hp-places .hp-stage, .hp-ann { display: none; } .hp-intro, .hp-focus, .hp-with, .hp-end, .hp-foot { background: none; color: #000; height: auto; } .hp-desk { position: static; } }
