/*
Theme Name: VSD Photograph
Theme URI: https://vsdphotograph.fr
Author: Valentin Suire-Duron
Author URI: https://vsdphotograph.fr
Description: Thème éditorial pour VSD Photograph. Photo ou vidéo, jamais les deux.
Version: 1.3.3
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: vsd-photograph
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Sora:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0E0E0E;
  --bg-elevated: #151515;
  --paper: #EDE6D9;
  --paper-rgb: 237, 230, 217;
  --stone: #8A847A;
  --stone-dark: #33312E;
  --red: #B42318;
  --red-hover: #D92D20;
  --display: 'Instrument Serif', Georgia, serif;
  --ui: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--bg);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--paper);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.lock {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--red);
  color: var(--paper);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
  transition: top 0.2s var(--ease);
}
.skip:focus {
  top: 1rem;
}

/* Texture Grain & Vignette */
.grain {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 900;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 899;
  background: radial-gradient(ellipse at center, rgba(14, 14, 14, 0) 40%, rgba(14, 14, 14, 0.65) 100%);
}

/* Curseur Custom */
html.has-cursor,
html.has-cursor a,
html.has-cursor button,
html.has-cursor input,
html.has-cursor textarea,
html.has-cursor select,
html.has-cursor .tile,
html.has-cursor .choice-btn {
  cursor: none !important;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.2s ease, transform 0.15s cubic-bezier(0.1, 0.7, 0.1, 1);
  will-change: transform;
}

.cursor-dot {
  width: 100%;
  height: 100%;
  background-color: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(180, 35, 24, 0.6);
  transition: transform 0.2s cubic-bezier(0.1, 0.7, 0.1, 1), background-color 0.2s ease;
}

.cursor.is-hot .cursor-dot {
  transform: scale(2.2);
  background-color: var(--paper);
  box-shadow: 0 0 12px rgba(237, 230, 217, 0.8);
}

.cursor.is-hidden {
  opacity: 0;
}

/* Header */
body.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 800;
  padding: 1.5rem 2rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.is-on {
  background-color: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(237, 230, 217, 0.08);
  padding: 1rem 2rem;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--ui);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  color: var(--paper);
  text-transform: uppercase;
  display: inline-flex;
  gap: 0.35rem;
  align-items: baseline;
}

.wordmark .vsd {
  color: var(--paper);
}

.wordmark .ph {
  color: var(--stone);
  font-weight: 400;
  font-size: 0.95rem;
}

.nav-desk {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .nav-desk { display: flex; }
  .burger { display: none; }
}

.nav-desk a {
  color: var(--stone);
  text-decoration: none;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-desk a:hover,
.nav-desk a:focus {
  color: var(--paper);
}

.nav-desk a.nav-cta {
  color: var(--paper);
  border: 1px solid rgba(237, 230, 217, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 2px;
}
.nav-desk a.nav-cta:hover {
  border-color: var(--red);
  color: var(--red);
}

.burger {
  background: transparent;
  border: none;
  color: var(--paper);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.burger span {
  display: block;
  height: 2px;
  background-color: var(--paper);
  transition: width 0.2s ease;
}
.burger span:nth-child(1) { width: 26px; }
.burger span:nth-child(2) { width: 18px; }

/* Overlay Mobile Menu */
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: var(--bg);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  justify-content: space-between;
}

.overlay.is-open {
  display: flex;
}

.overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: auto 0;
}

.overlay-nav a {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-style: italic;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.overlay-nav a:hover {
  color: var(--red);
  transform: translateX(10px);
}

.overlay-footer {
  display: flex;
  justify-content: space-between;
  color: var(--stone);
  font-size: 0.85rem;
  border-top: 1px solid var(--stone-dark);
  padding-top: 1.5rem;
}

/* Layout & Typography */
.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .wrap { padding: 0 2.5rem; }
}

.rule {
  width: 72px;
  height: 2px;
  background-color: var(--red);
  border: none;
  margin: 1.5rem 0;
}

.rule.center {
  margin: 1.5rem auto;
}

.kicker {
  color: var(--red);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.1;
  color: var(--paper);
}

.display-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.italic-serif {
  font-family: var(--display);
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--ui);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-fill {
  background-color: var(--red);
  color: var(--paper);
}
.btn-fill:hover {
  background-color: var(--red-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--paper);
  border-color: rgba(237, 230, 217, 0.3);
}
.btn-ghost:hover {
  border-color: var(--paper);
  background-color: rgba(237, 230, 217, 0.05);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-still {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-still img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.7) brightness(0.55);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  background: linear-gradient(180deg, rgba(14,14,14,0.4) 0%, rgba(14,14,14,0.7) 60%, rgba(14,14,14,0.98) 100%),
              radial-gradient(circle at center, transparent 0%, rgba(14,14,14,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-title {
  font-family: var(--ui);
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-title .sub {
  color: var(--stone);
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  text-transform: capitalize;
  letter-spacing: 0;
  display: block;
}

.hero-italic {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  color: var(--paper);
  max-width: 650px;
  line-height: 1.35;
  margin: 1rem 0;
}

.hero-location {
  color: var(--stone);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  right: 2.5rem;
  top: 58%;
  bottom: auto;
  z-index: 3;
  color: var(--stone);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@media (min-width: 900px) {
  .hero-scroll { display: block; }
}


/* Bento Prestations */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
  }
}

.bento-card {
  background-color: var(--bg-elevated);
  border: 1px solid rgba(237, 230, 217, 0.08);
  padding: 2.5rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.bento-card:hover {
  border-color: rgba(237, 230, 217, 0.25);
  transform: translateY(-3px);
}

.bento-card.col-7 { grid-column: span 12; }
.bento-card.col-5 { grid-column: span 12; }
.bento-card.col-6 { grid-column: span 12; }

@media (min-width: 768px) {
  .bento-card.col-7 { grid-column: span 7; }
  .bento-card.col-5 { grid-column: span 5; }
  .bento-card.col-6 { grid-column: span 6; }
}

.bento-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.bento-title {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  font-family: var(--ui);
  font-weight: 600;
}

.bento-desc {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.bento-meta {
  border-top: 1px solid rgba(237, 230, 217, 0.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bento-promise {
  margin-top: 3rem;
  padding: 2rem;
  border-left: 2px solid var(--red);
  background: rgba(237, 230, 217, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bento-promise strong {
  color: var(--paper);
  font-size: 1.1rem;
}
.bento-promise p {
  color: var(--stone);
  font-size: 0.95rem;
}

/* Portfolio & Masonry */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.chip {
  background: transparent;
  border: 1px solid rgba(237, 230, 217, 0.15);
  color: var(--stone);
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--ui);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.chip.is-on {
  background-color: var(--paper);
  color: var(--bg);
  border-color: var(--paper);
  font-weight: 600;
}

.masonry {
  columns: 1;
  column-gap: 1.5rem;
}

@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; } }

.tile {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  background-color: var(--bg-elevated);
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
}

.tile.is-off {
  display: none;
}

.tile-media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tile-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: contrast(1.05) brightness(0.9);
}

.tile:hover .tile-media img {
  transform: scale(1.04);
  filter: contrast(1.1) brightness(1);
}

.tile-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(14,14,14,0.85) 100%);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.tile-info {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 2;
}

.tile-cat {
  color: var(--red);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.tile-title {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--paper);
  line-height: 1.2;
}

.tile-meta {
  color: var(--stone);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Lightbox */
.lb {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(14, 14, 14, 0.96);
  z-index: 10000;
  place-items: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.lb.is-open {
  display: grid;
}

.lb-dialog {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lb-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--paper);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lb-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lb-meta {
  margin-top: 1rem;
  text-align: center;
}

.lb-cat {
  color: var(--red);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.lb-cap {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--paper);
  margin-top: 0.25rem;
}

/* Approche Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(237, 230, 217, 0.08);
  padding: 2.5rem 2rem;
  border-radius: 2px;
}

.step-card .n {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--red);
  font-style: italic;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Split */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .about-grid { grid-template-columns: 5fr 7fr; }
}

.portrait-box {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(237, 230, 217, 0.1);
}

.portrait-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) grayscale(20%);
}

.about-body p {
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-body p.lead {
  font-family: var(--display);
  font-size: 1.85rem;
  font-style: italic;
  color: var(--paper);
  line-height: 1.35;
  margin-bottom: 2rem;
}

/* Contact Teaser */
.contact-teaser {
  padding-bottom: 6rem;
  text-align: center;
}

.contact-teaser-box {
  background: radial-gradient(circle at center, rgba(180, 35, 24, 0.12) 0%, rgba(21, 21, 21, 0.8) 100%);
  border: 1px solid rgba(180, 35, 24, 0.3);
  padding: 5rem 2rem;
  border-radius: 4px;
}

.contact-teaser-box h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.contact-teaser-box p {
  color: var(--stone);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

/* Contact Page Dedicated */
.legal-page {
  padding: 8rem 0 6rem;
  min-height: 80vh;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--stone);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.back:hover {
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 5fr 7fr; }
}

.contact-info h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-direct {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(237, 230, 217, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-direct a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-direct a:hover {
  color: var(--red);
}

/* Form Styles */
.form-card {
  background-color: var(--bg-elevated);
  border: 1px solid rgba(237, 230, 217, 0.08);
  padding: 2.5rem;
  border-radius: 4px;
}

.field {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.field label,
.choice-legend {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="date"],
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237, 230, 217, 0.25);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 1rem;
  padding: 0.75rem 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="date"]:focus,
.field textarea:focus {
  border-bottom-color: var(--red);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field select, .field option {
  color-scheme: dark;
}

/* Choice Fieldset & Buttons (Pas de select natif) */
.choice {
  border: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.choice.is-off {
  display: none;
}

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

.choice-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(237, 230, 217, 0.2);
  color: var(--paper);
  font-size: 0.85rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.choice-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-btn:hover {
  border-color: rgba(237, 230, 217, 0.5);
}

.choice-btn:has(input:checked) {
  background-color: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.success {
  background: rgba(180, 35, 24, 0.1);
  border: 1px solid var(--red);
  padding: 2.5rem;
  border-radius: 4px;
}

.success h3 {
  font-family: var(--display);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--paper);
}

.success p {
  color: var(--stone);
  font-size: 1rem;
}

.alert-error {
  background: rgba(180, 35, 24, 0.15);
  border: 1px solid var(--red);
  color: var(--paper);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.form-aside {
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(237, 230, 217, 0.08);
  padding: 4rem 0 3rem;
  font-size: 0.85rem;
  color: var(--stone);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.footer-links a {
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--paper);
}

/* Generic Post / Legal Content */
.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-family: var(--ui);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--paper);
}

.legal-content p, .legal-content ul {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* Header override */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--paper);
  flex-shrink: 0;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: inherit;
}
.wordmark .vsd {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--paper);
}
.wordmark .ph {
  font-family: var(--ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
}
.nav-desk {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.75rem;
}
.nav-desk a {
  display: inline-block;
  color: var(--stone);
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}
.nav-desk a.nav-cta {
  color: var(--paper);
  border: 1px solid rgba(237, 230, 217, 0.3);
  padding: 0.45rem 1rem;
  margin-left: 0.35rem;
  margin-right: 0.15rem;
}
.nav-desk a.nav-cta:hover {
  border-color: var(--red);
  color: var(--red);
}
.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--paper);
}
.burger span:nth-child(1) { width: 26px; }
.burger span:nth-child(2) { width: 18px; }
@media (min-width: 960px) {
  .nav-desk { display: flex; }
  .burger { display: none; }
}
@media (max-width: 959px) {
  .nav-desk { display: none; }
  .burger { display: flex; }
}

/* Hero final override */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 6rem 0 4rem;
}
.hero-still img {
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.04) saturate(0.88) brightness(0.78);
  transform: none;
}
.hero .wrap.hero-content,
.hero-content.wrap {
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  padding-left: clamp(4.5rem, 14vw, 18rem);
  padding-right: 2.5rem;
  max-width: none;
}
.hero-title,
.hero-italic,
.hero-location,
.hero-actions {
  text-align: left;
}
@media (max-width: 959px) {
  .hero .wrap.hero-content,
  .hero-content.wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
