/*
Theme Name: Breizh Balade – Carnet de route
Description: Carnet de route breton responsive pour Breizh Balade, avec carnet éditorial et modèles d’articles.
Author: FAR
Author URI: https://far.bzh/
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: breizh-balade
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #fcfaf5;
  --paper: #f5efe2;
  --sand: #eee8db;
  --ink: #20342b;
  --forest: #23392f;
  --muted: #505b52;
  --rust: #944536;
  --gold: #836017;
  --on-dark: #f8f2e4;
  --line: #d7d1c2;
  --gutter: clamp(1.25rem, 5vw, 4.75rem);
  --frame: 82rem;
  --header-height: 5.5rem;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
  text-underline-offset: .23em;
}

button, input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

::selection {
  color: var(--ink);
  background: #eacf93;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.9rem, 5.2vw, 5.1rem);
  line-height: .96;
  letter-spacing: -.025em;
}

.shell {
  width: min(var(--frame), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.8rem, 7vw, 7rem);
}

.skip-link {
  position: absolute;
  top: .7rem;
  left: 1rem;
  z-index: 20;
  padding: .6rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
  align-items: center;
  column-gap: 1.5rem;
}

.header-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.header-brand img {
  width: 5.5rem;
  height: auto;
}

.site-nav ul, .footer-nav ul, .filters, .breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  display: flex;
  gap: clamp(1.1rem, 3.15vw, 3.2rem);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-size: .94rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--rust);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  bottom: .28rem;
  left: 0;
  width: 1.28rem;
  height: 2px;
  background: var(--gold);
  content: "";
}

.header-contact {
  justify-self: end;
}

.menu-toggle, .nav-mobile-contact {
  display: none !important;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 100vw;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button--primary {
  background: var(--forest);
  color: var(--on-dark);
}

.button--primary:hover {
  background: #344e40;
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.button--outline:hover {
  background: var(--forest);
  color: var(--on-dark);
}

.button--cream {
  background: var(--on-dark);
  color: var(--ink);
}

.button--cream:hover {
  background: #ecd5a7;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: var(--rust);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--gold);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: clamp(34rem, 42vw, 44rem);
  background: var(--paper);
}

.hero__copy {
  align-self: center;
  min-width: 0;
  padding-block: clamp(3.55rem, 6vw, 6.25rem);
  padding-left: max(var(--gutter), calc((100vw - var(--frame)) / 2));
  padding-right: clamp(1.6rem, 3.6vw, 4.25rem);
}

.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(4.25rem, 7.4vw, 8.5rem);
  line-height: .89;
  letter-spacing: -.036em;
}

.hero h1 span, .hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--rust);
}

.hero__intro {
  max-width: 25.5rem;
  margin-top: 1.65rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.27vw, 1.18rem);
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.35rem;
  margin-top: 1.8rem;
}

.hero__actions .text-link {
  font-size: .94rem;
}

.hero__visual {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #aaa785;
}

.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 56%;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-bottom: 2rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.65rem clamp(1.15rem, 2.3vw, 2.2rem);
}

.story-card {
  display: block;
  height: 100%;
  text-decoration: none;
}

.story-card__image {
  aspect-ratio: 1.62;
  overflow: hidden;
  background: var(--sand);
  border-radius: .3rem;
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.story-card__image--artwork {
  background: #f0ebdf;
}

.story-card__image--artwork img {
  padding: .75rem 1rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.story-card:hover .story-card__image img {
  transform: scale(1.025);
}

.story-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem .65rem;
  margin-top: 1rem;
  font-size: .86rem;
  line-height: 1.4;
}

.story-card__category {
  color: var(--rust);
  font-weight: 700;
}

.story-card__place {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  color: var(--muted);
}

.story-card__place::before {
  display: inline-block;
  width: .22rem;
  height: .22rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.story-card__title {
  margin-top: .35rem;
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -.013em;
}

.story-card:hover .story-card__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .12em;
}

.story-card p {
  margin-top: .5rem;
  color: var(--muted);
  line-height: 1.55;
}

.feature {
  background: var(--forest);
  color: var(--on-dark);
}

.feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  column-gap: clamp(2.25rem, 6vw, 7rem);
}

.feature__image {
  height: auto;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: .3rem;
  background: #767d6a;
}

.feature .eyebrow {
  color: #e2c47f;
}

.feature h2 {
  max-width: 25rem;
  margin-top: .9rem;
}

.feature h2 em {
  white-space: nowrap;
}

.feature__copy p:not(.eyebrow) {
  max-width: 25rem;
  margin-top: 1.1rem;
  color: #e9e9dc;
  font-size: 1.08rem;
}

.feature .button {
  margin-top: 1.65rem;
}

.feature :focus-visible {
  outline-color: #e2c47f;
}

.about {
  background: var(--paper);
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  column-gap: clamp(2.25rem, 8vw, 8rem);
  align-items: start;
}

.about h2 {
  max-width: 34rem;
  margin-top: .7rem;
}

.about__copy {
  align-self: center;
  color: var(--muted);
  font-size: 1.09rem;
}

.about__copy p + p {
  margin-top: .85rem;
}

.about__copy .text-link {
  margin-top: .65rem;
  color: var(--ink);
}

.about__copy .text-link:hover {
  color: var(--rust);
}

.site-footer {
  padding-top: clamp(2.6rem, 5.1vw, 4.65rem);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.25fr;
  column-gap: 2rem;
  align-items: start;
  padding-bottom: 2.45rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-brand img {
  width: 6rem;
  height: auto;
  flex: 0 0 auto;
}

.footer-brand p, .footer-bottom {
  color: var(--muted);
  font-size: .92rem;
}

.footer-heading {
  margin-bottom: .6rem;
  font: 700 1rem/1.3 var(--text);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--rust);
  text-decoration: underline;
}

.footer-contact p {
  color: var(--muted);
}

.footer-email {
  display: inline-block;
  max-width: 100%;
  margin-top: .45rem;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.footer-email:hover {
  color: var(--rust);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .65rem 2rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line);
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.page-intro {
  padding-block: clamp(2.6rem, 6vw, 5.65rem);
  background: var(--paper);
}

.page-intro h1, .article-intro h1 {
  font-size: clamp(3.75rem, 7.5vw, 7.5rem);
  line-height: .92;
  letter-spacing: -.03em;
}

.page-intro .page-deck {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.13rem;
}

.journal {
  min-height: 23rem;
  padding-top: clamp(1.5rem, 3vw, 2.65rem);
}

.journal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .42rem .98rem;
  border: 1px solid var(--line);
  border-radius: 100vw;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}

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

.filters a[aria-current="page"] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--on-dark);
}

.journal-search {
  position: relative;
  width: min(100%, 20rem);
}

.journal-search .loupe {
  position: absolute;
  top: .94rem;
  left: .96rem;
  width: .85rem;
  height: .85rem;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  pointer-events: none;
}

.loupe::after {
  position: absolute;
  top: .63rem;
  left: .64rem;
  width: .35rem;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: start;
  content: "";
}

.journal-search input {
  width: 100%;
  min-height: 2.75rem;
  padding: .43rem .95rem .43rem 2.42rem;
  border: 1px solid var(--line);
  border-radius: 100vw;
  background: var(--canvas);
  color: var(--ink);
}

.journal-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.journal-count {
  margin-block: 1.05rem 1.4rem;
  color: var(--muted);
  font-size: .94rem;
}

.empty-state {
  margin-block: 1.5rem 2rem;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--paper);
}

.empty-state p + p {
  margin-top: .35rem;
  color: var(--muted);
}

.article-intro {
  max-width: 52rem;
  margin-inline: auto;
  padding-block: clamp(2.7rem, 5vw, 4.75rem) 2rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .38rem .55rem;
  color: var(--muted);
  font-size: .94rem;
}

.breadcrumbs li + li::before {
  margin-right: .55rem;
  color: var(--gold);
  content: "/";
}

.breadcrumbs a:hover {
  color: var(--rust);
}

.article-intro h1 {
  margin-top: 1rem;
  font-size: clamp(3.5rem, 7.1vw, 6.85rem);
}

.article-deck {
  max-width: 42rem;
  margin-top: .9rem;
  color: var(--muted);
  font-size: clamp(1.09rem, 1.8vw, 1.38rem);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .6rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .91rem;
}

.article-byline > * + *::before {
  padding-right: .6rem;
  color: var(--gold);
  content: "·";
}

.article-visual {
  max-width: 62rem;
  margin-inline: auto;
  border-radius: .3rem;
  overflow: hidden;
  background: var(--sand);
}

.article-visual img {
  width: 100%;
  max-height: 31rem;
  aspect-ratio: 2.1;
  object-fit: cover;
}

.article-visual--artwork {
  background: #f0ebdf;
}

.article-visual--artwork img {
  width: 100%;
  min-height: 14rem;
  max-height: 28rem;
  padding: clamp(.85rem, 3vw, 2.35rem);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.article-copy {
  max-width: 42rem;
  margin-inline: auto;
  padding-block: 2rem clamp(2.4rem, 5vw, 4.25rem);
  font-size: 1.1rem;
}

.article-copy p + p {
  margin-top: .9rem;
}

.article-copy .text-link {
  margin-top: .95rem;
  color: var(--rust);
}

.related {
  padding-block: 2.65rem clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.related h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 4.25vw, 3.8rem);
}

@media (max-width: 60rem) {
  .hero__copy {
    padding-right: 1.4rem;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 8.1vw, 5.2rem);
  }

  .hero__actions {
    gap: .45rem 1rem;
  }

  .feature h2 em {
    white-space: normal;
  }
}

@media (max-width: 48rem) {
  :root {
    --header-height: 4.55rem;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 0 1rem;
  }

  .header-brand img {
    width: 4.3rem;
  }

  .header-contact {
    display: none;
  }

  .site-header[data-nav-ready] .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    gap: .5rem;
    padding: .25rem .82rem;
    border: 1px solid var(--line);
    border-radius: 100vw;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
  }

  .menu-bars {
    position: relative;
    width: .92rem;
    height: .67rem;
    border-top: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
  }

  .menu-bars::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    content: "";
  }

  .site-header[data-nav-ready] .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: .3rem var(--gutter) .85rem;
    border-bottom: 1px solid var(--line);
    background: var(--canvas);
  }

  .site-header[data-menu-open] .site-nav {
    display: block;
  }

  .site-nav {
    grid-column: 1 / -1;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: flex;
    min-height: 3.14rem;
  }

  .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .nav-mobile-contact {
    display: list-item !important;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy {
    width: min(var(--frame), 100%);
    padding: 2.9rem var(--gutter) 2.5rem;
  }

  .hero h1 {
    margin-top: 1rem;
    font-size: clamp(4.05rem, 12vw, 6.65rem);
  }

  .hero__intro {
    margin-top: 1.15rem;
    max-width: 29rem;
  }

  .hero__actions {
    margin-top: 1.15rem;
  }

  .hero__visual {
    min-height: 0;
    aspect-ratio: 1.39;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.15rem;
  }

  .feature__inner, .about__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.65rem;
  }

  .feature__image {
    aspect-ratio: 1.62;
  }

  .feature__copy p:not(.eyebrow), .about__copy {
    font-size: 1.05rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    row-gap: 1.4rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    width: 5.1rem;
  }
}

@media (max-width: 32rem) {
  .story-grid, .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-top {
    align-items: start;
    flex-direction: column;
    margin-bottom: 1.4rem;
  }

  .story-card__title {
    font-size: 2.35rem;
  }

  .footer-main {
    gap: 1.35rem;
  }

  .journal-search {
    width: 100%;
  }

  .feature__image {
    aspect-ratio: 1.3;
  }

  .article-visual img {
    aspect-ratio: 1.45;
  }
}

@media (max-width: 24rem) {
  .hero h1 {
    font-size: clamp(3.55rem, 16.4vw, 4.05rem);
  }

  .hero__actions .text-link {
    font-size: .9rem;
  }
}

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


@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #f7f7f2;
  --paper: #eeefe7;
  --sand: #e6e8df;
  --ink: #17242b;
  --forest: #17242b;
  --muted: #46555b;
  --rust: #615015;
  --gold: #6a540a;
  --signal: #f5cf48;
  --on-dark: #f9f8ee;
  --line: #c7cbc1;
  --header-height: 5.15rem;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

h1, h2, h3 {
  font-weight: 700;
}

h2 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: .96;
  letter-spacing: -.012em;
}

:focus-visible {
  outline-color: #79600c;
}

.site-header {
  background: var(--canvas);
  border-color: var(--ink);
}

.header-brand img, .custom-logo-link img {
  width: 5.1rem;
  height: auto;
}

.site-nav a[aria-current="page"]::after {
  width: 100%;
  height: 3px;
  background: var(--signal);
}

.site-nav a.button[aria-current="page"]::after {
  display: none;
}

.button, .filters a, .journal-search input {
  border-radius: .2rem;
}

.button--primary {
  background: var(--signal);
  color: var(--ink);
}

.button--primary:hover {
  background: #e8b82b;
  color: var(--ink);
}

.button--outline:hover {
  background: var(--ink);
  color: var(--on-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(34rem, 47vw, 46rem);
  background: var(--ink);
  color: var(--on-dark);
}

.hero__visual {
  position: absolute;
  z-index: -1;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
  background: var(--ink);
}

.hero__visual img {
  object-position: 64% 57%;
}

.hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 25, 30, .96) 0%, rgba(13, 25, 30, .84) 29%, rgba(13, 25, 30, .47) 55%, transparent 82%),
    linear-gradient(0deg, rgba(13, 25, 30, .42), transparent 49%);
  content: "";
}

.hero__copy {
  align-self: auto;
  padding: clamp(4.5rem, 7.3vw, 7.3rem) 0 clamp(3.8rem, 6vw, 5.8rem);
}

.hero .eyebrow {
  color: var(--signal);
  letter-spacing: .14em;
}

.hero .eyebrow::before {
  width: 2rem;
  height: 2px;
}

.hero h1 {
  margin-top: 1.05rem;
  font-size: clamp(4.1rem, 9.25vw, 9.8rem);
  font-weight: 800;
  line-height: .84;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--signal);
  font-style: normal;
}

.hero__intro {
  max-width: 29rem;
  margin-top: 1.4rem;
  color: var(--on-dark);
  font-size: clamp(1rem, 1.28vw, 1.17rem);
}

.hero__actions {
  margin-top: 1.45rem;
}

.hero .text-link:hover {
  color: var(--signal);
}

.hero :focus-visible, .feature :focus-visible, .site-footer :focus-visible {
  outline-color: var(--signal);
}

.route-index {
  background: var(--signal);
  color: var(--ink);
}

.route-index ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.route-index li + li {
  border-left: 1px solid #17242b50;
}

.route-index a {
  display: flex;
  width: 100%;
  min-height: 4.2rem;
  align-items: center;
  justify-content: center;
  padding: .6rem .4rem;
  gap: .75rem;
  font-size: .99rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.route-index a:hover {
  background: #17242b13;
  text-decoration: underline;
}

.route-index__mark {
  flex: 0 0 .76rem;
  height: .76rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--signal);
  background: currentColor;
}

.section {
  padding-block: clamp(3.35rem, 6.2vw, 5.75rem);
}

.section-top {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1.05rem;
  margin-bottom: 1.65rem;
}

.section-top h2, .page-intro h1, .feature h2, .about h2 {
  text-transform: uppercase;
}

.story-grid {
  column-gap: clamp(1.05rem, 2vw, 2rem);
}

.story-grid article {
  min-width: 0;
}

.story-card {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.story-card__image, .article-visual, .feature__image {
  border-radius: 0;
}

.story-card__title {
  font-size: clamp(1.95rem, 3.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0;
}

.story-card__meta {
  min-height: 1.3rem;
}

.story-card__category {
  color: var(--gold);
}

.feature {
  border-block: 4px solid var(--signal);
  background: var(--ink);
}

.feature__inner {
  column-gap: clamp(1.75rem, 5vw, 5.4rem);
}

.feature__image {
  aspect-ratio: 1.57;
}

.feature .eyebrow {
  color: var(--signal);
}

.feature h2 em {
  font-style: normal;
}

.about, .page-intro {
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, #17242b09 1px, transparent 1px),
    linear-gradient(#17242b09 1px, transparent 1px);
  background-size: 1.8rem 1.8rem;
}

.page-intro {
  padding-block: clamp(2.75rem, 6vw, 5.35rem);
  border-bottom: 1px solid var(--line);
}

.page-intro h1, .article-intro h1, .page-title {
  font-size: clamp(3.05rem, 7vw, 6.7rem);
  line-height: .93;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-intro .page-deck {
  max-width: 43rem;
}

.about-page, .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 7vw, 7.6rem);
  align-items: start;
}

.about-page figure img {
  width: 100%;
  height: auto;
}

.about-page .entry-content, .contact-layout .entry-content {
  font-size: 1.12rem;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content a:not(.button) {
  text-decoration-thickness: 1px;
}

.entry-content img, .entry-content video, .entry-content iframe {
  max-width: 100%;
}

.entry-content img {
  height: auto;
}

.entry-content figure {
  margin-block: 1.25rem;
}

.contact-details .entry-content {
  margin-bottom: 1.4rem;
}

.contact-details h2, .contact-card h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.65rem);
  line-height: 1.05;
}

.direct-email {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: .35rem;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-card {
  display: grid;
  align-items: start;
  gap: .35rem;
  padding: clamp(1.35rem, 4vw, 2.5rem);
  border: 1px solid var(--ink);
  background-color: var(--paper);
}

.contact-card h2 {
  margin-bottom: .65rem;
}

.contact-card label {
  margin-top: .65rem;
  font-weight: 700;
}

.contact-card input:not([type="hidden"]), .contact-card textarea, .comments-area input:not([type="submit"]), .comments-area textarea {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid #899390;
  border-radius: .2rem;
  background: var(--canvas);
  color: var(--ink);
  padding: .52rem .7rem;
  font: inherit;
}

.contact-card textarea {
  min-height: 7rem;
  resize: vertical;
}

.contact-card button {
  margin-top: .85rem;
  cursor: pointer;
}

.contact-card button:disabled {
  opacity: .7;
  cursor: progress;
}

.contact-status {
  border-left: 3px solid #82432e;
  padding: .55rem .7rem;
  background: #f7ede6;
}

.contact-status:empty {
  display: none;
}

.contact-status[data-state="envoye"] {
  border-color: #45633b;
  background: #e8eedb;
}

.site-footer {
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

.footer-brand img, .footer-brand .custom-logo-link img {
  width: 6rem;
  padding: .3rem;
  border-radius: .2rem;
  background: var(--canvas);
}

.footer-brand p, .footer-bottom, .footer-contact p, .footer-nav a, .footer-email {
  color: var(--on-dark);
}

.footer-nav a:hover, .footer-email:hover, .footer-heading a:hover {
  color: var(--signal);
}

.footer-heading {
  text-decoration: none;
}

.footer-contact .footer-heading a {
  text-decoration: underline;
}

.footer-bottom {
  border-color: #ffffff4d;
}

@media (max-width: 48rem) {
  :root {
    --header-height: 4.55rem;
  }

  .header-brand img, .custom-logo-link img {
    width: 4.45rem;
  }

  .site-header[data-nav-ready] .menu-toggle {
    border-radius: .2rem;
    border-color: var(--ink);
  }

  .hero {
    min-height: clamp(33rem, 88svh, 42rem);
  }

  .hero__visual img {
    object-position: 68% 47%;
  }

  .hero__visual::after {
    background: linear-gradient(0deg, rgba(13, 25, 30, .98) 0%, rgba(13, 25, 30, .88) 38%, rgba(13, 25, 30, .52) 65%, rgba(13, 25, 30, .06) 94%);
  }

  .hero__copy {
    width: min(var(--frame), calc(100% - var(--gutter) * 2));
    padding: 10rem 0 2.6rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 10.8vw, 6.25rem);
  }

  .hero__intro {
    margin-top: 1rem;
    max-width: 27rem;
  }

  .hero__actions {
    margin-top: 1.15rem;
  }

  .route-index a {
    min-height: 3.45rem;
    gap: .35rem;
    font-size: .89rem;
  }

  .route-index__mark {
    display: none;
  }

  .about-page, .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.65rem;
  }
}

@media (max-width: 32rem) {
  .hero {
    min-height: clamp(31rem, 83svh, 37rem);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.7rem);
  }

  .hero__copy {
    padding-top: 8.5rem;
  }

  .hero__actions {
    gap: .55rem .9rem;
  }

  .route-index ul {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-index li + li {
    border-left: 0;
  }

  .route-index li:nth-child(even) {
    border-left: 1px solid #17242b50;
  }

  .route-index li:nth-child(n+3) {
    border-top: 1px solid #17242b50;
  }

  .route-index li:last-child {
    grid-column: 1 / -1;
  }

  .route-index a {
    font-size: .85rem;
  }
}

@media (max-width: 24rem) {
  .hero__actions .button {
    padding-inline: .85rem;
  }

  .hero__actions .text-link {
    font-size: .875rem;
  }
}

.header-inner {
  grid-template-columns: minmax(5.1rem, auto) minmax(0, 1fr);
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.site-nav .primary-menu {
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0;
}

.site-nav .header-contact {
  display: inline-flex;
  justify-self: end;
  text-align: center;
}

.site-nav .header-contact:hover {
  color: var(--ink);
}

.primary-menu > li {
  position: relative;
}

.site-nav .sub-menu {
  position: absolute;
  left: -.5rem;
  top: 100%;
  display: none;
  width: max-content;
  max-width: min(17rem, 80vw);
  gap: 0;
  padding: .35rem .7rem;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu {
  display: block;
}

.site-nav .sub-menu a {
  display: flex;
  white-space: normal;
}

.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.section.journal {
  padding-top: clamp(1.5rem, 3vw, 2.65rem);
}

.journal-grid, .navigation.pagination {
  margin-top: 1.75rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding-inline: .7rem;
  border: 1px solid var(--line);
  text-decoration: none;
}

.pagination .page-numbers.current {
  border-color: var(--ink);
  background: var(--signal);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 20;
  top: .15rem;
  right: .15rem;
  width: auto;
  height: auto;
  padding: .4rem .8rem;
  margin: 0;
  overflow: visible;
  clip-path: none;
  background: var(--signal);
  color: var(--ink);
}

.comments-area {
  max-width: 42rem;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.comments-area h2, .comments-area h3 {
  margin-bottom: .7rem;
}

.comments-area p {
  margin-block: .6rem;
}

.comments-area input[type="checkbox"] {
  width: auto;
  min-height: auto;
}

.comments-area input[type="submit"] {
  padding: .55rem 1rem;
  border: 1px solid var(--ink);
  background: var(--signal);
  color: var(--ink);
}

@media (max-width: 48rem) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: block;
    max-height: calc(100dvh - var(--header-height));
    overflow: auto;
  }

  .site-nav .header-contact {
    display: inline-flex;
    margin-top: .65rem;
  }

  .site-nav .sub-menu {
    position: static;
    display: block;
    width: auto;
    max-width: none;
    padding: 0 0 0 1rem;
    border: 0;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}
