/* Lengaïa Salsa Brava — design system
   Visual DNA: near-black chrome, warm paper field, salsa red accent,
   DIN-like condensed display (Oswald) + Noticia Text body, sharp edges. */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/s/oswald/v16/cgaIrkaP9Empe8_PwXbajFtXRa8TVwTICgirnJhmVJw.woff") format("woff");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/s/oswald/v16/dI-qzxlKVQA6TUC5RKSb31tXRa8TVwTICgirnJhmVJw.woff") format("woff");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/s/oswald/v16/GwZ_PiN1Aind9Eyjp868E1tXRa8TVwTICgirnJhmVJw.woff") format("woff");
}

@font-face {
  font-family: "Noticia Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/s/noticiatext/v9/VuJ2dNDF2Yv9qppOePKYRP12ZjtYlUndpA.woff") format("woff");
}

@font-face {
  font-family: "Noticia Text";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/s/noticiatext/v9/VuJodNDF2Yv9qppOePKYRP12Ywtan07_pjjs.woff") format("woff");
}

@font-face {
  font-family: "Noticia Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/s/noticiatext/v9/VuJpdNDF2Yv9qppOePKYRP1-3R5NuGvQjjLkeQ.woff") format("woff");
}

:root {
  --ink: #141414;
  --ink-soft: #2c2c2c;
  --muted: #5c5c5c;
  --paper: #faf6f0;
  --paper-deep: #f0e8dc;
  --surface: #ffffff;
  --chrome: #050505;
  --accent: #bf250a;
  --accent-hot: #ee5738;
  --accent-deep: #8c1b08;
  --line: rgba(20, 20, 20, 0.12);
  --max: 980px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Noticia Text", Georgia, serif;
  --radius: 0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hot);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  margin-top: 2rem;
}

h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1.2rem;
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.4rem;
}

.site-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--chrome);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10000;
}

.site-skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  background: var(--chrome);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--accent);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.site-brand:hover {
  color: var(--accent-hot) !important;
}

.site-nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  justify-content: flex-end;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-hot) !important;
  opacity: 1;
}

.site-main {
  display: block;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.15) 0%, rgba(5, 5, 5, 0.72) 100%),
    url("/media/hero-salsa.jpg") center / cover no-repeat;
  isolation: isolate;
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  animation: rise-in 0.75s ease;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero__lead {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hot);
  border-color: var(--accent-hot);
  color: #fff !important;
}

.btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--ink) !important;
}

.section {
  padding: 3.25rem 0;
}

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

.section--deep {
  background: var(--paper-deep);
}

.section--chrome {
  background: var(--chrome);
  color: #fff;
}

.section__title {
  margin-bottom: 0.5rem;
}

.section__intro {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.page-header {
  padding: 2.5rem 0 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}

.page-header h1 {
  margin-bottom: 0.4rem;
}

.page-header p {
  color: var(--muted);
  margin: 0;
  max-width: 40rem;
}

.page-shell {
  padding: 0 0 3.5rem;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.page-layout > article,
.page-layout > aside {
  min-width: 0;
  max-width: 100%;
}

.romlicontainer,
.entry-content,
.prose {
  color: var(--ink-soft);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.romlicontainer > *:first-child,
.prose > *:first-child {
  margin-top: 0;
}

.romlicontainer img,
.prose img {
  margin: 1.25rem 0;
}

.romlicontainer a,
.prose a {
  color: var(--accent-deep);
}

.romlicontainer blockquote,
.prose blockquote {
  margin: 1.25rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}

.romlicontainer .table-wrap,
.prose .table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.romlicontainer .table-wrap > table,
.prose .table-wrap > table,
.romlicontainer table,
.prose table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  border-collapse: collapse;
  font-size: 0.92em;
  background: var(--surface);
}

.romlicontainer th,
.romlicontainer td,
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

@media (min-width: 701px) {
  .romlicontainer th,
  .romlicontainer td,
  .prose th,
  .prose td {
    white-space: normal;
  }
}

.romlicontainer th,
.prose th {
  background: var(--paper-deep);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85em;
  color: var(--ink);
}

.sidebar-box {
  background: var(--paper-deep);
  border-left: 3px solid var(--accent);
  padding: 1.15rem 1.1rem;
}

.sidebar-box h2 {
  font-size: 1.05rem;
  margin: 0 0 0.9rem;
}

.sidebar-box p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.sidebar-box a {
  color: var(--accent-deep);
  text-decoration: none;
}

.sidebar-box a:hover {
  color: var(--accent-hot);
  text-decoration: underline;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.feature h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}

.feature a {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
}

.site-footer {
  background: var(--chrome);
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem 0 1.5rem;
  margin-top: auto;
}

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

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}

.site-footer__meta {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

.sitewide-slot {
  font-size: 0.92rem;
}

@keyframes rise-in {
  from {
    opacity: 0.01;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.25rem 0 0.5rem;
  }

  .site-nav a {
    display: block;
    padding: 0.45rem 0;
  }

  .hero {
    min-height: 70vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
