:root {
  --navy: #061c47;
  --navy-light: #0c316d;
  --blue: #0879d9;
  --cyan: #09b9d0;
  --sky: #eaf7fb;
  --yellow: #ffc400;
  --green: #098b2f;
  --red: #df1720;
  --orange: #e98a08;
  --purple: #7a2cbd;
  --pink: #ce126b;
  --ink: #10203c;
  --muted: #536176;
  --line: #dce5ec;
  --white: #fff;
  --page: 1180px;
  --shadow: 0 18px 45px rgba(5, 28, 71, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.page-width { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; }
.section { padding-block: 92px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; color: var(--white); background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; color: var(--white); background: rgba(6, 28, 71, .97); box-shadow: 0 3px 14px rgba(0,0,0,.15); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-name { display: flex; flex-direction: column; flex: 0 0 auto; color: var(--white); font-family: "Barlow Condensed", sans-serif; font-size: 20px; font-weight: 700; line-height: .95; text-decoration: none; text-transform: uppercase; }
.site-name-place { margin-bottom: 6px; font-size: 14px; letter-spacing: .13em; }
.site-name strong { color: #24c24f; font-size: 25px; }
.site-name b { color: #ff4047; font-size: 25px; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { padding: 10px 11px; border-radius: 8px; color: rgba(255,255,255,.88); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--white); background: rgba(255,255,255,.12); outline: none; }
.menu-toggle { display: none; border: 0; color: white; background: transparent; cursor: pointer; }

.hero { overflow: hidden; padding: 28px 0 0; background: linear-gradient(180deg, #a9e8fb 0%, #e9f8fb 65%, #fff 100%); }
.hero-image-wrap { position: relative; }
.hero img { width: 100%; border: 7px solid white; border-radius: 22px; box-shadow: 0 25px 70px rgba(6, 28, 71, .22); }
.image-note { position: relative; z-index: 2; width: fit-content; max-width: calc(100% - 32px); margin: -1px auto 0; padding: 10px 18px; border-radius: 0 0 12px 12px; color: #465365; background: #fff; box-shadow: 0 10px 28px rgba(6,28,71,.1); font-size: 12px; text-align: center; }
.image-note span { color: var(--blue); font-weight: 700; }

.eyebrow { margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h2, h3 { margin-top: 0; color: var(--navy); font-family: "Barlow Condensed", sans-serif; line-height: 1.06; }
h2 { margin-bottom: 0; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.02em; }
h3 { font-size: 29px; }
p { margin-top: 0; }
.purpose-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 7vw, 90px); align-items: start; }
.purpose-grid p { color: var(--muted); }
.purpose-grid .lead { color: var(--ink); font-size: 19px; font-weight: 500; }
.independence-note { display: flex; gap: 18px; align-items: center; margin-top: 55px; padding: 22px 26px; border-left: 5px solid var(--yellow); border-radius: 0 12px 12px 0; background: #fff8d8; }
.independence-note strong { flex: 0 0 auto; color: var(--navy); }
.independence-note span { color: #445268; }

.explore { background: var(--navy); }
.explore h2, .explore .section-heading p { color: var(--white); }
.explore .eyebrow { color: #58d7ec; }
.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 42px; }
.section-heading > p { width: min(100%, 400px); margin-bottom: 4px; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.category-card { position: relative; min-height: 345px; padding: 26px 22px 24px; border-top: 5px solid var(--accent); border-radius: 12px; background: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.15); transition: transform .2s, box-shadow .2s; scroll-margin-top: 100px; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.category-discussion { --accent: #1267ef; }
.category-facts { --accent: var(--cyan); }
.category-views { --accent: var(--purple); }
.category-order { --accent: #0ca79b; }
.category-reply { --accent: var(--pink); }
.category-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 50%; color: white; background: var(--accent); font-size: 24px; font-weight: 800; }
.card-number { position: absolute; top: 30px; right: 22px; color: #b5bfca; font: 700 13px "Barlow Condensed", sans-serif; letter-spacing: .12em; }
.category-card h3 { min-height: 62px; margin-bottom: 12px; }
.category-card p:not(.card-number) { color: var(--muted); font-size: 14px; line-height: 1.55; }
.category-card a { position: absolute; right: 22px; bottom: 22px; left: 22px; color: var(--accent); font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.category-card a:hover span { margin-left: 5px; }
.category-card a span { transition: margin .2s; }

.latest { scroll-margin-top: 70px; }
.article-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.article-card { overflow: hidden; min-height: 340px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }
.article-content { padding: 30px; }
.article-card h3 { margin: 20px 0 12px; }
.article-card p { color: var(--muted); font-size: 14px; }
.content-label { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 50px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.label-fact { color: #006d7b; background: #d7f8fa; }
.label-opinion { color: #5c2589; background: #f0e4fb; }
.label-reply { color: #9b0d4f; background: #fde0ee; }
.coming-soon { color: #7b8797; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.coast-placeholder { min-height: 135px; background: linear-gradient(165deg, #58c5ef 0 47%, #f9cf3b 48% 55%, #087c99 56% 72%, #07356e 73%); }
.featured-card .article-content { padding-top: 25px; }
.featured-card h3 { margin-top: 14px; }
.label-key { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 38px; padding: 18px 24px; border-radius: 10px; background: #f5f8fa; color: var(--muted); font-size: 13px; }
.label-key strong { color: var(--navy); }
.key-dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; }
.fact-dot { background: var(--cyan); }
.opinion-dot { background: var(--purple); }

.site-footer { position: relative; overflow: hidden; padding: 85px 0 22px; color: rgba(255,255,255,.73); background: var(--navy); }
.footer-wave { position: absolute; top: -54px; left: -5%; width: 110%; height: 75px; border-radius: 50%; background: white; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 50px; }
.footer-grid h2 { margin-bottom: 18px; color: var(--white); font-size: 22px; }
.footer-grid p { font-size: 13px; }
.footer-brand p { max-width: 260px; margin-top: 24px; }
.footer-name { width: fit-content; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }

@media (max-width: 1040px) {
  .primary-nav a { padding-inline: 7px; font-size: 11px; }
  .category-grid { grid-template-columns: repeat(6, 1fr); }
  .category-card { grid-column: span 2; }
  .category-card:nth-child(4) { grid-column: 2 / span 2; }
  .category-card:nth-child(5) { grid-column: 4 / span 2; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .page-width { width: min(calc(100% - 32px), var(--page)); }
  .section { padding-block: 68px; }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: flex; align-items: center; gap: 8px; padding: 10px 0; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2px; background: white; transition: transform .2s; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .primary-nav { display: none; position: absolute; top: 68px; right: 0; left: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: var(--navy); box-shadow: 0 14px 18px rgba(0,0,0,.16); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 14px; font-size: 14px; }
  .hero { padding-top: 16px; }
  .hero img { border-width: 4px; border-radius: 12px; }
  .image-note { padding: 9px 12px; font-size: 10px; }
  .purpose-grid { grid-template-columns: 1fr; gap: 28px; }
  .independence-note { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 38px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card, .category-card:nth-child(4), .category-card:nth-child(5) { grid-column: auto; }
  .category-card:last-child { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .site-name-place { font-size: 11px; }
  .site-name { font-size: 16px; }
  .site-name strong, .site-name b { font-size: 20px; }
  .menu-label { display: none; }
  .hero .page-width { width: calc(100% - 20px); }
  .image-note { max-width: calc(100% - 18px); }
  h2 { font-size: 39px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card, .category-card:last-child { grid-column: auto; min-height: 290px; }
  .category-card h3 { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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