:root {
  color-scheme: dark;
  --bg: #a8d0e6;
  --bg-deep: #8dbfd9;
  --text: #fdfcff;
  --muted: rgba(253, 252, 255, 0.78);
  --line: rgba(255,255,255,0.18);
  --shadow: 0 22px 60px rgba(36, 48, 94, 0.18);
  --yellow: #f8e9a1;
  --coral: #f76c6c;
  --sky: #a8d0e6;
  --indigo: #374785;
  --navy: #24305e;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(248, 233, 161, 0.14), transparent 22%),
    radial-gradient(circle at 80% 10%, rgba(247, 108, 108, 0.12), transparent 16%),
    linear-gradient(180deg, #374785 0%, #24305e 100%);
  color: var(--text);
}

.editorial-page {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 220px;
  position: relative;
}

.photo-panel {
  padding: 0;
}

.panel-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.photo-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f76c6c;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.detail-photo-panel {
  min-height: 420px;
}

.safari-safe-photo-panel {
  padding: 0;
}

.safari-safe-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
}

.safari-safe-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-photo-panel {
  min-height: 100%;
}

.hero-image-block {
  position: relative;
  padding: 0;
  min-height: 100%;
}

.hero-image-block .panel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-standalone-photo-panel {
  min-height: 460px;
}

.hero-photo-label {
  left: 18px;
  bottom: 16px;
}

.detail-photo-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 23, 43, 0.06) 0%, rgba(16, 23, 43, 0.28) 100%);
  pointer-events: none;
}

.panel-copy,
.panel > p,
.panel > h2,
.panel > ul,
.panel > .brand-heading {
  position: relative;
  z-index: 1;
}

.hero-panel {
  display: block;
  padding: 0;
}

.combo-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  align-items: stretch;
  min-height: 460px;
}

.hero-copy-block {
  padding: 34px 32px;
  min-height: 100%;
}

.combo-hero-image-wrap {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  isolation: isolate;
  background: #24305e;
}

.combo-hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  border: 1px solid rgba(255,255,255,0.22);
  pointer-events: none;
  z-index: 2;
}

.combo-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.color-block {
  min-height: 100%;
  display: grid;
  place-items: end start;
  padding: 20px;
}

.color-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.72);
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: rgba(255,255,255,0.72);
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.hero-deck {
  margin-top: 18px;
  max-width: 620px;
  font-size: 1.1rem;
}

.panel:not(.hero-panel):not(.photo-panel) {
  padding: 26px 24px;
}

ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

li {
  position: relative;
  padding: 10px 0 10px 18px;
  line-height: 1.55;
  color: var(--text);
}

li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
}

.brand-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.editorial-brand-heading h2 {
  margin: 2px 0 0;
}

.inline-brand-logo {
  width: 86px;
  height: 58px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 10px;
}

.two-heads-logo {
  width: 104px;
  height: 104px;
  padding: 14px;
  align-self: start;
}

.brand-placeholder {
  width: 86px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }

.row-hero { min-height: 460px; }
.row-mid { min-height: 300px; }
.row-long { min-height: 360px; }
.row-brand { min-height: 320px; }
.row-coord { min-height: 250px; }
.row-end { min-height: 320px; }

.tone-ink {
  background: linear-gradient(180deg, rgba(36, 48, 94, 0.96) 0%, rgba(26, 36, 74, 0.99) 100%);
}
.tone-slate {
  background: linear-gradient(180deg, rgba(55, 71, 133, 0.96) 0%, rgba(43, 56, 107, 0.99) 100%);
}
.tone-blue {
  background: linear-gradient(180deg, rgba(168, 208, 230, 0.98) 0%, rgba(150, 197, 222, 0.99) 100%);
  color: #24305e;
}
.tone-blue p,
.tone-blue h2,
.tone-blue .kicker,
.tone-blue li {
  color: #24305e;
}
.tone-emerald {
  background: linear-gradient(180deg, rgba(247, 108, 108, 0.95) 0%, rgba(233, 93, 93, 0.99) 100%);
}
.tone-plum {
  background: linear-gradient(180deg, rgba(248, 233, 161, 0.98) 0%, rgba(241, 223, 143, 0.99) 100%);
  color: #24305e;
}
.tone-plum p,
.tone-plum h2,
.tone-plum .kicker,
.tone-plum li {
  color: #24305e;
}
.tone-violet {
  background: linear-gradient(180deg, rgba(247, 108, 108, 0.94) 0%, rgba(226, 87, 100, 0.99) 100%);
}
.tone-rose {
  background: linear-gradient(180deg, rgba(55, 71, 133, 0.96) 0%, rgba(36, 48, 94, 0.99) 100%);
}
.tone-gold {
  background: linear-gradient(180deg, rgba(248, 233, 161, 0.98) 0%, rgba(241, 223, 143, 0.99) 100%);
  color: #24305e;
}
.tone-gold p,
.tone-gold h2,
.tone-gold .kicker,
.tone-gold li {
  color: #24305e;
}
.tone-sand {
  background: linear-gradient(180deg, rgba(247, 108, 108, 0.98) 0%, rgba(236, 100, 100, 0.99) 100%);
  color: #fffdfc;
}
.tone-sand p,
.tone-sand h2,
.tone-sand .kicker {
  color: #fffdfc;
}
.tone-image-plum {
  background: linear-gradient(135deg, #f76c6c 0%, #f8e9a1 100%);
}
.tone-image-gold {
  background: linear-gradient(135deg, #f8e9a1 0%, #a8d0e6 100%);
}
.tone-image-ink {
  background: linear-gradient(135deg, #374785 0%, #24305e 100%);
}
.tone-image-blue {
  background: linear-gradient(135deg, #a8d0e6 0%, #374785 56%, #24305e 100%);
}

@media (max-width: 1100px) {
  .editorial-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 6;
  }
  .combo-hero-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .combo-hero-image-wrap {
    min-height: 360px;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-top-right-radius: 0;
    border-bottom-left-radius: 24px;
  }
  .combo-hero-image-wrap::after {
    border-top-right-radius: 0;
    border-bottom-left-radius: 24px;
  }
  .row-hero { min-height: auto; }
}

@media (max-width: 720px) {
  .editorial-page {
    padding: 16px 14px 28px;
  }
  .panel,
  .panel:not(.hero-panel),
  .hero-copy-block {
    padding: 20px 18px;
  }
  .hero-panel {
    padding: 0;
  }
  .brand-heading {
    align-items: start;
    flex-direction: column;
  }
  h1 {
    font-size: 2.8rem;
  }
}
