  :root {
    --purple-dark:   #3B0066;
    --purple-mid:    #7B2FBE;
    --purple-bright: #A855F7;
    --purple-light:  #D8B4FE;
    --purple-pale:   #F3E8FF;
    --purple-rule:   #C084FC;
    --cream:         #FAF5FF;
    --ink:           #1A0030;
    --mid:           #5B2D8E;
    --accent:        #C026D3;
    --masthead-grad: linear-gradient(135deg, #2D004F 0%, #7B2FBE 60%, #A855F7 100%);
    --font-display:  'Playfair Display', Georgia, serif;
    --font-body:     'Source Serif 4', Georgia, serif;
    --font-label:    'Barlow Condensed', Arial, sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
  }

  /* ── MASTHEAD ── */
  .masthead {
    background: var(--masthead-grad);
    color: #fff;
    text-align: center;
    padding: 0 16px;
    border-bottom: 4px solid var(--purple-dark);
  }
  .masthead-inner { max-width: 1100px; margin: 0 auto; }
  .masthead-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: .06em;
    opacity: .8;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
  .logo-block { padding: 18px 0 12px; }
  .logo-img {
    max-height: 100px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
  }
  /* Fallback text logo shown when no image is set */
  .logo-text-fallback {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 18px rgba(0,0,0,.45);
    line-height: 1;
    display: block;
  }
  .logo-text-fallback em {
    color: var(--purple-light);
    font-style: normal;
  }
  .logo-tagline {
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .8;
    padding-top: 6px;
    padding-bottom: 10px;
  }

  /* ── TICKER ── */
  .ticker-wrap {
    background: var(--purple-dark);
    color: var(--purple-light);
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: .04em;
    overflow: hidden;
    white-space: nowrap;
    padding: 5px 0;
  }
  .ticker-inner {
    display: inline-block;
    animation: ticker 36s linear infinite;
  }
  @keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }
  .ticker-sep { color: var(--purple-bright); margin: 0 18px; }

  /* ── NAV ── */
  nav { background: var(--ink); }
  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
  }
  nav a {
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--purple-light);
    text-decoration: none;
    padding: 9px 16px;
    border-right: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
    transition: background .15s, color .15s;
    cursor: pointer;
    position: relative;
  }
  nav a:hover { background: var(--purple-mid); color: #fff; }
  nav a.active {
    background: var(--purple-mid);
    color: #fff;
  }
  nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--cream);
  }

  /* ── PRICES BAND ── */
  .prices-band {
    background: var(--purple-dark);
    color: #fff;
    display: flex;
    overflow-x: auto;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--purple-mid);
  }
  .price-item {
    padding: 9px 18px;
    border-right: 1px solid rgba(255,255,255,.1);
    font-family: var(--font-label);
    font-size: 12px;
    white-space: nowrap;
  }
  .price-item span {
    display: block;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 2px;
  }
  .up { color: #86EFAC; }
  .down { color: #FCA5A5; }

  /* ── PAGE SHELL ── */
  .page { max-width: 1100px; margin: 0 auto; padding: 20px 16px 60px; }

  /* ── SECTION TABS ── */
  .tab-section { display: none; }
  .tab-section.active { display: block; }

  .date-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mid);
  }
  .date-rule::before, .date-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--purple-rule);
  }

  /* ── LEAD STORY ── */
  .lead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 3px double var(--purple-rule);
    margin-bottom: 24px;
  }
  @media (max-width: 640px) { .lead { grid-template-columns: 1fr; } }

  .lead-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-mid) 60%, var(--purple-bright) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--purple-rule);
    overflow: hidden;
    position: relative;
  }
  .lead-img-placeholder .watermark-img {
    width: 80px;
    opacity: .35;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .lead-img-placeholder .scene-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,.7);
    text-align: center;
    padding: 12px;
    line-height: 1.4;
    z-index: 1;
  }

  .lead-kicker {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
  }
  .lead-headline {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    color: var(--ink);
  }
  .lead-standfirst {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--mid);
    margin-bottom: 12px;
    line-height: 1.4;
  }
  .lead-byline {
    font-family: var(--font-label);
    font-size: 11px;
    color: var(--purple-mid);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .byline-w {
    display: inline-block;
    width: 14px; height: 14px;
    vertical-align: middle;
    flex-shrink: 0;
  }
  .lead-body { font-size: 14px; color: var(--mid); line-height: 1.6; }

  /* ── SECTION LABEL ── */
  .section-label {
    font-family: var(--font-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #fff;
    background: var(--purple-mid);
    display: inline-block;
    padding: 2px 10px;
    margin-bottom: 12px;
  }

  /* ── CARD GRID ── */
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--purple-rule);
  }
  @media (max-width: 700px) { .grid-3 { grid-template-columns: 1fr; } }
  @media (min-width: 701px) and (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }

  .card { display: flex; flex-direction: column; gap: 6px; }
  .card-link { color: inherit; text-decoration: none; }
  .card-link:hover .card-headline { color: var(--purple-mid); }
  .card-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--purple-rule);
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
  }
  .card-img-placeholder .watermark-img {
    width: 40px; opacity: .2;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .card-img-placeholder .scene-label {
    font-family: var(--font-label);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    z-index: 1;
  }
  .bg-nether  { background: linear-gradient(135deg, #2D0050, #7B2FBE); }
  .bg-end     { background: linear-gradient(135deg, #1A0030, #4A1080); }
  .bg-village { background: linear-gradient(135deg, #3B0066, #9333EA); }
  .bg-water   { background: linear-gradient(135deg, #1B0040, #6D28D9); }
  .bg-desert  { background: linear-gradient(135deg, #4C0080, #A855F7); }
  .bg-sport   { background: linear-gradient(135deg, #2D004F, #8B5CF6); }
  .bg-overworld { background: linear-gradient(135deg, #1A3300, #2D7A00); }
  .bg-crime   { background: linear-gradient(135deg, #330000, #8B0000); }
  .bg-economy { background: linear-gradient(135deg, #003320, #006640); }
  .bg-opinion { background: linear-gradient(135deg, #2D004F, #6B21A8); }
  .bg-weather { background: linear-gradient(135deg, #001A40, #003380); }
  .bg-wool    { background: linear-gradient(135deg, #3B0066, #C026D3); }

  .card-kicker {
    font-family: var(--font-label);
    font-size: 10px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent);
  }
  .card-headline {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700;
    line-height: 1.2; color: var(--ink);
  }
  .card-byline {
    font-family: var(--font-label);
    font-size: 10px; color: var(--purple-mid);
    font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em;
    display: flex; align-items: center; gap: 5px;
  }
  .card-excerpt { font-size: 13px; color: var(--mid); }

  /* ── TWO-COL ── */
  .two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--purple-rule);
  }
  @media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

  .opinion-stack { display: flex; flex-direction: column; gap: 14px; }
  .opinion-item {
    background: var(--purple-pale);
    border-left: 4px solid var(--purple-bright);
    padding: 12px 14px;
  }
  .opinion-label {
    font-family: var(--font-label);
    font-size: 9px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--purple-mid); margin-bottom: 4px;
  }
  .opinion-headline {
    font-family: var(--font-display);
    font-size: .95rem; font-weight: 700;
    line-height: 1.25; font-style: italic; color: var(--ink);
  }
  .opinion-author {
    font-family: var(--font-label);
    font-size: 10px; color: var(--mid); margin-top: 5px;
  }

  .sidebar { border-left: 1px solid var(--purple-rule); padding-left: 20px; }
  .sidebar-block { margin-bottom: 20px; }
  .sidebar-headline {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 700;
    line-height: 1.25;
    border-bottom: 1px solid var(--purple-rule);
    padding-bottom: 6px; margin-bottom: 8px; color: var(--ink);
  }
  .sidebar-item {
    font-size: 13px; color: var(--mid);
    padding: 7px 0;
    border-bottom: 1px dotted var(--purple-rule);
    display: flex; gap: 8px; align-items: flex-start;
    cursor: pointer; transition: color .15s;
  }
  .sidebar-item:hover { color: var(--accent); }
  .sidebar-num {
    font-family: var(--font-label);
    font-weight: 700; color: var(--purple-bright);
    font-size: 14px; min-width: 18px;
  }
  .sidebar-weather {
    background: var(--purple-pale);
    border: 1px solid var(--purple-rule);
    padding: 12px 14px;
    font-size: 13px; color: var(--mid); line-height: 1.6;
  }
  .sidebar-weather strong { color: var(--ink); }

  /* ── SECTION PAGE HERO BANNER ── */
  .section-hero {
    background: var(--masthead-grad);
    color: #fff;
    padding: 28px 0 22px;
    margin-bottom: 24px;
    text-align: center;
    border-bottom: 3px solid var(--purple-mid);
  }
  .section-hero h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.01em;
  }
  .section-hero p {
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .7;
    margin-top: 4px;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--ink);
    color: rgba(255,255,255,.45);
    text-align: center;
    padding: 24px 16px;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: .05em;
    margin-top: 40px;
  }
  footer a { color: var(--purple-bright); text-decoration: none; }
  footer strong { color: #fff; }
  .footer-logo { max-height: 48px; width: auto; margin-bottom: 10px; opacity: .85; }

  @media (max-width: 420px) {
    .prices-band { flex-direction: column; }
    .price-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  }
  @media (prefers-reduced-motion: reduce) { .ticker-inner { animation: none; } }
