/* ═══════════════════════════════════════════════
   AII PROPERTY · site.css v4
   Global layout, header, footer, sections,
   typography, buttons, reveals, scroll progress
═══════════════════════════════════════════════ */

/* ── Scroll progress ──────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--pink); z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── Layout ───────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
section.cream  { background: var(--cream); }
section.dark   { background: var(--navy-dd); color: var(--white); border-bottom-color: var(--border-dark); }
section.navy   { background: var(--navy);    color: var(--white); border-bottom-color: var(--border-dark); }

/* ── Sticky header ────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: var(--navy-dd);
  color: var(--white);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.4); }

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 36px; width: 36px; object-fit: contain; flex-shrink: 0; }

/* Sire SVG chevron inline */
.brand-chevron {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
}
.brand-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.16); flex-shrink: 0; }
.brand-name {
  font-weight: 600; font-size: 13px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--white); line-height: 1;
}
.brand-sub {
  font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pink-l); margin-top: 4px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 20px; }
.nav a {
  font-size: 9.5px; letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(250,250,249,0.55); font-weight: 400;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.nav a:hover  { color: var(--white); }
.nav a.active { color: var(--white); border-bottom-color: var(--pink); }

.header-cta {
  font-family: var(--font-body); font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; font-weight: 500; padding: 12px 24px;
  background: var(--pink); color: var(--white); border: none;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.header-cta:hover { background: var(--pink-l); }

/* ── Page nav tabs (second header row) ─────────── */
.header-page-nav {
  background: var(--navy-d);
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto; scrollbar-width: none;
}
.header-page-nav::-webkit-scrollbar { display: none; }
.page-nav { display: flex; gap: 0; }
.page-nav-tab {
  font-size: 9.5px; letter-spacing: 0.20em; text-transform: uppercase;
  font-weight: 500; color: rgba(250,250,249,0.38);
  padding: 13px 20px; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.page-nav-tab:hover  { color: rgba(250,250,249,0.75); }
.page-nav-tab.active { color: var(--white); border-bottom-color: var(--pink); }

/* ── Typography ───────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--pink); }
.dark  .eyebrow,
.navy  .eyebrow  { color: var(--pink-l); }
.dark  .eyebrow::before,
.navy  .eyebrow::before { background: var(--pink-l); }

.h-display {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(38px, 4.5vw, 56px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--ink); max-width: 22ch;
}
.h-display em { font-style: italic; color: var(--pink-d); font-weight: 400; }
.dark  .h-display,
.navy  .h-display { color: var(--white); }
.dark  .h-display em,
.navy  .h-display em { color: var(--pink-l); }

.h-lead {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 2vw, 22px); line-height: 1.6; color: var(--charcoal);
}
.dark  .h-lead,
.navy  .h-lead { color: rgba(250,250,249,0.6); }

.section-head {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 0 80px; align-items: end; margin-bottom: 56px;
}
.section-head .h-lead { margin-top: 0; }

.rule-pink {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--pink), transparent);
  margin: 24px 0;
}

p { max-width: 68ch; line-height: 1.85; }
.dark p, .navy p { color: rgba(250,250,249,0.7); }

.footnote {
  font-size: 11px; line-height: 1.9; font-style: italic;
  color: var(--grey); max-width: 66ch;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 17px 32px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.22s;
  background: var(--pink); color: var(--white);
}
.btn:hover { background: var(--pink-l); }
.btn.ghost {
  background: transparent; border-color: rgba(232,96,122,0.45);
  color: var(--pink);
}
.btn.ghost:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }
.dark .btn.ghost,
.navy .btn.ghost { color: var(--pink-l); }

.deep-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 500; color: var(--pink);
  border-bottom: 1px solid var(--pink); padding-bottom: 6px;
  transition: gap 0.2s;
}
.deep-link:hover { gap: 20px; }
.dark .deep-link,
.navy .deep-link { color: var(--pink-l); border-bottom-color: var(--pink-l); }

.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ── Scroll-reveal ────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.25,0.1,0.25,1),
              transform 0.6s cubic-bezier(0.25,0.1,0.25,1);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.in  { opacity: 1; transform: none; }

/* ── Count-up numbers ─────────────────────────── */
[data-countup] { display: inline-block; }

/* ── Footer ───────────────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(250,250,249,0.5);
  padding: 80px 0 40px; font-size: 13px;
}
.site-footer a { color: rgba(250,250,249,0.65); }
.site-footer a:hover { color: var(--pink-l); }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-name {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  font-weight: 600; color: var(--white); margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: 13px; line-height: 1.8; color: rgba(250,250,249,0.55);
  max-width: 34ch; font-weight: 300; margin-bottom: 20px;
}
.footer-contact { font-size: 12px; color: rgba(250,250,249,0.5); line-height: 2; }
.footer-contact a { color: var(--pink-l); border-bottom: 1px solid rgba(240,128,150,0.3); }
.footer-col-title {
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--pink-l); margin-bottom: 20px; font-weight: 500;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 12.5px; }
.footer-disclaimer {
  font-size: 10.5px; line-height: 1.9; color: rgba(250,250,249,0.35);
  padding-top: 36px; font-style: italic; font-weight: 300;
}
.footer-base {
  display: flex; justify-content: space-between; margin-top: 28px;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,250,249,0.28);
}

/* ── Modals ───────────────────────────────────── */
body.modal-open { overflow: hidden; }
.modal { display: none; position: fixed; inset: 0; z-index: 200;
  align-items: flex-start; justify-content: center;
  padding: 56px 20px; overflow-y: auto; }
.modal.open { display: flex; }
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(16,30,48,0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative; background: var(--cream); z-index: 1;
  width: 100%; max-width: 700px; padding: 68px 68px 60px;
  border-top: 3px solid var(--pink);
}
.modal-close {
  position: absolute; top: 20px; right: 20px; width: 38px; height: 38px;
  background: transparent; border: 1px solid rgba(0,0,0,0.1);
  font-size: 22px; cursor: pointer; color: var(--charcoal);
  transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }
.modal-eyebrow { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--pink); font-weight: 500; margin-bottom: 14px; }
.modal-title { font-family: var(--font-display); font-size: 44px; font-weight: 300;
  line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 14px; }
.modal-title em { font-style: italic; color: var(--pink-d); }
.modal-lead { font-size: 15px; line-height: 1.8; color: var(--charcoal);
  font-weight: 300; margin-bottom: 36px; max-width: 52ch; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 7px; }
.form label > span { font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--grey); font-weight: 500; }
.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: 15px; font-weight: 300;
  color: var(--ink); padding: 13px 15px; background: var(--white);
  border: 1px solid rgba(0,0,0,0.12); outline: none;
  transition: border-color 0.2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--pink); }
.form textarea { resize: vertical; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; }
.form .check span { font-size: 12.5px; letter-spacing: 0; text-transform: none;
  color: var(--charcoal); font-weight: 300; line-height: 1.65; }
.form .check input[type="checkbox"] { width: 15px; height: 15px; margin-top: 3px;
  accent-color: var(--pink); flex-shrink: 0; }
.form-note { font-size: 11px; color: var(--grey); font-style: italic; margin-top: 4px; }
.modal.submitted .form { display: none; }
.modal.submitted .modal-success { display: flex; }
.modal-success {
  display: none; flex-direction: column; align-items: center;
  text-align: center; padding: 20px 0; gap: 16px;
}
.success-mark {
  width: 60px; height: 60px; background: var(--pink); color: var(--white);
  font-size: 28px; display: flex; align-items: center; justify-content: center;
}
.modal-success h3 { font-family: var(--font-display); font-size: 34px; font-weight: 400; color: var(--ink); }
.modal-success p { font-size: 14px; color: var(--charcoal); font-weight: 300; max-width: 40ch; }

/* ── Mobile hamburger ─────────────────────────── */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: all 0.3s;
}
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--navy-d); padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px var(--gutter); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(250,250,249,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-nav a.active { color: var(--white); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 960px) {
  :root { --gutter: 32px; --section-v: 72px; }
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .modal-panel { padding: 48px 28px 40px; }
}
