/* Amilotl visual language — sampled from amilotl.com on 2026-10-30. */
:root {
  --paper: #fbf1e2;
  --ink: #2c1a10;
  --muted: #6a5343;
  --line: #e7d6be;
  --orange: #e2502b;
  --cream: #fbf1e2;
  --surface: #fffcf7;
  --green: #1c5c4c;
  --green-deep: #12463a;
  --coral: #ff6a43;
  --yellow: #ffc22e;
  --pink: #ffb1b8;
  --parade: #ff6a43;
  --altar: #1c5c4c;
  --music: #ffb1b8;
  --food: #ffc22e;
  --serif: "Noto Serif TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
body { font-family: var(--sans); background: var(--cream); }
.shell { width: min(1180px, calc(100% - 80px)); }
.site-header { height: 94px; border-bottom-color: var(--line); }
.brand { font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: -.6px; color: var(--orange); }
.site-header .brand b { font-family: var(--serif); color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.site-header nav { font-weight: 700; font-size: 14px; gap: 26px; }
.site-header nav a:hover { color: var(--orange); }
.edition { color: var(--green-deep); border-color: var(--line); background: #fff6e7; font: 700 10px var(--sans); letter-spacing: 1px; }
.hero { min-height: 510px; padding-block: 68px; gap: 55px; }
.eyebrow { font-size: 11px; letter-spacing: 1.8px; color: var(--orange); }
h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(38px,4.4vw,55px); letter-spacing: -1.8px; line-height: 1.24; }
h1 span { color: var(--orange); }
.intro { font-size: 17px; line-height: 1.9; max-width: 480px; margin: 26px 0; }
.hero-meta { gap: 24px; font-size: 12px; }
.hero-meta strong { font-family: var(--display); font-size: 21px; }
.primary { background: var(--coral); border: 2px solid transparent; color: var(--ink); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 14px 25px; box-shadow: 0 8px 22px -8px #e2502b70; transition: transform .2s, background .2s; }
.primary:hover { background: #ff825f; transform: translateY(-2px); }
.secondary { border: 2px solid var(--green); border-radius: 999px; color: var(--green-deep); font-weight: 700; padding: 11px 20px; }
.secondary[aria-pressed=true] { background: var(--green-deep); border-color: var(--green-deep); color: var(--surface); }
.hero-art { height: 355px; overflow: visible; }
.art-ring { width: 310px; height: 310px; border: 0; background: #ffe4cb; }
.art-ring::after { inset: -16px; border: 2px dashed #e7b798; }
.art-flower { width: 270px; top: 43%; left: 43%; opacity: 1; rotate: -8deg; z-index: 0; filter: drop-shadow(0 12px 12px #6a53431a); }
.art-word { font-family: var(--display); font-weight: 900; font-style: normal; color: var(--green-deep); font-size: 55px; letter-spacing: -2px; margin-left: 95px; margin-top: 95px; line-height: .98; text-shadow: 2px 2px var(--surface); }
.art-caption { bottom: -6px; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.art-star { color: var(--green); right: 24px; top: 35px; }
.mascot-guide { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; position: relative; }
.mascot-greeting { margin: 0; padding: 10px 19px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--green-deep); font-size: 13px; font-weight: 700; position: relative; }
.mascot-greeting::after { content: ''; width: 10px; height: 10px; position: absolute; left: 50%; bottom: -6px; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); rotate: 45deg; }
.mascot-greeting span { font-family: var(--display); font-size: 18px; font-weight: 900; color: var(--orange); margin-right: 6px; }
.mascot-image { display: block; width: min(100%, 360px); height: auto; object-fit: contain; filter: drop-shadow(0 15px 14px #6a534325); }
.mascot-guide figcaption { color: var(--muted); font-size: 12px; text-align: center; line-height: 1.8; }
.mascot-guide figcaption a { color: var(--green-deep); font-weight: 700; }
.archive-note { background: #fff6e7; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 38px; padding: 17px 20px; font-size: 12px; }
.archive-note p { color: var(--muted); }
.note-label { color: var(--green-deep); }
.explore-band { background: var(--green-deep); }
.explore { padding-block: 65px 42px; color: var(--surface); }
.section-heading { margin-bottom: 30px; align-items: center; }
.section-heading .eyebrow { color: var(--yellow); margin-bottom: 12px; }
h2 { font-family: var(--serif); font-size: 32px; line-height: 1.4; font-weight: 900; letter-spacing: -.7px; }
.section-heading h2 { max-width: 760px; }
.explore .secondary { color: var(--surface); border-color: #b9d2c5; }
.explore .secondary[aria-pressed=true] { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.toolbar { gap: 24px; padding-bottom: 22px; }
.search-wrap { background: var(--surface); border: 2px solid transparent; color: var(--ink); border-radius: 999px; max-width: 425px; padding-left: 20px; }
.search-wrap input { height: 48px; font-size: 14px; }
.search-wrap input::placeholder { color: var(--muted); opacity: 1; }
.filters { gap: 8px; }
.filters button { border: 1px solid #83a99b; color: var(--surface); font-size: 13px; padding: 9px 16px; }
.filters button[aria-pressed=true] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 700; }
.filters button:hover { border-color: var(--yellow); }
.list-top { height: 34px; margin-bottom: 12px; font-size: 12px; }
.list-top p, .storage-note, .map-caption { color: #d6e5d9; }
.text-button { font-size: 12px; }
.explorer-grid { grid-template-columns: 350px minmax(0,1fr); gap: 26px; }
#city-list { max-height: 530px; padding: 4px 9px 8px 4px; gap: 12px; scrollbar-color: #9bbfaf transparent; }
.city-card { background: var(--surface); border: 2px solid transparent; border-radius: 18px; color: var(--ink); box-shadow: 0 5px 15px #081d1615; }
.city-card:hover, .city-card.selected { background: #fff6e7; border-color: var(--coral); }
.city-open { padding: 19px 52px 17px 19px; border-radius: 16px; }
.city-name { font-family: var(--serif); font-size: 19px; font-weight: 900; }
.city-number { font-family: var(--display); font-weight: 900; font-style: normal; }
.city-es { font-family: var(--display); font-size: 12px; letter-spacing: 0; margin-top: 7px; }
.card-bottom { font-size: 12px; }
.save-button { color: #b63b21; }
.save-button:hover { background: #ffe3d8; }
.map-column { padding-top: 46px; }
.map-frame { height: 530px; border: 7px solid #fff6e7; border-radius: 22px; background: #e8e5d8; }
.map-reset { color: var(--green-deep); background: var(--surface); border-radius: 999px; font-weight: 700; padding: 10px 15px; }
.map-caption { font-size: 11px; line-height: 1.8; }
.map-status { color: var(--ink); background: var(--surface); border-color: var(--line); border-radius: 12px; }
.basemap-retry { display: block; margin-top: 10px; padding: 8px 16px; border: 1px solid var(--green); border-radius: 999px; background: var(--green-deep); color: var(--surface); font: inherit; }
.city-marker span { color: var(--marker-ink, #2c1a10); border-color: #fffcf7; }
.filters .dot.altar { outline: 1px solid #b9d2c5; }
.empty { border-color: #b9d2c5; border-radius: 18px; }
.empty p { color: #d6e5d9; }
.empty h3 { font-family: var(--serif); font-weight: 900; }
.storage-note { font-size: 11px; margin-top: 24px; }
.about { border-top: 0; padding-block: 78px; gap: 45px; }
.about h2 { font-weight: 900; font-size: 32px; }
.about p { font-size: 15px; line-height: 1.95; }
.about summary { font-size: 15px; font-weight: 700; color: var(--green-deep); }
.footer { padding-block: 30px; font-size: 12px; }
.footer .brand { font-family: var(--display); font-weight: 900; font-size: 16px; color: var(--orange); }
dialog { border-radius: 22px; background: var(--surface); border: 2px solid var(--line); }
dialog::backdrop { background: #12463aa6; }
.dialog-toolbar { background: #fff6e7; border-bottom-color: var(--line); }
.icon-button { color: var(--green-deep); border: 2px solid var(--green); }
.detail-heading h2 { font-size: 34px; font-weight: 900; }
.detail-heading p { font-size: 13px; }
.detail-heading p:first-child { font-family: var(--display); }
.detail-notice { border-radius: 12px; background: #fbf1e2; border: 1px solid var(--line); line-height: 1.9; }
.detail-summary { font-size: 15px; line-height: 1.9; }
.detail-facts div { border-radius: 12px; background: var(--surface); }
.detail-facts dt { font-size: 12px; }
.detail-facts dd { font-size: 14px; }
.detail-subtitle { font-family: var(--serif); font-size: 20px; font-weight: 900; }
.activity-list h4 { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.activity-list p { font-size: 14px; line-height: 1.9; }
.resource-links a { background: transparent; border: 1px solid var(--green); color: var(--green-deep); border-radius: 999px; font-weight: 700; }
.toast { background: var(--green-deep); border: 1px solid #d6e5d9; border-radius: 999px; }
.skip-link { background: var(--green-deep); }
@media(max-width:1000px) {
  .shell { width: calc(100% - 48px); }
  .site-header nav { gap: 16px; }
  .brand { font-size: 18px; }
  .hero { gap: 24px; }
  .hero-art { scale: .88; }
  .section-heading h2 { font-size: 28px; }
  .explorer-grid { grid-template-columns: 300px minmax(0,1fr); gap: 20px; }
  .search-wrap { max-width: none; }
}
@media(max-width:700px) {
  .shell { width: calc(100% - 32px); }
  .site-header { height: 78px; gap: 10px; }
  .brand { font-size: 15px; gap: 6px; letter-spacing: -.5px; }
  .site-header nav { font-size: 11px; gap: 12px; }
  .hero { min-height: 0; padding-block: 40px; gap: 34px; }
  .hero h1 { font-size: 39px; line-height: 1.32; letter-spacing: -1.5px; }
  .intro { font-size: 15px; margin-block: 24px; }
  .hero-meta { gap: 16px; flex-wrap: wrap; }
  .hero-meta>span { font-size: 12px; }
  .primary { font-size: 13px; padding: 12px 20px; }
  .hero-art { scale: 1; height: 250px; background: transparent; margin-block: 8px 12px; }
  .art-ring { width: 220px; height: 220px; }
  .art-ring::after { inset: -10px; }
  .art-flower { width: 215px; left: 43%; top: 40%; }
  .art-word { font-size: 45px; margin-top: 70px; margin-left: 80px; }
  .art-caption { bottom: -8px; font-size: 10px; }
  .art-star { right: 15px; top: 15px; }
  .mascot-guide { gap: 15px; margin-block: 0 8px; }
  .mascot-image { width: min(90%, 290px); }
  .mascot-greeting { font-size: 12px; }
  .mascot-guide figcaption { font-size: 11px; }
  .archive-note { margin-bottom: 28px; padding: 14px; }
  .archive-note p { font-size: 12px; }
  .explore { padding-block: 40px 28px; }
  .section-heading { align-items: flex-start; margin-bottom: 24px; }
  .section-heading h2 { font-size: 23px; line-height: 1.5; max-width: 230px; }
  .section-heading .eyebrow { font-size: 9px; }
  .secondary { font-size: 11px; padding: 10px 12px; gap: 6px; }
  .toolbar { gap: 15px; }
  .search-wrap input { font-size: 13px; height: 46px; }
  .filters { gap: 5px; }
  .filters button { padding: 8px 10px; font-size: 12px; }
  .map-column { padding-top: 0; }
  .map-frame { height: 340px; border-width: 5px; border-radius: 18px; }
  .map-reset { font-size: 11px; right: 8px; top: 10px; }
  .map-caption { display: block; font-size: 10px; }
  .map-caption span:first-child { display: none; }
  #city-list { max-height: none; gap: 10px; padding: 3px; }
  .city-card { border-radius: 15px; }
  .city-open { padding: 18px 32px 16px 12px; }
  .city-name { font-size: 16px; }
  .city-es { font-size: 11px; margin-left: 0; }
  .card-bottom { font-size: 11px; }
  .about { padding-block: 44px; gap: 8px; }
  .about h2 { font-size: 26px; }
  .about p { font-size: 14px; }
  .footer { font-size: 11px; }
  .footer .brand { font-size: 14px; }
  .detail-heading h2 { font-size: 28px; }
  .activity-list h4 { font-size: 17px; }
}
@media(max-width:360px) {
  .site-header { height: auto; padding-block: 12px; flex-wrap: wrap; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .hero h1 { font-size: 34px; }
  .section-heading { flex-wrap: wrap; }
  .section-heading h2 { max-width: none; }
  .art-word { font-size: 40px; margin-left: 65px; }
  .city-open { padding-right: 45px; }
  .city-name { font-size: 18px; }
  .filters button { padding-inline: 7px; font-size: 11px; }
}
