/* ============================================================
   HOUSE OF LASSGÅRD — Editorial pages
   /house · /work · /press
   Locked House design tokens — scoped to .house-editorial-page
   Reference: content/design/HOUSE-WEB-DESIGN-LANGUAGE.md
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;1,14..32,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

.house-editorial-page {
  --paper:        #ECE5D7;
  --ink:          #100F09;
  --ink-soft:     #38361F;
  --gold-text:    #7E5D22;
  --cream:        #F5F0E3;
  --panel:        #100F09;
  --panel-ink:    #F5F0E3;
  --panel-ink-soft: rgba(245, 240, 227, 0.72);
  --line:         rgba(16, 15, 9, 0.14);
  --line-on-dark: rgba(245, 240, 227, 0.18);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: clip;
}

/* — Nav & footer — */
.house-editorial-page .site-nav {
  backdrop-filter: none;
  background: rgba(236, 229, 215, 0.97);
}

.house-editorial-page .site-nav.on-dark {
  background: rgba(16, 15, 9, 0.97);
}

.house-editorial-page .site-nav.scrolled {
  border-bottom-color: var(--line);
}

.house-editorial-page .site-nav.on-dark.scrolled {
  border-bottom-color: var(--line-on-dark);
}

.house-editorial-page .nav-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.house-editorial-page .nav-logo img {
  display: block;
  height: clamp(18px, 2.2vw, 24px);
  width: auto;
}

.house-editorial-page .nav-logo .nav-logo-dark { display: none; }

.house-editorial-page .site-nav.on-dark .nav-logo .nav-logo-light { display: none; }
.house-editorial-page .site-nav.on-dark .nav-logo .nav-logo-dark { display: block; }

.house-editorial-page .nav-house-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 28px);
}

.house-editorial-page .nav-house-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
  opacity: 1;
}

.house-editorial-page .site-nav.on-dark .nav-house-links a {
  color: var(--panel-ink-soft);
}

.house-editorial-page .nav-house-links a[aria-current="page"] {
  color: var(--gold-text);
}

.house-editorial-page .site-nav.on-dark .nav-house-links a[aria-current="page"] {
  color: var(--cream);
}

.house-editorial-page .nav-alive-entry {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  border-left-color: var(--line);
  opacity: 1;
}

.house-editorial-page .site-nav.on-dark .nav-alive-entry {
  color: var(--cream);
  border-left-color: var(--line-on-dark);
}

.house-editorial-page .nav-alive-entry:hover,
.house-editorial-page .nav-alive-entry:focus-visible {
  color: var(--ink);
}

.house-editorial-page .site-nav.on-dark .nav-alive-entry:hover,
.house-editorial-page .site-nav.on-dark .nav-alive-entry:focus-visible {
  color: var(--panel-ink);
}

.he-team-principle {
  max-width: 760px;
  margin: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
  padding: clamp(24px, 3vw, 36px) 0 clamp(24px, 3vw, 36px) clamp(22px, 3vw, 34px);
  border-left: 1px solid var(--gold);
}

.he-team-principle-label {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.he-team-principle > p:not(.he-team-principle-label) {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.35;
  color: var(--ink);
}

.he-team-principle span {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-faint);
}

.house-editorial-page .nav-toggle {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 12px;
}

@media (max-width: 720px) {
  .house-editorial-page .nav-house-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .house-editorial-page .nav-links .nav-item-disabled {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

.house-editorial-page .footer-logo {
  display: inline-block;
  line-height: 0;
}

.house-editorial-page .footer-logo img {
  height: 20px;
  width: auto;
  opacity: 0.92;
}

.house-editorial-page .footer-links a,
.house-editorial-page .footer-social a {
  font-family: var(--sans);
  letter-spacing: 0.04em;
  text-transform: none;
}

/* — Opening — */
.he-open {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(120px, 16vh, 200px) var(--pad-x) clamp(64px, 8vh, 100px);
  background: var(--paper);
}

.he-open-inner {
  max-width: 920px;
  margin: 0 auto;
}

.he-kicker {
  font-family: var(--mono);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 28px;
}

.he-title {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0 0 32px;
  color: var(--ink);
  max-width: 14ch;
}

.he-subtitle {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 450;
  line-height: 1.18;
  margin: 0 0 40px;
  max-width: 22ch;
  color: var(--ink);
}

.he-lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 640px;
}

/* — Sections — */
.he-section {
  padding: clamp(72px, 10vh, 140px) var(--pad-x);
  background: var(--paper);
  color: var(--ink);
}

.he-section.weight {
  background: var(--panel);
  color: var(--panel-ink);
}

.he-section.compact {
  padding: clamp(56px, 8vh, 100px) var(--pad-x);
}

.he-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.he-section-inner.narrow {
  max-width: 760px;
}

.he-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 20px;
}

.he-section.weight .he-eyebrow {
  color: rgba(245, 240, 227, 0.72);
}

.he-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 450;
  line-height: 1.12;
  margin: 0 0 36px;
  max-width: 22ch;
  color: var(--ink);
}

.he-section.weight .he-heading {
  color: var(--panel-ink);
}

.he-body p {
  font-family: var(--sans);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0 0 1.35em;
  max-width: 640px;
}

.he-section.weight .he-body p {
  color: var(--panel-ink-soft);
}

.he-body p:last-child {
  margin-bottom: 0;
}

/* — Philosophy moment — */
.he-moment {
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(100px, 14vh, 160px) var(--pad-x);
  background: var(--panel);
  color: var(--panel-ink);
}

.he-moment p {
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 450;
  line-height: 1.25;
  margin: 0 0 1.25em;
  max-width: 22ch;
}

.he-moment p:last-child {
  margin-bottom: 0;
  font-size: clamp(18px, 2.4vw, 28px);
  color: var(--panel-ink-soft);
}

.house-editorial-page .nav-links .nav-item-disabled,
.house-editorial-page .footer-links .nav-item-disabled {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}

.house-editorial-page .site-nav.on-dark .nav-links .nav-item-disabled {
  color: var(--panel-ink-soft);
}

@media (max-width: 720px) {
  .house-editorial-page .nav-links .nav-item-disabled {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* — Portrait + prose (editorial, not cards) — */
.he-people {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vh, 72px);
  margin-top: clamp(32px, 5vh, 48px);
}

.he-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding-top: clamp(28px, 3vh, 40px);
  border-top: 1px solid var(--line);
}

.he-person:first-child {
  border-top: 0;
  padding-top: 0;
}

.he-person--advisor {
  grid-template-columns: minmax(0, 1fr);
}

.he-person-name {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 450;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink);
}

.he-person-role {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 20px;
}

.he-person-desc {
  font-family: var(--sans);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 560px;
}

.he-person-portrait {
  margin: 0;
  flex-shrink: 0;
}

.he-person-portrait img {
  display: block;
  width: clamp(112px, 14vw, 152px);
  max-width: 152px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.he-person--team .he-person-portrait img {
  width: clamp(120px, 16vw, 176px);
  max-width: 176px;
}

.he-person--flip .he-person-text { order: 2; }
.he-person--flip .he-person-portrait { order: 1; }

/* — Work: media + narrative — */
.he-case {
  margin-top: clamp(40px, 6vh, 56px);
}

.he-media {
  position: relative;
  overflow: hidden;
  margin: clamp(32px, 5vh, 48px) 0 0;
  max-width: 100%;
}
.he-media video,
.he-media .poster-img {
  display: block;
  width: 100%;
  max-height: min(72vh, 820px);
  object-fit: cover;
  object-position: center;
}

.he-media .poster-img {
  position: relative;
  z-index: 2;
  transition: opacity 0.6s ease;
}

.he-media video {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 1;
  background: var(--panel);
}

.he-media.video-ready .poster-img {
  opacity: 0;
  pointer-events: none;
}

.he-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(56px, 8vh, 96px);
}

.he-narrative-text .he-step {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: block;
  margin-bottom: 16px;
}

.he-narrative-text h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 450;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--panel-ink);
}

.he-narrative-text p {
  font-family: var(--sans);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.65;
  color: var(--panel-ink-soft);
  margin: 0 0 24px;
  max-width: 520px;
}

.he-chain {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.he-chain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 227, 0.35);
  background: transparent;
}

.he-chain-dot.done {
  background: var(--cream);
  border-color: var(--cream);
}

.he-chain-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 227, 0.55);
  margin-left: 4px;
}

.he-signal {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.he-signal-stat {
  font-family: var(--serif);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--panel-ink);
  margin: 0 0 24px;
}

.he-signal-headline {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 450;
  line-height: 1.2;
  color: var(--panel-ink);
  margin: 0 0 24px;
}

.he-signal-method,
.he-signal-question {
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--panel-ink-soft);
  margin: 0 0 12px;
}

.he-proof-link {
  display: inline-block;
  margin-top: clamp(40px, 6vh, 56px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(126, 93, 34, 0.45);
  min-height: 44px;
}

.he-proof-link:hover,
.he-proof-link:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--cream);
  outline: none;
}

/* — Press index — */
.he-press-featured {
  margin: clamp(32px, 5vh, 48px) 0 clamp(48px, 7vh, 64px);
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 5vh, 44px);
  max-width: min(100%, 680px);
}

.he-press-featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.he-press-featured-link:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 4px;
}

.he-press-featured img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(220px, 38vw, 420px);
  object-fit: contain;
  object-position: center top;
  margin-bottom: 20px;
}

.he-press-featured-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 12px;
}

.he-press-featured-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 450;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
  max-width: 36ch;
}

.he-press-featured-out {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.he-press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.he-press-item {
  padding: clamp(28px, 4vh, 40px) 0;
  border-top: 1px solid var(--line);
}

.he-press-item:last-child {
  padding-bottom: 0;
}

.he-press-pub {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 12px;
}

.he-press-desc {
  font-family: var(--sans);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 640px;
}

.he-press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: baseline;
}

.he-press-link {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 15, 9, 0.25);
  padding: 6px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.he-press-link:hover,
.he-press-link:focus-visible {
  color: var(--gold-text);
  border-bottom-color: var(--gold-text);
  outline: none;
}

.he-press-source {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(56, 54, 31, 0.65);
  word-break: break-all;
}

.he-press-flag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--gold-text);
  margin: 8px 0 0;
}

.he-podcast {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  margin-top: clamp(32px, 4vh, 48px);
  padding-top: clamp(32px, 4vh, 48px);
  border-top: 1px solid var(--line);
}

.he-podcast-thumb {
  margin: 0;
}

.he-podcast-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.he-podcast-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-text);
  margin: 0 0 12px;
}

.he-podcast-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 450;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}

.he-podcast-desc {
  font-family: var(--sans);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 640px;
}

.he-podcast-show {
  font-family: var(--sans);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: clamp(24px, 3vh, 32px) 0 0;
  padding-top: clamp(24px, 3vh, 32px);
  border-top: 1px solid var(--line);
  max-width: 640px;
}

/* — Responsive — */
@media (max-width: 900px) {
  .he-person {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .he-person-text { order: 1; }
  .he-person-portrait {
    order: 2;
    justify-self: start;
  }

  .he-person--flip .he-person-text,
  .he-person--flip .he-person-portrait {
    order: unset;
  }

  .he-person-portrait img {
    width: clamp(100px, 28vw, 140px);
    max-width: 140px;
  }

  .he-person--team .he-person-portrait img {
    width: clamp(108px, 30vw, 152px);
    max-width: 152px;
  }

  .he-narrative {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .he-narrative--text-first .he-narrative-text { order: 1; }
  .he-narrative--text-first .he-media { order: 2; }
  .he-narrative--text-first .he-narrative-visual { order: 2; }

  .he-narrative-visual,
  .he-media {
    margin-top: 0;
  }

  .he-podcast {
    grid-template-columns: 1fr;
  }

  .he-podcast-thumb {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .he-open {
    min-height: auto;
    padding-top: clamp(100px, 14vh, 140px);
  }

  .he-title {
    max-width: none;
  }

  .he-moment {
    min-height: 48vh;
  }
}

@media (max-width: 480px) {
  .he-body p,
  .he-lede {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .he-media .poster-img {
    transition: none;
  }
}
