@font-face {
  font-family: Rubik;
  src: url("assets/rubik-cyrillic.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Rubik;
  src: url("assets/rubik-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --ink: #252a25;
  --muted: #555e53;
  --line: #b8beb2;
  --paper: #f6f6ef;
  --soft: #edeee6;
  --accent: #ed7235;
  --mono: Consolas, "Courier New", monospace;
  font-family: Rubik, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, fieldset { margin: 0; }
body { min-width: 0; }
a { color: inherit; }
a:focus-visible, input:focus-visible, .memo:focus-visible { outline: 3px solid #a8360f; outline-offset: 4px; }
.wrap { width: min(100% - clamp(36px, 8.4vw, 144px), 1510px); margin-inline: auto; }
.skip-link { position: fixed; top: 5px; left: 5px; z-index: 5; padding: 12px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.disclosure { background: var(--ink); color: #f7f8f1; }
.disclosure-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 35px; padding-block: 6px; font-size: 12px; line-height: 1.4; }
.disclosure a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.disclosure a:focus-visible { outline-color: var(--accent); }
.disclosure a span { margin-left: 3px; }
.site-header { min-height: 87px; display: flex; align-items: center; gap: 35px; border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand strong { font-size: clamp(24px, 2.3vw, 35px); letter-spacing: -.056em; font-weight: 740; }
.brand img { width: 40px; height: 40px; }
.header-nav { display: flex; gap: 30px; margin-left: auto; }
.header-nav a, .map-link, footer a { text-decoration: none; font-size: 14px; font-weight: 520; }
.header-nav a:hover, .map-link:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.location { display: inline-flex; align-items: center; gap: 10px; padding-left: 29px; border-left: 1px solid var(--line); text-transform: uppercase; font: 12px/1.25 var(--mono); letter-spacing: .055em; }
.locator { width: 9px; height: 9px; background: var(--ink); border-radius: 50%; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(25px, 3.3vw, 60px); padding-block: clamp(42px, 4.8vw, 80px); }
.eyebrow, .section-meta, .drawing-top, figcaption, .memo-meta, .topics legend { text-transform: uppercase; font: 600 12px/1.35 var(--mono); letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.bar-mark { display: inline-block; height: 13px; width: 24px; background: repeating-linear-gradient(110deg, var(--accent) 0 4px, transparent 4px 7px); }
h1, h2, h3 { letter-spacing: -.062em; font-weight: 695; }
h1 { font-size: clamp(48px, 5.7vw, 91px); line-height: .99; margin: 25px 0 24px; }
h1 span { color: #b54616; }
.hero-content p { max-width: 425px; color: var(--muted); font-size: clamp(16px, 1.27vw, 20px); line-height: 1.55; }
.primary { display: inline-flex; min-height: 50px; gap: 27px; align-items: center; justify-content: space-between; padding: 12px 18px; margin-top: 27px; border: 1px solid var(--ink); background: var(--accent); text-decoration: none; font: 550 15px/1.3 Rubik, Arial, sans-serif; }
.primary span { font-family: Arial, sans-serif; font-size: 23px; line-height: 1; }
.primary:hover { background: #ff9456; }
.drawing { border: 1px solid #989f90; background: #e5e8dd; min-width: 0; }
.drawing-top, figcaption { padding: 12px 17px; display: flex; justify-content: space-between; align-items: center; gap: 9px; font-size: 10.5px; }
.drawing-top { border-bottom: 1px solid #b9bfb1; }
.drawing-top span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.drawing-top i { display: block; width: 8px; height: 8px; background: #a53c17; }
figcaption { border-top: 1px solid #b9bfb1; }
.paper { position: relative; display: grid; align-items: center; aspect-ratio: 1.93; background-color: #eef0e6; background-image: linear-gradient(90deg,#69745a14 1px,transparent 1px),linear-gradient(0deg,#69745a14 1px,transparent 1px); background-size: 18px 18px; }
.paper img { display: block; width: 100%; height: auto; }
.register { position: absolute; width: 9px; height: 9px; color: #75806b; }
.register::before, .register::after { content: ""; position: absolute; background: currentColor; }
.register::before { width: 1px; height: 9px; left: 4px; }
.register::after { width: 9px; height: 1px; top: 4px; }
.reg-tl { top: 10px; left: 12px; } .reg-tr { top: 10px; right: 12px; }
.reg-bl { bottom: 10px; left: 12px; } .reg-br { bottom: 10px; right: 12px; }
.guide { scroll-margin-top: 10px; background: var(--soft); border-block: 1px solid #a7aea0; padding: 30px 0 clamp(42px, 5.3vw, 86px); }
.section-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 16px; row-gap: 4px; color: #485143; font-size: 11.5px; }
.section-meta span:first-child::before { content: ""; display: inline-block; margin-right: 9px; width: 8px; height: 8px; background: var(--ink); }
.guide h2 { font-size: clamp(37px, 3.8vw, 62px); line-height: 1.04; margin: 25px 0 30px; }
.guide-grid { display: grid; grid-template-columns: minmax(250px, .56fr) minmax(0, 1fr); align-items: start; gap: clamp(22px, 4.2vw, 70px); }
.topics { min-width: 0; border: 0; padding: 0; }
.topics legend { margin: 0 0 12px; color: var(--muted); padding: 0; font-size: 11px; }
.topic { position: relative; display: flex; align-items: center; min-height: 64px; gap: 13px; border-top: 1px solid var(--line); padding: 10px 15px; cursor: pointer; font-size: clamp(15px, 1.35vw, 21px); font-weight: 500; }
.topic:last-of-type { border-bottom: 1px solid var(--line); }
.topic input, .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.topic svg { width: 27px; height: 27px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.topic i { position: relative; display: block; flex-shrink: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid currentColor; margin-left: auto; }
.topic:has(input:checked) { background: var(--ink); color: #fafaf3; border-color: var(--ink); }
.topic:has(input:checked) i { border-color: var(--accent); }
.topic input:checked ~ i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.topic:has(input:focus-visible) { outline: 3px solid #a8360f; outline-offset: 2px; z-index: 1; }
.topic:not(:has(input:checked)):hover { background: #e1e4d9; }
.jump-result { display: none; }
.memo { scroll-margin-top: 16px; border: 1px solid #acb3a4; border-top: 3px solid var(--ink); padding: clamp(20px, 2.2vw, 35px); background: var(--paper); }
.memo-meta { display: flex; gap: 10px; align-items: center; font-size: 10.5px; color: var(--muted); }
.memo-mark { height: 12px; width: 10px; border: 1px solid var(--muted); box-shadow: 2px 2px var(--paper), 3px 3px var(--muted); }
.memo h3 { margin: 13px 0 21px; font-size: clamp(27px, 2.35vw, 40px); line-height: 1.1; }
.memo-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2vw, 33px); border-top: 1px solid var(--line); padding-top: 19px; }
.memo h4 { font-size: 16px; font-weight: 580; line-height: 1.35; }
.questions, .checks { margin: 13px 0 0; padding: 0; display: grid; gap: 12px; color: #4d554b; font-size: 15px; line-height: 1.4; }
.questions { list-style: none; }
.questions li, .checks label { display: flex; align-items: baseline; gap: 9px; }
.questions li::before { content: "—"; color: #a03c14; }
.checks label { align-items: flex-start; cursor: pointer; }
.checks input { flex-shrink: 0; width: 16px; height: 16px; margin: 2px 1px 0 0; accent-color: #8d3613; }
.checks input:checked + span { text-decoration: line-through; }
.address { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: clamp(40px, 5vw, 80px); }
.address h2 { font-size: clamp(36px, 3.3vw, 57px); margin: 13px 0 6px; }
.address p:last-child { font-size: 17px; }
.map-link { padding: 13px 0; border-bottom: 1px solid var(--ink); }
.map-link span { margin-left: 10px; }
footer { min-height: 67px; border-top: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
footer a { min-height: 44px; display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 940px) {
  .hero { grid-template-columns: .95fr 1.05fr; gap: 22px; }
  h1 { font-size: clamp(42px, 5.6vw, 60px); }
  .guide-grid { grid-template-columns: minmax(220px, .53fr) minmax(0, 1fr); gap: 22px; }
  .memo-body { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .disclosure-inner { font-size: 11px; column-gap: 14px; padding-block: 7px; }
  .disclosure-inner span:first-child { max-width: 195px; }
  .disclosure a { text-align: right; }
  .site-header { min-height: 66px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand strong { font-size: 23px; }
  .header-nav { gap: 16px; }
  .header-nav a { font-size: 13px; }
  .location { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 25px; padding: 33px 0; }
  h1 { font-size: clamp(45px, 9.2vw, 65px); margin: 16px 0 13px; }
  .eyebrow { font-size: 10.5px; }
  .hero-content p { max-width: 43ch; font-size: 16px; }
  .primary { margin-top: 18px; min-height: 45px; }
  .drawing-top, figcaption { padding: 8px 12px; font-size: 9.5px; }
  .guide { padding: 24px 0 35px; }
  .section-meta { font-size: 10px; }
  .guide h2 { margin: 21px 0; }
  .guide-grid { grid-template-columns: 1fr; gap: 14px; }
  .topic { min-height: 53px; }
  .jump-result { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 14px; text-underline-offset: 3px; }
  .memo-body { gap: 22px; }
  .address { align-items: flex-start; flex-direction: column; gap: 15px; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 28px); }
  .brand strong { font-size: 20px; }
  .header-nav { gap: 12px; }
  .disclosure-inner { font-size: 10.5px; }
  .section-meta { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
