:root {
  --ink: #171b1d;
  --ink-soft: #202629;
  --paper: #e9e6df;
  --paper-muted: #b9b7b0;
  --line: rgba(233, 230, 223, 0.18);
  --rust: #ad4b30;
  --rust-dark: #783321;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(22px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  background: rgba(23, 27, 29, 0.96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand { text-decoration: none; letter-spacing: 0.16em; font-weight: 700; font-size: 14px; }
.brand small { display: block; color: var(--rust); font-size: 9px; margin-top: 5px; letter-spacing: 0.24em; }
.language-toggle {
  border: 1px solid var(--line);
  color: var(--paper-muted);
  background: transparent;
  padding: 9px 11px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.language-toggle .active { color: var(--paper); }

.hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 128px) clamp(22px, 8vw, 108px) clamp(70px, 9vw, 112px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 72px, 118px 100%;
}
.hero::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 850px;
  right: 18%;
  top: -180px;
  background: var(--rust);
  transform: rotate(12deg);
  opacity: 0.92;
}
.hero-content { position: relative; z-index: 2; max-width: 850px; }
.hero-mark {
  position: absolute;
  right: clamp(24px, 7vw, 100px);
  bottom: 46px;
  border: 1px solid rgba(233,230,223,.55);
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: .18em;
  font-weight: 700;
  z-index: 2;
}
.eyebrow {
  color: var(--rust);
  font-size: 11px;
  letter-spacing: .2em;
  line-height: 1.6;
  font-weight: 700;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; display: inline-block; background: var(--rust); margin: 0 12px 3px 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(48px, 7.5vw, 104px); line-height: .96; letter-spacing: -.045em; margin: 38px 0 30px; max-width: 920px; }
.hero-copy { max-width: 590px; color: var(--paper-muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }

.guide-controls {
  padding: 88px clamp(22px, 8vw, 108px) 36px;
  max-width: 1500px;
  margin: 0 auto;
}
.section-heading h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1.05; margin: 24px 0 42px; letter-spacing: -.03em; }
.search-box {
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(233,230,223,.48);
  padding: 15px 4px;
  margin-bottom: 28px;
}
.search-icon { color: var(--rust); font-size: 24px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--paper); font-size: 17px; }
.search-box input::placeholder { color: #858784; }
.filters { display: flex; gap: 9px; overflow-x: auto; padding: 6px 0 12px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper-muted);
  padding: 11px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: .2s ease;
  font-size: 13px;
}
.filter:hover, .filter.active { border-color: var(--rust); background: var(--rust); color: #fff; }

.results { padding: 0 clamp(22px, 8vw, 108px) 110px; max-width: 1500px; margin: 0 auto; }
.results-bar { min-height: 52px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: #8f918e; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.text-button { border: 0; background: transparent; color: var(--rust); cursor: pointer; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  transition: background .2s ease, transform .2s ease;
}
.card:hover { background: var(--ink-soft); }
.card-number { color: var(--rust); font-size: 11px; letter-spacing: .14em; }
.card h3 { font-size: clamp(27px, 2.5vw, 38px); line-height: 1.02; margin: 34px 0 16px; letter-spacing: -.025em; }
.card-description { color: var(--paper-muted); line-height: 1.6; font-size: 14px; margin: 0; max-width: 34ch; }
.card-footer { margin-top: 35px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { border: 1px solid var(--line); color: #a9aaa6; padding: 5px 8px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.map-link { color: var(--paper); text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--rust); padding-bottom: 3px; white-space: nowrap; }
.map-link:hover { color: var(--rust); }
.empty-state { text-align: center; border: 1px solid var(--line); padding: 80px 20px; }
.empty-symbol { color: var(--rust); font-weight: 700; letter-spacing: .2em; }
.empty-state h3 { font-size: 32px; margin-bottom: 10px; }
.empty-state p:last-child { color: var(--paper-muted); }

.note { margin: 0 clamp(22px, 8vw, 108px) 110px; padding: clamp(38px, 6vw, 76px); background: var(--rust); max-width: 1284px; }
.note .eyebrow { color: #201713; }
.note .eyebrow::before { background: #201713; }
.note blockquote { font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.08; letter-spacing: -.03em; margin: 36px 0; max-width: 1050px; }
.signature { color: rgba(255,255,255,.7); font-size: 13px; }
footer { padding: 40px clamp(22px, 5vw, 68px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #858784; font-size: 12px; }
footer a { text-decoration: none; color: var(--paper); }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::after { right: 8%; width: 90px; opacity: .72; }
  .hero-mark { display: none; }
}
@media (max-width: 640px) {
  .site-header { min-height: 68px; padding: 15px 18px; }
  .brand { font-size: 12px; }
  .hero { min-height: 510px; padding: 70px 22px 62px; align-items: end; }
  .hero::after { width: 62px; right: 4%; opacity: .45; }
  h1 { font-size: clamp(48px, 14vw, 68px); max-width: 92%; }
  .hero-copy { max-width: 85%; }
  .guide-controls { padding: 68px 18px 26px; }
  .section-heading h2 { margin-bottom: 34px; }
  .results { padding: 0 18px 78px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 292px; padding: 25px 22px; }
  .card h3 { font-size: 34px; }
  .note { margin: 0 18px 78px; padding: 42px 26px; }
  footer { flex-direction: column; padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
