/* ------------------------------------------------------------------
   Luxury Basecamp Levi — site styles
   One stylesheet for the whole site. No frameworks, no build step.

   Brand palette (from the brand theme):
     Midnight Blue  #0B1622 / #10202F
     Gold Accent    #C8A96A
     Snow White     #F4F7FA
   ------------------------------------------------------------------ */

:root {
  --midnight:      #0B1622;
  --midnight-soft: #10202F;
  --midnight-card: #14283A;
  --gold:          #C8A96A;
  --gold-bright:   #DCC08A;
  --snow:          #F4F7FA;
  --snow-dim:      #B9C6D3;
  --line:          rgba(200, 169, 106, 0.22);

  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino,
           "Book Antiqua", Charter, Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
           "Helvetica Neue", Arial, sans-serif;

  --wide: 1140px;
  --text: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--midnight);
  color: var(--snow);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--gold-bright); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--snow); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.15rem; color: var(--snow); }
.muted { color: var(--snow-dim); }
.small { font-size: 0.92rem; }

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--text); }

section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.alt { background: var(--midnight-soft); }

hr.rule {
  border: 0; height: 1px; background: var(--line);
  margin: 48px 0;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 22, 34, 0.92);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--snow);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--gold); }

nav.main {
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap;
  font-size: 0.93rem;
}
nav.main a {
  color: var(--snow-dim);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
nav.main a:hover { color: var(--snow); }
nav.main a[aria-current="page"] { color: var(--snow); border-bottom-color: var(--gold); }

.lang {
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.lang:hover { background: var(--gold); color: var(--midnight); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(76vh, 640px);
  display: flex; align-items: flex-end;
  background: var(--midnight-soft) center/cover no-repeat;
  padding: 56px 0 44px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,34,0.30) 0%, rgba(11,22,34,0.55) 55%, rgba(11,22,34,0.95) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 0.3em; }
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  margin-bottom: 1em;
}
.hero p.lead { max-width: 600px; }

.page-head { padding: 56px 0 8px; border-bottom: 1px solid var(--line); }
.page-head .kicker {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 24px; border-radius: 3px;
  text-decoration: none; border: 1px solid var(--gold);
  color: var(--midnight); background: var(--gold);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--gold-bright); color: var(--midnight); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: var(--midnight); }

/* ---------- facts strip ---------- */

.facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 0.93rem; color: var(--snow-dim);
}
.facts span { white-space: nowrap; }
.facts span::before { content: "·"; color: var(--gold); margin-right: 10px; }
.facts span:first-child::before { content: none; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 22px; }
.grid.two   { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--midnight-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 26px 24px;
}
.card h3 { color: var(--snow); margin-bottom: 0.4em; }
.card p { color: var(--snow-dim); font-size: 0.97rem; }

/* ---------- split (image + text) ---------- */

.split {
  display: grid; gap: 34px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.split img {
  border-radius: 4px;
  width: 100%;
  height: clamp(280px, 38vw, 460px);
  object-fit: cover;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 700px) { .split.reverse > :first-child { order: 0; } }

/* ---------- lists ---------- */

ul.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; }
ul.ticks li {
  position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--snow-dim);
}
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; background: var(--gold); border-radius: 50%;
}

ul.plain { margin: 0 0 1.1em; padding-left: 20px; color: var(--snow-dim); }
ul.plain li { margin-bottom: 6px; }

.cols-2 { columns: 2; column-gap: 34px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

/* ---------- details / FAQ ---------- */

details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
details summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.1rem; color: var(--snow);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--gold); font-size: 1.25rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details .answer { padding-top: 12px; color: var(--snow-dim); }

/* ---------- gallery ---------- */

.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gallery a { display: block; position: relative; overflow: hidden; border-radius: 3px; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s ease;
}
.gallery a:hover img { transform: scale(1.04); opacity: 0.92; }
.gallery figcaption {
  font-size: 0.85rem; color: var(--snow-dim); padding-top: 6px;
}
.gallery figure { margin: 0; }

/* CSS-only lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(7, 14, 22, 0.96);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox:target { display: flex; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; object-fit: contain; border-radius: 3px; }
.lightbox .close {
  position: absolute; top: 18px; right: 24px;
  color: var(--snow); font-size: 2rem; text-decoration: none; line-height: 1;
}

/* ---------- contact block ---------- */

.contact-row { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 8px; }
.contact-row a { font-size: 1.02rem; }

/* ---------- to-confirm marker (delete before publishing) ---------- */

.todo {
  background: rgba(230, 180, 60, 0.12);
  border: 1px dashed rgba(230, 180, 60, 0.55);
  border-radius: 3px;
  padding: 10px 14px;
  color: #E8C878;
  font-size: 0.92rem;
}
.todo::before {
  content: "TO CONFIRM — ";
  font-weight: 700; letter-spacing: 0.06em;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--midnight-soft);
  padding: 44px 0 34px;
  font-size: 0.92rem;
  color: var(--snow-dim);
}
.site-footer .cols {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-bottom: 30px;
}
.site-footer h4 {
  font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--snow-dim); text-decoration: none; }
.site-footer a:hover { color: var(--snow); }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; font-size: 0.85rem;
}

/* ---------- misc ---------- */

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px; position: fixed; z-index: 99;
  background: var(--gold); color: var(--midnight); padding: 10px 16px; border-radius: 3px;
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .site-header .wrap { gap: 10px; }
  nav.main { gap: 16px; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
