@font-face {
  font-family: "Inter Public";
  src: url("/fonts/inter-public-latin-variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: "Fraunces Public";
  src: url("/fonts/fraunces-public-latin-variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: "Noto Sans SC Public";
  src: url("/fonts/noto-sans-sc-public-500.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
}

:root {
  color-scheme: light;
  font-family: "Inter Public", "Noto Sans SC Public", sans-serif;
  color: #173f42;
  background: #f4eee1;
  line-height: 1.65;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f4eee1; }
a { color: #aa3f2b; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: #7f2b1e; }
a:focus-visible { outline: 3px solid #0d7775; outline-offset: 4px; }
.ed-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.ed-skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.ed-skip:focus { transform: none; }
.ed-header { border-bottom: 1px solid #d2c7b4; background: rgba(244, 238, 225, 0.96); }
.ed-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ed-brand { color: #173f42; font-family: "Fraunces Public", serif; font-size: 1.35rem; font-weight: 650; text-decoration: none; }
.ed-header nav { display: flex; gap: 22px; }
.ed-header nav a { color: #173f42; font-weight: 650; text-decoration: none; }
.ed-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 22px 8px; color: #5d706f; font-size: 0.9rem; }
.ed-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(32px, 6vw, 76px); align-items: start; padding-block: 30px 80px; }
.ed-article { min-width: 0; }
.ed-kicker { margin: 0 0 8px; color: #aa3f2b; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { color: #173f42; font-family: "Fraunces Public", "Noto Sans SC Public", serif; line-height: 1.16; }
h1 { margin: 0; max-width: 18ch; font-size: clamp(2.35rem, 6vw, 4.7rem); font-weight: 620; letter-spacing: -0.035em; }
.ed-lead { max-width: 70ch; margin: 24px 0 42px; color: #405b5d; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; }
.ed-body { color: #203f42; font-size: 1.04rem; }
.ed-body h2 { margin: 48px 0 16px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ed-body h3 { margin: 34px 0 12px; font-size: 1.35rem; }
.ed-body p, .ed-body ul, .ed-body ol { max-width: 72ch; }
.ed-body li + li { margin-top: 9px; }
.ed-aside { position: sticky; top: 24px; padding: 24px; border: 1px solid #c8bda9; background: #efe4d0; box-shadow: 8px 8px 0 rgba(23, 63, 66, 0.08); }
.ed-aside > h2 { margin: 0 0 18px; font-size: 1.4rem; }
.ed-mini-map { display: block; width: 100%; height: auto; border: 1px solid #b9ab94; background: #e7dcc7; }
.ed-map-street { fill: none; stroke: #fffaf0; stroke-width: 12; stroke-linecap: round; }
.ed-map-route { fill: none; stroke: #0d7775; stroke-width: 3; stroke-dasharray: 6 6; }
.ed-map-marker { fill: #aa3f2b; stroke: #fffaf0; stroke-width: 3; }
.ed-mini-map text { fill: #fff; font-family: "Inter Public", sans-serif; font-size: 12px; font-weight: 800; }
.ed-place-list { display: grid; gap: 14px; margin: 20px 0; padding: 0; list-style: none; }
.ed-place-list a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; color: #173f42; text-decoration: none; }
.ed-place-number { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: #aa3f2b; font-size: 0.78rem; font-weight: 800; }
.ed-place-list strong, .ed-place-list small { display: block; }
.ed-place-list strong { line-height: 1.25; }
.ed-place-list small { margin-top: 4px; color: #405b5d; font-family: "Noto Sans SC Public", "Inter Public", sans-serif; }
.ed-map-cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px; color: #fff; background: #aa3f2b; font-weight: 750; text-decoration: none; }
.ed-map-cta:hover { color: #fff; background: #7f2b1e; }
.ed-index { min-height: 65vh; padding-block: 42px 90px; }
.ed-index h1 { max-width: 20ch; }
.ed-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.ed-index-card { padding: 28px; border: 1px solid #c8bda9; background: #fffaf0; }
.ed-index-card > p:first-child { margin: 0; color: #0d7775; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ed-index-card h2 { margin: 10px 0 12px; font-size: 1.55rem; }
.ed-index-card h2 a { color: #173f42; }
.ed-footer { padding-block: 34px; border-top: 1px solid #d2c7b4; background: #ebe0cd; }
.ed-footer .ed-wrap { display: flex; justify-content: space-between; gap: 24px; }
.ed-footer p { margin: 0; }

@media (max-width: 800px) {
  .ed-wrap { width: min(100% - 28px, 720px); }
  .ed-header-inner { min-height: 64px; }
  .ed-header nav { gap: 14px; }
  .ed-article-layout { display: flex; flex-direction: column; padding-block: 22px 58px; }
  .ed-article { display: contents; }
  .ed-article .ed-kicker, .ed-article h1, .ed-article .ed-lead { order: 1; }
  .ed-aside { position: static; order: 2; width: 100%; }
  .ed-body { order: 3; }
  .ed-index-grid { grid-template-columns: 1fr; }
  .ed-footer .ed-wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
