/* ============================================================
   Argos Consult — design tokens
   Palette lifted from the live argosrevenuecommand.com brand
   so all three Argos properties feel like one company.
   ============================================================ */

:root {
  --bg: #1c1f1a;
  --bg-darker: #151813;
  --bg-elevated: #23271f;
  --cream: #edebe4;
  --taupe: #a99e89;
  --dim: #6b6d62;
  --gold: #c9a84c;
  --gold-strong: #ddbb5c;
  --border: rgba(237, 235, 228, 0.12);
  --border-strong: rgba(237, 235, 228, 0.22);

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-darker);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--bg-darker); }

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

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 18px;
}
.eyebrow.center { text-align: center; }

.display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--cream);
}

.display-sm {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--cream);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.25;
  margin: 0 auto 28px;
  max-width: 760px;
  color: var(--cream);
}
.section-title.center { text-align: center; }

.lede {
  font-size: 1.15rem;
  color: var(--taupe);
  max-width: 560px;
  margin: 0 0 36px;
}
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }

.center { text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 150ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-gold {
  background: var(--gold);
  color: var(--bg-darker);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-strong); border-color: var(--gold-strong); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-small { padding: 11px 20px; font-size: 0.72rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 31, 26, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(21, 24, 19, 0.92);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo { height: 30px; width: auto; }
.brand-suffix {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 12px;
  border-left: 1px solid var(--border-strong);
}

.site-nav {
  display: flex;
  gap: 36px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.site-nav a { color: var(--taupe); transition: color 200ms ease; }
.site-nav a:hover { color: var(--cream); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1px;
  margin: 0 auto;
  width: 18px;
  background: var(--cream);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-darker);
  z-index: 99;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px 32px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav nav { display: flex; flex-direction: column; gap: 28px; }
.mobile-nav nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
}

/* ---------- Sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--bg-darker);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 15px 24px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease, visibility 200ms ease;
}
.sticky-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 168, 76, 0.45);
  background: var(--gold-strong);
}
.sticky-cta svg { width: 16px; height: 16px; flex: none; }
.sticky-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  .sticky-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.78rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero-compass-wrap {
  --hero-compass-width: 1300px;
  position: absolute;
  top: -30%;
  right: -22%;
  width: var(--hero-compass-width);
  max-width: none;
  aspect-ratio: 900 / 506;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.hero-compass {
  --hero-compass-opacity: 0.14;
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: var(--hero-compass-opacity);
  will-change: transform;
}

/* Fixed directional lighting: an SVG mask whose aperture is the artwork's
   own silhouette, rotated in sync with the visible image (see script.js)
   — so the lit shape always matches the artwork's current rotation
   exactly, with nothing leaking outside it. Underneath that rotating
   aperture, the two gradient fills stay completely fixed in screen
   space: one brightens the top-left, one darkens the bottom-right. As
   the artwork spins, any given point brightens passing through the
   top-left zone and dims passing through the bottom-right — exactly
   like an object turning through one constant, unmoving light source. */
.spin-light-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.spin-light-bright-rect { mix-blend-mode: screen; }
.spin-light-dark-rect { mix-blend-mode: multiply; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 900px) {
  .hero-compass-wrap {
    --hero-compass-width: 640px;
    top: -14%;
    right: -30%;
  }
  .hero-compass { --hero-compass-opacity: 0.1; }
}

@media (max-width: 560px) {
  .hero-compass-wrap {
    --hero-compass-width: 480px;
    top: -10%;
    right: -32%;
  }
}

/* ---------- Overview ---------- */

.overview { padding: 100px 0; background: var(--bg-darker); }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

.overview-card {
  background: var(--bg-darker);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: background-color 200ms ease;
}
.overview-card:hover { background: var(--bg-elevated); }
.overview-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.overview-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.overview-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.overview-desc {
  color: var(--taupe);
  font-size: 0.95rem;
  margin: 0 0 24px;
  flex: 1;
}
.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.icon-arrow { width: 15px; height: 15px; transition: transform 200ms ease; }
.overview-card:hover .icon-arrow { transform: translateX(4px); }

/* ---------- Offering sections ---------- */

.offering {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.offering.alt { background: var(--bg-darker); }

.bg-numeral {
  position: absolute;
  top: -4%;
  right: 2%;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: min(32vw, 420px);
  color: rgba(237, 235, 228, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.offering-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.offering-inner.reverse { direction: rtl; }
.offering-inner.reverse > * { direction: ltr; }

.offering-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.offering-body { color: var(--taupe); max-width: 480px; margin-bottom: 32px; }
.offering-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.offering-note {
  font-size: 0.85rem;
  color: var(--dim);
  margin: -12px 0 28px;
  font-style: italic;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.deliverables-dense { grid-template-columns: repeat(3, 1fr); }

.deliverable-card {
  background: var(--bg);
  padding: 30px 26px;
  transition: background-color 200ms ease;
}
.offering.alt .deliverable-card { background: var(--bg-darker); }
.deliverable-card:hover { background: var(--bg-elevated); }

.d-icon { width: 26px; height: 26px; color: var(--gold); margin-bottom: 16px; }
.deliverable-card h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: var(--cream);
}
.deliverable-card p {
  font-size: 0.85rem;
  color: var(--taupe);
  margin: 0;
  line-height: 1.55;
}

.icon-external { width: 15px; height: 15px; }

/* ---------- Why / flow ---------- */

.why { padding: 130px 0; text-align: center; }
.why-compass-wrap {
  --why-compass-width: 220px;
  width: var(--why-compass-width);
  max-width: 60%;
  aspect-ratio: 900 / 506;
  margin: 0 auto 32px;
  position: relative;
}
.why-compass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
}
.why-body {
  max-width: 640px;
  margin: 0 auto 72px;
  color: var(--taupe);
  font-size: 1.05rem;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.flow-step { width: 180px; }
.flow-num {
  display: block;
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.flow-step h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.flow-step p { color: var(--taupe); font-size: 0.85rem; margin: 0; }
.flow-connector {
  width: 80px;
  height: 1px;
  background: var(--border-strong);
  margin: 0 4px 40px;
}

@media (max-width: 640px) {
  .flow { flex-direction: column; gap: 28px; }
  .flow-connector { width: 1px; height: 40px; margin: 0; }
}

/* ---------- Final CTA ---------- */

.final-cta { padding: 130px 0; }
.final-cta .lede { margin-bottom: 40px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-darker); border-top: 1px solid var(--border); padding-top: 72px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p { color: var(--dim); font-size: 0.85rem; margin-top: 16px; }
.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col a, .footer-link-btn {
  display: block;
  color: var(--cream);
  font-size: 0.92rem;
  margin-bottom: 14px;
  opacity: 0.85;
  transition: opacity 200ms ease;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.footer-col a:hover, .footer-link-btn:hover { opacity: 1; color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}
.footer-bottom p { color: var(--dim); font-size: 0.8rem; margin: 0; }

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 8, 0.72);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 48px 40px;
  transform: translateY(12px) scale(0.98);
  transition: transform 220ms ease, max-width 220ms ease;
}
.modal.modal-wide {
  max-width: 800px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--taupe);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease, border-color 200ms ease;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }
.modal-close svg { width: 16px; height: 16px; }

.modal-body h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0 0 28px;
  line-height: 1.25;
}

.modal-subtext {
  color: var(--dim);
  font-size: 0.85rem;
  margin: -18px 0 24px;
}

.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--taupe);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  transition: color 200ms ease;
}
.modal-back:hover { color: var(--gold); }

/* ---------- Qualify step ---------- */

.qualify-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.qualify-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-strong);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.qualify-option:hover { background: var(--bg-darker); }
.qualify-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.qualify-option-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.qualify-option-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cream);
}
.qualify-option-tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.qualify-check {
  width: 20px;
  height: 20px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  position: relative;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.qualify-option input:checked ~ .qualify-check {
  background: var(--gold);
  border-color: var(--gold);
}
.qualify-option input:checked ~ .qualify-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--bg-darker);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.qualify-option input:checked ~ .qualify-option-body .qualify-option-title { color: var(--gold); }
.qualify-option:has(input:checked) { border-color: var(--gold); }
.qualify-option input:focus-visible ~ .qualify-check { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Booking step ---------- */

.modal-body-booking {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding-bottom: 24px;
}
.modal-body-booking[hidden] { display: none; }
.booking-frame-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: var(--bg-darker);
  border: 1px solid var(--border);
}
.booking-iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: none;
}

.form-row { margin-bottom: 18px; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.form-row.two-col > div { margin-bottom: 18px; }

label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}
.optional { text-transform: none; letter-spacing: 0; color: var(--dim); }

input, textarea {
  width: 100%;
  background: var(--bg-darker);
  border: 1px solid var(--border-strong);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 13px 14px;
  border-radius: 2px;
  transition: border-color 200ms ease;
}
input:focus, textarea:focus { border-color: var(--gold); outline: none; }
textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--dim);
  margin: 16px 0 0;
}
.form-error {
  color: #e08a8a;
  font-size: 0.82rem;
  margin: -6px 0 16px;
}

.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Reveal-on-scroll ----------
   Initial state only — the actual tween (opacity/transform back to
   normal) is driven by GSAP + ScrollTrigger in script.js, not CSS
   transitions, so no .is-visible class or transition property here. */

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

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

@media (max-width: 980px) {
  .site-nav { display: none; }
  .header-actions .btn-small { display: none; }
  .nav-toggle { display: flex; }

  .offering-inner, .offering-inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .offering-copy { position: static; }
  .deliverables-dense { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 12px; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .hero { padding: 88px 0 72px; }
  .overview-grid { grid-template-columns: 1fr; }
  .deliverables, .deliverables-dense { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .modal { padding: 36px 24px; }
  .brand-suffix { display: none; }
}
