/* ============================================================
   Veyronne Capital AG — Stylesheet
   Palette: deep navy + champagne gold on warm white
   ============================================================ */

:root {
  --navy:        #0e2742;
  --navy-deep:   #091a2e;
  --navy-soft:   #163457;
  --gold:        #c2a15b;
  --gold-soft:   #d8c198;
  --gold-deep:   #a8853f;
  --ink:         #1b2533;
  --muted:       #5d6675;
  --muted-light: #8a93a1;
  --bg:          #ffffff;
  --bg-alt:      #f7f5f0;
  --bg-navy:     #0e2742;
  --line:        #e7e3d9;
  --line-soft:   #efece4;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.3rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); }

p { color: var(--muted); }
p + p { margin-top: 1.1rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
  display: inline-block;
}

.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.divider-rule {
  width: 54px; height: 2px; background: var(--gold);
  border: none; margin-bottom: 1.6rem;
}
.text-center { text-align: center; }
.measure { max-width: 720px; }
.measure-center { max-width: 760px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.btn--primary { background: var(--gold); color: var(--navy-deep); }
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--light:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__logo { height: 46px; width: auto; display: block; }
.brand__word { height: 21px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 1.55rem; list-style: none; }
.nav__links a {
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
  letter-spacing: 0.005em; position: relative; padding-block: 0.4rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--navy); font-weight: 600; }

.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 30px; height: 24px; position: relative;
}
.nav__toggle span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--navy); transition: all 0.3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 11px; }
.nav__toggle span:nth-child(3) { top: 20px; }
.nav__toggle.is-open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background-color: var(--navy);
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(194,161,91,0.22), transparent 60%),
    linear-gradient(102deg, rgba(9,26,46,0.94) 0%, rgba(9,26,46,0.83) 42%, rgba(14,39,66,0.55) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(5rem, 12vw, 9rem);
  max-width: 880px;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold-soft); }
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.65; margin-top: 1.6rem; max-width: 660px;
}
.hero__rule { width: 60px; height: 2px; background: var(--gold); margin-bottom: 1.8rem; }

.hero--page .hero__inner { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.hero--page h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.split {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}

.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 4px; padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -28px rgba(14,39,66,0.35);
  border-color: var(--gold-soft);
}
.card__num {
  font-family: var(--serif); font-size: 2.2rem; color: var(--gold);
  font-weight: 600; line-height: 1; margin-bottom: 1rem; display: block;
}
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.97rem; }

/* feature blocks (alternating) */
.feature { display: grid; grid-template-columns: 0.4fr 1.6fr; gap: clamp(1.5rem,4vw,3.5rem); }
.feature + .feature { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem,5vw,4rem); border-top: 1px solid var(--line); }
.feature__label .eyebrow { margin-bottom: 0; }
.feature h3 { margin-bottom: 0.9rem; }

/* value list */
.values { list-style: none; display: grid; gap: 1.4rem; }
.values li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.values .mark {
  width: 9px; height: 9px; margin-top: 0.55rem;
  background: var(--gold); transform: rotate(45deg); flex-shrink: 0;
}
.values strong { color: var(--navy); font-weight: 600; }

/* ---------- Notice / disclaimer ---------- */
.notice {
  border-left: 3px solid var(--gold);
  background: var(--bg-alt);
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem,3vw,2.4rem);
  border-radius: 0 4px 4px 0;
}
.notice p { color: var(--ink); font-size: 0.97rem; }
.notice .eyebrow { color: var(--gold-deep); }

.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.8); }
.section--navy .eyebrow { color: var(--gold-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-band::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(700px 400px at 85% 120%, rgba(194,161,91,0.2), transparent 60%);
}
.cta-band__inner { position: relative; text-align: center; padding-block: clamp(3.5rem,7vw,5.5rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 1rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.info-block { margin-bottom: 2rem; }
.info-block .eyebrow { margin-bottom: 0.5rem; }
.info-block p, .info-block a { color: var(--ink); font-size: 1.02rem; }
.info-block a:hover { color: var(--gold-deep); }

.form-field { margin-bottom: 1.3rem; }
.form-field label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.45rem;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1px solid var(--line);
  border-radius: 3px; background: #fff; transition: border-color 0.2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--muted-light); margin-top: 0.6rem; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.6rem; margin-bottom: 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.2rem; color: var(--muted); }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer__logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.footer__logo .brand__logo { height: 54px; }
.footer__logo .brand__word { height: 24px; }
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-top: 1.2rem; max-width: 320px; }
.footer__col h4 {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; font-weight: 600;
}
.footer__col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer__col a { font-size: 0.92rem; color: rgba(255,255,255,0.7); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
.footer__bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer__legal a:hover { color: var(--gold-soft); }
.footer__disclaimer {
  font-size: 0.78rem !important; color: rgba(255,255,255,0.4) !important;
  padding-bottom: 2rem; max-width: 900px; line-height: 1.6;
}

/* ---------- Image media block ---------- */
.media {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.media__img {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 34px 64px -38px rgba(14,39,66,0.55);
}
.media__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.media:hover .media__img img { transform: scale(1.04); }
.media--reverse .media__text { order: 2; }
.media__caption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 1.4rem 1.4rem 1rem;
  background: linear-gradient(transparent, rgba(9,26,46,0.78));
  color: #fff; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
}

/* full-width image band */
.imgband {
  position: relative; color: #fff; overflow: hidden;
  background-color: var(--navy); background-size: cover; background-position: center;
}
.imgband::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,26,46,0.55) 0%, rgba(9,26,46,0.72) 100%);
}
.imgband__inner { position: relative; z-index: 1; text-align: center; padding-block: clamp(4rem, 9vw, 7rem); }
.imgband h2 { color: #fff; }
.imgband p { color: rgba(255,255,255,0.88); margin-top: 1rem; }
.imgband .eyebrow { color: var(--gold-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

/* Collapse the menu to a hamburger before the links can crowd/overlap */
@media (max-width: 1040px) {
  .nav__toggle { display: block; z-index: 120; }
  .nav__links {
    position: fixed; inset: 79px 0 auto 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.5rem var(--gutter) 1.75rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.35s var(--ease);
    box-shadow: 0 24px 44px -26px rgba(14,39,66,0.45);
    max-height: calc(100vh - 79px); overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block; padding: 1rem 0; width: 100%;
    border-bottom: 1px solid var(--line-soft); font-size: 1rem;
  }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { color: var(--gold-deep); }
  .nav__cta { margin: 1.1rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand__logo { height: 38px; }
  .brand__word { height: 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 0.5rem; }
  .media { grid-template-columns: 1fr; gap: 1.75rem; }
  .media--reverse .media__text { order: 0; }
  .media__img { aspect-ratio: 3 / 2; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}
