/* ============================================================
   LIV2OWN — GITHUB READY THEME V4
   Layout/content structure is the Claude version supplied by Liv.
   This file controls the visual system only.
   ============================================================ */

:root {
  --ink: #0F1110;
  --pine: #1B2F27;
  --moss: #7FA36A;
  --canvas: #FCFBF8; /* dominant near-white light surface */
  --paper: #F6F1E9;  /* warm supporting neutral */
  --moss-deep: #4F6B3E;

  --text-l: var(--ink);
  --text-l-muted: rgba(15,17,16,.82);
  --text-l-faint: rgba(15,17,16,.58);
  --text-d: var(--paper);
  --text-d-muted: rgba(246,241,233,.74);
  --text-d-faint: rgba(246,241,233,.48);
  --border-l: rgba(15,17,16,.13);
  --border-d: rgba(246,241,233,.15);
  --moss-ghost: rgba(127,163,106,.10);
  --ink-ghost: rgba(15,17,16,.045);
  --font: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --surface-page: var(--canvas);
  --surface-philosophy: var(--pine);
  --surface-phil-card: rgba(15,17,16,.42);
  --surface-how: var(--canvas);
  --surface-who: var(--paper);
  --surface-who-card: var(--ink);
  --surface-cta: var(--pine);
  --surface-form: var(--canvas);
  --surface-footer: var(--ink);

  --page-x: clamp(24px, 5vw, 76px);
  --section-y: clamp(84px, 8vw, 132px);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--surface-page);
  color: var(--text-l);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--moss-deep); outline-offset: 4px; }

/* WORDMARK */
/* BRAND LOCKUP — logo-primary.svg (light) / logo-reverse.svg (dark)
   The SVG is 4603x765; glyph cap sits 0-699 with the arrow overhanging to 765,
   so height is set ~9.5% taller than the old cap height to match optically. */
.brand-img { display: block; width: auto; height: 100%; }
.nav-brand { display: block; height: clamp(19px, 1.75vw, 25px); }
.footer-brand { display: block; height: clamp(24px, 2.4vw, 34px); }

/* NAV — same Claude placement, visually strengthened */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 84px;
  padding: 0 var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(252,251,248,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
nav.scrolled { border-bottom-color: var(--border-l); background: rgba(252,251,248,.985); }
.nav-links { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); list-style: none; }
.nav-links a {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(15,17,16,.76);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--moss-deep); }
.nav-cta {
  background: var(--pine) !important;
  color: var(--paper) !important;
  padding: 13px 20px !important;
  border: 1px solid var(--pine);
}
.nav-cta:hover { background: transparent !important; color: var(--pine) !important; }

/* BUTTONS */
.btn-primary, .btn-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 26px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s ease;
}
.btn-primary { background: var(--pine); color: var(--paper); border: 1.5px solid var(--pine); }
.btn-primary:hover { background: transparent; color: var(--pine); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid rgba(15,17,16,.34); }
.btn-secondary:hover { border-color: var(--ink); }
.cta-section .btn-primary { background: var(--paper); border-color: var(--paper); color: var(--pine); }
.cta-section .btn-primary:hover { background: transparent; color: var(--paper); }
.cta-section .btn-secondary { color: var(--paper); border-color: rgba(246,241,233,.36); }
.cta-section .btn-secondary:hover { border-color: var(--paper); }

/* HERO — Claude content/layout, now a strong editorial split */
.hero {
  min-height: 100vh;
  padding: 132px var(--page-x) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(38px, 5vw, 78px);
  align-items: center;
  position: relative;
  background: var(--canvas);
  overflow: hidden;
}
.hero-inner {
  width: 100%;
  max-width: 690px;
  padding: clamp(36px, 5vw, 72px) 0 clamp(42px, 5vw, 68px);
  position: relative;
  z-index: 2;
}
.hero-h1 {
  font-size: clamp(58px, 6.15vw, 96px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.057em;
  color: var(--ink);
  margin-bottom: 30px;
  text-wrap: balance;
}
.hero-h1 em { font-style: normal; color: var(--moss-deep); font-weight: 800; }
.hero-tagline {
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-tagline em { font-style: normal; color: var(--moss-deep); font-weight: 750; }
.hero-sub {
  max-width: 545px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--text-l-muted);
  margin-bottom: 24px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  height: clamp(560px, 71vh, 790px);
  align-self: center;
  overflow: hidden;
  position: relative;
  background: #e9e4dc;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(15,17,16,.06);
  pointer-events: none;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; filter: saturate(.78) contrast(.98) sepia(.05); }

/* proof strip spans full hero width */
.hero-proof {
  grid-column: 1 / -1;
  width: calc(100% + (var(--page-x) * 2));
  margin-left: calc(var(--page-x) * -1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-l);
  border-bottom: 1px solid var(--border-l);
  background: var(--paper);
}
.proof-cell {
  position: relative;
  padding: 34px clamp(26px, 4.6vw, 70px) 32px;
  background: transparent;
  border-right: 1px solid var(--border-l);
}
.proof-cell:last-child { border-right: 0; }
.proof-title { font-size: clamp(18px, 1.65vw, 24px); font-weight: 750; letter-spacing: -.028em; line-height: 1.12; color: var(--ink); margin-bottom: 8px; min-height: auto; }
.proof-sub { font-size: 11.5px; font-weight: 550; letter-spacing: .055em; line-height: 1.55; color: var(--text-l-muted); text-transform: uppercase; }
.hero-scroll { display: none; }

/* SHARED SECTION TITLES */
.section-eyebrow-l, .phil-eyebrow, .cta-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section-eyebrow-l {
  color: var(--moss-deep);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.section-eyebrow-l::before { content: ''; width: 28px; height: 1px; background: var(--moss-deep); }
.section-h2-l {
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.05em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-lead-l { max-width: 650px; font-size: 17px; font-weight: 450; line-height: 1.7; color: var(--text-l-muted); margin-bottom: 62px; }
.section-lead-tight { margin-bottom: 42px; }

/* Only ownership/progress language earns Moss. Other <em>s stay neutral by default. */
.section-h2-l em, .cta-h em { font-style: normal; color: inherit; }

/* PHILOSOPHY — same Claude elements, stronger split composition */
.philosophy {
  background: var(--surface-philosophy);
  color: var(--paper);
  padding: var(--section-y) var(--page-x);
  position: relative;
  overflow: hidden;
}
.phil-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px,.82fr) minmax(0,1.55fr);
  grid-template-rows: auto 1fr;
  gap: 24px clamp(54px, 6vw, 96px);
  position: relative;
  z-index: 1;
}
.phil-eyebrow { grid-column: 1; color: var(--moss); align-self: end; }
.phil-lead {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(36px, 4.05vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 700;
  color: var(--paper);
  max-width: 540px;
}
.phil-lines {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: stretch;
  border-left: 1px solid var(--border-d);
  margin: 0;
  background: transparent;
}
.phil-line {
  padding: 42px 30px 36px;
  background: transparent;
  border-right: 1px solid var(--border-d);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
}
.phil-title {
  max-width: 15ch;
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 750;
  color: var(--paper);
  margin-bottom: 18px;
  min-height: 66px; /* keeps all three descriptions aligned */
}
.phil-title em { font-style: normal; color: var(--moss); }
.phil-desc { font-size: 14px; line-height: 1.65; color: var(--text-d-muted); }


.op-position {
  margin-top: 34px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: var(--ink);
}
.op-position em { font-style: normal; color: var(--moss-deep); }
.diff-factors {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border-l);
}
.diff-factors-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--moss-deep);
  margin-bottom: 16px;
}
.diff-factors-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.diff-factors-list li {
  padding: 7px 13px;
  border: 1px solid var(--border-l);
  border-radius: 5px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--ink);
}

/* FRAMEWORK — three entry points feeding one Position hub */
.framework { background: var(--paper); padding: var(--section-y) var(--page-x); border-top: 1px solid rgba(15,17,16,.05); }
.fw-inner { max-width: var(--max); margin: 0 auto; }
.framework .section-h2-l em { font-style: normal; color: var(--moss-deep); }
.fw-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--moss-deep);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-l);
  margin-bottom: 0;
}
.entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border-l);
  background: transparent;
}
.entry {
  position: relative;
  min-height: 340px;
  padding: 78px 28px 36px;
  overflow: hidden;
  background: transparent;
  border-right: 1px solid var(--border-l);
  transition: background-color .22s ease;
}
.entry:hover { background: var(--canvas); }
.entry:last-child { border-right: 0; }
.entry-ghost {
  position: absolute;
  top: 14px;
  left: 20px;
  font-size: clamp(78px, 7.5vw, 120px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .82;
  color: var(--ink-ghost);
}
.entry-index { position: relative; z-index: 1; font-size: 12px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; color: var(--moss-deep); margin-bottom: 26px; }
.entry-title { position: relative; z-index: 1; font-size: clamp(21px, 1.9vw, 28px); font-weight: 750; letter-spacing: -.035em; line-height: 1.06; color: var(--ink); margin-bottom: 16px; }
.entry-desc { position: relative; z-index: 1; font-size: 15px; font-weight: 450; line-height: 1.7; color: var(--text-l-muted); }



/* WHO — now single column on Canvas (Difference moved to its own section) */
.who { background: var(--canvas); padding: var(--section-y) var(--page-x); border-top: 1px solid rgba(15,17,16,.05); }
.who-inner { max-width: 940px; margin: 0 auto; }
.who .section-h2-l { font-size: clamp(38px, 4.2vw, 60px); }
.who .section-h2-l em { font-style: normal; color: var(--moss-deep); }
.who-lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.72;
  color: var(--text-l-muted);
}
.who-statement-end { margin: 40px 0 0; }
.who-statement {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 32px 0 40px;
  padding-left: 22px;
  border-left: 3px solid var(--moss-deep);
}
.who-list { list-style: none; border-top: 1px solid var(--border-l); }
.who-item { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 19px 0; border-bottom: 1px solid var(--border-l); font-size: 15px; font-weight: 500; line-height: 1.6; color: rgba(15,17,16,.88); }
.who-check { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: transparent; border: 1px solid var(--moss-deep); color: var(--moss-deep); font-size: 10px; font-weight: 800; margin-top: 2px; }

/* OWNERSHIP POSITION — the product block */
.op { background: var(--paper); padding: var(--section-y) var(--page-x); border-top: 1px solid rgba(15,17,16,.05); }
.op-inner { max-width: 760px; margin: 0 auto; }
.op .section-h2-l em { font-style: normal; color: var(--moss-deep); }
.op-p { max-width: 700px; font-size: 16px; font-weight: 450; line-height: 1.75; color: var(--text-l-muted); margin-bottom: 22px; }
.op-note {
  max-width: 660px;
  margin: 30px 0 4px;
  padding-left: 20px;
  border-left: 2px solid var(--moss-deep);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.7;
  color: var(--ink);
}

/* CTA BAND */
.cta-section { background: var(--surface-cta); color: var(--paper); padding: clamp(80px, 7vw, 112px) var(--page-x); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(127,163,106,.14); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.cta-inner { max-width: 770px; margin: 0 auto; position: relative; z-index: 1; }
.cta-eyebrow { color: var(--moss); margin-bottom: 22px; }
.cta-h { font-size: clamp(48px, 6vw, 80px); line-height: .96; font-weight: 800; letter-spacing: -.055em; color: var(--paper); margin-bottom: 24px; }
.cta-sub { max-width: 600px; margin: 0 auto 38px; color: var(--text-d-muted); font-size: 17px; line-height: 1.7; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }


/* INTAKE */
.form-section { background: var(--surface-form); padding: var(--section-y) var(--page-x); border-top: 1px solid var(--border-l); }
.form-inner { max-width: 760px; margin: 0 auto; }
.form-section .section-h2-l { max-width: 680px; }
.form-embed { width: 100%; min-height: 520px; margin-top: 10px; }
.form-embed iframe { border: 0; width: 100%; }
.form-privacy { font-size: 10px; color: var(--text-l-faint); letter-spacing: .06em; text-align: center; margin-top: 16px; line-height: 1.55; }

/* FOOTER */
footer { background: var(--surface-footer); color: var(--paper); padding: 58px var(--page-x) 30px; }
.footer-top { max-width: var(--max); margin: 0 auto 48px; display: flex; justify-content: space-between; align-items: flex-start; gap: 42px; }
.footer-tagline { margin-top: 14px; color: var(--text-d-muted); font-size: 10px; font-weight: 550; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: flex; list-style: none; gap: 28px; flex-wrap: wrap; padding-top: 8px; }
.footer-links a { color: var(--text-d-muted); font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.footer-links a:hover { color: var(--moss); }
.footer-about { max-width: var(--max); margin: 0 auto 40px; padding-top: 34px; border-top: 1px solid var(--border-d); }
.footer-about-label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-bottom: 14px; }
.footer-about-text { max-width: 760px; font-size: 14px; font-weight: 450; line-height: 1.75; color: var(--text-d-muted); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding-top: 25px; border-top: 1px solid var(--border-d); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy, .footer-realtor { color: var(--text-d-faint); font-size: 9px; font-weight: 550; letter-spacing: .08em; text-transform: uppercase; }

/* ANIMATION */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

/* RESPONSIVE */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .hero-h1 { font-size: clamp(52px, 6vw, 74px); }
  .phil-inner { grid-template-columns: 1fr; }
  .phil-eyebrow, .phil-lead, .phil-lines { grid-column: 1; grid-row: auto; }
  .phil-lines { margin-top: 34px; border-left: 0; border-top: 1px solid var(--border-d); }
    }

@media (max-width: 820px) {
  nav { height: 72px; }
  .nav-links li:not(:last-child) { display: none; }
  .nav-cta { padding: 11px 14px !important; font-size: 9px !important; }
  .hero { min-height: auto; padding-top: 108px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; column-gap: 0; }
  .hero-inner { max-width: none; padding: 36px 0 40px; }
  .hero-h1 { font-size: clamp(50px, 13vw, 76px); max-width: 690px; }
  .hero-visual { height: min(76vw, 600px); width: calc(100% + (var(--page-x) * 2)); margin-left: calc(var(--page-x) * -1); }
  .hero-visual img { object-position: center 20%; }
  .hero-proof { grid-column: 1; }
  .proof-cell { padding: 26px var(--page-x); }
  .phil-lines { grid-template-columns: 1fr; }
  .phil-line { min-height: auto; padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--border-d); }
  .phil-title {
  max-width: 15ch; min-height: 0; }
  .entries { grid-template-columns: 1fr; }
  .entry { border-right: 0; border-bottom: 1px solid var(--border-l); min-height: auto; padding: 66px 0 32px; }
  .entry:last-child { border-bottom: 0; }
  .entry-ghost { left: 0; }
}

@media (max-width: 560px) {
  :root { --page-x: 20px; --section-y: 76px; }
  nav { padding: 0 20px; }
  .nav-brand { height: 19px; }
  .nav-links { gap: 0; }
  .hero { padding-top: 90px; }
  .hero-h1 { font-size: clamp(46px, 14vw, 66px); }
  .hero-tagline { font-size: 19px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; }
  .btn-primary, .btn-secondary { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; }
  .proof-cell { border-right: 0; border-bottom: 1px solid var(--border-l); }
  .proof-cell:last-child { border-bottom: 0; }
  .section-h2-l { font-size: clamp(42px, 12vw, 58px); }
  .who .section-h2-l { font-size: clamp(34px, 10vw, 48px); }
        .phil-lead { font-size: clamp(34px, 10vw, 50px); }
  .cta-h { font-size: clamp(46px, 13vw, 64px); }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}
