/* aurivex.digital Relextio 20260928 */
:root {
  --ink: #221e18;
  --olive: #2f3b28;
  --copper: #a65d32;
  --paper: #f4ecd8;
  --sheet: #fbf6ea;
  --mute: #6d6558;
  --line: #d9cfb8;
  --zinc: #8a8d88;
  --head: Georgia, "Hoefler Text", "Times New Roman", serif;
  --body: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 31px,
      rgba(166, 93, 50, 0.08) 31px 32px
    ),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.68;
}
img { max-width: 100%; display: block; }
a { color: var(--copper); }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.05rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.4rem, 2.7vw, 2.3rem); }
h3 { font-size: 1.2rem; }
[hidden] { display: none !important; }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  width: 0;
  z-index: 80;
  background: var(--copper);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 6vw;
  background: rgba(244, 236, 216, 0.94);
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  color: var(--olive);
  font-family: var(--head);
  font-size: 1.6rem;
  font-style: italic;
}
.brand small {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--olive);
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}
.nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nav a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.nav a.on, .nav a:hover { color: var(--copper); border-bottom: 2px solid var(--copper); }

.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  place-items: end start;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: pan 24s ease-in-out infinite alternate;
}
@keyframes pan {
  from { transform: scale(1.04) translate(-1%, 0); }
  to { transform: scale(1.1) translate(1.2%, -1%); }
}
.hero-card {
  position: relative;
  z-index: 2;
  margin: 0 6vw 48px;
  max-width: 640px;
  background: var(--sheet);
  padding: 28px 30px 24px;
  box-shadow: 12px 16px 0 rgba(47, 59, 40, 0.18);
  border-left: 8px solid #c5b89a;
}
.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--copper);
  margin-bottom: 8px;
}
.keyword {
  font-family: var(--head);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 8px;
}
.keyword span {
  background: linear-gradient(transparent 62%, rgba(166, 93, 50, 0.35) 62%);
}

.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--sheet);
  box-shadow: 0 18px 50px rgba(34, 30, 24, 0.08);
}
.spread > * { padding: 42px 40px; }
.spread .verso {
  border-right: 1px solid var(--line);
  box-shadow: inset -18px 0 24px -22px rgba(34, 30, 24, 0.35);
}
.spread .recto {
  box-shadow: inset 18px 0 24px -22px rgba(34, 30, 24, 0.28);
}

.section { padding: 48px 6vw; }
.wrap { max-width: 1100px; margin: 0 auto; }
.olive {
  background: var(--olive);
  color: var(--paper);
}
.olive a { color: #e8c9a8; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat b {
  font-family: var(--head);
  font-style: italic;
  font-size: 2.5rem;
  display: block;
  color: var(--copper);
}
.stat span { color: var(--mute); font-size: 0.88rem; }

.film {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.film a {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--sheet);
  border-right: 1px solid var(--line);
  transition: transform 0.35s ease, background 0.35s ease;
}
.film a:last-child { border-right: 0; }
.film a:hover { transform: translateY(-8px); background: #fff; }
.film img { width: 100%; height: 170px; object-fit: cover; filter: saturate(0.85); }
.film .n {
  margin: 14px 16px 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}
.film h3, .film p { margin-left: 16px; margin-right: 16px; }
.film p:last-child { padding-bottom: 16px; font-size: 0.92rem; color: var(--mute); }

.cols-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.pair {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.pair.flip { grid-template-columns: 0.95fr 1.05fr; }
.figure figcaption {
  margin-top: 8px;
  color: var(--mute);
  font-size: 0.84rem;
  font-style: italic;
}

.sheet-card {
  background: var(--sheet);
  padding: 22px;
  border-top: 4px solid var(--copper);
  box-shadow: 0 10px 0 rgba(47, 59, 40, 0.06);
}

.form {
  display: grid;
  gap: 12px;
  background: var(--sheet);
  border: 1px dashed var(--copper);
  padding: 22px;
}
.form label { display: grid; gap: 6px; font-size: 0.84rem; color: var(--mute); }
.form input, .form select, .form textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 4px;
}
.form textarea { min-height: 110px; resize: vertical; border: 1px solid var(--line); padding: 10px; }
.form button, .btn {
  appearance: none;
  border: 0;
  background: var(--olive);
  color: var(--paper);
  padding: 12px 18px;
  font: 600 0.92rem/1 var(--body);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.btn-line {
  background: transparent;
  color: var(--olive);
  border: 1px solid var(--olive);
  margin-left: 8px;
}
.mute { color: var(--mute); font-size: 0.9rem; }

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.person {
  background: var(--sheet);
  padding: 18px 18px 8px;
  border-left: 4px solid var(--olive);
}

.legal, .inner {
  padding: 36px 6vw 64px;
  max-width: 760px;
  margin: 0 auto;
}
.crumbs { font-size: 0.84rem; color: var(--mute); }

.site-footer {
  background: var(--olive);
  color: #d8dcc8;
  padding: 42px 6vw 22px;
}
.site-footer a { color: #d8dcc8; text-decoration: none; display: block; margin: 0 0 6px; }
.site-footer h4 {
  font-family: var(--head);
  font-style: italic;
  color: #fff;
  margin: 0 0 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.copyright {
  max-width: 1100px;
  margin: 26px auto 0;
  padding-top: 14px;
  border-top: 1px solid #44503c;
  font-size: 0.8rem;
  color: #a7b09a;
}

.cookie {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: min(420px, calc(100vw - 36px));
  background: var(--sheet);
  border: 1px solid var(--olive);
  padding: 16px;
  box-shadow: 8px 10px 0 rgba(47, 59, 40, 0.12);
}
.cookie.is-open { display: block; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.cookie button {
  appearance: none;
  border: 1px solid var(--olive);
  background: var(--olive);
  color: var(--paper);
  padding: 8px 12px;
  font: 600 0.8rem/1 var(--body);
  cursor: pointer;
}
.cookie button.ghost { background: transparent; color: var(--olive); }

.js [data-up] {
  opacity: 0;
  transform: rotate(-0.6deg) translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-up].is-in { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .hero { min-height: 70vh; }
  .hero-card { margin: 0 5vw 28px; }
  .spread, .film, .stats, .cols-3, .pair, .pair.flip, .people, .footer-grid {
    grid-template-columns: 1fr;
  }
  .spread .verso { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 5vw;
    left: 5vw;
    background: var(--sheet);
    border: 1px solid var(--line);
    padding: 14px;
  }
  .nav.is-open { display: grid; gap: 10px; }
  .btn-line { margin-left: 0; margin-top: 8px; }
}
