/* Lakeside Living - membership + ownership paths
   Uses the design tokens declared in landing-camping-pass.css
   (--blue-deep, --gold, --cream, ...), which is enqueued first. */

body.amr-lakeside-living {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

body.amr-lakeside-living * { box-sizing: border-box; }

body.amr-lakeside-living h1,
body.amr-lakeside-living h2,
body.amr-lakeside-living h3 {
  font-family: 'Playfair Display', serif;
}

body.amr-lakeside-living section,
body.amr-lakeside-living .announcement-bar,
body.amr-lakeside-living .site-header {
  max-width: 100%;
  width: 100%;
}

.ll-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

/* ── HERO ──
   --ll-hero-img is set inline by the template from the media library, so the
   photo can be swapped in WordPress without editing CSS. The scrim keeps the
   headline legible over a bright summer photo; it is layered above the image
   and below the text. */
.ll-hero {
  background:
    linear-gradient(180deg, rgba(21,54,64,0.78) 0%, rgba(26,46,74,0.68) 45%, rgba(26,46,74,0.90) 100%),
    var(--ll-hero-img, none) 50% 59% / cover no-repeat,
    linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 6.5rem 1.5rem 5.5rem;
  text-align: center;
}

.ll-hero h1,
.ll-hero .ll-hero-sub {
  text-shadow: 0 2px 18px rgba(10,24,38,0.45);
}

.ll-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  margin: 0.6rem 0 1.2rem;
  color: var(--white);
}

.ll-hero h1 .ll-hero-em {
  display: block;
  color: var(--gold-light);
  font-style: italic;
}

.ll-hero-sub {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
}

.ll-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.ll-btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ll-btn-primary {
  background: var(--gold);
  color: var(--blue-deep);
  box-shadow: 0 8px 22px rgba(212,168,67,0.32);
}

.ll-btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.ll-btn-ghost {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
}

.ll-btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.ll-hero-marks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 1.6rem;
}

.ll-hero-mark-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold-light);
}

.ll-hero-mark-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
}

/* ── SHARED SECTION HEADER ── */
.ll-section {
  padding: 4.5rem 1.5rem;
}

.ll-section-alt { background: var(--white); }

.ll-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.ll-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}

.ll-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.18;
  margin: 0 0 0.9rem;
  color: var(--blue-deep);
}

.ll-head p {
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0;
}

/* ── PATH CARDS ── */
/* Two across, so each option gets room to breathe and the spec rows stop
   wrapping. Collapses to a single column on narrow screens. */
.ll-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .ll-paths { grid-template-columns: 1fr; }
}

.ll-path {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 4px solid var(--blue-light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ll-path-inner {
  padding: 1.5rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 3:1 banner matching the source photography's aspect ratio */
.ll-path-media {
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: var(--cream-dark);
}

.ll-path-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ll-path:hover .ll-path-media img { transform: scale(1.04); }

@supports not (aspect-ratio: 3 / 1) {
  .ll-path-media { height: 130px; }
}

.ll-path:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(26,46,74,0.13);
}

.ll-path.is-featured {
  border-top-color: var(--gold);
  background: linear-gradient(180deg, #fffdf7 0%, var(--white) 45%);
}

.ll-path-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--gold-dark);
  letter-spacing: 0.22em;
}

.ll-path-kicker {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin: 0.8rem 0 0.25rem;
}

.ll-path h3 {
  font-size: 1.5rem;
  margin: 0 0 0.7rem;
  color: var(--blue-deep);
}

.ll-path-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0 0 1.3rem;
}

.ll-specs {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  border-top: 1px solid var(--cream-dark);
}

.ll-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.92rem;
}

.ll-specs dt,
.ll-spec-key {
  color: var(--text-light);
}

.ll-spec-val {
  font-weight: 700;
  color: var(--blue-deep);
  text-align: right;
}

.ll-path-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--blue-mid);
  text-decoration: none;
  font-size: 0.96rem;
}

.ll-path-link:hover { color: var(--gold-dark); }

/* ── COMPARE TABLE ── */
.ll-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
}

.ll-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ll-table th,
.ll-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: top;
}

.ll-table thead th {
  background: var(--blue-deep);
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ll-table tbody tr:last-child td { border-bottom: none; }
.ll-table tbody tr:nth-child(even) { background: #fbfaf6; }

.ll-table th[scope="row"] {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--blue-deep);
  white-space: nowrap;
}

.ll-table .ll-price {
  font-weight: 800;
  color: var(--blue-deep);
  white-space: nowrap;
}

/* Only shown where the table actually overflows; the table's min-width is
   760px, so above roughly 900px there is nothing to scroll. */
.ll-scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.8rem;
}

@media (max-width: 900px) {
  .ll-scroll-hint { display: block; }
}

/* ── PARK MODELS ── */
.ll-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.ll-model {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ll-model-top {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  padding: 1.5rem 1.6rem 1.3rem;
}

.ll-model-code {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.ll-model-top h3 {
  margin: 0.35rem 0 0.3rem;
  font-size: 1.6rem;
  color: var(--white);
}

.ll-model-tag {
  font-size: 0.95rem;
  color: var(--gold-light);
  font-style: italic;
}

/* Floor plans are line drawings with very different aspect ratios, so they are
   contained on white rather than cropped to fill. */
.ll-model-plan {
  background: var(--white);
  padding: 1rem;
  border-bottom: 1px solid var(--cream-dark);
}

.ll-model-plan img {
  width: 100%;
  height: 185px;
  object-fit: contain;
  display: block;
}

.ll-model-body { padding: 1.4rem 1.6rem 1.7rem; }

.ll-model-meta {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cream-dark);
}

.ll-model-price {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.93rem;
  padding: 0.42rem 0;
}

.ll-model-price .ll-spec-val { font-size: 1rem; }

.ll-model-price.is-headline .ll-spec-val {
  color: var(--gold-dark);
  font-size: 1.25rem;
}

/* ── CLOSING CTA ── */
.ll-cta {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(212,168,67,0.16), transparent 55%),
    linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.ll-cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--white);
  margin: 0.6rem 0 1rem;
}

.ll-cta p {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.86);
  line-height: 1.65;
}

.ll-cta .ll-label { color: var(--gold-light); }

.ll-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.ll-disclaimer {
  background: var(--cream-dark);
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.6;
  text-align: center;
  padding: 1.6rem 1.5rem;
}

.ll-disclaimer p {
  max-width: 820px;
  margin: 0 auto;
}

/* ── REVEAL ── */
.ll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.ll-reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ll-reveal { opacity: 1; transform: none; transition: none; }
  .ll-path:hover { transform: none; }
}

@media (max-width: 640px) {
  .ll-hero { padding: 3.5rem 1.2rem; }
  .ll-section { padding: 3.2rem 1.2rem; }
  .ll-hero-marks { grid-template-columns: 1fr; gap: 0.8rem; }
  .ll-btn { width: 100%; text-align: center; }
}

/* Card footer links: primary link to the detail page, muted link to the table */
.ll-path-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ll-path-links .ll-path-link { margin-top: 0; }

.ll-path-link.is-muted {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-light);
}

.ll-path-link.is-muted:hover { color: var(--blue-mid); }

/* Programme names in the comparison table link through to their page */
.ll-table th[scope="row"] a {
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(212,168,67,0.55);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.ll-table th[scope="row"] a:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}
