/* Noto Sans SC supplemental UI glyphs, SIL Open Font License; see assets/fonts/OFL.txt. */
@font-face {
  font-family: 'Noto Sans SC Villa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/villa-ui-400.ttf) format('truetype');
  unicode-range: U+4F11, U+5385, U+53A8, U+5BA2, U+5BA4, U+5BB6, U+5EAD, U+62FC, U+67DC, U+684C, U+68AF, U+697C, U+95F2, U+9910;
}
@font-face {
  font-family: 'Noto Sans SC Villa';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/villa-ui-500.ttf) format('truetype');
  unicode-range: U+4F11, U+5385, U+53A8, U+5BA2, U+5BA4, U+5BB6, U+5EAD, U+62FC, U+67DC, U+684C, U+68AF, U+697C, U+95F2, U+9910;
}
@font-face {
  font-family: 'Noto Sans SC Villa';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/villa-ui-600.ttf) format('truetype');
  unicode-range: U+4F11, U+5385, U+53A8, U+5BA2, U+5BA4, U+5BB6, U+5EAD, U+62FC, U+67DC, U+684C, U+68AF, U+697C, U+95F2, U+9910;
}
@font-face {
  font-family: 'Noto Sans SC Villa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/villa-ui-700.ttf) format('truetype');
  unicode-range: U+4F11, U+5385, U+53A8, U+5BA2, U+5BA4, U+5BB6, U+5EAD, U+62FC, U+67DC, U+684C, U+68AF, U+697C, U+95F2, U+9910;
}
body { font-family: Inter, "Noto Sans SC Villa", "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, "PingFang SC", sans-serif; }
button, input, select, textarea { font-family: inherit; }
.villa-nav-link,
.villa-latest-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 10px 15px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.villa-nav-link:hover,
.villa-latest-link:hover { background: #d7ff6312; }
.villa-teaser {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 17px 18px;
  border: 1px solid #536c3a;
  border-radius: 5px;
  background: linear-gradient(120deg, #d7ff6310, #85d8c106);
  text-decoration: none;
}
.villa-live-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px #d7ff6350; }
.villa-teaser > span:nth-child(2) { flex: 1; min-width: 0; }
.villa-teaser strong { display: block; color: var(--ink); font-size: 14px; }
.villa-teaser small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.villa-teaser > b { flex-shrink: 0; color: var(--accent); font-size: 12px; }
.villa-teaser:hover { border-color: var(--accent); }
.villa-study { padding: 52px 0 62px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.villa-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.villa-heading .eyebrow { margin-bottom: 13px; }
.villa-heading h2 { margin: 0; font-size: clamp(25px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -.045em; }
.villa-heading h2 em { color: var(--accent); font-style: normal; }
.villa-description { max-width: 720px; margin: 15px 0 0; color: var(--muted); font-size: 14px; }
.villa-latest-link { padding: 13px 18px; }
.villa-progress { display: flex; gap: clamp(35px, 6vw, 85px); margin: 30px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.villa-progress > div { display: flex; flex-direction: column-reverse; gap: 7px; }
.villa-progress dt { font-size: 11px; color: var(--muted); }
.villa-progress dd { margin: 0; font: 500 27px/1.15 ui-monospace, monospace; }
.villa-progress dd strong { color: var(--accent); font-weight: 500; }
.villa-progress dd span { color: #71827b; font-size: 19px; }
.villa-room-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.villa-room-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #304239; border-radius: 5px; background: #101c18; text-decoration: none; transition: border-color .18s, transform .18s; }
.villa-room-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.villa-room-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #18251f; }
.villa-room-copy { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.villa-room-index { color: #91a599; font: 9px/1.6 ui-monospace, monospace; letter-spacing: .045em; }
.villa-room-index b { color: var(--accent); white-space: nowrap; margin-left: 5px; font: 10px/1.6 "Noto Sans SC", sans-serif; }
.villa-room-card h3 { margin: 8px 0 5px; font-size: 17px; }
.villa-room-card p { margin: 0 0 21px; color: var(--muted); font-size: 11px; }
.villa-room-action { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent2); font-size: 12px; }
.villa-room-latest { border-color: #72894a; }
.villa-project-entry { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid #657e45; border-radius: 5px; background: linear-gradient(130deg, #d7ff6310, #0c1715); text-decoration: none; }
.villa-project-entry .eyebrow { margin: 0; font-size: 9px; letter-spacing: .07em; }
.villa-project-entry strong { font-size: 19px; color: var(--ink); }
.villa-project-entry > span:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.villa-project-entry > b { margin-top: 8px; color: var(--accent); font-size: 12px; }
.villa-project-entry:hover { border-color: var(--accent); }
.graph-info > .villa-project-entry { margin: 0 0 22px; padding: 16px; }
.graph-info > .villa-project-entry strong { font-size: 16px; }
.villa-nav-link:focus-visible,
.villa-teaser:focus-visible,
.villa-latest-link:focus-visible,
.villa-room-card:focus-visible,
.villa-project-entry:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
body.modeling-detail-open .villa-study { display: none; }
@media (max-width: 1100px) {
  .topnav { gap: 18px; }
  .villa-room-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero-visual { overflow: clip; }
  .scale-steps { min-width: 0; }
  .hero h1 { font-size: clamp(42px, 12.7vw, 56px); }
  .topbar .health { display: none; }
  .villa-nav-link { padding: 8px 12px; }
  .villa-teaser { padding: 15px 13px; gap: 10px; }
  .villa-teaser strong { font-size: 13px; }
  .villa-teaser small { font-size: 10px; }
  .villa-teaser > b { font-size: 11px; }
  .villa-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .villa-heading h2 em { display: block; }
  .villa-study { padding-top: 36px; scroll-margin-top: 92px; }
  .villa-progress { justify-content: space-between; gap: 14px; }
  .villa-progress dd { font-size: 25px; }
  .villa-progress dt { font-size: 10px; }
  .villa-room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .villa-room-copy { padding: 13px; }
  .villa-room-card h3 { font-size: 15px; }
}
@media (max-width: 440px) {
  .villa-room-grid { grid-template-columns: 1fr; }
  .villa-room-copy { padding: 18px; }
  .villa-room-card h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .villa-room-card { transition: none; }
  .villa-room-card:hover { transform: none; }
}
