/* Bark & Bite — website-native newsroom. The promo design system remains the
   source of truth; this sheet only adds newsroom layouts and a real dark mode. */
.skip-link {
  position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px;
  border-radius: 10px; background: var(--ink); color: #fff; font-weight: 900;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.news-page { min-width: 280px; }
.news-page [hidden] { display: none !important; }
.news-page :focus-visible { outline: 3px solid #F2A93B; outline-offset: 3px; }
.news-nav { background: rgba(246, 251, 250, .9); }
.news-nav .nav-links a[aria-current="page"] { color: var(--deep); }
.news-page main { padding-top: var(--nav-h); }

.news-hero {
  min-height: 450px; display: grid; place-items: center; position: relative;
  padding: 76px 24px 66px; overflow: hidden;
  background: linear-gradient(150deg, #F6FBFA 10%, #E4F8F5 62%, #FFF6E8);
}
.news-hero-inner {
  width: min(1120px, 100%); margin: auto; display: grid;
  grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.news-hero h1 { font-size: clamp(3.4rem, 8vw, 6.8rem); letter-spacing: -.055em; }
.news-hero h1 span { color: var(--teal); }
.news-hero .lede { margin-top: 18px; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.news-hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .65; }
.news-hero-blob-a { width: 360px; height: 360px; background: #BAEDE7; top: -160px; right: 6%; }
.news-hero-blob-b { width: 260px; height: 260px; background: #FDE1AE; bottom: -150px; left: 8%; }
.news-rex-card {
  height: 260px; border-radius: 42% 58% 45% 55% / 58% 46% 54% 42%;
  background: linear-gradient(145deg, #1FC0B4, #147F78); position: relative;
  box-shadow: 0 32px 60px -28px rgba(20, 87, 82, .54); rotate: 2deg;
}
.news-rex-card img { position: absolute; left: 50%; bottom: -8px; translate: -50% 0; max-height: 232px; width: auto; }
.news-rex-sun { position: absolute; width: 76px; height: 76px; border: 14px solid rgba(255,255,255,.15); border-radius: 50%; top: 24px; right: 28px; }
.news-speech {
  position: absolute; z-index: 2; left: -42px; top: 28px; background: #fff;
  padding: 10px 15px; border-radius: 14px 14px 4px 14px; color: var(--deep);
  font: 600 1rem/1.1 'Fredoka', sans-serif; box-shadow: var(--shadow); rotate: -4deg;
}

.news-browser { width: min(1180px, 100%); margin: auto; padding: 64px 24px 110px; }
.news-tools { display: grid; grid-template-columns: minmax(250px, 1fr) auto; align-items: center; gap: 22px; margin-bottom: 18px; }
.news-search {
  max-width: 420px; min-height: 52px; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; border: 1.5px solid var(--line); border-radius: 17px;
  background: var(--card); box-shadow: 0 10px 28px -24px rgba(20, 60, 56, .7);
}
.news-search > span:not(.sr-only) { color: var(--teal); font: 900 1.45rem/1 sans-serif; }
.news-search input { width: 100%; border: 0; outline: 0; padding: 13px 0; background: transparent; color: var(--ink); font: 800 .96rem/1.3 'Nunito', sans-serif; }
.news-search input::placeholder { color: var(--faint); }
.news-categories { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.news-categories button, .news-more {
  border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px;
  background: var(--card); color: var(--sub); cursor: pointer;
  font: 900 .82rem/1.2 'Nunito', sans-serif; transition: .18s ease;
}
.news-categories button:hover, .news-categories button.is-active { color: #fff; background: var(--deep); border-color: var(--deep); transform: translateY(-1px); }
.news-status { min-height: 24px; margin: 0 2px 18px; color: var(--faint); font-size: .84rem; font-weight: 800; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { min-width: 0; }
.news-card > a {
  display: flex; height: 100%; flex-direction: column; overflow: hidden;
  border: 1.5px solid var(--line); border-radius: 25px; background: var(--card);
  color: var(--ink); box-shadow: 0 18px 46px -34px rgba(20, 60, 56, .6);
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s, border-color .25s;
}
.news-card > a:hover { transform: translateY(-6px) rotate(-.25deg); border-color: #B5E2DD; box-shadow: 0 28px 52px -30px rgba(20, 87, 82, .45); }
.news-card-art { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: #DDF7F3; }
.news-card-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s ease; }
.news-card > a:hover .news-card-art img { transform: scale(1.035); }
.news-tag { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--deep); font-size: .72rem; font-weight: 1000; box-shadow: 0 8px 20px -12px rgba(0,0,0,.5); }
.news-card-copy { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.news-meta { display: flex; gap: 9px; align-items: center; color: var(--faint); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.news-meta span:first-child { color: var(--deep); }
.news-meta span + span::before { content: '·'; margin-right: 9px; color: var(--faint); }
.news-card h2 { margin: 9px 0 10px; font-size: clamp(1.18rem, 1.7vw, 1.42rem); line-height: 1.18; }
.news-card-copy > p:not(.news-meta) { color: var(--sub); font-size: .91rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-copy > b { margin-top: auto; padding-top: 16px; color: var(--deep); font-size: .85rem; }
.news-card-featured { grid-column: span 2; }
.news-card-featured > a { display: grid; grid-template-columns: 1.05fr .95fr; }
.news-card-featured .news-card-art { aspect-ratio: auto; min-height: 350px; }
.news-card-featured h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.news-card-featured .news-card-copy { padding: 32px; }
.news-empty { padding: 70px 20px; text-align: center; }
.news-empty img { margin: auto; }
.news-empty h2 { margin: 12px 0 4px; }
.news-empty p, .news-offline-note { color: var(--faint); font-weight: 700; }
.news-more { display: block; margin: 30px auto 0; padding: 12px 22px; }
.news-offline-note { margin-top: 25px; text-align: center; font-size: .82rem; }

.news-app-cta {
  width: min(1100px, calc(100% - 40px)); margin: 0 auto 100px; padding: 48px 58px;
  min-height: 310px; display: grid; grid-template-columns: 1fr 190px; gap: 30px;
  align-items: center; overflow: hidden; border-radius: 32px; color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(127,229,220,.22), transparent 34%), linear-gradient(135deg, #14201E, #0E5752);
  box-shadow: 0 36px 70px -42px rgba(14, 87, 82, .8);
}
.news-app-cta .kicker { color: #7FE5DC; }
.news-app-cta h2 { color: #fff; }
.news-app-cta p:not(.kicker) { max-width: 59ch; color: #CCE4DF; margin-bottom: 24px; }
.news-app-cta img { align-self: end; margin-bottom: -54px; }

/* Article */
.read-progress { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 4px; background: transparent; }
.read-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); }
.article-loading, .article-error { min-height: 70vh; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 100px 24px; }
.article-loading p, .article-error p { color: var(--sub); font-weight: 800; }
.paw-loader { display: block; font-size: 2rem; animation: paw-bob 1s ease-in-out infinite alternate; }
@keyframes paw-bob { to { transform: translateY(-7px) rotate(8deg); } }
.article-hero { position: relative; min-height: 670px; display: flex; align-items: end; overflow: hidden; }
.article-hero-image { position: absolute; inset: 0; background: #13201E; }
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.article-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,23,22,.12), rgba(14,23,22,.2) 34%, rgba(14,23,22,.92)); }
.article-head { position: relative; z-index: 2; width: min(980px, 100%); margin: auto; padding: 150px 28px 72px; color: #fff; }
.article-back { display: inline-flex; gap: 7px; align-items: center; margin-bottom: 25px; color: #D6EEEA; font-weight: 900; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.article-tags span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(14,32,30,.35); color: #E6F7F5; font-size: .76rem; font-weight: 900; backdrop-filter: blur(8px); }
.article-tags span:first-child { background: var(--teal); border-color: var(--teal); color: #082F2C; }
.article-head h1 { max-width: 19ch; font-size: clamp(2.25rem, 6vw, 4.8rem); letter-spacing: -.035em; text-wrap: balance; }
.article-dek { max-width: 68ch; margin-top: 20px; color: #E3F2EF; font-size: clamp(1.02rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.55; }
.article-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 25px; color: #C5D9D5; font-size: .82rem; font-weight: 800; }
.article-actions button { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 9px 14px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font: 900 .82rem/1.2 'Nunito', sans-serif; }
.article-layout { width: min(1040px, 100%); margin: auto; padding: 78px 28px 80px; display: grid; grid-template-columns: 220px minmax(0, 690px); gap: 70px; align-items: start; }
.article-aside { position: sticky; top: 110px; padding: 22px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--cream); color: var(--sub); font-size: .83rem; }
.article-aside img { height: 78px; width: auto; margin: -55px auto 8px; }
.article-aside b { display: block; color: var(--ink); font-family: 'Fredoka', sans-serif; text-align: center; }
.article-aside p { margin-top: 6px; line-height: 1.5; text-align: center; }
.article-body { min-width: 0; color: var(--ink); font-size: clamp(1.03rem, 1.5vw, 1.12rem); line-height: 1.82; }
.article-body > * + * { margin-top: 1.45em; }
.article-body p:first-child::first-letter { float: left; margin: .06em .12em 0 0; color: var(--deep); font: 600 4.3rem/.75 'Fredoka', sans-serif; }
.article-body h2, .article-body h3 { margin-top: 1.8em; margin-bottom: -.35em; }
.article-body h2 { font-size: 1.75rem; }
.article-body h3 { font-size: 1.35rem; }
.article-body ul, .article-body ol { padding-left: 1.35em; }
.article-body li + li { margin-top: .55em; }
.article-callout { padding: 20px 22px; border: 1px solid #BCEAE4; border-left: 6px solid var(--teal); border-radius: 18px; background: #F0FBFA; }
.article-callout[data-tone="gold"] { background: #FDF8EE; border-color: #EED6AD; border-left-color: #A5660D; }
.article-callout[data-tone="grape"] { background: #F6F2FE; border-color: #D9CDFB; border-left-color: #6D4BC2; }
.article-callout[data-tone="coral"] { background: #FFF3F3; border-color: #F6CDCD; border-left-color: #BE4B52; }
.article-callout b { display: block; margin-bottom: 5px; font-family: 'Fredoka', sans-serif; }
.article-citation { padding-left: 18px; border-left: 3px solid var(--line); color: var(--sub); font-size: .92rem; }
.article-citation a { text-decoration: underline; text-underline-offset: 3px; }
.article-disclaimer { padding: 17px 20px; border-radius: 15px; background: var(--cream); color: var(--sub); font-size: .9rem; font-weight: 700; }
.article-end { padding: 80px 24px 100px; text-align: center; background: linear-gradient(180deg, transparent, #E7F8F5); }
.article-end > span { font-size: 2rem; }
.article-end h2 { margin: 9px 0; }
.article-end p { max-width: 63ch; margin: 0 auto 24px; color: var(--sub); }

@media (max-width: 900px) {
  .news-hero-inner { grid-template-columns: 1fr 240px; gap: 25px; }
  .news-rex-card { height: 220px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card-featured { grid-column: span 2; }
  .news-tools { grid-template-columns: 1fr; }
  .news-categories { justify-content: flex-start; }
  .article-layout { grid-template-columns: minmax(0, 690px); justify-content: center; }
  .article-aside { position: static; order: 2; margin-top: 20px; }
  .article-aside img { display: none; }
}
@media (max-width: 640px) {
  .news-page main { padding-top: 66px; }
  .news-hero { min-height: 440px; padding: 58px 18px 42px; }
  .news-hero-inner { grid-template-columns: 1fr; }
  .news-hero h1 { font-size: clamp(3.25rem, 19vw, 5rem); }
  .news-rex-card { width: min(260px, 84vw); height: 175px; justify-self: center; }
  .news-rex-card img { max-height: 180px; }
  .news-speech { left: -18px; top: 14px; font-size: .87rem; }
  .news-browser { padding: 42px 16px 78px; }
  .news-search { max-width: none; }
  .news-categories { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; justify-content: flex-start; scrollbar-width: thin; }
  .news-categories button { flex: none; }
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .news-card-featured { grid-column: auto; }
  .news-card-featured > a { display: flex; }
  .news-card-featured .news-card-art { min-height: 0; aspect-ratio: 16 / 10; }
  .news-card-featured h2 { font-size: 1.4rem; }
  .news-card-featured .news-card-copy { padding: 20px; }
  .news-app-cta { width: calc(100% - 28px); margin-bottom: 72px; padding: 34px 26px 0; grid-template-columns: 1fr; text-align: center; }
  .news-app-cta img { height: 160px; width: auto; margin: -4px auto -25px; }
  .article-hero { min-height: 630px; }
  .article-head { padding: 120px 20px 50px; }
  .article-head h1 { font-size: clamp(2.15rem, 11.5vw, 3.45rem); }
  .article-layout { padding: 58px 20px 65px; gap: 30px; }
  .article-body { font-size: 1rem; line-height: 1.75; }
}
@media (max-width: 380px) {
  .news-nav .nav-cta { display: none; }
  .news-nav .nav-burger { margin-left: auto; }
  .news-hero { padding-left: 14px; padding-right: 14px; }
  .news-browser { padding-left: 12px; padding-right: 12px; }
  .news-card-copy, .news-card-featured .news-card-copy { padding: 17px; }
  .article-head, .article-layout { padding-left: 16px; padding-right: 16px; }
  .news-page .cookie {
    left: 8px; right: 8px; bottom: 8px;
    padding: 11px 12px; border-radius: 14px;
  }
  .news-page .cookie p {
    margin-bottom: 8px; font-size: .72rem; line-height: 1.35;
  }
  .news-page .cookie-btns { gap: 7px; }
  .news-page .cookie button { padding: 8px 10px; font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .paw-loader { animation: none; }
  .news-rex-card, .news-speech { rotate: 0deg; }
  .news-card > a:hover { transform: none; }
  .news-card-art img { transition: none; }
}

@media (prefers-color-scheme: dark) {
  .news-page {
    --ink: #F2F9F7; --sub: #BED0CC; --faint: #91A8A3; --bg: #101816;
    --cream: #1D211C; --line: #29403B; --card: #172320; --deep: #7FE5DC;
    background: var(--bg); color: var(--ink); color-scheme: dark;
  }
  .news-nav, .news-nav.scrolled { background: rgba(16,24,22,.9); }
  .news-nav .nav-wordmark, .news-page .footer .nav-wordmark { filter: brightness(0) invert(1); }
  .news-page .nav-burger { background: var(--card); border-color: var(--line); }
  .news-page .nav-burger span { background: var(--ink); }
  .news-page .nav-panel { background: rgba(16,24,22,.98); }
  .news-hero { background: linear-gradient(150deg, #101816, #132E2A 65%, #2A2317); }
  .news-card > a, .news-search, .news-categories button { background: var(--card); }
  .news-tag { background: rgba(16,24,22,.92); color: #7FE5DC; }
  .news-card-copy > b, .news-meta span:first-child { color: #7FE5DC; }
  .article-callout { background: #132D29; border-color: #27544E; }
  .article-callout[data-tone="gold"] { background: #2C2518; border-color: #594923; }
  .article-callout[data-tone="grape"] { background: #251E34; border-color: #483866; }
  .article-callout[data-tone="coral"] { background: #311F21; border-color: #60383C; }
  .article-end { background: linear-gradient(180deg, transparent, #132A26); }
  .news-page .footer { background: #111B18; }
  .cookie { background: #182421; }
}
