/* ============================================================
   Strendal — Light & Orientation Page Template
   Loaded only on page-templates/light-orientation.php
   ============================================================ */

:root {
  --lo-green:       #6a9e52;
  --lo-green-dark:  #4a7a38;
  --lo-gold:        #c8952a;
  --lo-gold-light:  #e8b84a;
  --lo-cream:       #f7faf5;
  --lo-warm:        #e4f0da;
  --lo-text:        #1e3d14;
  --lo-muted:       #6a7e64;
  --lo-border:      rgba(106,158,82,0.2);
}

/* Override global theme base with LO-specific tokens */
body.lo-page {
  background: var(--lo-cream);
  color: var(--lo-text);
  font-weight: 300;
  line-height: 1.7;
}

/* ─── HERO ─── */
.lo-hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.lo-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.9) brightness(0.95);
}
.lo-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 40%,
    rgba(14,30,10,0.45) 70%,
    rgba(14,30,10,0.82) 100%
  );
}
.lo-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 56px;
  max-width: 760px;
  animation: loFadeUp 1s ease both;
}
.lo-hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lo-gold-light);
  margin-bottom: 14px;
}
.lo-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 18px;
}
.lo-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.65;
}
.lo-hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lo-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  animation: loScrollPulse 2.2s ease-in-out infinite;
}

/* ─── SECTION LABEL ─── */
.lo-section-label {
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lo-green);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lo-section-label--line-after::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--lo-green);
  opacity: 0.5;
}
.lo-section-label--lines::before,
.lo-section-label--lines::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--lo-green);
  opacity: 0.4;
}

/* ─── INTRO SECTION ─── */
.lo-intro {
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.lo-intro-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--lo-text);
  margin-bottom: 24px;
}
.lo-intro-left h2 em {
  font-style: italic;
  color: var(--lo-green);
}
.lo-intro-left p {
  font-size: 15.5px;
  color: #3a4a36;
  margin-bottom: 16px;
  line-height: 1.7;
}
.lo-orientation-diagram {
  background: white;
  border: 1px solid var(--lo-border);
  border-radius: 4px;
  padding: 36px;
  text-align: center;
}
.lo-compass-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 28px;
}
.lo-compass-label {
  font-size: 12px;
  color: var(--lo-muted);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.lo-orient-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.lo-orient-fact {
  background: var(--lo-warm);
  border-radius: 3px;
  padding: 14px 16px;
  text-align: left;
}
.lo-orient-fact-icon {
  font-size: 18px;
  margin-bottom: 6px;
}
.lo-orient-fact-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lo-green);
  font-weight: 500;
  margin-bottom: 2px;
}
.lo-orient-fact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--lo-text);
  line-height: 1.3;
}

/* ─── FACTS STRIP ─── */
.lo-facts-strip {
  background: var(--lo-green);
  display: flex;
  flex-wrap: wrap;
}
.lo-fact-pill {
  flex: 1;
  min-width: 140px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.lo-fact-pill:last-child { border-right: none; }
.lo-fact-pill-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.lo-fact-pill-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
}

/* ─── AIRFLOW SECTION ─── */
.lo-airflow-section {
  padding: 80px 60px;
  background: var(--lo-cream);
}
.lo-airflow-section .lo-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.lo-airflow-section .lo-section-label {
  justify-content: center;
}
.lo-airflow-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 300;
  color: var(--lo-text);
  line-height: 1.2;
  margin-bottom: 16px;
}
.lo-airflow-section .lo-lead {
  font-size: 15.5px;
  color: #3a4a36;
  line-height: 1.7;
  font-weight: 300;
}
.lo-airflow-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--lo-border);
  margin-bottom: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.lo-airflow-tab {
  flex: 1;
  padding: 12px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lo-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.lo-airflow-tab.active {
  color: var(--lo-green);
  border-bottom-color: var(--lo-green);
}
.lo-airflow-tab:hover { color: var(--lo-green); }
.lo-airflow-image-wrap {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.lo-airflow-img-panel {
  display: none;
  position: relative;
}
.lo-airflow-img-panel.active { display: block; }
.lo-airflow-img-panel img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) brightness(0.97);
}
.lo-airflow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(transparent, rgba(14,30,10,0.7));
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.lo-airflow-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 36px auto 0;
}
.lo-benefit-card {
  background: var(--lo-warm);
  border-radius: 4px;
  padding: 28px 24px;
  border-left: 3px solid var(--lo-green);
}
.lo-benefit-icon {
  font-size: 22px;
  margin-bottom: 10px;
}
.lo-benefit-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--lo-text);
  margin-bottom: 8px;
}
.lo-benefit-body {
  font-size: 14px;
  color: var(--lo-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ─── QUIET SECTION ─── */
.lo-quiet-section {
  padding: 80px 60px;
  background: var(--lo-cream);
}
.lo-quiet-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lo-quiet-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--lo-text);
  margin-bottom: 20px;
}
.lo-quiet-text p {
  font-size: 15.5px;
  color: #3a4a36;
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.7;
}
.lo-quiet-checklist {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lo-quiet-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--lo-text);
  font-weight: 300;
}
.lo-quiet-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lo-green);
  color: white;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.lo-quiet-map-card {
  background: white;
  border: 1px solid var(--lo-border);
  border-radius: 4px;
  padding: 28px;
}
.lo-noise-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lo-muted);
  margin-bottom: 20px;
}
.lo-noise-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lo-noise-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lo-noise-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--lo-text);
}
.lo-noise-row-label span:last-child {
  font-size: 11px;
  color: var(--lo-muted);
}
.lo-noise-bar-bg {
  height: 7px;
  background: #e2eedd;
  border-radius: 4px;
  overflow: hidden;
}
.lo-noise-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s ease;
}
.lo-noise-bar-fill.low  { background: var(--lo-green); }
.lo-noise-bar-fill.med  { background: var(--lo-gold); }
.lo-noise-bar-fill.high { background: #c0624a; }
.lo-noise-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(106,158,82,0.08);
  border-radius: 3px;
  font-size: 13px;
  color: var(--lo-green-dark);
  line-height: 1.5;
  font-weight: 300;
}

/* ─── SUNSET CLOSE ─── */
.lo-sunset-close {
  position: relative;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lo-sunset-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.88) brightness(0.85);
}
.lo-sunset-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,30,10,0.38);
}
.lo-sunset-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  animation: loFadeUp 1s ease both;
}
.lo-sunset-content blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto 20px;
}
.lo-sunset-content .lo-attribution {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ─── CTA STRIP ─── */
.lo-cta-strip {
  background: var(--lo-green-dark);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.lo-cta-strip-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 6px;
}
.lo-cta-strip-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}
.btn-gold {
  padding: 14px 36px;
  background: var(--lo-gold);
  color: white;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-gold:hover { background: var(--lo-gold-light); color: white; }

/* ─── ANIMATIONS ─── */
@keyframes loFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loScrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .lo-hero-content { padding: 0 28px 40px; }
  .lo-intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 28px;
  }
  .lo-facts-strip { flex-wrap: wrap; }
  .lo-fact-pill { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .lo-airflow-section { padding: 56px 28px; }
  .lo-airflow-tab { font-size: 10px; padding: 12px 10px; }
  .lo-airflow-benefits { grid-template-columns: 1fr; }
  .lo-quiet-inner { grid-template-columns: 1fr; gap: 40px; }
  .lo-quiet-section { padding: 56px 28px; }
  .lo-cta-strip { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}
