@font-face {
  font-family: Manrope;
  src: url('/resources/assets/fonts/manrope.woff') format('woff');
  font-display: swap;
}
:root {
  --ink: #183b32;
  --muted: #5d6c65;
  --paper: #f7f5ef;
  --line: #d9ded3;
  --accent: #bdcf74;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 Manrope, Arial, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #52721e; outline-offset: 5px; }
.skip { position: absolute; top: -100px; background: white; padding: 12px; z-index: 20; }
.skip:focus { top: 5px; }
.masthead { background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px max(5vw, calc((100vw - 1280px) / 2)); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.masthead nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; }
.masthead nav a { text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.wrap { max-width: 1280px; width: 90%; margin: auto; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; padding: 64px 0 36px; }
.kicker { text-transform: uppercase; font-size: 11px; letter-spacing: .2em; font-weight: 800; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.12; margin: 0 0 20px; }
h1 { font-size: clamp(42px, 5.1vw, 74px); letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.025em; }
h3 { font-size: 29px; }
.hero p:not(.kicker) { max-width: 590px; color: var(--muted); }
.hero figure { margin: 0; }
.hero figure img { width: 100%; height: 450px; object-fit: cover; border-radius: 100px 0 0; background: #dce1d4; }
figcaption { font-size: 10px; color: var(--muted); margin-top: 9px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 25px 0; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 13px 22px; background: var(--ink); color: white; border: 1px solid var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 3px; cursor: pointer; }
.button.secondary { background: transparent; color: var(--ink); }
.intro-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0 60px; }
.intro-strip div { padding: 22px 30px 22px 0; }
.intro-strip strong { display: block; font-size: 14px; }
.intro-strip span { color: var(--muted); font-size: 12px; }
section { margin-bottom: 60px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-top p { max-width: 440px; color: var(--muted); font-size: 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 0; }
.filters label { display: flex; flex-direction: column; flex: 1 1 180px; font-size: 12px; gap: 5px; }
.filters input, .filters select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #b3bfb5; border-radius: 3px; background: #fff; color: var(--ink); }
.filters button { align-self: end; }
.meta, .note { font-size: 12px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.project-card[hidden] { display: none; }
.project-card img { width: 100%; height: 225px; object-fit: cover; display: block; background: #dce1d4; }
.project-card .visual-placeholder { min-height: 225px; background: #e2e8d9; display: flex; align-items: center; justify-content: center; font: 33px Georgia, serif; }
.card-content { padding: 23px 23px 10px; flex: 1; }
.card-content h3 { margin-bottom: 10px; }
.card-content h3 a { text-decoration: none; }
.card-content p { font-size: 13px; margin: 10px 0; }
.badge { display: inline-block; padding: 4px 9px; font-size: 10px; background: #eaf0e3; color: #284a26; border-radius: 2px; }
.badge.caution { background: #faf0d9; color: #705119; }
.card-actions { padding: 15px 23px 22px; display: flex; gap: 16px; justify-content: space-between; align-items: center; font-size: 12px; border-top: 1px solid #edf0e8; }
.card-actions label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.card-actions input { width: 17px; height: 17px; accent-color: var(--ink); }
.no-results { padding: 25px; border: 1px solid var(--line); }
.compare-panel { background: #fff; padding: 24px; margin-top: 28px; border: 1px solid var(--line); }
.compare-panel h3 { font-size: 25px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 15px 12px; min-width: 140px; }
thead { background: #edf1e6; }
.guide-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding: 45px; background: var(--ink); color: #fff; }
.guide-band p { color: #e4e9dc; font-size: 14px; }
.guide-band .button { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.guide-band ul { padding-left: 20px; }
.guide-band li { padding: 6px 0; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.three article { border-top: 2px solid #9bad80; padding-top: 20px; }
.three h3 { font-size: 27px; }
.three p { font-size: 14px; color: var(--muted); }
.sources { border-top: 1px solid var(--line); padding: 24px 0; font-size: 12px; color: var(--muted); }
.sources li { padding-bottom: 8px; overflow-wrap: anywhere; }
.footer { background: #eef0e7; padding: 35px 5%; font-size: 12px; }
.footer .wrap { width: 100%; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.breadcrumbs { font-size: 11px; padding-top: 25px; }
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 45px; }
.specs { background: white; padding: 30px; border: 1px solid var(--line); }
.specs dl { margin: 0; }
.specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 18px; }
.specs dd { margin: 4px 0 0; }
.notice { border-left: 3px solid #b49d56; background: #faf2df; padding: 18px 22px; font-size: 13px; margin: 20px 0; }
.prose { max-width: 900px; }
.prose h2 { font-size: 35px; margin-top: 45px; }
.prose h3 { font-size: 24px; margin-top: 25px; }
.prose p, .prose li { font-size: 15px; }
.prose li { padding-bottom: 10px; }
.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 45px; align-items: start; }
.toc { position: sticky; top: 20px; border-top: 2px solid var(--ink); padding-top: 16px; font-size: 12px; }
.toc a { display: block; padding: 7px 0; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.print-button { border: 1px solid var(--ink); padding: 10px 16px; cursor: pointer; background: transparent; color: var(--ink); }
@media (max-width: 1000px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { gap: 25px; }
  .hero figure img { height: 380px; }
  .masthead { padding: 14px 5%; }
  .masthead nav { gap: 12px; }
  .brand span { display: none; }
  .guide-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 20px; }
  .masthead { align-items: start; gap: 18px; }
  .masthead nav { font-size: 11px; gap: 10px 14px; padding-top: 4px; }
  .brand img { width: 38px; height: 38px; }
  .hero { grid-template-columns: 1fr; padding: 35px 0 20px; }
  .hero figure img { height: 280px; border-radius: 60px 0 0; }
  .intro-strip { grid-template-columns: 1fr; margin-bottom: 40px; }
  .intro-strip div { padding: 12px 0; }
  .project-grid, .three, .detail-grid, .guide-band, .guide-layout { grid-template-columns: 1fr; }
  .section-top { display: block; }
  .project-card img { height: 240px; }
  .guide-band { padding: 27px; gap: 16px; }
  .toc { position: static; }
  .filters label { flex-basis: 100%; }
  .actions .button { flex: 1 1 140px; }
  h1 { font-size: 43px; }
  .compare-panel { padding: 16px; }
}
@media print {
  .masthead, .filters, .card-actions, .footer, .toc, .actions, .print-button { display: none; }
  body { background: white; font-size: 11px; }
  .wrap { width: 100%; }
  .hero { padding: 15px 0; }
  .hero figure img { height: 220px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { break-inside: avoid; }
  .guide-layout { display: block; }
}


.resource-jump { padding:14px 0; border-bottom:1px solid var(--line); font-weight:700; }
.project-media { padding:32px 0; border-top:1px solid var(--line); }
.project-media h3 { margin-top:28px; }
.media-viewer { min-height:170px; display:grid; place-items:center; padding:24px; background:#e8ede3; border:1px solid #c6d2c2; border-radius:12px; overflow:hidden; }
.media-viewer:has(iframe),.media-viewer:has(video) { padding:0; }
.media-viewer iframe,.media-viewer video { display:block; width:100%; height:560px; border:0; }
.media-viewer .note { text-align:center; }
.media-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:20px 0; }
.media-gallery figure { margin:0; min-width:0; }
.media-thumb { padding:0; border:1px solid var(--line); cursor:zoom-in; background:white; width:100%; }
.media-thumb img { display:block; width:100%; height:220px; object-fit:contain; }
.media-gallery figcaption { font-size:11px; padding:8px 0; line-height:1.5; }
#media-dialog { width:min(1100px,95vw); max-height:94vh; box-sizing:border-box; border:0; padding:18px; background:#fff; color:#193c30; }
#media-dialog::backdrop { background:rgba(10,28,22,.85); }
#media-dialog-image { display:block; width:100%; height:65vh; object-fit:contain; }
.media-dialog-controls { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.media-dialog-controls button { font:inherit; cursor:pointer; background:#edf1e8; border:1px solid #cad3c2; padding:10px; color:inherit; }
.tour-badge { display:inline-block; padding:7px 10px; background:#e5efd9; color:#244830; font-size:12px; font-weight:700; margin-bottom:10px; }
.tour-filter { display:flex; gap:10px; align-items:center; margin:18px 0; font-weight:700; }
.tour-filter input { width:20px; height:20px; }
@media(max-width:650px) {
 .media-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .media-thumb img { height:145px; }
 .media-viewer iframe { height:430px; }
 #media-dialog { padding:12px; }
 #media-dialog-image { height:60vh; }
 .media-dialog-controls button { font-size:12px; padding:9px 6px; }
}
