/* ==========================================================================
   Vortex Ventures — site.css
   Palette: midnight navy, gold, white, black
   Type:    Marcellus (display) / Source Sans 3 (text)
   ========================================================================== */

:root {
  --black:      #000000;
  --ink:        #03162A;   /* logo ground — midnight navy */
  --navy:       #0A2C4C;
  --navy-deep:  #072238;
  --cyan:       #70D0E8;   /* logo mark */
  --cyan-deep:  #2A7E9B;   /* accessible cyan on white */
  --gold:       #C8A344;
  --gold-soft:  #E8D29A;
  --paper:      #FFFFFF;
  --mist:       #EDF2F7;
  --slate:      #44566B;

  --display: "Marcellus", Georgia, "Times New Roman", serif;
  --text: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.5rem, 6.2vw, 4.4rem);
  --fs-h2:      clamp(1.8rem, 3.4vw, 2.75rem);
  --fs-h3:      clamp(1.15rem, 1.6vw, 1.35rem);
  --fs-lead:    clamp(1.05rem, 1.6vw, 1.25rem);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 66ch;
  --shell: 1180px;
  --band: clamp(4rem, 9vw, 7.5rem);
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }  /* never let an HTML height attribute distort a scaled image */
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin: 0;
}
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

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

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 0.7rem 1.1rem;
}
.skip:focus { left: 0; }

/* --- header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(3, 22, 42, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: rgba(200, 163, 68, 0.28);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px;
}

.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--paper); }
.wordmark img { width: auto; height: 34px; flex: none; }
.wordmark .wm { display: grid; line-height: 1; }
.wordmark .wm b {
  font-family: var(--display); font-weight: 400;
  font-size: 1.14rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.wordmark .wm i {
  font-style: normal; color: var(--cyan);
  font-size: 0.62rem; letter-spacing: 0.44em; text-transform: uppercase;
  margin-top: 0.3rem;
}

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.1rem); }
.nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover { color: var(--paper); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  background: none; border: 1px solid rgba(255,255,255,.28); color: var(--paper);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 1px; background: currentColor; margin-inline: auto;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(3, 22, 42, 0.98);
    border-bottom: 1px solid rgba(200,163,68,.3);
    padding: 0.5rem var(--gutter) 1.4rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: rgba(200,163,68,.55); }
}

/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 62% 44%, #0F4368 0%, var(--navy-deep) 40%, var(--ink) 100%);
  color: var(--paper);
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero--page { min-height: auto; padding: clamp(8rem, 16vw, 11rem) 0 clamp(3.5rem, 7vw, 5rem); }
#vortex { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,22,42,.93) 0%, rgba(3,22,42,.72) 32%, rgba(3,22,42,0) 64%);
}
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(3,22,42,.42) 0%, rgba(3,22,42,.82) 45%, rgba(3,22,42,.94) 100%); }
}
.hero .shell { position: relative; z-index: 2; }

.hero h1 { font-size: var(--fs-display); max-width: 15ch; }
.hero--page h1 { max-width: 20ch; }
.hero p {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.78);
  max-width: 54ch;
  margin-top: 1.6rem;
}
.rule-gold { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 0 0 2rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.6rem; }
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--text); font-size: 0.99rem; letter-spacing: 0.03em;
  padding: 0.85rem 1.7rem; border: 1px solid var(--gold);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* --- bands ---------------------------------------------------------------- */
.band { padding: var(--band) 0; }
.band--mist { background: var(--mist); }
.band--navy { background: var(--navy-deep); color: var(--paper); }
.band--black { background: var(--black); color: var(--paper); }
.band--navy p, .band--black p { color: rgba(255,255,255,.76); }

.band h2 { font-size: var(--fs-h2); max-width: 22ch; }
.lead { font-size: var(--fs-lead); color: var(--slate); }
.band--navy .lead, .band--black .lead { color: rgba(255,255,255,.8); }

/* two-column statement */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; } }
.split .statement { font-family: var(--display); font-size: var(--fs-h2); line-height: 1.16; }

/* service columns: vertical gold rules, no cards */
.columns { display: grid; gap: clamp(2rem, 4vw, 3rem); margin-top: clamp(2.5rem, 5vw, 3.75rem); }
@media (min-width: 820px) { .columns--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) { .columns--2 { grid-template-columns: repeat(2, 1fr); } }
.column { border-top: 2px solid var(--gold); padding-top: 1.4rem; }
.band--navy .column, .band--black .column { border-top-color: var(--cyan); }
.column h3 { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.column p { color: var(--slate); max-width: 40ch; }
.band--navy .column p, .band--black .column p { color: rgba(255,255,255,.72); }

/* numbered sequence — used only where content is genuinely sequential */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.step {
  counter-increment: step;
  display: grid; gap: 0.4rem 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 760px) { .step { grid-template-columns: 5rem 1fr 1.4fr; align-items: baseline; } }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 1.5rem; color: var(--cyan);
}
.step h3 { font-size: var(--fs-h3); }
.step p { color: rgba(255,255,255,.7); }

/* paired list (bridging the gap between …) */
.pairs { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; gap: 0; }
.pairs li {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(11,42,74,.16);
  font-family: var(--display); font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  display: flex; align-items: baseline; gap: 1rem;
}
.pairs li::before { content: "◇"; color: var(--gold); font-size: 0.7em; flex: none; }
.band--navy .pairs li, .band--black .pairs li { border-bottom-color: rgba(255,255,255,.14); }

/* plain gold-marked list */
.marked { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.marked li { padding: 0.65rem 0 0.65rem 1.6rem; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
.marked li::before { content: ""; position: absolute; left: 0; top: 1.28em; width: 10px; height: 1px; background: var(--gold); }
.band--mist .marked li, .band:not(.band--navy):not(.band--black) .marked li { border-bottom-color: rgba(11,42,74,.16); }

/* --- contact form --------------------------------------------------------- */
.form { margin-top: 2.5rem; display: grid; gap: 1.1rem; max-width: 620px; }
@media (min-width: 680px) { .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; letter-spacing: 0.03em; color: rgba(255,255,255,.72); }
.field input, .field textarea {
  font-family: var(--text); font-size: 1rem; color: var(--paper);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.22);
  padding: 0.8rem 0.9rem; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(255,255,255,.08); }
.field textarea { min-height: 150px; resize: vertical; }
.form-status { margin: 0; font-size: 0.97rem; min-height: 1.4em; }
.form-status[data-state="ok"] { color: var(--gold-soft); }
.form-status[data-state="error"] { color: #F3A9A0; }
.hp { position: absolute; left: -9999px; }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.66); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h3 { font-family: var(--text); font-size: 0.9rem; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 0.9rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer address { font-style: normal; max-width: 34ch; }
.legal {
  margin-top: 2.75rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 0.86rem; color: rgba(255,255,255,.48);
}

/* --- motion preference ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
