:root {
  --lh-ink: #30241e;
  --lh-muted: #75665b;
  --lh-paper: #f7f2ea;
  --lh-line: rgba(74, 54, 42, 0.17);
  --lh-wood: #51392a;
  --lh-gold: #b18455;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--lh-paper); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--lh-ink);
  background: var(--lh-paper);
  font-family: "Noto Sans TC", "PingFang TC", sans-serif;
}
.link-hub {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--lh-paper);
  background-image: var(--lh-background-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.link-hub__grain {
  display: none;
}
.link-hub__content {
  width: min(100%, 38rem);
  min-height: 100svh;
  margin: auto;
  padding: max(2.5rem, env(safe-area-inset-top)) 1.15rem max(2rem, env(safe-area-inset-bottom));
  text-align: center;
}
.link-hub__brand {
  display: grid;
  width: 5.9rem;
  height: 5.9rem;
  margin: 0 auto .75rem;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: #e8ded2;
  box-shadow: 0 10px 28px rgba(70,45,30,.15);
  place-items: center;
}
.link-hub__brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.link-hub__site-name {
  margin: 0;
  color: #fff8ef;
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: clamp(2rem, 8.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: .025em;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(29,16,9,.82);
}
.link-hub__site-name .brand-numerals {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "liga" 1;
  letter-spacing: .04em;
}
.link-hub__identity {
  max-width: 26rem;
  margin: .75rem auto 1.55rem;
}
.link-hub__intro {
  max-width: 28rem;
  margin: .52rem auto 0;
  color: #fff8ef;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(29,16,9,.82);
}
.link-hub__links {
  display: grid;
  gap: .72rem;
  text-align: left;
}
.link-hub__card {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: .82rem;
  align-items: center;
  min-height: 4.85rem;
  padding: .58rem .8rem .58rem .6rem;
  border: 1px solid var(--lh-line);
  border-radius: 1rem;
  color: inherit;
  background: rgba(255,253,250,.9);
  box-shadow: 0 5px 18px rgba(70,45,30,.1);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.link-hub__card--map {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.link-hub__card:hover,
.link-hub__card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(81,57,42,.36);
  background: #fffdfa;
  box-shadow: 0 10px 24px rgba(70,45,30,.12);
  outline: none;
}
.link-hub__card.is-featured {
  border-color: var(--lh-wood);
  color: #fffaf4;
  background: linear-gradient(135deg, #5a4030, #3c2a20);
  box-shadow: 0 10px 22px rgba(70,45,30,.22);
}
.link-hub__visual {
  display: grid;
  width: 3.25rem;
  aspect-ratio: 1;
  height: auto;
  overflow: hidden;
  border-radius: .75rem;
  background: #eadfd3;
  color: var(--lh-wood);
  place-items: center;
}
.is-featured .link-hub__visual { color: #fff; background: rgba(255,255,255,.15); }
.link-hub__visual img { width: 100%; height: 100%; object-fit: cover; }
.link-hub__visual svg { width: 1.72rem; height: 1.72rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.link-hub__copy { min-width: 0; }
.link-hub__copy strong,
.link-hub__copy small { display: block; }
.link-hub__copy strong { font-size: .95rem; font-weight: 600; line-height: 1.35; }
.link-hub__copy small { margin-top: .16rem; color: var(--lh-muted); font-size: .72rem; line-height: 1.4; }
.is-featured .link-hub__copy small { color: rgba(255,250,244,.75); }
.link-hub__home {
  display: inline-block;
  margin-top: 1.65rem;
  color: #fff8ef;
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(29,16,9,.82);
}
.link-hub__home .brand-numerals {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}
.link-hub__home:hover { color: var(--lh-wood); text-decoration: underline; }
.link-hub-map-open { overflow: hidden; }
.link-hub-map-modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  padding: 1rem;
  place-items: center;
}
.link-hub-map-modal[hidden] { display: none; }
.link-hub-map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 23, 17, .6);
  backdrop-filter: blur(3px);
}
.link-hub-map-modal__panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(44rem, calc(100svh - 2rem));
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 1.1rem;
  background: #fbf8f3;
  box-shadow: 0 22px 60px rgba(24, 16, 10, .32);
}
.link-hub-map-modal__close {
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  color: var(--lh-ink);
  background: #eee7de;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  place-items: center;
}
.link-hub-map-modal__eyebrow {
  margin: 0 0 .15rem;
  color: var(--lh-muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.link-hub-map-modal h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: 1.8rem;
  font-weight: 600;
}
.link-hub-map-modal h2 + p {
  margin: .5rem 0 .9rem;
  color: var(--lh-muted);
  font-size: .8rem;
  line-height: 1.6;
}
.link-hub-map-modal__map {
  position: relative;
  width: 100%;
  height: min(56vw, 20rem);
  min-height: 15rem;
  overflow: hidden;
  border-radius: .75rem;
  background: #e8dfd4;
}
.link-hub-map-modal__map iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  inset: 0;
}
@media (min-width: 700px) {
  .link-hub__content { padding-top: 4rem; }
  .link-hub__brand { width: 6.4rem; height: 6.4rem; }
  .link-hub__card { min-height: 5.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .link-hub__card { transition: none; }
}
