/* =========================================================================
   Valadier Ventures LLC — one-page site
   Design system reused from mylifeguardian.app (type stack, component
   shapes, layout), re-themed from pine-teal to the gold from our own logo.
   ========================================================================= */

:root {
  /* palette */
  --paper:      #FCFBF8;
  --paper-2:    #F4F2EC;
  --gold-tint:  #F7F2E9;
  --gold:       #BB934A;
  --gold-600:   #A07D3C;
  --gold-800:   #654E26;
  --gold-900:   #251D0E;
  --gold-950:   #151109;
  --gold-bright:#DDBB7E;
  --gold-muted: #D6CFC2;
  --ink:      #16231E;
  --ink-soft: #55655F;
  --line:     #E6E7E0;
  --white:    #ffffff;

  /* type */
  --f-display: "Bricolage Grotesque", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-sans:    "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* metrics */
  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 56px);
  --measure-wide: 820px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16,35,30,.04), 0 18px 40px -24px rgba(16,35,30,.22);
  --shadow-sm: 0 1px 2px rgba(16,35,30,.05), 0 8px 24px -18px rgba(16,35,30,.20);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
em { font-style: normal; color: var(--gold-600); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sr-only, .skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--gold); color: #fff; padding: 10px 16px; border-radius: 10px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.eyebrow {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--gold-600);
  margin: 0 0 18px;
}
.eyebrow--light { color: var(--gold-bright); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-sans); font-weight: 600; font-size: 15.5px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { --btn-bg: var(--gold); --btn-fg: #fff; box-shadow: 0 10px 22px -12px rgba(187,147,74,.55); }
.btn--solid:hover { --btn-bg: var(--gold-600); box-shadow: 0 14px 26px -12px rgba(187,147,74,.65); }
.btn--ghost { --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--gold); --btn-fg: var(--gold-600); }
.btn--onDark { --btn-bg: var(--paper); --btn-fg: var(--gold-900); }
.btn--onDark:hover { --btn-bg: #fff; }
.btn--lg { padding: 14px 24px; font-size: 16.5px; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.brand__mark { display: grid; place-items: center; width: 32px; height: 32px; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__accent { color: var(--gold); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15.5px; color: var(--ink-soft); }
.nav__links a { position: relative; padding: 4px 0; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--gold); transition: right .25s ease; }
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }

.nav__mobile { display: none; }
.nav__mobile a { padding: 14px 4px; border-top: 1px solid var(--line); font-weight: 600; font-size: 17px; display: block; }
.nav__mobile .btn { margin: 14px 0 4px; justify-content: center; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(16px, 3vw, 36px); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% 0 auto 0; height: 620px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 70% at 78% 8%, rgba(187,147,74,.18), transparent 60%),
    radial-gradient(58% 80% at 18% 0%, rgba(187,147,74,.12), transparent 62%),
    radial-gradient(90% 60% at 50% -10%, var(--gold-tint), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 980px; margin-inline: auto; }
.hero__mark { width: 84px; height: auto; margin: 0 auto 28px; }
.hero__title { font-size: clamp(2.5rem, 6.2vw, 4.5rem); font-weight: 600; margin-bottom: 22px; }
.hero__lede { font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: var(--measure-wide); margin: 0 auto 34px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   SECTIONS / SHARED
   ========================================================================= */
.section { padding-block: clamp(72px, 11vw, 128px); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section__head { max-width: var(--measure-wide); margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
.section__lede { color: var(--ink-soft); font-size: 1.06rem; max-width: 62ch; margin: 16px auto 0; }

/* ---- Build / Launch / Grow: an endless cycle ---- */
.cycle { margin: 0; }
.cycle__svg { width: 100%; height: auto; display: block; }

.cycle-track { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 6 10; }
.cycle.is-in .cycle-track { animation: cycle-flow 1.6s linear infinite; }

.cycle-arrow path { fill: var(--gold); opacity: .5; }

.cycle-dot { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(187,147,74,.75)); opacity: 0; offset-rotate: 0deg; offset-path: path("M580,140 A120,120 0 1,1 580,380 A120,120 0 1,1 580,140"); }
.cycle.is-in .cycle-dot { opacity: 1; animation: cycle-travel 9s linear infinite; }

.cycle-node__glow { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.cycle.is-in .cycle-node--build .cycle-node__glow { animation: cycle-pulse 9s linear infinite; }
.cycle.is-in .cycle-node--launch .cycle-node__glow { animation: cycle-pulse 9s linear infinite 3s; }
.cycle.is-in .cycle-node--grow .cycle-node__glow { animation: cycle-pulse 9s linear infinite 6s; }

.cycle-node__bg { fill: var(--gold-tint); }
.cycle-node__icon { fill: none; stroke: var(--gold-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cycle-node__num { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; fill: var(--gold-600); }
.cycle-node__title { font-family: var(--f-display); font-weight: 600; font-size: 24px; fill: var(--ink); }

@keyframes cycle-flow { to { stroke-dashoffset: -32; } }
@keyframes cycle-travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes cycle-pulse {
  0%   { opacity: 0; transform: scale(.85); }
  8%   { opacity: .8; transform: scale(1.12); }
  24%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}

.cycle__legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(8px, 2vw, 24px); }
.cycle__legend-item { text-align: center; padding-inline: clamp(6px, 2vw, 18px); }
.cycle__legend-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cycle__legend-item p { color: var(--ink-soft); font-size: .98rem; }

/* ---- Venture / portfolio feature ---- */
.venture {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  background: linear-gradient(180deg, #fff, var(--paper)); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow);
}
.venture__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); background: var(--gold-tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.venture__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.venture__title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.venture__body { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 22px; }
.venture__list { display: grid; gap: 10px; margin-bottom: 26px; }
.venture__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .98rem; }
.venture__list li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--gold-600); }
.venture__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.venture__art { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--gold-950); box-shadow: var(--shadow); aspect-ratio: 16/11; display: grid; place-items: center; padding: clamp(20px,3vw,36px); }
.venture__art-inner { color: #fff; text-align: center; }
.venture__art-word { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; }
.venture__art-word em { color: var(--gold-bright); }
.venture__art-tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-muted); margin-top: 10px; }

/* ---- Approach / dark promise strip ---- */
.approach { position: relative; background: linear-gradient(180deg, var(--gold-950), var(--gold-900)); color: #fff; overflow: hidden; }
.approach__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 85% 0%, rgba(221,187,126,.14), transparent 60%), radial-gradient(60% 60% at 10% 100%, rgba(187,147,74,.16), transparent 62%); }
.approach__inner { position: relative; z-index: 1; }
.approach__head { max-width: var(--measure-wide); margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.approach__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: #fff; }
.approach__lede { color: var(--gold-muted); font-size: 1.05rem; max-width: 62ch; margin: 16px auto 0; }
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.promise { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px; border-radius: 14px; transition: background .2s ease; }
.promise:hover { background: rgba(255,255,255,.05); }
.promise__ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); color: var(--gold-bright); display: grid; place-items: center; }
.promise__ic svg { width: 22px; height: 22px; }
.promise h3 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.promise p { color: var(--gold-muted); font-size: .96rem; line-height: 1.55; }

/* ---- Contact ---- */
.contact__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.contact__title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.contact__lede { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 30px; }
.contact__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact__meta { margin-top: 26px; color: var(--ink-soft); font-size: .95rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: 48px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; }
.footer__tag { color: var(--ink-soft); font-size: 14.5px; margin-top: 12px; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.footer__nav a:hover { color: var(--gold-600); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 22px 36px; font-size: 12.5px; color: var(--ink-soft); }
.footer__base a:hover { color: var(--gold-600); }

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
  .nav__toggle span { width: 18px; height: 2px; background: var(--ink); margin-inline: auto; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__mobile:not([hidden]) { display: flex; flex-direction: column; padding: 4px var(--pad) 20px; background: var(--paper); border-bottom: 1px solid var(--line); }

  .cycle__legend { grid-template-columns: 1fr; }
  .venture { grid-template-columns: 1fr; }
  .venture__art { order: -1; }
  .promises { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
}

@media (max-width: 700px) {
  /* the cycle diagram stays legible and swipes horizontally rather than shrinking its text */
  .cycle { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cycle__svg { min-width: 620px; }
}

/* =========================================================================
   MOTION / A11Y
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
