:root {
  --obsidian: #070709;
  --obsidian-2: #101014;
  --charcoal: #2a2a32;
  --ruby: #9b1b30;
  --ruby-deep: #5c0a18;
  --violet: #6e3d8a;
  --petal: #b57ad4;
  --gold: #c9a227;
  --gold-soft: #e8d5a3;
  --ink: #f3eadc;
  --muted: #b7ae9f;
  --glass: rgba(16, 16, 20, 0.78);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Libre Baskerville", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(110, 61, 138, 0.28), transparent 55%),
    radial-gradient(900px 400px at 0% 20%, rgba(155, 27, 48, 0.2), transparent 50%),
    var(--obsidian);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cpath fill='none' stroke='%23c9a227' stroke-width='0.6' d='M90 12c8 28 28 48 56 56-28 8-48 28-56 56-8-28-28-48-56-56 28-8 48-28 56-56z'/%3E%3C/svg%3E");
  z-index: 0;
}

main,
.site-header,
.site-footer,
.cookie-banner {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--obsidian);
  padding: 0.4rem 0.8rem;
  z-index: 20;
}

.skip-link:focus {
  top: 0.6rem;
}

.site-header {
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.96), rgba(16, 16, 20, 0.88));
}

.masthead {
  text-align: center;
  padding: 1.6rem 1.2rem 0.8rem;
}

.masthead__place {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold);
}

.masthead__brand {
  display: inline-block;
  margin: 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.masthead__line {
  margin: 0;
  font-style: italic;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  margin: 0 auto 0.8rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 0.35rem 1.2rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0.4rem 1rem 1rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--gold);
}

.issue {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 72vh;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.issue__copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(9, 9, 12, 0.92), rgba(92, 10, 24, 0.18));
}

.issue__kicker {
  margin: 0 0 0.8rem;
  color: var(--petal);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.issue h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
}

.issue__pull {
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--ruby);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.15rem;
}

.issue__link {
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.issue__frame {
  position: relative;
  overflow: hidden;
}

.issue__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: saturate(0.85) contrast(1.08);
}

.issue__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.7rem 1rem;
  background: linear-gradient(transparent, rgba(7, 7, 9, 0.92));
  font-size: 0.85rem;
  color: var(--muted);
}

.wrap {
  width: min(1100px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: 3.2rem 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.lede {
  color: var(--muted);
  max-width: 42rem;
}

.primary-offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--glass);
  border: 1px solid rgba(201, 162, 39, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.primary-offer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.primary-offer__text {
  padding: 2rem;
}

.price {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.card-grid,
.news-grid,
.team-grid {
  display: grid;
  gap: 1.2rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.news-card,
.quote,
.team-card,
.legal,
.form-card {
  background: linear-gradient(180deg, rgba(18, 18, 24, 0.95), rgba(10, 10, 14, 0.95));
  border: 1px solid rgba(181, 122, 212, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card img,
.news-card img,
.team-card img,
.page-hero img {
  width: 100%;
  object-fit: cover;
}

.card img,
.news-card img {
  height: 170px;
}

.team-card img {
  height: 240px;
  object-fit: cover;
  filter: contrast(1.05);
}

.card,
.news-card,
.team-card {
  overflow: hidden;
}

.card-body,
.news-card-body,
.team-card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.card h3,
.news-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.quote {
  padding: 1.3rem 1.4rem;
}

.quote p {
  font-style: italic;
  margin-top: 0;
}

.quote cite {
  color: var(--gold);
  font-style: normal;
  font-size: 0.92rem;
}

.btn {
  appearance: none;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 0.55rem 1.3rem;
  border: 0;
  cursor: pointer;
  color: var(--gold-soft);
  background: linear-gradient(180deg, var(--ruby), var(--ruby-deep));
  border-radius: 2px 22px 2px 18px;
  text-decoration: none;
  transition: border-radius 0.45s ease, box-shadow 0.45s ease, transform 0.35s ease;
}

.btn:hover,
.btn:focus-visible {
  color: #fff8e8;
  text-decoration: none;
  border-radius: 42% 58% 48% 52% / 58% 38% 62% 42%;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.55), 0 0 28px rgba(181, 122, 212, 0.45);
  transform: translateY(-1px);
}

.btn--gold {
  background: linear-gradient(180deg, #d4b44a, #8a6b12);
  color: var(--obsidian);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-soft);
}

.page-hero {
  position: relative;
}

.page-hero img {
  height: min(42vh, 380px);
  width: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.page-hero h1 {
  position: absolute;
  left: 8%;
  bottom: 12%;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.article {
  width: min(720px, calc(100% - 2.4rem));
  margin: 2rem auto 4rem;
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal {
  width: min(800px, calc(100% - 2.4rem));
  margin: 2.5rem auto 4rem;
  padding: 2rem;
}

.legal h1 {
  font-family: var(--font-display);
  margin-top: 0;
}

.form-card {
  width: min(640px, calc(100% - 2.4rem));
  margin: 2rem auto 4rem;
  padding: 1.8rem;
}

label {
  display: block;
  margin: 0.9rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(7, 7, 9, 0.7);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: #f0a0ad;
  font-size: 0.88rem;
  min-height: 1.1em;
  margin: 0.2rem 0 0;
}

.form-status {
  margin-top: 0.8rem;
}

.form-status[data-state="ok"] {
  color: var(--gold-soft);
}

.form-status[data-state="err"] {
  color: #f0a0ad;
}

.site-footer {
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  padding: 2.4rem 1.2rem 1.4rem;
  background: #050506;
}

.footer-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.4rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}

.footer-label {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

address {
  font-style: normal;
}

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

.footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 2rem 0 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(16, 16, 22, 0.96), rgba(7, 7, 9, 0.96));
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.dossiers {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.dossier-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  align-items: baseline;
}

.dossier-row .status {
  color: var(--petal);
  font-size: 0.85rem;
}

.not-found {
  text-align: center;
  padding: 6rem 1.2rem 5rem;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: 3.4rem;
  margin: 0 0 0.6rem;
}

@media (max-width: 860px) {
  .issue,
  .primary-offer,
  .footer-grid,
  .cookie-banner,
  .dossier-row {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
  }
}
