/* ================================================
   PRINCETON ESTATES — v3
   Warm Natural · Editorial · Premium
   Charleswood, Winnipeg
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --forest:      #1A3025;
  --forest-mid:  #2D5040;
  --forest-pale: #3D6B53;
  --sage:        #7A9E7A;
  --sage-pale:   #C5D9C5;
  --sage-faint:  #EBF2EB;
  --cream:       #F8F2E6;
  --cream-dark:  #EDE5D5;
  --sand:        #C9A96E;
  --sand-dark:   #A67C45;
  --bark:        #2C1F12;
  --stone:       #6E6358;
  --white:       #FDFAF5;
  --radius:      3px;
  --t:           0.32s;
  --ease:        cubic-bezier(.25,.8,.25,1);
  --shadow:      0 4px 30px rgba(26,48,37,.11);
  --shadow-lg:   0 12px 55px rgba(26,48,37,.2);
  --shadow-xl:   0 24px 80px rgba(26,48,37,.28);
  --nav-h:       72px;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { font-family:'Jost',sans-serif; background:var(--cream); color:var(--bark); font-weight:300; line-height:1.7; overflow-x:hidden; }
img { display:block; max-width:100%; }

/* Grain overlay */
body::after { content:''; position:fixed; inset:0; z-index:9999; pointer-events:none; opacity:.028; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode:multiply; }

/* ── Typography ─────────────────────────────── */
h1,h2,h3,h4 { font-family:'Cormorant Garamond',serif; font-weight:400; line-height:1.12; }
h1 { font-size:clamp(2.8rem,6vw,5.5rem); }
h2 { font-size:clamp(2rem,4vw,3.6rem); }
h3 { font-size:clamp(1.5rem,2.5vw,2.2rem); }
p  { font-size:1rem; color:var(--stone); line-height:1.88; }
.eyebrow { font-family:'Jost',sans-serif; font-size:.7rem; font-weight:500; letter-spacing:.25em; text-transform:uppercase; color:var(--sage); }
.divider { width:56px; height:2px; background:var(--sand); margin:1.25rem 0 1.9rem; }
.deco-sep { display:flex; align-items:center; gap:1rem; margin:2.5rem 0; }
.deco-sep::before,.deco-sep::after { content:''; flex:1; height:1px; background:var(--cream-dark); }
.deco-sep span { color:var(--sand); font-size:.9rem; }

/* ── Buttons ─────────────────────────────────── */
.btn { display:inline-flex; align-items:center; gap:.45rem; padding:.9rem 2.25rem; font-family:'Jost',sans-serif; font-size:.8rem; font-weight:500; letter-spacing:.13em; text-transform:uppercase; text-decoration:none; border-radius:var(--radius); transition:all var(--t) var(--ease); cursor:pointer; border:none; }
.btn-primary { background:var(--sand); color:var(--white); }
.btn-primary:hover { background:var(--sand-dark); transform:translateY(-2px); box-shadow:0 10px 32px rgba(201,169,110,.38); }
.btn-outline { background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { background:rgba(255,255,255,.1); border-color:var(--white); }
.btn-dark { background:var(--forest); color:var(--cream); }
.btn-dark:hover { background:var(--forest-mid); transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-ghost { background:transparent; color:var(--forest); border:1.5px solid var(--sage-pale); }
.btn-ghost:hover { border-color:var(--sage); background:rgba(122,158,122,.07); }

/* ── Navigation ──────────────────────────────── */
nav#mainNav { position:fixed; top:0; left:0; right:0; z-index:200; padding:1.5rem 6%; height:var(--nav-h); display:flex; align-items:center; justify-content:space-between; transition:padding var(--t) var(--ease),background var(--t),box-shadow var(--t); }
nav#mainNav.scrolled { background:rgba(248,242,230,.97); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); padding:1rem 6%; box-shadow:0 2px 28px rgba(26,48,37,.08); }
.nav-logo img { height:46px; filter:brightness(0) invert(1); transition:filter var(--t); }
nav#mainNav.scrolled .nav-logo img { filter:none; }
.nav-links { display:flex; gap:2.25rem; list-style:none; align-items:center; }
.nav-links a { font-size:.77rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.88); text-decoration:none; transition:color var(--t); }
nav#mainNav.scrolled .nav-links a { color:var(--bark); }
.nav-links a:hover { color:var(--sand) !important; }
.nav-links a[aria-current="page"] { color:var(--sand) !important; }
.nav-cta { background:var(--sand) !important; color:var(--white) !important; padding:.52rem 1.35rem; border-radius:var(--radius); }
.nav-cta:hover { background:var(--sand-dark) !important; }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; flex-direction:column; justify-content:center; gap:5px; padding:6px; z-index:201; position:relative; }
.nav-toggle span { display:block; width:24px; height:1.5px; background:white; transition:all .32s; transform-origin:center; }
nav#mainNav.scrolled .nav-toggle span { background:var(--bark); }
.nav-toggle.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

/* ── Chapter Nav (community page) ───────────── */
.chapter-nav { background:rgba(248,242,230,.97); backdrop-filter:blur(12px); border-bottom:1px solid var(--cream-dark); display:flex; overflow-x:auto; padding:0 6%; position:sticky; top:var(--nav-h); z-index:99; scrollbar-width:none; box-shadow:0 2px 12px rgba(26,48,37,.05); }
.chapter-nav::-webkit-scrollbar { display:none; }
.chapter-nav a { display:inline-flex; align-items:center; padding:.85rem 1.25rem; font-size:.72rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:var(--stone); text-decoration:none; white-space:nowrap; border-bottom:2px solid transparent; transition:all var(--t); flex-shrink:0; }
.chapter-nav a:hover { color:var(--forest); border-bottom-color:var(--sage-pale); }
.chapter-nav a.active { color:var(--forest); border-bottom-color:var(--sand); }

/* ── Sticky CTA ──────────────────────────────── */
.sticky-cta { position:fixed; bottom:2rem; right:2rem; z-index:150; opacity:0; transform:translateY(14px) scale(.96); transition:all .4s var(--ease); pointer-events:none; }
.sticky-cta.show { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.sticky-cta .btn { box-shadow:0 8px 32px rgba(26,48,37,.28); }
.sticky-badge { display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,.22); border-radius:2rem; padding:.08rem .55rem; font-size:.68rem; margin-left:.35rem; }

/* ── Hero ────────────────────────────────────── */
.hero { position:relative; height:100vh; min-height:640px; display:flex; align-items:center; overflow:hidden; }
.hero-bg { position:absolute; inset:0; background-image:url('images/hero.jpg'); background-size:cover; background-position:center; transform:scale(1.07); transition:transform 9s ease-out; will-change:transform; }
.hero-bg.ready { transform:scale(1); }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(130deg,rgba(26,48,37,.8) 0%,rgba(26,48,37,.5) 55%,rgba(26,48,37,.18) 100%); }
.hero-content { position:relative; z-index:2; padding:0 8%; max-width:780px; animation:fadeUp .9s ease both; }
.hero-badge { display:inline-flex; align-items:center; gap:.55rem; background:rgba(201,169,110,.2); border:1px solid rgba(201,169,110,.5); color:var(--sand); padding:.4rem 1.1rem; border-radius:2rem; font-size:.72rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; margin-bottom:1.75rem; }
.hero-badge::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--sand); animation:pulseDot 2s infinite; }
.hero h1 { color:var(--white); margin-bottom:1.2rem; font-weight:300; letter-spacing:-.01em; }
.hero h1 em { font-style:italic; color:var(--sand); }
.hero-sub { color:rgba(253,250,245,.82); font-size:1.1rem; margin-bottom:2.5rem; max-width:500px; }
.hero-buttons { display:flex; gap:1rem; flex-wrap:wrap; }
.hero-scroll { position:absolute; bottom:2.5rem; left:50%; transform:translateX(-50%); z-index:2; display:flex; flex-direction:column; align-items:center; gap:.4rem; color:rgba(255,255,255,.45); font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; animation:floatDown 2.6s ease-in-out infinite; }
.hero-scroll::after { content:''; width:1px; height:36px; background:linear-gradient(to bottom,rgba(255,255,255,.42),transparent); }

/* ── Urgency Bar ─────────────────────────────── */
.urgency-bar { background:var(--forest); padding:1rem 6%; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; }
.u-item { display:flex; flex-direction:column; align-items:center; gap:.1rem; padding:.6rem 2.5rem; }
.u-num { font-family:'Cormorant Garamond',serif; font-size:2rem; color:var(--sand); line-height:1; font-weight:400; }
.u-label { font-size:.65rem; letter-spacing:.15em; text-transform:uppercase; color:var(--sage-pale); opacity:.78; }
.u-sep { width:1px; height:40px; background:rgba(255,255,255,.1); flex-shrink:0; }

/* ── Sections ────────────────────────────────── */
.section    { padding:7rem 8%; }
.section-sm { padding:4rem 8%; }
.section-alt  { background:var(--cream-dark); }
.section-sage { background:var(--sage-faint); }
.section-dark { background:var(--forest); }
.section-dark p { color:var(--sage-pale); }
.section-dark .eyebrow { color:var(--sand); }
.section-dark h2,.section-dark h3 { color:var(--cream); }
.section-header { margin-bottom:3.5rem; }
.section-header .eyebrow { display:block; margin-bottom:.65rem; }

/* ── Full-width Image Break ──────────────────── */
.img-break { position:relative; height:60vh; min-height:380px; overflow:hidden; }
.img-break img { width:100%; height:100%; object-fit:cover; }
.img-break-overlay { position:absolute; inset:0; background:rgba(26,48,37,.55); display:flex; align-items:center; justify-content:center; padding:3rem 8%; }
.img-break-text { font-family:'Cormorant Garamond',serif; font-size:clamp(2rem,4vw,3.5rem); font-style:italic; font-weight:300; color:var(--white); text-align:center; max-width:820px; line-height:1.45; }
.img-break-cite { display:block; margin-top:1.5rem; font-family:'Jost',sans-serif; font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:var(--sand); text-align:center; }

/* ── Big Numbers (dark section) ──────────────── */
.big-numbers { display:grid; grid-template-columns:repeat(4,1fr); }
.big-n { padding:3rem 2rem; text-align:center; border-right:1px solid rgba(255,255,255,.08); }
.big-n:last-child { border-right:none; }
.bn-num { font-family:'Cormorant Garamond',serif; font-size:clamp(3.5rem,6vw,5.5rem); color:var(--sand); display:block; line-height:1; font-weight:300; }
.bn-unit { font-size:.75rem; letter-spacing:.15em; text-transform:uppercase; color:var(--sage-pale); display:block; margin-top:.3rem; opacity:.8; }
.bn-label { font-size:.8rem; color:rgba(201,169,110,.7); display:block; margin-top:.6rem; font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.1rem; }

/* ── Pull Quote ──────────────────────────────── */
.section-quote { background:var(--forest); padding:6rem 8%; text-align:center; position:relative; overflow:hidden; }
.section-quote::before { content:'"'; position:absolute; font-family:'Cormorant Garamond',serif; font-size:30rem; color:rgba(122,158,122,.05); line-height:1; top:-8rem; left:50%; transform:translateX(-50%); pointer-events:none; user-select:none; }
.section-quote blockquote { position:relative; z-index:2; }
.section-quote blockquote p { font-family:'Cormorant Garamond',serif; font-size:clamp(1.85rem,3.8vw,3.2rem); font-style:italic; font-weight:300; color:var(--cream); line-height:1.45; max-width:900px; margin:0 auto 1.5rem; }
.section-quote cite { font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:var(--sand); font-style:normal; font-family:'Jost',sans-serif; }

/* ── Day in the Life ─────────────────────────── */
.day-timeline { max-width:720px; padding-left:2rem; border-left:2px solid var(--sage-pale); }
.day-item { position:relative; padding:0 0 3rem 2.5rem; }
.day-item:last-child { padding-bottom:0; }
.day-item::before { content:''; position:absolute; left:-1.45rem; top:.4rem; width:12px; height:12px; border-radius:50%; background:var(--sand); border:2px solid var(--cream); box-shadow:0 0 0 3px rgba(201,169,110,.25); }
.day-time { font-family:'Jost',sans-serif; font-size:.68rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--sand); margin-bottom:.5rem; display:block; }
.day-item h4 { font-family:'Cormorant Garamond',serif; font-size:1.7rem; color:var(--forest); margin-bottom:.65rem; line-height:1.2; }
.day-item p { font-size:.93rem; max-width:580px; }
.day-item.final { padding-bottom:0; }
.day-item.final::before { background:var(--forest); }
.day-item.final h4 { color:var(--forest); font-style:italic; }

/* ── Split ───────────────────────────────────── */
.split { display:grid; grid-template-columns:1fr 1fr; gap:6.5rem; align-items:center; }
.split.rev .split-img { order:-1; }
.split-img { position:relative; }
.split-img > img { width:100%; height:520px; object-fit:cover; border-radius:2px; box-shadow:var(--shadow-lg); }
.split-img::after { content:''; position:absolute; top:20px; right:-20px; bottom:-20px; left:20px; border:1.5px solid var(--sage-pale); border-radius:2px; z-index:-1; pointer-events:none; }
.split-text h2 { margin-bottom:1.3rem; }
.split-text p  { margin-bottom:1.5rem; }
.stat-callout { position:absolute; bottom:-1.75rem; right:-1.75rem; background:var(--sand); color:white; padding:1.4rem 1.8rem; border-radius:2px; text-align:center; box-shadow:0 10px 36px rgba(0,0,0,.22); z-index:2; min-width:130px; }
.stat-callout.forest { background:var(--forest); }
.stat-callout .sc-num { font-family:'Cormorant Garamond',serif; font-size:2.8rem; display:block; line-height:1; font-weight:300; }
.stat-callout .sc-label { font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; opacity:.9; font-family:'Jost',sans-serif; }

/* ── Inline Stats ────────────────────────────── */
.inline-stats { display:flex; gap:2.5rem; flex-wrap:wrap; padding:1.5rem 0; margin-top:1rem; border-top:1px solid var(--cream-dark); }
.i-stat .i-num { font-family:'Cormorant Garamond',serif; font-size:2.2rem; color:var(--forest); display:block; line-height:1; }
.i-stat .i-label { font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--stone); margin-top:.15rem; }
.dist-badge { display:inline-flex; align-items:center; gap:.4rem; background:rgba(122,158,122,.1); border:1px solid var(--sage-pale); color:var(--forest-pale); padding:.22rem .7rem; border-radius:2rem; font-size:.7rem; font-weight:500; letter-spacing:.06em; font-family:'Jost',sans-serif; margin-bottom:1rem; }

/* ── Feature Cards ───────────────────────────── */
.cards-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.card { background:var(--white); padding:2.5rem 2.25rem; border-radius:2px; border-bottom:3px solid var(--sage-pale); transition:transform var(--t) var(--ease),border-color var(--t),box-shadow var(--t); box-shadow:0 2px 18px rgba(26,48,37,.06); }
.card:hover { transform:translateY(-5px); border-bottom-color:var(--sand); box-shadow:var(--shadow); }
.card-icon { font-size:2.1rem; margin-bottom:1.2rem; display:block; }
.card h3 { font-size:1.5rem; margin-bottom:.65rem; color:var(--forest); }
.card p  { font-size:.92rem; }

/* ── Construction Timeline ───────────────────── */
.timeline-wrap { background:var(--white); border-radius:2px; padding:2.5rem; box-shadow:var(--shadow); overflow-x:auto; margin-bottom:2rem; }
.timeline-wrap h4 { font-family:'Jost',sans-serif; font-size:.7rem; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--stone); margin-bottom:2rem; }
.timeline { display:flex; align-items:flex-start; min-width:520px; }
.tl-step { display:flex; flex-direction:column; align-items:center; gap:.7rem; flex-shrink:0; min-width:85px; }
.tl-dot { width:13px; height:13px; border-radius:50%; background:var(--cream-dark); border:2px solid var(--sage-pale); }
.tl-step.done .tl-dot { background:var(--sage); border-color:var(--sage); }
.tl-step.now .tl-dot { background:var(--sand); border-color:var(--sand); box-shadow:0 0 0 5px rgba(201,169,110,.22); width:17px; height:17px; margin-top:-2px; }
.tl-step.end .tl-dot { background:var(--forest); border-color:var(--forest); }
.tl-lbl { font-size:.7rem; text-align:center; color:var(--stone); line-height:1.4; }
.tl-step.done .tl-lbl { color:var(--sage); }
.tl-step.now .tl-lbl { color:var(--bark); font-weight:500; }
.tl-step.now .tl-lbl em { font-style:normal; display:block; font-size:.63rem; color:var(--sand); margin-top:.15rem; }
.tl-step.end .tl-lbl { color:var(--forest); font-weight:500; }
.tl-line { flex:1; height:2px; background:var(--cream-dark); margin-top:5px; min-width:24px; }
.tl-line.done { background:var(--sage); }

/* ── Construction Photos ─────────────────────── */
.construction-photos { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.c-photo { position:relative; aspect-ratio:4/3; overflow:hidden; border-radius:2px; }
.c-photo img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.c-photo:hover img { transform:scale(1.05); }
.c-photo.ph { background:var(--cream-dark); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.45rem; border:2px dashed var(--sage-pale); color:var(--stone); font-size:.78rem; letter-spacing:.06em; text-align:center; padding:1rem; }
.c-photo.ph .ph-icon { font-size:1.6rem; }
.c-photo.ph .ph-note { font-size:.62rem; opacity:.5; }

/* ── Lightbox ────────────────────────────────── */
.lightbox { position:fixed; inset:0; z-index:999; background:rgba(26,48,37,.93); backdrop-filter:blur(10px); display:flex; align-items:center; justify-content:center; padding:2rem; cursor:pointer; animation:fadeIn .25s ease; }
.lb-inner { position:relative; max-width:920px; max-height:88vh; cursor:default; }
.lb-inner img { width:100%; height:100%; object-fit:contain; border-radius:2px; box-shadow:var(--shadow-xl); }
.lb-close { position:absolute; top:-1.25rem; right:-1.25rem; background:var(--sand); color:white; border:none; border-radius:50%; width:36px; height:36px; cursor:pointer; font-size:.95rem; display:flex; align-items:center; justify-content:center; transition:background var(--t); }
.lb-close:hover { background:var(--sand-dark); }
.floorplan-trigger { cursor:zoom-in; position:relative; }
.enlarge-hint { position:absolute; bottom:.75rem; right:.75rem; background:rgba(26,48,37,.82); color:white; padding:.22rem .65rem; border-radius:2rem; font-size:.65rem; letter-spacing:.1em; text-transform:uppercase; opacity:0; transition:opacity var(--t); pointer-events:none; font-family:'Jost',sans-serif; }
.floorplan-trigger:hover .enlarge-hint { opacity:1; }

/* ── Unit Cards ──────────────────────────────── */
.units-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:2.5rem; }
.unit-card { background:var(--white); border-radius:2px; overflow:hidden; box-shadow:var(--shadow); transition:transform var(--t) var(--ease),box-shadow var(--t); }
.unit-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.unit-card-img { height:280px; overflow:hidden; position:relative; }
.unit-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.unit-card:hover .unit-card-img img { transform:scale(1.05); }
.unit-avail-badge { position:absolute; top:1rem; left:1rem; background:var(--sand); color:white; padding:.25rem .8rem; border-radius:2rem; font-size:.67rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; }
.unit-card-body { padding:2.25rem 2.25rem 2.5rem; }
.unit-type { font-size:.7rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--sage); margin-bottom:.6rem; display:block; }
.unit-name { font-family:'Cormorant Garamond',serif; font-size:2rem; color:var(--forest); line-height:1.1; margin-bottom:.3rem; }
.unit-price { font-size:.88rem; color:var(--stone); margin-bottom:1.5rem; }
.unit-specs { display:flex; gap:1.75rem; margin-bottom:1.5rem; flex-wrap:wrap; padding-bottom:1.5rem; border-bottom:1px solid var(--cream-dark); }
.unit-spec .sv { font-weight:500; color:var(--bark); font-size:.95rem; display:block; }
.unit-spec .sl { font-size:.67rem; letter-spacing:.09em; text-transform:uppercase; color:var(--stone); }
.unit-features { list-style:none; margin-bottom:1.75rem; }
.unit-features li { font-size:.84rem; color:var(--stone); padding:.4rem 0; border-bottom:1px solid var(--cream-dark); display:flex; align-items:flex-start; gap:.6rem; }
.unit-features li::before { content:'→'; color:var(--sand); font-size:.78rem; flex-shrink:0; margin-top:.15rem; }
.unit-actions { display:flex; gap:.75rem; flex-wrap:wrap; }
.unit-actions .btn { padding:.72rem 1.4rem; font-size:.74rem; }

/* ── Compare Table ───────────────────────────── */
.compare-table { background:var(--white); border-radius:2px; box-shadow:var(--shadow); overflow:hidden; }
.ct-header { display:grid; grid-template-columns:1fr 1.1fr 1.1fr; background:var(--forest); color:var(--cream); }
.ct-header > div { padding:1.25rem 1.5rem; font-family:'Jost',sans-serif; font-size:.75rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; }
.ct-header > div:not(:first-child) { text-align:center; border-left:1px solid rgba(255,255,255,.1); }
.ct-header span { display:block; font-size:.65rem; opacity:.65; font-weight:300; text-transform:none; letter-spacing:0; margin-top:.2rem; }
.ct-row { display:grid; grid-template-columns:1fr 1.1fr 1.1fr; border-bottom:1px solid var(--cream-dark); transition:background var(--t); }
.ct-row:last-child { border-bottom:none; }
.ct-row:hover { background:rgba(122,158,122,.04); }
.ct-row > div { padding:1rem 1.5rem; font-size:.87rem; color:var(--stone); }
.ct-row > div:first-child { color:var(--bark); font-weight:400; font-size:.8rem; letter-spacing:.04em; }
.ct-row > div:not(:first-child) { text-align:center; border-left:1px solid var(--cream-dark); font-weight:500; color:var(--bark); }
.ct-row > div .ct-check { color:var(--sage); font-weight:700; }
.ct-row > div .ct-diff { color:var(--sand); font-weight:600; }

/* ── Specs Box ───────────────────────────────── */
.specs-box { background:var(--white); padding:3rem; border-radius:2px; box-shadow:var(--shadow); }
.specs-box > h3 { color:var(--forest); margin-bottom:.4rem; }
.specs-box > p { margin-bottom:2rem; }
.specs-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:0; }
.spec-row { display:flex; align-items:flex-start; gap:.7rem; padding:.82rem 0; border-bottom:1px solid var(--cream-dark); }
.spec-row::before { content:'✓'; color:var(--sage); font-weight:600; flex-shrink:0; margin-top:.06rem; }
.spec-row span { font-size:.87rem; color:var(--stone); }

/* ── Process Steps ───────────────────────────── */
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.process-steps::before { content:''; position:absolute; top:2rem; left:12.5%; right:12.5%; height:2px; background:var(--sage-pale); z-index:0; }
.ps-step { position:relative; z-index:1; padding:0 1.5rem; text-align:center; }
.ps-num { font-family:'Cormorant Garamond',serif; font-size:3.5rem; color:var(--sand); line-height:1; display:block; font-weight:300; margin-bottom:.75rem; }
.ps-step h4 { font-family:'Jost',sans-serif; font-size:.88rem; font-weight:500; color:var(--forest); margin-bottom:.5rem; letter-spacing:0; }
.ps-step p { font-size:.82rem; }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { border-top:1px solid var(--cream-dark); }
.faq-item { border-bottom:1px solid var(--cream-dark); }
.faq-q { width:100%; background:none; border:none; cursor:pointer; padding:1.4rem 0; display:flex; align-items:center; justify-content:space-between; text-align:left; gap:1rem; font-family:'Jost',sans-serif; font-size:.95rem; font-weight:400; color:var(--bark); }
.faq-q:hover { color:var(--forest); }
.faq-icon { flex-shrink:0; width:24px; height:24px; border-radius:50%; border:1.5px solid var(--sage-pale); display:flex; align-items:center; justify-content:center; color:var(--sage); font-size:.8rem; transition:all var(--t); }
.faq-item.open .faq-icon { background:var(--sand); border-color:var(--sand); color:white; transform:rotate(45deg); }
.faq-a { overflow:hidden; max-height:0; transition:max-height .4s ease, padding .4s ease; }
.faq-item.open .faq-a { max-height:300px; }
.faq-a-inner { padding:0 0 1.5rem; }
.faq-a-inner p { font-size:.9rem; max-width:680px; }

/* ── Highlight box ───────────────────────────── */
.highlight-box { background:rgba(122,158,122,.07); border-left:3px solid var(--sage); border-radius:0 var(--radius) var(--radius) 0; padding:1.25rem 1.5rem; margin:1.5rem 0; }
.highlight-box p { font-size:.9rem; margin:0; }

/* ── Good Life grid ──────────────────────────── */
.goodlife-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.gl-card { background:var(--white); border-radius:2px; overflow:hidden; box-shadow:0 2px 16px rgba(26,48,37,.07); transition:transform var(--t) var(--ease),box-shadow var(--t); }
.gl-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.gl-bar { height:8px; }
.gl-bar.sage { background:var(--sage); }
.gl-bar.gold { background:var(--sand); }
.gl-bar.forest { background:var(--forest); }
.gl-body { padding:1.75rem; }
.gl-body .gl-icon { font-size:1.8rem; margin-bottom:1rem; display:block; }
.gl-body h4 { font-family:'Cormorant Garamond',serif; font-size:1.6rem; color:var(--forest); margin-bottom:.5rem; line-height:1.2; }
.gl-body p { font-size:.87rem; margin-bottom:.75rem; }
.gl-list { list-style:none; }
.gl-list li { font-size:.83rem; color:var(--stone); padding:.3rem 0; border-bottom:1px solid var(--cream-dark); display:flex; gap:.5rem; }
.gl-list li::before { content:'·'; color:var(--sand); font-weight:700; flex-shrink:0; }

/* ── Seasons ─────────────────────────────────── */
.season-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
.season-card { padding:2rem 1.75rem; border-radius:2px; border-top:3px solid var(--sage-pale); background:var(--white); box-shadow:0 2px 14px rgba(26,48,37,.06); transition:transform var(--t); }
.season-card:hover { transform:translateY(-4px); }
.season-card:nth-child(2) { border-top-color:var(--sand); }
.season-card:nth-child(3) { border-top-color:var(--sage); }
.season-card:nth-child(4) { border-top-color:var(--forest); }
.season-icon { font-size:2rem; margin-bottom:1rem; display:block; }
.season-card h4 { font-family:'Cormorant Garamond',serif; font-size:1.5rem; color:var(--forest); margin-bottom:.6rem; }
.season-card p { font-size:.85rem; line-height:1.65; }

/* ── Amenities ───────────────────────────────── */
.amenities-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.amenity { display:flex; align-items:flex-start; gap:1rem; padding:1.6rem; background:var(--white); border-radius:2px; box-shadow:0 2px 14px rgba(26,48,37,.06); transition:transform var(--t) var(--ease),box-shadow var(--t); }
.amenity:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.amenity-icon { font-size:1.5rem; flex-shrink:0; margin-top:.05rem; }
.amenity h4 { font-family:'Jost',sans-serif; font-size:.88rem; font-weight:500; color:var(--forest); margin-bottom:.2rem; letter-spacing:0; }
.amenity p { font-size:.82rem; line-height:1.6; }

/* ── Nearby grid ─────────────────────────────── */
.nearby-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:0; max-width:900px; margin:3rem auto 0; }
.nearby-item { display:flex; gap:1.25rem; align-items:flex-start; padding:1.25rem 1.25rem 1.25rem 0; border-bottom:1px solid var(--cream-dark); }
.nearby-item:nth-child(even) { padding-left:2rem; border-left:1px solid var(--cream-dark); }
.nearby-dot { width:10px; height:10px; border-radius:50%; background:var(--sage); flex-shrink:0; margin-top:.45rem; }
.nearby-item h4 { font-family:'Jost',sans-serif; font-size:.9rem; font-weight:500; color:var(--forest); margin-bottom:.2rem; letter-spacing:0; }
.nearby-item p { font-size:.82rem; }
.nearby-item .nd { font-size:.68rem; font-weight:500; color:var(--sage); letter-spacing:.06em; display:block; margin-top:.15rem; }

/* ── Contact ─────────────────────────────────── */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:5rem; align-items:start; }
.contact-info h3 { color:var(--forest); margin-bottom:.5rem; }
.contact-info > p { margin-bottom:2.5rem; }
.c-detail { display:flex; gap:1rem; align-items:flex-start; padding:1.2rem 0; border-bottom:1px solid var(--cream-dark); }
.c-detail-icon { font-size:1.2rem; color:var(--sage); flex-shrink:0; margin-top:.18rem; }
.c-detail-text strong { display:block; font-size:.68rem; letter-spacing:.13em; text-transform:uppercase; color:var(--stone); margin-bottom:.22rem; font-weight:500; }
.c-detail-text span,.c-detail-text a { font-size:.92rem; color:var(--bark); text-decoration:none; }
.c-detail-text a:hover { color:var(--sand); }
.contact-form-box { background:var(--white); padding:3rem; border-radius:2px; box-shadow:var(--shadow); }
.contact-form-box h3 { color:var(--forest); margin-bottom:.4rem; }
.form-sub { font-size:.88rem; color:var(--stone); margin-bottom:2rem; }
.form-group { margin-bottom:1.2rem; }
.form-group label { display:block; font-size:.68rem; font-weight:500; letter-spacing:.11em; text-transform:uppercase; color:var(--stone); margin-bottom:.45rem; }
.form-group input,.form-group select,.form-group textarea { width:100%; padding:.82rem 1rem; border:1.5px solid var(--cream-dark); border-radius:var(--radius); font-family:'Jost',sans-serif; font-size:.95rem; color:var(--bark); background:var(--cream); transition:border-color var(--t); outline:none; -webkit-appearance:none; appearance:none; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--sage); background:var(--white); }
.form-group textarea { resize:vertical; min-height:100px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-submit { width:100%; padding:1rem; font-size:.84rem; justify-content:center; }

/* ── Gallery strip ───────────────────────────── */
.gallery-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.g-img { overflow:hidden; border-radius:2px; aspect-ratio:4/3; }
.g-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.g-img:hover img { transform:scale(1.05); }

/* ── CTA Band ────────────────────────────────── */
.cta-band { background:var(--forest); padding:6rem 8%; text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:''; position:absolute; inset:0; background:url('images/charleswood-forest-trail.jpg') center/cover; opacity:.07; pointer-events:none; }
.cta-band-inner { position:relative; z-index:2; }
.cta-band h2 { color:var(--cream); margin-bottom:1rem; }
.cta-band p { color:var(--sage-pale); margin-bottom:2.5rem; max-width:480px; margin-left:auto; margin-right:auto; }
.btn-row { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ── Avail band ──────────────────────────────── */
.avail-band { background:var(--sand); padding:1.25rem 8%; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.avail-band p { color:rgba(255,255,255,.92); font-size:.82rem; font-weight:400; margin:0; }
.avail-band strong { color:white; }

/* ── Page Hero ───────────────────────────────── */
.page-hero { display:flex; align-items:flex-end; padding:4rem 8%; position:relative; overflow:hidden; }
.page-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.page-hero-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(26,48,37,.9) 0%,rgba(26,48,37,.3) 100%); }
.page-hero-content { position:relative; z-index:2; }
.page-hero h1 { color:var(--white); }
.page-hero h1 em { font-style:italic; color:var(--sand); }
.page-hero .eyebrow { color:var(--sand); display:block; margin-bottom:.45rem; }

/* ── Footer ──────────────────────────────────── */
footer { background:var(--bark); color:rgba(253,250,245,.62); padding:4.5rem 8% 2.5rem; }
.footer-inner { display:grid; grid-template-columns:1.7fr 1fr 1fr; gap:3rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,.1); margin-bottom:1.75rem; }
.footer-brand img { height:42px; filter:brightness(0) invert(1); opacity:.82; margin-bottom:1rem; }
.footer-brand p { font-size:.88rem; line-height:1.8; }
.footer-col h4 { font-family:'Jost',sans-serif; font-size:.7rem; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--cream); margin-bottom:1.1rem; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:.65rem; }
.footer-col ul a { color:rgba(253,250,245,.52); text-decoration:none; font-size:.88rem; transition:color var(--t); }
.footer-col ul a:hover { color:var(--sand); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; font-size:.74rem; opacity:.42; flex-wrap:wrap; gap:.5rem; }

/* ── Animations ──────────────────────────────── */
@keyframes fadeUp   { from{opacity:0;transform:translateY(32px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn   { from{opacity:0} to{opacity:1} }
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.78)} }
@keyframes floatDown{ 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-9px)} }
.fade-up { opacity:0; transform:translateY(26px); transition:opacity .72s ease,transform .72s ease; }
.fade-up.visible { opacity:1; transform:none; }
.cards-grid .card:nth-child(2){transition-delay:.1s}
.cards-grid .card:nth-child(3){transition-delay:.2s}
.amenities-grid .amenity:nth-child(2){transition-delay:.07s}
.amenities-grid .amenity:nth-child(3){transition-delay:.14s}
.amenities-grid .amenity:nth-child(4){transition-delay:.21s}
.amenities-grid .amenity:nth-child(5){transition-delay:.28s}
.amenities-grid .amenity:nth-child(6){transition-delay:.35s}
.goodlife-grid .gl-card:nth-child(2){transition-delay:.1s}
.goodlife-grid .gl-card:nth-child(3){transition-delay:.2s}
.season-grid .season-card:nth-child(2){transition-delay:.07s}
.season-grid .season-card:nth-child(3){transition-delay:.14s}
.season-grid .season-card:nth-child(4){transition-delay:.21s}

/* ── Responsive ──────────────────────────────── */
@media(max-width:1100px){
  .split{grid-template-columns:1fr;gap:3.5rem}
  .split.rev .split-img{order:0}
  .split-img::after{display:none}
  .stat-callout{bottom:.75rem;right:.75rem;padding:1rem 1.25rem}
  .stat-callout .sc-num{font-size:2.2rem}
  .cards-grid{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .contact-grid{grid-template-columns:1fr;gap:3rem}
  .process-steps{grid-template-columns:repeat(2,1fr);gap:3rem}
  .process-steps::before{display:none}
  .big-numbers{grid-template-columns:repeat(2,1fr)}
  .big-n{border-right:none;border-bottom:1px solid rgba(255,255,255,.08)}
}
@media(max-width:768px){
  :root{--nav-h:60px}
  .section{padding:5rem 6%}
  .section-sm{padding:3rem 6%}
  .urgency-bar{flex-wrap:wrap;padding:1.25rem 6%}
  .u-sep{display:none}
  .u-item{padding:.5rem 1rem;min-width:45%}
  .cards-grid{grid-template-columns:1fr}
  .units-grid{grid-template-columns:1fr}
  .amenities-grid{grid-template-columns:1fr 1fr}
  .goodlife-grid{grid-template-columns:1fr}
  .season-grid{grid-template-columns:1fr 1fr}
  .specs-grid{grid-template-columns:1fr}
  .gallery-strip{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr}
  .page-hero{height:auto;min-height:280px;padding:5rem 6% 3rem}
  .split-img > img{height:300px}
  .nav-links{display:none;position:fixed;inset:0;background:var(--forest);flex-direction:column;align-items:center;justify-content:center;gap:2.25rem;z-index:150}
  .nav-links.open{display:flex}
  .nav-links.open a{font-size:1.1rem;color:var(--cream) !important}
  .nav-links.open .nav-cta{background:var(--sand) !important;padding:.7rem 2.5rem}
  .nav-toggle{display:flex}
  .construction-photos{grid-template-columns:1fr 1fr}
  .section-quote::before{font-size:12rem}
  .avail-band{flex-direction:column;align-items:flex-start}
  .sticky-cta{bottom:1.25rem;right:1.25rem}
  .img-break{height:40vh;min-height:260px}
  .big-numbers{grid-template-columns:repeat(2,1fr)}
  .big-n{border-right:none;border-bottom:1px solid rgba(255,255,255,.08)}
  .day-timeline{padding-left:1.25rem}
  .process-steps{grid-template-columns:1fr 1fr;gap:2rem}
  .nearby-grid{grid-template-columns:1fr}
  .nearby-item:nth-child(even){padding-left:0;border-left:none}
  .compare-table{overflow-x:auto}
  .chapter-nav{padding:0 4%}
  .ct-header,.ct-row{min-width:520px}
}
@media(max-width:480px){
  .hero-buttons{flex-direction:column;max-width:280px}
  .hero-buttons .btn{text-align:center;justify-content:center}
  .amenities-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .construction-photos{grid-template-columns:1fr}
  .btn-row{flex-direction:column;align-items:center}
  .btn-row .btn{width:100%;max-width:320px;justify-content:center}
  .gallery-strip{grid-template-columns:1fr}
  .u-item{min-width:calc(50% - .5rem)}
  .footer-bottom{flex-direction:column;text-align:center}
  .inline-stats{gap:1.5rem}
  .process-steps{grid-template-columns:1fr}
  .season-grid{grid-template-columns:1fr}
  .big-n{padding:2rem 1.25rem}
  .img-break-text{font-size:1.6rem}
}
@media(max-width:360px){
  .section{padding:4rem 5%}
  h1{font-size:2.4rem}
  .unit-specs{gap:1rem}
}

/* ── ADDITIONAL MOBILE FIXES ─────────────────── */
/* Timeline dual-grid collapse */
.dual-timeline-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
/* Site plan grid */
.site-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}
@media(max-width:700px){
  .dual-timeline-grid{grid-template-columns:1fr}
  .site-plan-grid{grid-template-columns:1fr}
  .timeline{min-width:0;flex-wrap:nowrap;overflow-x:auto}
  .tl-step{min-width:70px}
  /* Spec section headings */
  .spec-heading span{font-size:.72rem}
  /* Unit specs 3-col → wrap */
  .unit-specs{flex-wrap:wrap;gap:.75rem 1.5rem}
  /* Chapter nav touch scroll */
  .chapter-nav{-webkit-overflow-scrolling:touch}
  /* Sticky CTA full width on small screens */
  .sticky-cta{left:1rem;right:1rem;text-align:center}
  .sticky-cta .btn{width:100%}
}
