*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f0e9df;
  color: #2a2118;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:root {
  --ink: #2a2118;
  --muted: #6e6256;
  --sand: #f0e9df;
  --sand-dark: #e4d9c8;
  --timber: #3d2e22;
  --timber-deep: #2a1f18;
  --canyon: #c45c2a;
  --canyon-soft: rgba(196,92,42,0.15);
  --brass: #c4a574;
  --border: rgba(42,33,24,0.12);
  --serif: Georgia, 'Times New Roman', serif;
}

/* ——— ELEVATOR PANEL NAV (unique) ——— */
.shell {
  display: grid;
  grid-template-columns: 1fr 100px;
  min-height: 100vh;
}

.main { min-width: 0; }

.elevator {
  background: var(--timber-deep);
  border-left: 3px solid var(--brass);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  gap: 8px;
}
.elevator .plate {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  text-align: center;
  margin-bottom: 16px;
  writing-mode: horizontal-tb;
}
.elevator nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  width: 100%;
}
.elevator nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-height: 72px;
  background: var(--timber);
  border: 2px solid rgba(196,165,116,0.25);
  border-radius: 8px;
  color: rgba(240,233,223,0.45);
  transition: all 0.2s;
  padding: 8px 4px;
}
.elevator nav a .fl {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.elevator nav a .nm {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
}
.elevator nav a:hover {
  color: #fff;
  border-color: var(--brass);
}
.elevator nav a.active {
  background: var(--canyon);
  border-color: var(--canyon);
  color: #fff;
  box-shadow: 0 0 0 3px var(--canyon-soft);
}
.elevator .keyhole {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  margin-top: auto;
  opacity: 0.5;
}

.mob-bar {
  display: none;
  background: var(--timber-deep);
  color: #fff;
  padding: 14px 18px;
  justify-content: space-between;
  align-items: center;
}
.mob-bar .logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}
.mob-bar .logo span { color: var(--canyon); }
.mob-bar button {
  background: var(--canyon);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 8px 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ——— LOBBY HERO ——— */
.lobby {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 100vh;
}
.lobby .copy {
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--sand);
}
.lobby .copy .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--canyon);
  margin-bottom: 14px;
}
.lobby .copy h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--timber-deep);
  margin-bottom: 16px;
}
.lobby .copy p {
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.lobby .visual {
  position: relative;
  min-height: 420px;
}
.lobby .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lobby .visual .ribbon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--timber-deep);
  color: var(--sand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-canyon {
  background: var(--canyon);
  color: #fff;
}
.btn-canyon:hover { filter: brightness(1.08); }
.btn-timber {
  background: var(--timber);
  color: #fff;
}
.btn-timber:hover { background: var(--canyon); }
.btn-line {
  background: transparent;
  border: 1.5px solid var(--timber);
  color: var(--timber);
}
.btn-line:hover { background: var(--timber); color: #fff; }

/* ——— STRIP ——— */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--timber-deep);
  color: rgba(240,233,223,0.7);
}
.strip article {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.strip article:last-child { border-right: none; }
.strip .n {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--canyon);
  margin-bottom: 8px;
}
.strip h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 6px;
}
.strip p { font-size: 0.9rem; }

/* ——— KEYS ——— */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 28px 60px;
}
.section .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--canyon);
  margin-bottom: 8px;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  color: var(--timber-deep);
  margin-bottom: 28px;
}

.keys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.key-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}
.key-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.key-card .body { padding: 22px; }
.key-card .floor {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canyon);
  margin-bottom: 6px;
}
.key-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--timber-deep);
}
.key-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.key-card .meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ——— OUTPOST ——— */
.outpost-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.outpost-hero img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}
.outpost-hero .txt {
  background: var(--timber);
  color: rgba(240,233,223,0.75);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.outpost-hero .txt .tag {
  color: var(--canyon);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.outpost-hero .txt h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #fff;
  font-weight: 400;
  margin-bottom: 14px;
}
.outpost-hero .txt p { margin-bottom: 10px; font-size: 0.98rem; }

.prose {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 28px 60px;
}
.prose p {
  color: var(--muted);
  margin-bottom: 14px;
}

/* ——— BELL ——— */
.bell-wrap {
  max-width: 1000px;
  margin: 36px auto 60px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
}
.bell-side {
  background: var(--timber-deep);
  color: rgba(240,233,223,0.7);
  padding: 36px;
}
.bell-side h2 {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 22px;
}
.b-row { margin-bottom: 16px; }
.b-row .lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canyon);
  margin-bottom: 4px;
}
.b-row p, .b-row a { font-size: 0.95rem; }
.b-row a:hover { color: #fff; }

.bell-form {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--sand);
  font-size: 0.95rem;
  color: var(--ink);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--canyon);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ft {
  background: var(--timber-deep);
  color: rgba(240,233,223,0.45);
  text-align: center;
  padding: 28px;
  font-size: 0.84rem;
}
.ft strong { color: #fff; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .elevator {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    border-left: none;
    gap: 12px;
    padding: 24px;
  }
  .elevator.open { display: flex; }
  .elevator nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    flex: none;
  }
  .elevator nav a {
    width: 80px;
    height: 80px;
    aspect-ratio: auto;
    max-height: none;
  }
  .elevator .plate, .elevator .keyhole { display: none; }
  .mob-bar { display: flex; }
  .lobby { grid-template-columns: 1fr; }
  .lobby .copy { padding: 40px 24px; }
  .lobby .visual { min-height: 280px; }
  .strip { grid-template-columns: 1fr; }
  .strip article { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .keys-grid { grid-template-columns: 1fr; }
  .outpost-hero { grid-template-columns: 1fr; }
  .outpost-hero img { min-height: 240px; }
  .bell-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
