:root {
  --ink: #14202a;
  --navy: #102b3a;
  --muted: #66747b;
  --line: #d8e0df;
  --paper: #f7f8f7;
  --white: #fff;
  --orange: #df7440;
  --blue: #1f5d70;
  --green: #3f7164;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.portal-width { margin: 0 auto; max-width: 1240px; width: calc(100% - 48px); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-main { align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; min-height: 76px; }
.menu-button, .header-search { align-items: center; background: transparent; border: 0; color: var(--navy); cursor: pointer; display: inline-flex; font-size: 12px; font-weight: 700; gap: 8px; padding: 8px 0; }
.menu-button { justify-self: start; }
.menu-button span { font-size: 17px; line-height: .7; }
.brand { align-items: center; display: flex; gap: 10px; letter-spacing: -.03em; }
.brand-mark { align-items: center; background: var(--navy); border-radius: 7px; color: #fff; display: flex; font-size: 20px; font-weight: 800; height: 36px; justify-content: center; width: 36px; }
.brand strong { display: block; font-size: 16px; }
.brand small { color: var(--orange); display: block; font-size: 9px; font-weight: 800; letter-spacing: .18em; margin-top: 2px; }
.header-actions { align-items: center; display: flex; gap: 22px; justify-self: end; }
.header-link { color: var(--muted); font-size: 12px; font-weight: 700; }
.header-search { border-left: 1px solid var(--line); padding-left: 22px; }
.header-search span { font-size: 22px; font-weight: 400; line-height: .5; }
.subject-nav { border-top: 1px solid #eef1f0; }
.subject-scroll { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.subject-scroll::-webkit-scrollbar { display: none; }
.subject { background: transparent; border: 0; border-bottom: 3px solid transparent; color: #53636a; cursor: pointer; flex: 0 0 auto; font-size: 12px; font-weight: 700; padding: 14px 18px 12px; }
.subject:first-child { padding-left: 0; }
.subject:hover, .subject.active { border-bottom-color: var(--orange); color: var(--navy); }

.portal-main { padding-bottom: 76px; }
.breadcrumbs { align-items: center; color: var(--muted); display: flex; font-size: 11px; gap: 8px; padding: 26px 0 18px; }
.breadcrumbs a { color: var(--blue); font-weight: 700; }
.breadcrumbs strong { color: var(--ink); }
.portal-heading { align-items: end; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; padding: 26px 0 30px; }
.kicker { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .13em; margin: 0 0 12px; text-transform: uppercase; }
.portal-heading h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -.07em; line-height: .9; margin: 0; }
.portal-intro { color: var(--muted); font-size: 16px; line-height: 1.45; margin: 14px 0 0; max-width: 510px; }
.search-box { align-items: center; border-bottom: 1px solid var(--ink); display: flex; gap: 10px; margin-bottom: 4px; padding: 0 0 9px; width: 250px; }
.search-box input { background: transparent; border: 0; color: var(--ink); font-size: 13px; outline: 0; width: 100%; }
.search-box span:last-child { color: var(--muted); font-size: 22px; line-height: 1; }
.sr-only { clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; }

.news-front { padding: 34px 0 54px; }
.section-bar { align-items: center; display: flex; gap: 14px; margin-bottom: 20px; }
.section-bar h2 { font-size: 21px; letter-spacing: -.045em; margin: 0; white-space: nowrap; }
.section-bar time, .section-bar > span:last-child { color: var(--muted); font-size: 11px; white-space: nowrap; }
.section-rule { background: var(--orange); height: 3px; width: 34px; }
.lead-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); }
.lead-story { border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.lead-story-featured { border-bottom: 0; }
.story-image { display: block; height: 180px; overflow: hidden; position: relative; }
.lead-story-featured .story-image { height: 345px; }
.story-image img, .latest-image img { display: block; height: 100%; object-fit: cover; transition: transform .3s; width: 100%; }
.story-image:hover img, .latest-image:hover img { transform: scale(1.035); }
.story-image > span { background: var(--orange); bottom: 0; color: #fff; font-size: 10px; font-weight: 800; left: 0; letter-spacing: .08em; padding: 8px 10px; position: absolute; text-transform: uppercase; }
.story-copy { padding: 15px 0 0; }
.story-meta { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .08em; margin: 0 0 9px; text-transform: uppercase; }
.story-copy h3 { font-size: 23px; letter-spacing: -.045em; line-height: 1.08; margin: 0 0 10px; }
.lead-story-featured .story-copy h3 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1; }
.story-copy > p:not(.story-meta) { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0; max-width: 650px; }
.read-link { color: var(--blue); display: inline-block; font-size: 11px; font-weight: 800; margin: 18px 0 3px; }
.secondary-stories { display: grid; gap: 24px; grid-template-columns: 1fr; }
.secondary-stories .story-copy h3 { font-size: 20px; }

.content-columns { border-top: 1px solid var(--ink); display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) 310px; padding-top: 34px; }
.latest-list { display: grid; }
.latest-card { border-bottom: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: 190px 1fr; padding: 20px 0; }
.latest-card:first-child { padding-top: 0; }
.latest-image { height: 125px; overflow: hidden; }
.latest-copy h3 { font-size: 20px; letter-spacing: -.035em; line-height: 1.1; margin: 0 0 8px; }
.latest-copy > p:not(.story-meta) { color: var(--muted); font-size: 13px; line-height: 1.4; margin: 0 0 12px; }
.source-line { color: #819096; font-size: 10px; font-weight: 700; }
.most-read { border-left: 1px solid var(--line); padding-left: 28px; }
.side-heading { border-bottom: 3px solid var(--orange); margin-bottom: 0; padding-bottom: 11px; }
.side-heading h2 { font-size: 21px; letter-spacing: -.045em; margin: 0; }
.most-read-list { list-style: none; margin: 0; padding: 0; }
.most-read-list li { border-bottom: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: 23px 1fr; padding: 17px 0; }
.most-read-list li span { color: var(--orange); font-size: 16px; font-weight: 800; }
.most-read-list a { font-size: 13px; font-weight: 700; line-height: 1.25; }
.source-note { background: #e9efec; margin-top: 30px; padding: 20px; }
.source-note strong { font-size: 13px; }
.source-note p { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 10px 0 15px; }
.source-note a { color: var(--blue); font-size: 11px; font-weight: 800; }
.empty-state { color: var(--muted); font-size: 14px; padding: 28px 0; }

.sources-section { border-top: 1px solid var(--ink); margin-top: 70px; padding: 34px 0 0; }
.source-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.source-card { align-items: center; background: var(--white); border: 1px solid var(--line); display: flex; gap: 12px; min-height: 78px; padding: 15px; transition: border-color .2s, transform .2s; }
.source-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.source-mark { align-items: center; background: var(--navy); border-radius: 50%; color: #fff; display: flex; flex: 0 0 30px; font-size: 13px; font-weight: 800; height: 30px; justify-content: center; }
.source-card strong, .source-card small { display: block; }
.source-card strong { font-size: 13px; line-height: 1.1; }
.source-card small { color: var(--muted); font-size: 10px; line-height: 1.25; margin-top: 5px; }
.source-card em { color: var(--blue); font-size: 18px; font-style: normal; margin-left: auto; }

.coverage { border-top: 1px solid var(--ink); margin-top: 70px; padding: 34px 0 68px; }
.coverage-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.coverage-card { background: var(--navy); border: 0; color: #fff; cursor: pointer; min-height: 185px; padding: 20px; position: relative; text-align: left; transition: transform .2s; }
.coverage-card:hover { transform: translateY(-4px); }
.coverage-card::after { background: center / cover; content: ""; inset: 0; opacity: .38; position: absolute; }
.coverage-card > * { display: block; position: relative; z-index: 1; }
.coverage-card span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.coverage-card strong { font-size: 20px; letter-spacing: -.04em; line-height: 1.05; margin-top: 42px; max-width: 190px; }
.coverage-card em { bottom: 20px; font-size: 11px; font-style: normal; font-weight: 800; position: absolute; }
.coverage-tech { background: var(--blue); }
.coverage-tech::after { background-image: url('/assets/editorial/tech.webp'); }
.coverage-industry { background: var(--green); }
.coverage-industry::after { background-image: url('/assets/editorial/metal.webp'); }
.coverage-materials { background: #8b6844; }
.coverage-materials::after { background-image: url('/assets/editorial/materials.webp'); }
.coverage-learning { background: #5c547c; }
.coverage-learning::after { background-image: url('/assets/editorial/education.webp'); }
.about-strip { align-items: center; background: var(--orange); color: #fff; display: grid; gap: 50px; grid-template-columns: 1fr 1fr; padding: 42px 48px; }
.about-strip .kicker { color: #fff; margin-bottom: 12px; }
.about-strip h2 { font-size: clamp(29px, 4vw, 46px); letter-spacing: -.06em; line-height: .95; margin: 0; }
.about-strip > p { font-size: 14px; line-height: 1.5; margin: 0; max-width: 400px; }

.site-footer { background: var(--navy); color: #b5c3c6; }
.footer-inner { align-items: center; display: flex; font-size: 11px; gap: 24px; justify-content: space-between; min-height: 82px; }
.footer-brand { color: #fff; font-size: 14px; font-weight: 800; }
.footer-brand small { color: var(--orange); font-size: 8px; letter-spacing: .14em; margin-left: 5px; }

@media (max-width: 900px) {
  .portal-width { width: calc(100% - 40px); }
  .lead-grid, .content-columns { grid-template-columns: 1fr; }
  .most-read { border-left: 0; border-top: 1px solid var(--line); padding: 30px 0 0; }
  .source-grid, .coverage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .header-main { grid-template-columns: 1fr auto; min-height: 64px; }
  .menu-button { font-size: 0; }
  .menu-button span { font-size: 18px; }
  .header-actions { gap: 12px; }
  .header-link { display: none; }
  .header-search { border-left: 0; padding-left: 0; }
  .subject { padding-left: 13px; padding-right: 13px; }
  .subject:first-child { padding-left: 0; }
  .portal-heading { align-items: start; display: block; }
  .search-box { margin-top: 26px; width: 100%; }
  .news-front { padding-top: 28px; }
  .lead-story-featured .story-image { height: 230px; }
  .story-image { height: 160px; }
  .latest-card { grid-template-columns: 112px 1fr; gap: 14px; }
  .latest-image { height: 92px; }
  .latest-copy h3 { font-size: 16px; }
  .latest-copy > p:not(.story-meta) { display: none; }
  .source-grid, .coverage-grid { grid-template-columns: 1fr; }
  .about-strip { display: block; padding: 32px 25px; }
  .about-strip > p { margin-top: 24px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 8px; justify-content: center; padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
