/* profylady — palette and typography from Design System.dc.html. */
:root {
    --bg: #FFFFFF;
    --ink: #1B1F2A;
    --muted: #545B6B;
    --body2: #3F4656;
    --grey: #EEF0F3;
    --slot: #E4E7EC;
    --line: #D9DCE2;
    --line2: #CDD1D9;
    --blue: #1B1F2A;
    --blue-soft: #EEF0F3;
    --blue-dark: #E2B43C;
    --dark: #1B1F2A;
    --dark2: #22252D;
    --dark-line: #343844;
    --on-dark: #FFFFFF;
    --on-dark-muted: #E9EBF0;
    --on-dark-body: #B8BDC9;
    --display: 'Sofia Sans Condensed', 'Trebuchet MS', sans-serif;
    --text: 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Spectral', Georgia, serif;
    --pad: 48px;
    --header-h: 80px;
    --anchor: calc(var(--header-h) + 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.da-site {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.55;
    overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; color: inherit; }
p { text-wrap: pretty; }
.wrap {
    width: 100%;
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}
.band { width: 100%; }
.band-grey { background: var(--grey); }
.band-dark { background: var(--dark); color: var(--on-dark); }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 100;
    background: var(--ink); color: var(--bg); padding: 12px 16px;
}
.skip-link:focus { left: 12px; color: var(--bg); }

.kicker, .kicker-text {
    display: inline-flex; align-items: center; align-self: flex-start;
    min-height: 32px;
    font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--blue);
}
.kicker:hover { color: var(--ink); }
.queue {
    margin: 0; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.5; color: var(--muted);
}
.queue em { color: var(--blue); font-style: italic; }
.btn {
    align-self: flex-start;
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 22px;
    border: 1.5px solid var(--ink);
    font-weight: 600; font-size: 15px; white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn-light:hover { background: var(--on-dark); color: var(--ink); }
.sec-title {
    margin: 0; font-size: 52px; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance;
}
.sec-note { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.block-title { margin: 0 0 8px; font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; }
.block-note { margin: 0 0 36px; font-size: 17px; color: var(--muted); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 30;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
    position: relative;
    max-width: 1536px; margin: 0 auto;
    height: var(--header-h);
    padding: 0 var(--pad);
    display: flex; align-items: center; gap: 40px;
}
.logo {
    flex: none;
    font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -0.035em; line-height: 1;
    padding: 10px 0; white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav-side { display: flex; align-items: center; gap: 4px; flex: none; margin-right: -12px; }
.nav-link, .more summary {
    display: flex; align-items: center; height: 44px; padding: 0 12px;
    font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav-link.is-active { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.more { position: static; }
.more summary { list-style: none; gap: 8px; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.caret {
    display: inline-block; width: 7px; height: 7px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
.more[open] .caret { transform: translateY(2px) rotate(-135deg); }
.more-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 32px var(--pad) 40px;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px;
    box-shadow: 0 24px 40px -24px rgba(21, 23, 28, .25);
}
.panel-link {
    display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 8px; min-height: 44px; align-content: start;
}
.panel-num { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--blue); padding-top: 2px; }
.panel-name { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; }
.panel-desc { grid-column: 2; font-size: 14px; line-height: 21px; color: var(--muted); }
.menu-toggle {
    display: none;
    height: 44px; min-width: 44px; padding: 0 12px;
    border: 0; background: none; cursor: pointer;
    font: 600 15px var(--text); color: var(--ink);
}
.mobile-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 8px 20px 24px;
}
.mobile-menu[hidden] { display: none; }
.sheet-link {
    display: flex; align-items: baseline; gap: 12px;
    min-height: 52px; padding: 14px 0; border-bottom: 1px solid #E4E6EC;
    font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; line-height: 1.3;
}
.sheet-link .panel-num { width: 22px; flex: none; font-size: 14px; }
.sheet-extra { display: flex; gap: 8px; margin-top: 16px; }
.sheet-extra a {
    flex: 1; display: flex; align-items: center; justify-content: center;
    height: 48px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 15px;
}
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--blue-soft); pointer-events: none; }
.progress span { display: block; height: 4px; width: 0; background: var(--blue); }

/* Crumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a, .crumbs span { display: flex; align-items: center; min-height: 32px; }

/* Home: lead */
.lead { padding-top: 56px; padding-bottom: 72px; }
.lead-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin: 0 0 20px; font-size: 15px; color: var(--muted); }
.lead-meta .kicker { font-size: 15px; }
.lead-title {
    margin: 0 0 40px; max-width: 1120px;
    font-size: clamp(36px, 4.7vw, 68px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance;
}
.lead-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-rows: auto 1fr; gap: 24px 40px; }
.lead-shot { grid-row: 1 / span 2; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--slot); }
.lead-shot img, .card-shot img, .feat-shot img, .room-shot img, .row-shot img { width: 100%; height: 100%; object-fit: cover; }
.lead-copy { display: flex; flex-direction: column; gap: 24px; }
.lead-text { margin: 0; font-size: 21px; line-height: 32px; }
.lead-more { display: flex; flex-direction: column; gap: 14px; align-self: end; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.lead-more-label { font-size: 14px; color: var(--muted); }
.lead-more a { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 24px; letter-spacing: -0.01em; }
.lead.no-shot .lead-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto; gap: 40px 64px; }
.lead.no-shot .lead-text { font-size: 23px; line-height: 35px; }
.lead.no-shot .lead-more { align-self: start; }

/* Home: second row */
.second { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 88px; }
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-shot { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--slot); }
.card-copy { display: flex; flex-direction: column; gap: 12px; border-top: 1.5px solid var(--ink); padding-top: 14px; }
.card-shot + .card-copy { border-top: 0; padding-top: 6px; }
.card-title { margin: 0; font-size: 26px; line-height: 31px; letter-spacing: -0.02em; text-wrap: pretty; }
.card-lead { margin: 0; font-size: 16px; line-height: 25px; color: var(--muted); }

/* Home: order index */
.order { padding: 80px 0 88px; }
.order-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.order-head .sec-note { font-size: 19px; line-height: 29px; max-width: 620px; }
.order-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.order-item { border-top: 1.5px solid var(--ink); padding-top: 20px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 16px; }
.order-num { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 44px; letter-spacing: -0.03em; color: var(--blue); }
.order-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.order-name { font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 30px; letter-spacing: -0.02em; }
.order-desc { margin: 0; font-size: 15px; line-height: 23px; color: var(--muted); }
.order-first { margin-top: 6px; font-size: 16px; line-height: 24px; font-weight: 500; }
.order-first span { color: var(--blue); }
.order-grid-plain { padding-top: 16px; }

/* Home: dark band */
.feat { padding: 80px 0 88px; }
.feat a:hover { color: var(--blue-dark); }
.feat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.feat-head .btn:hover, .feat-all-mobile:hover { color: var(--ink); }
.feat-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.feat-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.feat-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark2); }
.feat-title { margin: 8px 0 0; font-size: 34px; line-height: 40px; letter-spacing: -0.02em; text-wrap: pretty; }
.feat-shot + .feat-title { margin-top: 8px; }
.feat-lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--on-dark-body); }
.feat-list { display: flex; flex-direction: column; }
.feat-list a { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-top: 1px solid var(--dark-line); }
.feat-list-title { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.01em; }
.feat-list-meta { font-size: 14px; color: var(--on-dark-muted); }
.feat-all-mobile { display: none; }

/* Home: rooms */
.rooms { padding-top: 88px; padding-bottom: 80px; }
.rooms-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 40px; }
.rooms-grid { display: grid; grid-template-columns: repeat(var(--rooms, 4), minmax(0, 1fr)); gap: 40px 28px; }
.room { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.room-name { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); min-height: 44px; display: flex; align-items: flex-end; }
.room-shot { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--slot); }
.room-post { font-size: 17px; line-height: 25px; font-weight: 600; }

/* Home: mistakes */
.mistakes { padding-top: 80px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.mistakes .sec-title { margin-bottom: 48px; max-width: 900px; }
.mistakes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.mistake { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.mistake-title { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 34px; letter-spacing: -0.02em; }
.mistake-box { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: var(--grey); color: var(--ink); }
.mistake-label { font-size: 14px; font-weight: 600; }
.mistake-err { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 28px; }

/* Home: three columns */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 96px; }
.trio-ruled { padding-top: 80px; border-top: 1px solid var(--line); }
.trio-col { display: flex; flex-direction: column; min-width: 0; }
.trio-name { margin: 0; padding-bottom: 16px; border-bottom: 1.5px solid var(--ink); font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.trio-item { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trio-title { font-size: 17px; line-height: 25px; font-weight: 600; }
.trio-meta { font-size: 14px; color: var(--muted); }

/* Category */
.cat-head { padding: 40px 0 56px; }
.cat-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.cat-head-grid.single { grid-template-columns: minmax(0, 1fr); }
.cat-num { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--blue); }
.cat-head h1 {
    margin: 0 0 24px; font-size: clamp(40px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
    overflow-wrap: break-word;
}
.cat-desc { margin: 0; max-width: 720px; font-size: 22px; line-height: 33px; }
.cat-where { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.cat-where-label { font-size: 14px; font-weight: 600; padding: 14px 0 6px; }
.cat-where a {
    display: flex; gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 0;
    font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35;
}
.cat-where a + a { border-top: 1px solid var(--line2); }
.cat-where em { color: var(--blue); }
.cat-head .search-form { margin-top: 32px; }
.subtopics { border-bottom: 1px solid var(--line); }
.subtopics-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 12px; padding-bottom: 12px; }
.subtopics-label { font-size: 14px; color: var(--muted); margin-right: 8px; }
.subtopics a { display: flex; align-items: center; height: 44px; padding: 0 14px; font-size: 15px; font-weight: 500; }
.subtopics a.is-current { background: var(--ink); color: var(--bg); }
.start { padding-top: 64px; padding-bottom: 24px; }
.start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.start-item { display: flex; flex-direction: column; gap: 14px; border-top: 1.5px solid var(--ink); padding-top: 18px; min-width: 0; }
.start-num { font-family: var(--display); font-weight: 600; font-size: 56px; line-height: 52px; letter-spacing: -0.04em; color: var(--blue); }
.start-title { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 30px; letter-spacing: -0.02em; }
.start-lead { font-size: 16px; line-height: 25px; color: var(--muted); }
.list { padding-top: 64px; padding-bottom: 96px; }
.list .block-title { margin-bottom: 28px; }
.row {
    display: grid; grid-template-columns: 160px minmax(0, 1fr) 280px; gap: 32px;
    padding: 28px 0; border-top: 1px solid var(--line);
}
.row-meta { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 21px; color: var(--muted); }
.row-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; grid-column: 2; }
.row-title { margin: 0; font-size: 26px; line-height: 32px; letter-spacing: -0.02em; text-wrap: pretty; overflow-wrap: break-word; }
.row-lead { margin: 0; font-size: 17px; line-height: 26px; color: var(--muted); max-width: 680px; }
.row-shot { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--slot); align-self: start; }
.empty { font-size: 18px; padding: 24px 0; border-top: 1px solid var(--line); margin: 0; }

.pagination { margin-top: 24px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagination .page-numbers {
    min-width: 48px; height: 48px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--ink); color: var(--bg); }
.pagination .page-numbers.dots { color: var(--muted); }
.pagination .prev, .pagination .next { padding: 0 20px; border: 1.5px solid var(--ink); font-size: 15px; }
.pagination .prev:hover, .pagination .next:hover { background: var(--ink); color: var(--bg); }

.search-form { display: flex; max-width: 640px; }
.search-form input {
    flex: 1; min-width: 0; height: 48px; padding: 0 14px;
    font: 500 17px var(--text); color: var(--ink);
    background: var(--bg); border: 1.5px solid var(--ink); border-right: 0; border-radius: 0;
}
.search-form button {
    height: 48px; padding: 0 22px; border: 0; border-radius: 0;
    background: var(--ink); color: var(--bg); font: 600 15px var(--text); cursor: pointer;
}

/* Article */
.article-head { padding-top: 40px; padding-bottom: 48px; }
.article-title {
    margin: 0 0 28px; max-width: 1080px;
    font-size: clamp(32px, 4.2vw, 60px); line-height: 1.07; letter-spacing: -0.03em; text-wrap: balance;
    overflow-wrap: break-word;
}
.article-lead { margin: 0 0 28px; max-width: 860px; font-size: 23px; line-height: 35px; }
.article-queue { margin-bottom: 20px; font-size: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; font-size: 15px; color: var(--muted); }
.article-cover { margin-top: 0; margin-bottom: 48px; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; height: auto; max-height: 70vh; object-fit: cover; }
.article-cover figcaption { padding-top: 10px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 24px; color: var(--muted); }
.article-layout {
    display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 88px; align-items: start;
    padding-top: 24px; padding-bottom: 96px;
}
.article-layout.no-toc { grid-template-columns: minmax(0, 720px); padding-left: calc(var(--pad) + 338px); }
.toc-side { position: sticky; top: var(--anchor); max-height: calc(100vh - var(--anchor) - 24px); overflow-y: auto; min-width: 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-right: 8px; }
.toc-side::-webkit-scrollbar { width: 4px; }
.toc-side::-webkit-scrollbar-thumb { background: var(--line); }
.admin-bar .toc-side { top: calc(var(--anchor) + 32px); }
.toc summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-bottom: 10px; border-bottom: 1.5px solid var(--ink);
    font-size: 14px; font-weight: 600; pointer-events: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc-count { font-weight: 500; color: var(--muted); display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a {
    display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline;
    padding: 9px 0; font-size: 15px; line-height: 21px;
}
.toc-n { color: var(--blue); font-size: 13px; font-weight: 600; }
.toc li a.is-current { color: var(--blue); font-weight: 600; }
.toc-more { margin: 10px 0 0 26px; font-size: 14px; color: var(--muted); }

.article-col { min-width: 0; }
.article-body { min-width: 0; font-size: 18px; line-height: 1.68; }
.article-body p, .page-body p { margin: 0 0 22px; }
.article-body h2, .page-body h2 {
    margin: 48px 0 18px; font-size: 32px; line-height: 1.18; letter-spacing: -0.025em;
    scroll-margin-top: var(--anchor); overflow-wrap: break-word;
}
.article-body > h2:first-child, .box-summary + h2 { margin-top: 0; }
.article-body h3, .page-body h3 { margin: 32px 0 12px; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; scroll-margin-top: var(--anchor); }
.article-body h4 { margin: 24px 0 8px; font-family: var(--text); font-size: 1em; font-weight: 600; }
.article-body ul, .article-body ol, .page-body ul, .page-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li, .page-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--blue); }
.article-body a, .page-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-body a:hover, .page-body a:hover { color: var(--blue); }
.article-body img { height: auto; }
.article-body figure, .article-body .wp-block-image { margin: 28px 0 36px; }
.article-body figcaption, .article-body .wp-caption-text { padding-top: 10px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 24px; color: var(--muted); }
.article-body .wp-caption { max-width: 100%; }
.article-body blockquote {
    margin: 8px 0 48px; padding: 8px 0; border: 0;
    font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.35; letter-spacing: -0.01em;
}
.article-body blockquote p { margin: 0 0 12px; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article-body code { font-size: .9em; background: var(--grey); padding: 1px 4px; }
.table-wrap { overflow-x: auto; margin: 0 0 32px; max-width: 100%; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; line-height: 22px; }
.table-wrap th, .table-wrap td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap thead th, .table-wrap tr:first-child th { font-weight: 600; font-size: 14px; color: var(--muted); }
.box { padding: 24px 28px; margin: 0 0 40px; }
.box-summary { background: var(--cream); }
.box-title { margin: 0 0 12px !important; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.box ul { margin: 0; padding-left: 20px; }
.box li { margin-bottom: 8px; }
.article-body details { border-top: 1px solid var(--line); }
.article-body details:last-of-type { border-bottom: 1px solid var(--line); }
.article-body details summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font-weight: 600; padding: 12px 0; }

.next-step { border-top: 1.5px solid var(--ink); padding-top: 20px; margin-top: 56px; }
.next-label { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blue); }
.next-title { display: block; margin-bottom: 10px; font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: -0.025em; text-wrap: pretty; }
.next-lead { margin: 0 0 28px; font-size: 17px; color: var(--muted); }
.next-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.next-links a { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--grey); min-height: 44px; }
.next-links em { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--blue); }
.next-links span { font-weight: 600; font-size: 16px; line-height: 23px; }

/* Pages: About, Privacy */
.doc-head { padding-top: 40px; padding-bottom: 8px; }
.doc-title { margin: 0 0 40px; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; overflow-wrap: break-word; text-wrap: balance; }
.doc-body { padding-bottom: 96px; }
.about-hero { padding-top: 72px; padding-bottom: 80px; }
.about-label { margin: 0 0 16px; font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--blue); }
.about-hero h1 { margin: 0 0 28px; max-width: 1100px; font-size: clamp(36px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.about-lead { margin: 0; max-width: 820px; font-size: 23px; line-height: 1.5; }
.about-topics { padding: 72px 0; }
.about-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; }
.about-split h2, .about-row h2 { margin: 0; font-size: 40px; line-height: 1.1; letter-spacing: -0.025em; }
.topics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.topics-grid a { display: grid; align-content: start; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 8px; padding: 16px 0; border-top: 1px solid var(--line2); min-height: 44px; }
.topic-name { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.topic-desc { grid-column: 2; font-size: 15px; line-height: 23px; color: var(--muted); }
.about-row {
    max-width: 1536px; margin: 0 auto; padding: 72px var(--pad);
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px;
}
.about-row + .about-row { border-top: 1px solid var(--line); }
.about-text { max-width: 760px; font-size: 18px; line-height: 1.65; }
.about-text > :last-child { margin-bottom: 0; }
.about-text h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.3; }
.about-text h3 ~ h3 { margin-top: 32px; }
.about-text .accent { font-family: var(--serif); font-style: italic; font-size: 1.25em; line-height: 1.4; }
.about-row.dark { max-width: none; background: var(--dark); color: var(--on-dark); padding-left: max(var(--pad), calc((100% - 1536px) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100% - 1536px) / 2 + var(--pad))); }
.about-row.dark .about-text { color: #D6D9E0; }
.about-row.dark .accent { color: var(--on-dark); }
.about-row.dark + .about-row { border-top: 0; }
.about-body .about-row a, .doc-body .about-row a { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.doc-body .about-row { padding-left: 0; padding-right: 0; }
.doc-body .about-row:first-child { border-top: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); }
.footer-top, .footer-bottom { max-width: 1536px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.footer-top { padding-top: 64px; display: flex; flex-direction: column; gap: 16px; }
.footer-logo { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.035em; line-height: 1.2; align-self: flex-start; }
.footer-logo:hover { color: var(--blue-dark); }
.footer-top p { margin: 0; max-width: 460px; font-size: 15px; line-height: 24px; color: var(--on-dark-muted); }
.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
    padding-bottom: 28px; margin-top: 48px;
    font-size: 14px; color: var(--on-dark-muted);
}
.footer-bottom::before { content: ''; flex-basis: 100%; height: 0; border-top: 1px solid #2E313A; margin-bottom: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 28px; flex: 1; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark); }
.footer-nav a:hover { color: var(--blue-dark); }

/* Clearfy cookie notice, restyled to the palette and a 44 px target */
#clearfy-cookie.clearfy-cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    max-width: 560px; margin: 0; padding: 0;
    background: var(--dark); color: var(--on-dark); border: 0; border-radius: 0; box-shadow: none;
    font: 400 14px/1.5 var(--text);
}
#clearfy-cookie.clearfy-cookie-hide { display: none; }
#clearfy-cookie .clearfy-cookie-container {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
    padding: 16px 20px; max-width: none; margin: 0; text-align: left;
}
#clearfy-cookie a { color: var(--on-dark); text-decoration: underline; }
#clearfy-cookie .clearfy-cookie-accept {
    min-height: 44px; min-width: 88px; padding: 0 18px; margin: 0;
    background: var(--on-dark); color: var(--ink); border: 0; border-radius: 0;
    font: 600 15px var(--text); cursor: pointer;
}
#clearfy-cookie .clearfy-cookie-accept:hover { background: var(--blue-dark); }

/* Keep all five headings visible on desktop. */
@media (min-width: 1100px) {
    #clearfy-cookie.clearfy-cookie { left: auto; right: 16px; max-width: 340px; }
}
@media (max-width: 1319px) {
    .main-nav .nav-link { padding-inline: 8px; }
    .header-inner { gap: 28px; }
}
@media (max-width: 1359px) {
    .lead-title { font-size: 58px; }
}
@media (max-width: 1199px) {
    .main-nav, .nav-side .nav-link { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; }
    .header-inner { justify-content: space-between; }
    .lead-title { font-size: 50px; }
    .order-grid, .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rooms-grid { grid-template-columns: repeat(min(var(--rooms, 4), 3), minmax(0, 1fr)); }
    .row { grid-template-columns: 120px minmax(0, 1fr) 200px; }
    .article-layout { grid-template-columns: 210px minmax(0, 720px); gap: 48px; }
    .article-layout.no-toc { padding-left: var(--pad); }
    .about-split, .about-row { grid-template-columns: minmax(0, 1fr); }
    .about-hero h1 { font-size: 56px; }
}

@media (max-width: 1099px) {
    :root { --header-h: 64px; }
    .nav-side { margin-right: -12px; }
    .lead-grid, .lead.no-shot .lead-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
    .lead-shot { grid-row: auto; }
    .second, .start-grid, .trio { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .second .card { padding: 20px 0; border-top: 1px solid var(--line); }
    .second .card-copy { border-top: 0; padding-top: 0; }
    .start-item { padding-bottom: 18px; }
    .trio-col + .trio-col { margin-top: 40px; }
    .order-head, .cat-head-grid, .feat-grid, .mistakes-grid { grid-template-columns: minmax(0, 1fr); }
    .feat-grid { gap: 24px; }
    .article-layout, .article-layout.no-toc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-left: var(--pad); }
    .toc-side { position: static; max-height: none; overflow: visible; }
    .toc { background: var(--grey); }
    .toc summary { pointer-events: auto; cursor: pointer; min-height: 52px; padding: 0 16px; border-bottom: 0; font-size: 16px; }
    .toc-count { display: inline; font-size: 14px; }
    .toc nav { padding: 0 16px 12px; }
    .toc li a { grid-template-columns: 28px minmax(0, 1fr); min-height: 44px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 22px; }
    .toc-n { font-size: 15px; }
    .toc-more { margin-left: 28px; }
}

/* Phones */
@media (max-width: 767px) {
    :root { --pad: 20px; --header-h: 60px; }
    body.da-site { font-size: 16px; }
    .logo { font-size: 21px; }
    .header-inner { padding-right: 8px; }
    .nav-side { margin-right: 0; }
    .sec-title { font-size: 32px; line-height: 36px; letter-spacing: -0.025em; }
    .sec-note, .order-head .sec-note { font-size: 16px; line-height: 24px; }
    .block-title { font-size: 28px; }
    .crumbs { margin-bottom: 16px; }
    .crumbs a, .crumbs span { min-height: 44px; }

    .lead { padding-top: 24px; padding-bottom: 40px; }
    .lead-shot { margin: 0 calc(-1 * var(--pad)); aspect-ratio: 4 / 5; order: -1; }
    .lead-title { font-size: 32px; line-height: 37px; letter-spacing: -0.025em; margin-bottom: 16px; text-wrap: pretty; }
    .lead-grid, .lead.no-shot .lead-grid { gap: 20px; }
    .lead-text, .lead.no-shot .lead-text { font-size: 17px; line-height: 26px; }
    .lead-copy { gap: 16px; }
    .lead-more a { font-size: 17px; line-height: 23px; }
    .second { padding-bottom: 48px; }
    .second .card { flex-direction: row-reverse; gap: 16px; padding: 18px 0; }
    .second .card-shot { flex: none; width: 96px; aspect-ratio: 1; }
    .second .card-copy { flex: 1; min-width: 0; gap: 6px; }
    .card .kicker { font-size: 13px; min-height: 24px; }
    .card-title { font-size: 18px; line-height: 23px; letter-spacing: -0.01em; }
    .card-lead { display: none; }

    .order { padding: 44px 0 48px; }
    .order-head { gap: 12px; margin-bottom: 24px; }
    .order-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .order-item { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 8px; padding: 16px 0; }
    .order-num { font-size: 24px; line-height: 28px; }
    .order-name { font-size: 21px; line-height: 28px; min-height: 28px; }
    .order-desc { display: none; }
    .order-first { margin-top: 0; font-size: 15px; line-height: 22px; padding: 4px 0; }
    .order-grid-plain .order-desc { display: block; }

    .feat { padding: 44px 0 48px; }
    .feat-head { margin-bottom: 20px; }
    .feat-head .feat-all { display: none; }
    .feat-all-mobile { display: flex; width: 100%; margin-top: 12px; }
    .feat-shot { aspect-ratio: 4 / 3; }
    .feat-title { font-size: 24px; line-height: 29px; margin-top: 0; }
    .feat-lead { font-size: 16px; line-height: 25px; }
    .feat-list a { padding: 16px 0; }
    .feat-list-title { font-size: 17px; line-height: 24px; }

    .rooms { padding-top: 44px; padding-bottom: 40px; }
    .rooms-head { margin-bottom: 24px; }
    .rooms-head .sec-note { display: none; }
    .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .room { gap: 8px; }
    .room-name { font-size: 18px; padding-bottom: 6px; }
    .room-shot { display: none; }
    .room-post { font-size: 15px; line-height: 21px; font-weight: 500; }

    .mistakes { padding-top: 8px; padding-bottom: 48px; border-top: 0; }
    .mistakes .sec-title { margin-bottom: 24px; font-size: 30px; line-height: 34px; }
    .mistakes-grid { gap: 0; }
    .mistake { padding: 20px 0; border-top: 1px solid var(--line); gap: 10px; }
    .mistake .kicker-text { display: none; }
    .mistake-title { font-size: 20px; line-height: 26px; }
    .mistake-box { padding: 12px 16px; }
    .mistake-err { font-size: 17px; line-height: 25px; }

    .trio { padding-bottom: 56px; }
    .trio-ruled { padding-top: 44px; }
    .trio-name { font-size: 24px; padding-bottom: 8px; min-height: 48px; display: flex; align-items: flex-end; }
    .trio-item { padding: 14px 0; }
    .trio-meta, .trio-4 { display: none; }
    .trio-title { font-size: 16px; line-height: 23px; }

    .cat-head { padding: 20px 0 32px; }
    .cat-num { font-size: 17px; margin-bottom: 8px; }
    .cat-head h1 { font-size: 40px; line-height: 43px; letter-spacing: -0.03em; margin-bottom: 14px; text-wrap: pretty; }
    .cat-desc { font-size: 17px; line-height: 26px; }
    .cat-head-grid { gap: 20px; }
    .cat-where-label { display: none; }
    .cat-where a { min-height: 48px; align-items: center; font-size: 18px; }
    .subtopics-inner { gap: 6px; padding-top: 16px; padding-bottom: 16px; }
    .subtopics-label { display: none; }
    .subtopics a { border: 1px solid var(--line2); }
    .start { padding-top: 36px; padding-bottom: 8px; }
    .start .block-note { display: none; }
    .start-grid { margin-top: 16px; }
    .start-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 16px 0; }
    .start-num { font-size: 30px; line-height: 30px; }
    .start-title { font-size: 19px; line-height: 25px; letter-spacing: -0.01em; }
    .start-lead { display: none; }
    .list { padding-top: 36px; padding-bottom: 56px; }
    .list .block-title { margin-bottom: 12px; }
    .row { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; }
    .row-shot { order: -1; aspect-ratio: 16 / 9; margin-bottom: 6px; }
    .row-copy { gap: 8px; }
    .row .kicker { font-size: 13px; min-height: 24px; }
    .row-title { font-size: 20px; line-height: 26px; letter-spacing: -0.01em; }
    .row-lead { font-size: 15px; line-height: 23px; }
    .row-meta { order: 3; flex-direction: row; flex-wrap: wrap; gap: 0 6px; font-size: 13px; }
    .row-meta span + span::before { content: '· '; }
    .row .queue { font-size: 15px; }
    .pagination .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .pagination .page-numbers:not(.prev):not(.next) { display: none; }
    .pagination .prev { grid-column: 1; }
    .pagination .next { grid-column: 2; }
    .search-form button { padding: 0 16px; }

    .article-head { padding-top: 16px; padding-bottom: 24px; }
    .article-title { font-size: 31px; line-height: 36px; letter-spacing: -0.025em; margin-bottom: 16px; text-wrap: pretty; }
    .article-lead { font-size: 18px; line-height: 28px; margin-bottom: 16px; }
    .article-queue { font-size: 16px; }
    .article-meta { flex-direction: column; gap: 2px; font-size: 14px; line-height: 21px; }
    .article-cover { padding: 0; margin-bottom: 32px; }
    .article-cover img { aspect-ratio: 4 / 3; }
    .article-cover figcaption { padding: 10px var(--pad) 0; }
    .article-layout { padding-top: 8px; padding-bottom: 56px; }
    .article-body { font-size: 17px; }
    .article-body h2, .page-body h2 { font-size: 26px; margin-top: 40px; }
    .article-body h3, .page-body h3 { font-size: 20px; }
    .article-body blockquote { font-size: 24px; }
    .box { padding: 18px 16px; }
    .next-title { font-size: 24px; }
    .next-links { grid-template-columns: minmax(0, 1fr); }

    .doc-head { padding-top: 16px; }
    .doc-title { font-size: 34px; line-height: 1.1; margin-bottom: 24px; }
    .doc-body { padding-bottom: 56px; }
    .about-hero { padding-top: 36px; padding-bottom: 40px; }
    .about-label { font-size: 17px; }
    .about-hero h1 { font-size: 36px; line-height: 1.1; text-wrap: pretty; }
    .about-lead { font-size: 18px; }
    .about-topics { padding: 40px 0; }
    .about-split h2, .about-row h2 { font-size: 28px; }
    .topics-grid { grid-template-columns: minmax(0, 1fr); }
    .about-row { padding-top: 40px; padding-bottom: 40px; gap: 20px; }
    .about-text { font-size: 17px; }
    .about-text h3 { font-size: 19px; }

    .footer-top { padding-top: 40px; }
    .footer-bottom { margin-top: 32px; padding-bottom: 24px; }
    .footer-nav { flex-basis: 100%; }
    #clearfy-cookie.clearfy-cookie { left: 8px; right: 8px; bottom: 8px; }
}
@media (max-width: 380px) {
    .cat-head h1 { font-size: 34px; line-height: 38px; }
    .lead-title, .article-title { font-size: 28px; line-height: 33px; }
    .sheet-extra { flex-direction: column; }
}

.site-header a:focus-visible, main a:focus-visible, main button:focus-visible { outline: 3px solid #B88403; }
.logo { font: 800 36px/.95 var(--display); }
.footer-logo { font: 800 clamp(48px, 6vw, 88px)/.9 var(--display); letter-spacing: -.02em; }
.pl-hero { padding-block: clamp(22px, 3.5vw, 52px) clamp(36px, 5vw, 76px); }
.pl-hero h1 { max-width: 22ch; margin: 12px 0 26px; font: 750 clamp(40px, 5.6vw, 84px)/.94 var(--display); letter-spacing: -.022em; overflow-wrap: anywhere; }
.pl-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; color: var(--muted); font-size: 15px; }
.pl-meta .kicker { color: var(--ink); text-decoration: underline; text-decoration-color: #E2B43C; text-underline-offset: 4px; }
.pl-split, .pl-aside-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: clamp(26px, 4.2vw, 64px); }
.pl-aside-grid { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.pl-shot { display: block; }
.pl-shot img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pl-hero-shot img { aspect-ratio: 1.85; }
.pl-lead p { max-width: 58ch; margin: 16px 0 8px; font: 400 clamp(18px,1.7vw,23px)/1.5 var(--serif); }
.pl-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 700; }
.pl-card a:hover, .pl-link:hover, .pl-situation a:hover, .pl-hero h1 a:hover { text-decoration: underline #E2B43C 3px; text-underline-offset: 4px; }
.pl-list { display: grid; gap: 18px; align-content: start; }
.pl-card { min-width: 0; border-top: 2px solid var(--ink); padding-top: 12px; }
.pl-card h2, .pl-card h3 { margin: 4px 0 0; font: 700 clamp(23px,2.1vw,31px)/1.04 var(--display); overflow-wrap: anywhere; text-wrap: pretty; }
.pl-card p { margin: 8px 0 0; color: var(--body2); }
.pl-card .pl-shot { margin-bottom: 12px; }
.pl-band { padding-block: clamp(36px, 5.1vw, 76px); }
.pl-band h2 { font: 750 clamp(34px,3.7vw,54px)/.98 var(--display); margin: 0 0 20px; }
.pl-quiet { background: #EEF0F3; }
.pl-gold { background: #E2B43C; }
.pl-gold h2 { font-size: clamp(47px,5vw,72px); }
.pl-gold .pl-card a:hover { text-decoration-color: var(--ink); }
.pl-gold .pl-meta { color: var(--ink); }
.pl-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(22px,3vw,44px); }
.pl-grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pl-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); margin-bottom: 22px; }
.pl-situation { display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding: 12px 0 4px; }
.pl-situation h3 { font: 700 27px/1 var(--display); margin: 0 0 8px; }
.pl-situation > a:first-of-type { display: block; padding: 6px 0; }
.pl-situation .pl-link { margin-top: auto; align-self: flex-start; }
.cat-head { background: #fff; }
.cat-head h1 { font: 800 clamp(42px,8.5vw,120px)/.88 var(--display); }
.article-title { font: 750 clamp(37px,5.6vw,84px)/.94 var(--display); }
.article-lead, .about-lead { font-family: var(--serif); }
.start { background: #EEF0F3; max-width: none; padding-inline: max(var(--pad), calc((100% - 1536px) / 2 + var(--pad))); }
.box-summary { background: #FFF3C6; }
@media (max-width: 767px) {
    .logo { font-size: 30px; }
    .pl-hero h1 { font-size: clamp(35px,10vw,48px); }
    .pl-split, .pl-aside-grid, .pl-grid, .pl-grid-two { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .pl-hero-shot img { aspect-ratio: 3 / 2; }
}

