/* Hallmark · editorial timeline · design-system: design.md */
@import url("../tokens.css?v=20260804-hover");

:root {
  --ink: var(--color-ink);
  --ink-soft: var(--color-ink-2);
  --forest: var(--color-accent);
  --lime: var(--color-accent-bright);
  --paper: var(--color-paper);
  --paper-2: var(--color-paper-2);
  --line: var(--color-rule);
  --white: #fff;
  --muted: #65716c;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 999; padding: 10px 16px; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 16px; }
.section-inner { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
.eyebrow { margin: 0 0 20px; color: var(--lime); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.eyebrow.dark { color: var(--forest); }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; text-decoration: none; font-weight: 800; transition: background var(--dur-short), color var(--dur-short); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: var(--forest); color: var(--white); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ink); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); transition: background var(--dur-short), box-shadow var(--dur-short); }
.site-header.scrolled { background: rgba(255,255,255,.98); backdrop-filter: blur(16px); box-shadow: 0 8px 28px rgba(32,63,52,.1); }
.header-inner { width: min(1440px, 100%); height: 84px; margin: 0 auto; padding: 0 28px; position: relative; display: grid; grid-template-columns: 290px 1fr auto; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-logo { width: 184px; height: auto; display: block; }
.brand-mark { width: 56px; height: 36px; display: grid; place-items: center; border: 1px solid; color: var(--lime); font: 900 15px/1 var(--font-mono); letter-spacing: .12em; }
.site-header .brand-mark { color: var(--forest); background: #f1f7ee; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 18px; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; color: #738079; font-size: 10px; letter-spacing: .06em; }
.site-nav { position: absolute; left: 50%; top: 50%; display: flex; justify-content: center; gap: clamp(var(--space-sm), 2.2vw, 2.375rem); transform: translate(-50%, -50%); }
.site-nav a { position: relative; color: #52615c; font-size: .8125rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--lime); transition: right var(--dur-short); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-cta { display: grid; text-align: right; text-decoration: none; line-height: 1.2; }
.header-cta span { color: #738079; font-size: 10px; letter-spacing: .1em; }
.header-cta strong { margin-top: 5px; color: var(--forest); font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.news-hero { min-height: 600px; height: min(720px, calc(100svh - 132px)); max-height: 780px; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: var(--ink); background: #e9efea; }
.news-hero > img, .news-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.news-hero > img { object-fit: cover; object-position: center 53%; filter: saturate(1.06) contrast(1.05) brightness(1.03); transform: scale(1.02); animation: hero-settle 1.2s var(--ease-out) both; }
.news-hero-shade { background: linear-gradient(90deg, rgba(247,249,245,.89) 0%, rgba(247,249,245,.50) 21%, rgba(247,249,245,.10) 44%, transparent 62%), linear-gradient(0deg, rgba(247,249,245,.06), transparent 36%); }
.news-hero-inner { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 0 0 98px; position: relative; z-index: 2; }
.news-hero-inner h1 { max-width: 640px; margin: 0; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.16; letter-spacing: -.025em; }
.news-hero .eyebrow { color: var(--forest); }
.news-hero-inner > p:last-child { max-width: 620px; margin: 22px 0 0; color: #334a42; font-size: 16px; line-height: 1.85; }
.hero-index { position: absolute; z-index: 2; right: max(28px, calc((100% - var(--max))/2)); bottom: 102px; display: flex; align-items: center; gap: 14px; color: rgba(7,28,25,.6); font: 700 11px/1 var(--font-mono); letter-spacing: .1em; }
.hero-index i { width: 72px; height: 1px; background: rgba(7,28,25,.4); }
@keyframes hero-settle { from { opacity: .4; transform: scale(1.07); } to { opacity: 1; transform: scale(1.02); } }

.news-sections { position: sticky; top: 0; z-index: 80; background: rgba(249,250,247,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.news-sections > div { width: min(var(--max), calc(100% - 56px)); min-height: 72px; margin: 0 auto; display: flex; align-items: stretch; }
.news-sections a { min-width: 190px; padding: 0 28px; display: flex; align-items: center; gap: 15px; border-right: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 800; }
.news-sections a:first-child { border-left: 1px solid var(--line); }
.news-sections a span { color: var(--forest); font: 800 10px/1 var(--font-mono); }
.news-sections a:hover { background: var(--lime); }

.company-news { padding: 112px 0 128px; background: var(--paper-2); }
.news-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.news-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.news-card-featured { grid-column: span 2; }
.news-card-media { aspect-ratio: 16 / 10; display: block; overflow: hidden; background: #e6ece6; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.news-card:hover .news-card-media img { transform: scale(1.035); }
.news-card-copy { padding: 28px; display: flex; flex: 1; flex-direction: column; }
.news-card .story-meta { color: var(--muted); }
.news-card .story-meta time { margin-left: auto; }
.news-card h2 { margin: 20px 0 14px; font-size: clamp(20px, 2vw, 29px); line-height: 1.4; letter-spacing: -.025em; }
.news-card h2 a { text-decoration: none; }
.news-card p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.read-more { margin-top: auto; color: var(--forest); font-size: 13px; font-weight: 800; text-decoration: none; }
.section-heading { margin-bottom: 62px; display: grid; grid-template-columns: 1fr minmax(320px, .55fr); gap: 70px; align-items: end; }
.section-heading h2, .industry-layout h2, .source-layout h2 { margin: 0; font-size: clamp(38px, 4vw, 62px); line-height: 1.16; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.lead-story { min-height: 570px; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); background: var(--ink); color: var(--white); }
.lead-story figure { min-height: 570px; margin: 0; position: relative; overflow: hidden; background: #d9ddd5; }
.lead-story figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 23%; filter: saturate(.72) contrast(1.03); transition: transform 700ms var(--ease-out); }
.lead-story:hover figure img { transform: scale(1.025); }
.lead-story figcaption { position: absolute; left: 20px; bottom: 18px; padding: 6px 10px; color: rgba(255,255,255,.75); background: rgba(7,28,25,.72); font-size: 10px; letter-spacing: .08em; }
.lead-story-copy { padding: clamp(44px, 6vw, 82px); display: flex; flex-direction: column; justify-content: center; }
.story-meta { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .08em; }
.story-meta span { color: var(--lime); font-weight: 900; }
.story-meta b { padding: 3px 8px; color: var(--ink); background: var(--lime); font-size: 10px; }
.lead-story h3 { max-width: 690px; margin: 28px 0 22px; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.32; letter-spacing: -.035em; }
.lead-story-copy > p { max-width: 680px; margin: 0 0 12px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.9; }
.source-row { margin-top: 38px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.17); }
.source-row span { color: rgba(255,255,255,.45); font-size: 11px; }
.source-row a, .source-link { color: var(--lime); font-size: 12px; font-weight: 800; text-decoration: none; }
.source-row a:hover, .source-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.source-row b, .source-link b { margin-left: 8px; font-size: 15px; }

.story-timeline { margin-top: 82px; border-top: 1px solid var(--line); }
.timeline-story { display: grid; grid-template-columns: 210px 1fr; border-bottom: 1px solid var(--line); }
.timeline-date { padding: 42px 40px 42px 0; border-right: 1px solid var(--line); }
.timeline-date time { display: grid; color: var(--forest); font: 800 36px/1 var(--font-mono); letter-spacing: -.04em; }
.timeline-date time span { margin-top: 14px; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.timeline-copy { padding: 42px 0 46px 54px; }
.timeline-copy .story-meta { color: var(--muted); }
.timeline-copy .story-meta b { color: var(--white); background: var(--forest); }
.timeline-copy h3 { margin: 17px 0 16px; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.4; letter-spacing: -.025em; }
.timeline-copy > p { max-width: 860px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.timeline-copy aside { max-width: 860px; margin: 22px 0 0; padding: 14px 18px; color: #3f514b; background: #edf2ea; border-left: 3px solid var(--forest); font-size: 12px; line-height: 1.8; }
.timeline-copy .source-link { margin-top: 24px; display: inline-flex; color: var(--forest); }

.source-note { padding: 112px 0 124px; background: #e9eee7; }
.source-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(70px, 10vw, 140px); }
.source-rules { border-top: 1px solid var(--line); }
.source-rules article { padding: 25px 0; display: grid; grid-template-columns: 100px 1fr; gap: 30px; border-bottom: 1px solid var(--line); }
.source-rules strong { color: var(--forest); font-size: 13px; }
.source-rules p { margin: 0; color: var(--muted); font-size: 13px; }
.source-rules .button { margin-top: 32px; }

.site-footer { padding: 56px 28px 26px; color: var(--white); background: var(--ink); }
.footer-main, .footer-bottom { width: min(var(--max), 100%); margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(260px,.7fr) minmax(0,1fr); gap: 50px; align-items: center; }
.footer-brand .brand-copy strong { font-size: 14px; }
.site-footer address { color: rgba(255,255,255,.5); font-size: 12px; font-style: normal; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { color: rgba(255,255,255,.58); font-size: 11px; text-decoration: none; }
.site-footer nav a:hover { color: var(--lime); }
.footer-bottom { margin-top: 46px; padding-top: 20px; display: flex; justify-content: space-between; color: rgba(255,255,255,.36); border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; }
.footer-bottom { flex-wrap: wrap; row-gap: 10px; }
.footer-bottom .icp-link { width: 100%; color: inherit; text-align: center; text-decoration: none; }
.footer-bottom .icp-link:hover { color: var(--lime); }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 250px 1fr auto; }
  .site-nav { gap: clamp(var(--space-sm), 2.2vw, 2.375rem); }
  .hero-index { display: none; }
  .lead-story { grid-template-columns: minmax(300px,.8fr) 1.2fr; }
  .industry-layout, .source-layout { gap: 70px; }
}

@media (max-width: 820px) {
  .section-inner, .news-hero-inner, .news-sections > div { width: calc(100% - 40px); }
  .header-inner { height: 68px; padding: 0 20px; display: flex; justify-content: space-between; }
  .brand-mark { width: 48px; height: 32px; }
  .brand-logo { width: 148px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: block; order: 3; }
  .site-nav { position: absolute; left: 0; right: 0; top: 68px; padding: var(--space-sm) var(--space-lg) var(--space-lg); display: grid; gap: 0; background: rgba(7,28,25,.98); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform var(--dur-short), opacity var(--dur-short); }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: var(--space-sm) 0; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav a::after { display: none; }
  .header-cta { display: none; }
  .news-hero { min-height: 620px; height: auto; max-height: none; }
  .news-hero-shade { background: linear-gradient(0deg, rgba(247,249,245,.92) 0%, rgba(247,249,245,.72) 42%, rgba(247,249,245,.20) 100%); }
  .news-hero-inner { padding-bottom: 72px; }
  .news-hero-inner h1 { font-size: clamp(32px, 8.5vw, 46px); }
  .news-sections { top: 0; overflow-x: auto; }
  .news-sections > div { width: max-content; min-width: 100%; }
  .news-sections a { min-width: 145px; padding: 0 20px; }
  .company-news { padding: 82px 0 92px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { margin-bottom: 38px; grid-template-columns: 1fr; gap: 20px; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-story figure { min-height: 380px; max-height: 480px; }
  .lead-story-copy { padding: 40px 26px 46px; }
  .story-timeline { margin-top: 60px; }
  .timeline-story { grid-template-columns: 110px 1fr; }
  .timeline-date { padding-right: 22px; }
  .timeline-copy { padding-left: 28px; }
  .source-note { padding: 84px 0 92px; }
  .source-layout { grid-template-columns: 1fr; gap: 46px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .site-footer nav { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .news-card-featured { grid-column: auto; }
  .news-card-copy { padding: 22px; }
  .news-hero { min-height: 580px; }
  .news-hero-inner h1 { font-size: clamp(28px, 10vw, 38px); }
  .news-hero-inner > p:last-child { font-size: 15px; }
  .lead-story figure { min-height: 320px; }
  .lead-story h3 { font-size: 29px; }
  .source-row { align-items: flex-start; flex-direction: column; }
  .timeline-story { grid-template-columns: 1fr; }
  .timeline-date { padding: 32px 0 20px; border-right: 0; }
  .timeline-date time { display: flex; align-items: baseline; gap: 12px; font-size: 28px; }
  .timeline-date time span { margin: 0; }
  .timeline-copy { padding: 0 0 40px; }
  .source-rules article { grid-template-columns: 76px 1fr; gap: 18px; }
  .source-rules .button { width: 100%; }
}

@media (max-width: 820px) {
  .news-hero { min-height: 741px; }
}

@media (max-width: 650px) and (min-width: 521px) {
  .news-hero { min-height: 771px; }
}

@media (max-width: 520px) {
  .news-hero { min-height: 725px; }
}

@media (max-width: 400px) {
  .news-hero { min-height: 747px; }
}

@media (max-width: 340px) {
  .news-hero { min-height: 762px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
