/* ============================================================
   POLARIS — guider/ (ljust tema #f8f4ee)
   Laddar efter ../style.css
   ============================================================ */

/* ── NAV: alltid glasmörk på ljusa sidor ── */
.guide-page .nav {
  background: rgba(7, 9, 12, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--gold-ghost);
  padding: 14px var(--gutter);
}

/* ── BODY: ljus bas ── */
.guide-page {
  background: #f8f4ee;
  color: #1a1a1a;
}

/* Aurora och starfield döljs — de ljusa sektionerna är ogenomskinliga */
.guide-page .aurora,
.guide-page .starfield { display: none; }

/* ── LIGHT SECTION BASE ── */
.gs-light {
  background: #f8f4ee;
  position: relative;
  z-index: 1;
}

/* ── TILLBAKA-LÄNK ── */
.guide-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.guide-back:hover { color: #a88230; border-color: rgba(168, 130, 48, 0.5); }

/* ── HERO GRID ── */
.guide-hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

/* ── EYEBROW (ljus) ── */
.guide-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ── PULSERANDE STJÄRNA ── */
.guide-star {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.guide-star-dot {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.55), 0 0 8px rgba(201, 168, 76, 0.9);
  animation: medallion-pulse 4s ease-in-out infinite;
}
.guide-star-line {
  height: 1px;
  width: 64px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0.5;
}

/* ── H1 ── */
.guide-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: #07090c;
  margin-bottom: 22px;
  max-width: 24ch;
}

/* ── SUB-RUBRIK ── */
.guide-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.5;
  color: #3a3a3a;
  margin-bottom: 32px;
  max-width: 38ch;
}

/* ── BRÖDTEXT ── */
.guide-body-text {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 58ch;
}
.guide-body-text p { margin-bottom: 18px; }
.guide-body-text p:last-child { margin-bottom: 0; }

/* ── META-RAD ── */
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(7, 9, 12, 0.38);
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(7, 9, 12, 0.1);
}
.guide-meta-sep { color: rgba(201, 168, 76, 0.5); margin: 0 4px; }

/* ── STICKY DOWNLOAD BOX ── */
.guide-download-box {
  background: #ffffff;
  border: 1px solid rgba(7, 9, 12, 0.1);
  padding: clamp(28px, 3.5vw, 44px);
  position: sticky;
  top: 100px;
}

.guide-download-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  color: #07090c;
  margin-bottom: 8px;
}
.guide-download-desc {
  font-size: 13px;
  color: rgba(7, 9, 12, 0.45);
  margin-bottom: 24px;
  font-family: var(--sans);
  font-weight: 300;
}
.guide-download-rule {
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(201, 168, 76, 0.2) 60%, transparent);
  margin-bottom: 24px;
}

/* ── FORM (ljus) ── */
.guide-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-form input {
  width: 100%;
  padding: 14px 18px;
  background: #f8f4ee;
  border: 1px solid rgba(7, 9, 12, 0.12);
  border-radius: 2px;
  color: #1a1a1a;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
  appearance: none;
}
.guide-form input::placeholder { color: rgba(7, 9, 12, 0.32); }
.guide-form input:focus {
  border-color: var(--gold);
  background: #ffffff;
}
.guide-form input.input-error { border-color: #c0392b; }

.guide-form-error {
  font-size: 11px;
  color: #c0392b;
  font-family: var(--sans);
  margin-top: -6px;
  display: none;
}
.guide-form-error.is-visible { display: block; }

.guide-form .btn-primary {
  width: 100%;
  padding: 18px 24px;
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-top: 4px;
  border: none;
  cursor: pointer;
}
.guide-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.guide-download-fine {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(7, 9, 12, 0.38);
  font-family: var(--sans);
  font-weight: 300;
}
.guide-download-count {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.65);
}

/* ── SEKTION-SPACER ── */
.guide-section { padding: clamp(72px, 9vw, 112px) 0; }
.guide-section-sm { padding: clamp(56px, 7vw, 88px) 0; }

.guide-hairline {
  height: 1px;
  background: rgba(7, 9, 12, 0.08);
}

/* ── KAPITEL-SEKTION ── */
.guide-chapters-head { margin-bottom: clamp(40px, 5vw, 60px); }

.guide-chapters-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  color: #07090c;
  margin-bottom: 18px;
  max-width: 24ch;
}
.guide-chapters-lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: #5a5a5a;
  max-width: 56ch;
}

.guide-chapter-list {
  border-top: 1px solid rgba(7, 9, 12, 0.1);
}
.guide-chapter {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(7, 9, 12, 0.07);
  align-items: start;
}
.guide-chapter-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
  padding-top: 4px;
}
.guide-chapter-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
  color: #07090c;
  margin-bottom: 6px;
}
.guide-chapter-desc {
  font-size: 14px;
  font-weight: 300;
  color: #5a5a5a;
  line-height: 1.65;
}

/* ── PULL QUOTE ── */
.guide-pullquote-inner {
  max-width: 780px;
  padding-left: clamp(22px, 3.5vw, 52px);
  border-left: 4px solid var(--gold);
}
.guide-pullquote-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.4;
  color: #07090c;
  margin-bottom: 22px;
}
.guide-pullquote-attr {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── SOCIAL PROOF ── */
.guide-proof-head {
  margin-bottom: clamp(36px, 4.5vw, 52px);
}
.guide-proof-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
  color: #07090c;
  margin-top: 12px;
}

.guide-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 40px);
}
.guide-testimonial {
  padding: 32px;
  border: 1px solid rgba(7, 9, 12, 0.09);
  background: #ffffff;
}
.guide-placeholder-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.65);
  border: 1px dashed rgba(201, 168, 76, 0.3);
  padding: 3px 9px;
  margin-bottom: 14px;
}
.guide-testimonial-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: #2a2a2a;
  margin-bottom: 20px;
}
.guide-testimonial-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.guide-testimonial-company {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(7, 9, 12, 0.38);
}

/* ── AUTHOR BLOCK ── */
.guide-author-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  max-width: 840px;
}
.guide-author-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(7, 9, 12, 0.1);
  background: linear-gradient(135deg,
    rgba(201, 168, 76, 0.05) 0%,
    transparent 40%,
    transparent 60%,
    rgba(201, 168, 76, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Hörn-markeringar — återanvänd .corner från style.css men med ljus-variant */
.guide-author-portrait .corner {
  border-color: var(--gold);
}
.guide-author-portrait .team-initials {
  font-size: clamp(52px, 7vw, 80px);
  color: var(--gold);
}
.guide-author-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.guide-author-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  color: #07090c;
  margin-bottom: 18px;
}
.guide-author-bio {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #5a5a5a;
  max-width: 52ch;
  margin-bottom: 14px;
}
.guide-author-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: #07090c;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  margin-top: 22px;
}

/* ── ANDRA GUIDER ── */
.guide-others-head { margin-bottom: clamp(36px, 4.5vw, 52px); }
.guide-others-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
  color: #07090c;
  margin-top: 12px;
}

.guide-others-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.guide-other-card {
  border: 1px solid rgba(7, 9, 12, 0.1);
  padding: 36px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transition: border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.guide-other-card:hover { border-color: var(--gold); }

.guide-other-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.guide-other-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(7, 9, 12, 0.15);
  color: rgba(7, 9, 12, 0.45);
  margin-bottom: 16px;
}
.guide-other-badge.badge-available {
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--gold);
}
.guide-other-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  color: #07090c;
  margin-bottom: 12px;
  flex: 1;
}
.guide-other-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: #5a5a5a;
  margin-bottom: 24px;
}
.guide-other-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color 0.2s ease;
}
.guide-other-card:hover .guide-other-link { color: #a88230; }

/* ── TACK-SIDA ── */
.tack-hero {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(120px, 15vw, 160px) var(--gutter) clamp(72px, 9vw, 108px);
}
.tack-star {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.tack-star .guide-star-dot {
  width: 16px; height: 16px;
  box-shadow: 0 0 32px rgba(201, 168, 76, 0.55), 0 0 14px rgba(201, 168, 76, 0.9);
}
.tack-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.tack-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  color: #07090c;
  margin-bottom: 22px;
  max-width: 24ch;
}
.tack-desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: #5a5a5a;
  max-width: 44ch;
  margin-bottom: 60px;
}
.tack-recs {
  width: 100%;
  max-width: 640px;
  text-align: left;
}
.tack-recs-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: block;
}
.tack-recs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.tack-rec-card {
  border: 1px solid rgba(7, 9, 12, 0.1);
  padding: 24px;
  background: #ffffff;
  display: block;
  transition: border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.tack-rec-card:hover { border-color: var(--gold); }
.tack-rec-label {
  font-size: 12px;
  font-weight: 300;
  color: rgba(7, 9, 12, 0.38);
  margin-bottom: 8px;
}
.tack-rec-link-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3;
  color: #07090c;
  transition: color 0.2s ease;
  display: block;
}
.tack-rec-card:hover .tack-rec-link-text { color: var(--gold); }

/* ── RESPONSIV ── */
@media (max-width: 920px) {
  .guide-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .guide-download-box { position: static; }
  .guide-proof-grid { grid-template-columns: 1fr; gap: 18px; }
  .guide-others-grid { grid-template-columns: 1fr; }
  .guide-author-grid { grid-template-columns: 1fr; gap: 36px; }
  .guide-author-portrait { max-width: 200px; }
  .tack-recs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .guide-chapter { grid-template-columns: 56px 1fr; }
  .guide-chapter-num { font-size: 24px; }
  .guide-proof-grid { grid-template-columns: 1fr; }
}
