/* =============================================================
 * Bold direction — shared layout, primitives, photo placeholders
 * Loaded after tokens.css
 * ============================================================= */

/* ── CONTAINER ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

.prose { max-width: var(--max-w-prose); }
.narrow { max-width: var(--max-w-narrow); }

/* ── NAV ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 76px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 48px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.nav-brand .mark {
  width: 38px; height: 38px;
  background: var(--red);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  border-radius: 50%;
  position: relative;
}
.nav-brand .mark::after {
  content: ".";
  position: absolute;
  bottom: 4px; right: 10px;
  font-size: 22px;
  line-height: 0;
}
.nav-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.nav-brand .wordmark .sub {
  display: block;
  font-size: 9px;
  letter-spacing: 0.36em;
  color: var(--slate);
  margin-top: 3px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  align-items: center;
}
.nav-links > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  padding: 28px 0;
  position: relative;
  transition: color var(--dur-fast);
}
.nav-links > a::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-links > a:hover::after,
.nav-links > a.active::after { transform: scaleX(1); }
.nav-links > a .caret {
  font-size: 9px;
  opacity: 0.55;
}

.nav-cta {
  margin-left: 8px;
  padding: 12px 22px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  border: none;
  border-radius: 0;
  transition: background var(--dur-fast);
  cursor: pointer;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-deep); }

.nav-mobile-toggle { display: none; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 11px; }
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    margin-right: 16px;
    cursor: pointer;
  }
  .nav-mobile-toggle span {
    display: block; width: 24px; height: 2px; background: var(--ink);
  }
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--paper);
  padding: 96px 0 28px;
}
.footer .container { max-width: var(--max-w); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand .lockup {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.footer-brand .mark {
  width: 44px; height: 44px;
  background: var(--red); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  border-radius: 50%; position: relative;
}
.footer-brand .mark::after {
  content: "."; position: absolute; bottom: 5px; right: 12px; font-size: 26px; line-height: 0;
}
.footer-brand .wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--paper);
}
.footer-brand .tagline {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 320px; margin: 0;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 22px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--paper); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 28px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-eqhouse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.eq-house-icon {
  width: 16px; height: 16px;
  border: 1.5px solid currentColor;
  border-bottom: none;
  position: relative;
}
.eq-house-icon::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 9.5px solid transparent;
  border-right: 9.5px solid transparent;
  border-bottom: 7px solid currentColor;
}
.footer-disclosure {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 760px;
  letter-spacing: 0.01em;
}
.footer-disclosure strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.footer-meta-links {
  display: flex; gap: 18px; flex-wrap: wrap;
}
.footer-meta-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.footer-meta-links a:hover { color: var(--red); }

@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* =============================================================
 * EDITORIAL PHOTO PLACEHOLDER — family / lifestyle
 *
 * Now resembles a Movement-style real-people photo: a warm gradient
 * suggesting people in a home, with a clear small-caps tag and an
 * italic descriptor explaining what the real shot would be.
 * ============================================================= */
.photo {
  position: relative;
  background:
    radial-gradient(120% 80% at 70% 30%, rgba(215,35,50,0.22) 0%, transparent 55%),
    radial-gradient(80% 70% at 25% 80%, rgba(200,169,110,0.30) 0%, transparent 60%),
    linear-gradient(150deg, #4A3526 0%, #826851 40%, #C4A789 75%, #E8DCC4 100%);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.photo-meta {
  position: absolute;
  inset: auto 24px 22px 24px;
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 1; gap: 16px;
}
.photo-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 5px 9px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px);
}
.photo-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  text-align: right;
  max-width: 60%;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Variants — vary the wash to suggest scene type */
.photo.warm {
  background:
    radial-gradient(100% 80% at 80% 20%, rgba(255,210,160,0.40) 0%, transparent 60%),
    linear-gradient(140deg, #6B4F38 0%, #B89070 45%, #E8C9A8 80%, #F7EBD7 100%);
}
.photo.cool {
  background:
    radial-gradient(110% 80% at 30% 30%, rgba(120,150,170,0.40) 0%, transparent 60%),
    linear-gradient(160deg, #3D4A55 0%, #6A7984 50%, #BFC9D2 100%);
}
.photo.bright {
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(255,240,220,0.5) 0%, transparent 60%),
    linear-gradient(140deg, #DDD0BA 0%, #ECDFC8 50%, #F7F2E8 100%);
  color: var(--ink);
}
.photo.bright .photo-tag { background: rgba(10,10,10,0.78); color: var(--gold-soft); }
.photo.bright .photo-desc { color: rgba(10,10,10,0.78); text-shadow: none; }
.photo.dusk {
  background:
    radial-gradient(110% 80% at 70% 20%, rgba(215,35,50,0.35) 0%, transparent 60%),
    radial-gradient(80% 70% at 25% 80%, rgba(200,169,110,0.30) 0%, transparent 60%),
    linear-gradient(160deg, #1A1A20 0%, #4A2C28 40%, #B05A3C 80%, #E5A642 100%);
}

/* House-cutout mask — Movement-style hexagonal house shape */
.photo.house-cutout {
  clip-path: polygon(0 18%, 8% 9%, 16% 5%, 28% 2%, 50% 0%, 72% 2%, 84% 5%, 92% 9%, 100% 18%, 100% 100%, 0 100%);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--red); border-color: var(--red); }

.btn-ghost-light {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }

.btn-link {
  padding: 0; background: transparent; border: none; border-radius: 0;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  letter-spacing: 0.10em;
}
.btn-link:hover { color: var(--red); background: transparent; }

.btn-link.on-dark { color: var(--paper); border-color: var(--red); }
.btn-link.on-dark:hover { color: var(--red); }

/* arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--red);
  transition: gap var(--dur-base) var(--ease-out);
}
.arrow-link:hover { gap: 16px; }
.arrow-link.on-dark { color: var(--paper); }

/* ── PILLS ────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.pill.cream { background: var(--cream); color: var(--ink); }
.pill.gold { background: var(--gold); color: var(--ink); }
.pill.outlined { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }

/* ── EYEBROW ──────────────────────────────────────────── */
.eyebrow-row {
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow-row::before {
  content: "";
  width: 32px; height: 3px;
  background: var(--red);
  display: inline-block;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: var(--section-y) 0; }
.section-tight { padding: var(--section-y-tight) 0; }
.section-cream { background: var(--cream); }
.section-warm { background: var(--cream-warm); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-black { background: var(--black); color: var(--paper); }

/* ── HAIRLINES ────────────────────────────────────────── */
.hairline { height: 1px; background: var(--hairline); border: none; margin: 0; }
.hairline-red { height: 3px; background: var(--red); border: none; margin: 0; width: 48px; }

/* ── G. SEAL — gold concentric pentagon (Movement-style) ─ */
.gseal {
  position: relative;
  width: 200px; height: 200px;
  display: inline-block;
}
.gseal svg { width: 100%; height: 100%; display: block; }

/* ── INPUTS ───────────────────────────────────────────── */
.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: var(--paper);
  border: 1.5px solid var(--hairline-strong);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-fast);
}
.input:focus { border-color: var(--red); }
.input::placeholder { color: var(--mist); }

.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
  font-weight: 700;
}

/* ── CARDS ────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 32px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

/* ── MEDIA HELPERS ────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-y: 64px;
    --section-y-tight: 48px;
    --gutter: 24px;
  }
}
