:root {
  --ink: #211912;
  --paper: #f7f2ea;
  --paper-2: #fffaf2;
  --clay: #a65f3b;
  --cactus: #326d58;
  --night: #172422;
  --gold: #d6a54a;
  --line: rgba(33, 25, 18, .14);
  --shadow: 0 18px 42px rgba(33, 25, 18, .18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #fff;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(247, 242, 234, .94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: .98rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: .78rem;
}

.nav-toggle {
  display: grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  place-content: center;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav {
  position: absolute;
  top: 68px;
  left: 16px;
  right: 16px;
  display: grid;
  gap: 2px;
  padding: 10px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}

.nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav a {
  padding: 13px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.nav a:active,
.nav a:hover {
  background: rgba(166, 95, 59, .12);
}

.hero {
  position: relative;
  min-height: 96svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #15120e;
}

.hero-img,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.44) 42%, rgba(0,0,0,.78));
}

.hero-copy {
  position: relative;
  width: 100%;
  padding: 108px 18px 34px;
}

.eyebrow,
.kicker,
.tag,
.meta {
  margin: 0;
  text-transform: uppercase;
  font-size: .72rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .08em;
}

.eyebrow,
.kicker {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 10px 0 12px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 3.2rem;
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin: 8px 0 12px;
  font-size: 1.95rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 6px 0;
  font-size: 1.18rem;
  line-height: 1.14;
}

p {
  line-height: 1.62;
}

.hero-copy p:not(.eyebrow) {
  max-width: 35rem;
  margin: 0;
  font-size: 1.02rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 800;
  font-size: .92rem;
  text-align: center;
}

.btn-primary {
  color: #1c130c;
  background: var(--gold);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
}

.btn-line {
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-light {
  color: #fff;
  border: 1px solid rgba(255,255,255,.78);
}

.section {
  padding: 56px 18px;
}

.intro h2,
.section-head h2,
.chooser h2,
.contact h2 {
  max-width: 48rem;
}

.entity-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.entity-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  color: #fff;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.entity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.72));
}

.entity-card span,
.entity-card strong {
  position: relative;
}

.entity-card span {
  color: var(--gold);
  font-weight: 800;
}

.entity-card strong {
  font-size: 1.4rem;
  line-height: 1.08;
}

.entity-card.cerritos {
  background-image: url("../img/cerritos-beachfront.jpg");
}

.entity-card.cabo {
  background-image: url("../img/cabo-adventure.jpg");
}

.entity-section {
  background: var(--paper-2);
}

.entity-section.dark {
  color: #f8f0e4;
  background: var(--night);
}

.section-head p:not(.kicker) {
  margin: 0;
  color: rgba(33, 25, 18, .74);
}

.dark .section-head p:not(.kicker) {
  color: rgba(248, 240, 228, .76);
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8px;
  margin: 24px 0;
}

.photo-strip img {
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
}

.photo-strip img:nth-child(2) {
  height: 160px;
  align-self: end;
}

.tour-list {
  display: grid;
  gap: 14px;
}

.tour-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.54);
}

.dark .tour-card {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.tour-card img {
  height: 100%;
  min-height: 136px;
  border-radius: 6px;
  object-fit: cover;
}

.tag {
  color: var(--clay);
}

.dark .tag {
  color: var(--gold);
}

.meta {
  color: var(--cactus);
}

.dark .meta {
  color: #9ed0ba;
}

.tour-card p:last-child {
  margin: 8px 0 0;
  font-size: .94rem;
}

.entity-section > .btn {
  margin-top: 20px;
  width: 100%;
}

.chooser {
  background: #efe3d4;
}

.compare {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.compare div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.42);
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--cactus);
  font-size: .76rem;
  font-weight: 800;
}

.pill.alt {
  background: var(--clay);
}

.contact {
  background: var(--paper-2);
}

.contact-actions .btn {
  width: 100%;
}

.fineprint {
  margin-top: 18px;
  color: rgba(33, 25, 18, .58);
  font-size: .82rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 18px 30px;
  color: #f8f0e4;
  background: var(--ink);
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
}

@media (min-width: 720px) {
  .site-header {
    padding: 18px 28px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    padding: 10px 12px;
  }

  .hero-copy,
  .section,
  .footer {
    padding-left: max(28px, calc((100vw - 1120px) / 2));
    padding-right: max(28px, calc((100vw - 1120px) / 2));
  }

  h1 {
    font-size: 5.7rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .entity-grid,
  .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entity-card {
    min-height: 250px;
  }

  .tour-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tour-card {
    grid-template-columns: 1fr;
    grid-template-rows: 190px 1fr;
  }

  .photo-strip img {
    height: 330px;
  }

  .photo-strip img:nth-child(2) {
    height: 250px;
  }

  .entity-section > .btn,
  .contact-actions .btn {
    width: auto;
  }
}
