:root {
  --paper: #f7f1e3;
  --paper-2: #fbf6eb;
  --ink: #1a1a1a;
  --ink-soft: #3f3b34;
  --blue: #002654;
  --blue-mid: #123a66;
  --red: #ce1126;
  --gold: #e6d5a3;
  --gold-deep: #cbb887;
  --line: #c4b79a;
  --serif: "Merriweather", "Iowan Old Style", Georgia, serif;
  --sans: "Libre Franklin", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.58;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--paper-2);
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.masthead {
  background: var(--paper);
  padding-bottom: 0;
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: block;
  text-align: center;
  padding: 18px 0 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.05rem, 5.4vw, 3.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand span {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.tricolore {
  display: flex;
  height: 4px;
  margin: 8px 0 0;
}

.tricolore i {
  flex: 1;
  display: block;
}

.tricolore i:nth-child(1) { background: #002654; }
.tricolore i:nth-child(2) { background: #f7f1e3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tricolore i:nth-child(3) { background: #ce1126; }

.rule-double {
  height: 5px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  width: 100%;
}

.nav a {
  display: block;
  padding: 10px 11px;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--blue);
}

.nav-toggle {
  display: none;
  margin: 8px 0;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.ticker {
  display: flex;
  align-items: stretch;
  background: var(--blue);
  color: #f7f1e3;
  overflow: hidden;
}

.ticker-label {
  flex: 0 0 auto;
  background: var(--blue-mid);
  color: #f7f1e3;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 10px 14px;
  z-index: 1;
  border-right: 1px solid #f7f1e3;
}

.ticker-track {
  display: flex;
  overflow: hidden;
  flex: 1;
}

.ticker-move {
  display: flex;
  gap: 0;
  animation: ticker 52s linear infinite;
  white-space: nowrap;
}

.ticker:hover .ticker-move {
  animation-play-state: paused;
}

.ticker a {
  color: #f7f1e3;
  text-decoration: none;
  padding: 10px 22px;
  font-size: 0.92rem;
}

.ticker a:hover {
  color: var(--gold);
}

.ticker a::after {
  content: "  ·";
  color: var(--gold);
  margin-left: 22px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 28px;
  padding: 28px 0 8px;
}

.hero article {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 16px;
}

.hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: grayscale(8%);
}

.kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}

.kicker a {
  color: var(--red);
  text-decoration: none;
}

.hero h1,
.article-head h1,
.page-head h1 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0 0 12px;
  font-family: var(--serif);
}

.meta {
  font-size: 0.84rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.hero-copy,
.card-copy {
  padding: 14px 0 8px;
}

.hero-side {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.side-story {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  padding: 14px 0;
}

.side-story img {
  width: 128px;
  height: 96px;
  object-fit: cover;
}

.side-story h2 {
  font-family: var(--serif);
  font-size: 1.02rem;
  margin: 0 0 6px;
  line-height: 1.3;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 32px 0 14px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
}

.section-title h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title a {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.grid-3,
.grid-4,
.cards {
  display: grid;
  gap: 22px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
}

.card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.card h2,
.card h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  margin: 0 0 8px;
  line-height: 1.28;
}

.page-head {
  padding: 28px 0 10px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 22px;
}

.page-head p {
  max-width: 64ch;
  color: var(--ink-soft);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  padding: 12px 0 48px;
}

.article-head img.lead-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin: 12px 0 10px;
}

.article-body p {
  max-width: 66ch;
  margin: 0 0 1em;
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 1.28rem;
  margin: 1.4em 0 0.5em;
}

.caption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
  font-style: italic;
}

.aside {
  border-left: 0;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}

.aside h2 {
  font-family: var(--serif);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.aside a {
  display: block;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  font-size: 0.95rem;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.person {
  background: transparent;
  border: 0;
  text-align: center;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.person h3 {
  font-family: var(--serif);
  margin: 12px 8px 4px;
}

.person p {
  margin: 0 8px 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.lead-banner {
  margin: 0 0 28px;
}

.lead-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

form {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  color: var(--ink);
}

.btn,
button[type="submit"] {
  display: inline-block;
  width: fit-content;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  border: 1px solid var(--ink);
  padding: 12px 18px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.btn:hover,
button[type="submit"]:hover {
  background: var(--gold-deep);
}

.legal {
  max-width: 72ch;
  padding-top: 24px;
}

.legal h2 {
  font-family: var(--serif);
}

.site-footer {
  margin-top: 52px;
  background: var(--blue);
  color: #f7f1e3;
  padding: 36px 0 24px;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.site-footer a {
  color: #f7f1e3;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.copyright {
  margin-top: 24px;
  border-top: 1px solid #3a5680;
  padding-top: 14px;
  font-size: 0.84rem;
  color: #e4dcc8;
}

.cookie {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 50;
  background: #fbf6eb;
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.16);
  padding: 18px 20px;
  display: none;
  width: min(720px, calc(100% - 32px));
}

.cookie.is-on {
  display: block;
}

.cookie h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.cookie p {
  margin: 0 0 14px;
  font-size: 0.96rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-actions button {
  min-width: 148px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid var(--ink);
}

.cookie-accept {
  background: var(--gold);
  color: var(--ink);
}

.cookie-refuse {
  background: #fbf6eb;
  color: var(--ink);
}

.form-ok {
  display: none;
  border: 1px solid var(--blue);
  background: var(--paper-2);
  padding: 12px 14px;
}

@media (max-width: 960px) {
  .hero,
  .article-layout,
  .grid-3,
  .grid-4,
  .team,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero img,
  .article-head img.lead-img,
  .lead-banner img {
    height: 220px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open ul {
    display: flex;
  }
}

@media (max-width: 640px) {
  .side-story {
    grid-template-columns: 1fr;
  }

  .side-story img {
    width: 100%;
    height: 160px;
  }

  .masthead-top {
    flex-direction: column;
    gap: 4px;
  }
}
