/* ===================================================================
   VOLTA SOVEREIGN — Design tokens
   =================================================================== */
:root {
  --black: #0A0A0B;
  --black-2: #141416;
  --black-3: #1C1C1F;
  --cream: #E8E6E1;
  --cream-dim: #A8A6A0;
  --gray: #6B6B70;
  --gold: #C9A961;
  --gold-dim: #8F7943;
  --line: rgba(232, 230, 225, 0.08);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --max-width: 1400px;
  --narrow-width: 860px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* subtle film-grain texture overlay for premium feel */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: linear-gradient(to bottom, rgba(10,10,11,0.9), transparent);
  transition: background 0.4s ease, padding 0.4s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mark {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.nav-mark span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--cream-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.lang-btn.is-active {
  background: var(--gold);
  color: var(--black);
}
.lang-btn:not(.is-active):hover {
  color: var(--cream);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-inner {
    padding-right: 20px;
    gap: 12px;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(10, 10, 11, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.is-open {
  max-height: 480px;
}
.mobile-menu a {
  padding: 16px 32px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  border-top: 1px solid var(--line);
  transition: color 0.2s ease;
}
.mobile-menu a:first-child { border-top: none; }
.mobile-menu a:hover { color: var(--cream); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 16px; }
  .nav-mark { font-size: 11px; }
  .lang-btn { padding: 6px 10px; font-size: 11px; }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 32px 80px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.75) 55%, rgba(10,10,11,0.98) 100%);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.5;
  transform: scale(1.05);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 560px;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 16px 34px;
  font-size: 14px;
  letter-spacing: 0.03em;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 169, 97, 0.25);
}
.btn-ghost {
  display: inline-block;
  padding: 16px 34px;
  font-size: 14px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(232,230,225,0.25);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.btn-ghost:hover { border-color: var(--cream); }

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 1px;
  height: 50px;
  background: rgba(232,230,225,0.2);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ===================================================================
   SECTIONS — layout shells
   =================================================================== */
.section {
  padding: 130px 32px;
  position: relative;
}
.section-dark { background: var(--black); }
.section-darker { background: var(--black-2); }
.section-light { background: var(--black); }
.section-contact { background: var(--black-2); border-top: 1px solid var(--line); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.narrow { max-width: var(--narrow-width); margin-left: auto; margin-right: auto; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 26px;
}
.lede {
  font-size: 1.08rem;
  color: var(--cream-dim);
  max-width: 680px;
}
.center .lede { margin-left: auto; margin-right: auto; }
.lede-small {
  font-size: 0.92rem;
  color: var(--gray);
  margin-top: 18px;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   PROBLEM GRID
   =================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 70px;
}
.problem-item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.problem-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.problem-item p {
  color: var(--cream-dim);
  font-size: 0.98rem;
}

.trust-visual {
  max-width: 420px;
  margin: 90px auto 0;
  text-align: center;
}
.trust-visual img {
  border-radius: 4px;
}
.trust-caption {
  margin-top: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream-dim);
}

@media (max-width: 800px) {
  .problem-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ===================================================================
   ENCRYPTION VISUAL
   =================================================================== */
.encryption-visual {
  max-width: 900px;
  margin: 80px auto 0;
  overflow: hidden;
  border-radius: 4px;
}
.encryption-visual img {
  width: 100%;
  object-fit: cover;
  max-height: 420px;
}

/* ===================================================================
   PRODUCT SHOWCASE
   =================================================================== */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 70px;
}
.product-shot img {
  border-radius: 4px;
  margin-bottom: 20px;
}
.shot-caption {
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 480px;
}

@media (max-width: 800px) {
  .product-showcase { grid-template-columns: 1fr; }
}

/* ===================================================================
   COMPONENT GRID
   =================================================================== */
.component-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 70px;
  background: var(--black-3);
}
.component-card.closing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.component-card.closing p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream-dim);
  line-height: 1.5;
}
.component-card {
  background: var(--black-2);
  padding: 28px 24px 30px;
  transition: background 0.3s ease;
}
.component-card:hover { background: #1a1a1d; }
.component-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 18px;
}
.component-card figcaption span {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 6px;
}
.component-card figcaption {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .component-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .component-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   LIFESTYLE BLOCKS
   =================================================================== */
.lifestyle-block {
  max-width: var(--max-width);
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.lifestyle-block:last-child { margin-bottom: 0; }
.lifestyle-block.reverse { grid-template-columns: 1fr 1.3fr; }
.lifestyle-block.reverse img { order: 2; }
.lifestyle-block.reverse .lifestyle-text { order: 1; }
.lifestyle-block img { border-radius: 4px; }
.lifestyle-text .lede { max-width: none; }

@media (max-width: 900px) {
  .lifestyle-block, .lifestyle-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lifestyle-block.reverse img,
  .lifestyle-block.reverse .lifestyle-text { order: unset; }
}

/* ===================================================================
   FOUNDER
   =================================================================== */
.founder-block {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.founder-img {
  border-radius: 4px;
  filter: grayscale(0.15);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
}
.founder-text .lede { max-width: none; }

@media (max-width: 900px) {
  .founder-block { grid-template-columns: 1fr; gap: 36px; }
}

/* ===================================================================
   GUARANTEES
   =================================================================== */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  text-align: left;
}
.guarantee-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.guarantee-item p { color: var(--cream-dim); font-size: 0.96rem; }

@media (max-width: 800px) {
  .guarantee-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq-list {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: left;
}
.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  font-weight: 500;
}
.faq-item p {
  color: var(--cream-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

/* ===================================================================
   ACQUISITION / BOARDROOM
   =================================================================== */
.boardroom-visual {
  max-width: 1100px;
  margin: 0 auto 80px;
  border-radius: 4px;
  overflow: hidden;
}
.boardroom-visual img { width: 100%; object-fit: cover; max-height: 480px; }

#acquisition .section-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--gold);
}

/* ===================================================================
   CONTACT FORM
   =================================================================== */
.contact-form {
  margin-top: 56px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray);
}
.form-row input,
.form-row textarea {
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
}
.form-row textarea { resize: vertical; }

.btn-form {
  border: none;
  cursor: pointer;
  margin-top: 8px;
  align-self: flex-start;
}
.form-status {
  font-size: 0.9rem;
  color: var(--gold);
  min-height: 20px;
}

.contact-direct {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.94rem;
  color: var(--cream-dim);
}
.contact-direct a { border-bottom: 1px solid transparent; transition: border-color 0.25s ease, color 0.25s ease; }
.contact-direct a:hover { color: var(--gold); border-color: var(--gold); }

/* Same --gray on --black-2 contrast issue as .reservation-block (fixed in
   dd96eba) — ~3.47:1, fails WCAG AA. Covers the advisor intro line and the
   contact form's own field labels. .section-contact is the real containing
   class for the #contact section (there's no .contact-block); this also
   harmlessly re-matches .reservation-block's already-fixed elements since
   it's nested inside .section-contact too, with no visual change there. */
.section-contact .lede-small,
.section-contact .form-row label {
  color: var(--cream-dim);
}

/* Honeypot: kept in normal layout flow (not display:none/visibility:hidden,
   which some bots detect and skip) but moved fully off-screen and out of
   tab order/accessibility tree for real visitors. */
.form-honeypot {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row-checkbox label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.92rem;
  color: var(--cream-dim);
}
.form-row-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.reservation-block {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.reservation-title {
  font-size: 1.4rem;
  margin-top: 8px;
  margin-bottom: 12px;
}
/* --gray on --black-2 is ~3.47:1, below WCAG AA (4.5:1) for this section's
   intro copy and field labels — scoped override reuses --cream-dim, already
   the site's established secondary-text color at this contrast level (see
   .lede), rather than touching --gray globally where it still reads fine
   (captions, footer). The lang toggle had the same issue against --black
   (~3.73:1) and is fixed directly on .lang-btn above, since that class
   isn't shared with anything else. */
.reservation-block .lede-small,
.reservation-block .form-row label {
  color: var(--cream-dim);
}

/* Same --gray on --black-2 issue, acquisition section's secondary copy
   (~3.47:1). Scoped via #acquisition since .section-darker is shared with
   #interieur, which isn't part of this fix. */
#acquisition .lede-small {
  color: var(--cream-dim);
}

@media (max-width: 600px) {
  .btn-form { align-self: stretch; text-align: center; }
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  padding: 50px 32px;
  border-top: 1px solid var(--line);
  background: var(--black);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner p {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ===================================================================
   RESPONSIVE — global tightening for mobile
   =================================================================== */
@media (max-width: 700px) {
  .section { padding: 90px 22px; }
  .hero { padding: 120px 22px 60px; }
  .nav-inner { padding: 0 22px; }
  .founder-img { max-width: 320px; margin: 0 auto; }
}

/* keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
