:root {
  --ink: #101719;
  --muted: #657276;
  --line: #d6dfdf;
  --paper: #f7faf9;
  --ice: #e8f3f5;
  --stone: #31383a;
  --pine: #19362b;
  --moss: #486c45;
  --sky: #397fa6;
  --sun: #d39b3d;
  --danger: #a83a2c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.55;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  min-width: 62px;
  height: 42px;
  border-radius: 8px;
  background: var(--stone);
  color: #fff;
  font-weight: 950;
  letter-spacing: .04em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #4d5a5e;
  font-weight: 850;
}
.site-header nav a { text-decoration: none; }
.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: clamp(88px, 14vw, 170px) clamp(20px, 8vw, 120px) clamp(44px, 8vw, 92px);
  color: #fff;
  background-image: linear-gradient(180deg, rgba(8,15,18,.02), rgba(8,15,18,.56)), var(--hero-image);
  background-position: center;
  background-size: cover;
}
.hero > div { max-width: 1100px; }
.kicker {
  margin: 0 0 10px;
  color: var(--sun);
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero .kicker {
  display: inline-block;
  padding: 3px 6px;
  background: rgba(255,255,255,.9);
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(3.1rem, 8vw, 7.6rem);
  line-height: .88;
  letter-spacing: 0;
}
.hero p {
  max-width: 980px;
  margin: 0 0 24px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 760;
}
.hero-actions,
.chips,
.quick-links,
.card-actions,
.network-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 8px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}
.hero-actions a:first-child {
  border-color: #fff;
  background: #fff;
  color: var(--stone);
}
.tool-panel {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(320px, 1.28fr);
  gap: 30px;
  padding: 42px clamp(20px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
  background: var(--ice);
}
.tool-panel h2,
.section-heading h2,
.warning-box h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .96;
}
.tool-panel p,
.section-heading p,
.warning-box p {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
}
.controls {
  display: grid;
  gap: 14px;
}
.controls label {
  color: #263235;
  font-weight: 900;
}
.controls input,
.controls select {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #c6d2d4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
}
.trip-controls {
  display: grid;
  grid-template-columns: minmax(180px,1fr) minmax(150px,.5fr) auto;
  gap: 10px;
  align-items: end;
}
.trip-controls button,
.chips button {
  min-height: 42px;
  border-radius: 8px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}
.trip-controls button {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--stone);
  background: var(--stone);
  color: #fff;
}
.origin-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #435053;
  font-weight: 850;
}
.language-control { max-width: 320px; }
.chips button {
  padding: 8px 11px;
  border: 1px solid #bfcccf;
  background: #fff;
  color: var(--stone);
}
.section-shell { padding: 42px clamp(20px, 6vw, 86px); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.stat strong {
  display: block;
  font-size: 2.05rem;
  line-height: 1.05;
}
.stat span {
  color: var(--muted);
  font-weight: 800;
}
.quick-links {
  padding: 18px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.quick-links a,
.gear-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fbfefd;
  font-weight: 900;
  text-decoration: none;
}
.photo-shell {
  background: #11191c;
  color: #f3f8f9;
}
.photo-shell .section-heading p { color: #c8d6d8; }
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.section-heading > p { max-width: 620px; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 10px;
}
.photo-card {
  position: relative;
  grid-column: span 2;
  min-height: 245px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: #0d1417;
}
.photo-card-wide { grid-column: span 3; }
.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-card-fit img {
  object-fit: contain;
  background: #0d1417;
}
.photo-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,.56);
  color: #fff;
  font-weight: 900;
}
.style-shell { background: #fff; }
.style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.style-item {
  min-height: 138px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.style-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}
.style-item span {
  color: var(--muted);
  font-weight: 760;
}
.warning-shell {
  background: #f4eee8;
  border-top: 1px solid #e4d6c9;
  border-bottom: 1px solid #e4d6c9;
}
.warning-box {
  max-width: 1040px;
}
.warning-box .kicker { color: var(--danger); }
.directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #edf4f4;
  color: #2a4447;
  font-size: .78rem;
  font-weight: 900;
}
.card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.02;
}
.card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 720;
}
.card-actions {
  margin-top: 14px;
}
.card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #c9d5d6;
  border-radius: 8px;
  background: #fbfefe;
  color: #233033;
  font-size: .86rem;
  font-weight: 900;
  text-decoration: none;
}
.gear-shell {
  background: var(--ice);
  border-top: 1px solid var(--line);
}
.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.sources {
  padding: 28px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: #fff;
}
.sources p,
footer p {
  max-width: 1120px;
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 720;
}
.sources a {
  color: #174f6e;
  font-weight: 850;
}
footer {
  padding: 28px clamp(20px, 6vw, 86px) 36px;
  background: #101719;
  color: #eef5f6;
}
footer p { color: #cbd6d8; }
.network-links a {
  color: #fff;
  font-weight: 900;
}
.empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-header nav { justify-content: flex-start; }
  .tool-panel,
  .directory {
    grid-template-columns: 1fr;
  }
  .stat-grid,
  .style-grid,
  .gear-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .photo-card,
  .photo-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 76vh;
    padding-top: 96px;
  }
  .trip-controls,
  .stat-grid,
  .style-grid,
  .gear-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .brand { min-width: 0; }
  .brand-mark { min-width: 52px; }
  .site-header nav { gap: 11px; }
  .photo-card { min-height: 230px; }
}
