/* 4Ever Bros — www.4everbros.com · v1.0.0 — 2026-10-16 */
:root {
  --ink: #0B0C10;
  --ink-2: #17181D;
  --ink-line: #24252B;
  --white: #FFFFFF;
  --gold: #C5A95E;          /* Realty One Group Plus brand gold */
  --gold-deep: #7D6528;     /* same hue, dark enough for small text on white */
  --gold-num: #A37E31;
  --tint: #F8F5EC;
  --line: #ECE6D8;
  --muted: #4D4E52;
  --muted-dark: #BDBDC2;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 77px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--white); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark a:not(.btn) { color: var(--white); }

/* ---------- type ---------- */
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.eyebrow--dark { color: var(--gold); }
.h1, .h2, .hero__title { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; margin: 0; }
.h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; }
.h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; }
.h2--sm { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; }
.h2--xl { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; }
.h3 { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 26px; margin: 0; }
.lede { margin: 0; color: var(--muted); max-width: 520px; }
.lede--lg { font-size: 21px; line-height: 1.6; max-width: none; color: var(--ink); }
.section--dark .lede { color: var(--muted-dark); }
.muted { color: var(--muted); }
.muted-dark { color: var(--muted-dark); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, filter .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--line-light { border-color: rgba(255,255,255,.7); color: var(--white); font-weight: 600; }
.btn--line-light:hover { background: rgba(255,255,255,.08); }
.btn--block { width: 100%; min-height: 54px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; min-height: 44px; text-decoration: none; }
.link-more:hover { color: var(--gold-deep); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,12,16,.08); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); padding-block: 10px; }
.brand img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.site-nav nav a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; }
.site-nav nav a:hover, .site-nav nav a[aria-current] { color: var(--gold-deep); }
.site-nav__cta { display: flex; align-items: center; gap: 18px; }
.site-nav__cta .phone { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.site-nav__cta .btn { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11,12,16,.12); flex-direction: column; align-items: stretch; gap: 8px; padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav nav { flex-direction: column; align-items: stretch; gap: 0; font-size: 18px; }
  .site-nav nav a { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .site-nav__cta { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 12px; }
  .site-nav__cta .phone { font-size: 18px; padding-block: 8px; }
  .site-nav__cta .btn { min-height: 52px; font-size: 16px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
}
@media (max-width: 560px) { .brand img { height: 48px; } :root { --header-h: 69px; } }

/* ---------- hero: rotating ---------- */
.hero { position: relative; height: min(760px, 88vh); min-height: 560px; overflow: hidden; background: var(--ink); color: var(--white); display: flex; flex-direction: column; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease, transform 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero--slide .hero__slide { opacity: 1; transform: translateX(100%); transition: transform .9s cubic-bezier(.65,0,.35,1); }
.hero--slide .hero__slide.is-active { transform: translateX(0); }
.hero--slide .hero__slide.is-prev { transform: translateX(-100%); }
.hero__media { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: rgba(11,12,16,var(--overlay, .5)); }
.hero__content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-block: 48px 96px; width: 100%; }
.hero__title { font-size: clamp(40px, 5.3vw, 84px); line-height: .98; letter-spacing: -0.025em; max-width: 1080px; }
.hero__sub { margin: 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 19px); color: #E4E4E7; }
.hero__bar { position: relative; border-top: 1px solid rgba(255,255,255,.18); background: rgba(11,12,16,.55); }
.hero__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; min-height: 64px; padding-block: 6px; }
.hero__caption { display: inline-flex; align-items: baseline; gap: 10px; font-size: 14px; color: #E4E4E7; text-decoration: none; min-height: 44px; align-items: center; }
.hero__caption[href]:hover span { text-decoration: underline; }
.hero__caption strong { color: var(--gold); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.hero__controls { display: flex; align-items: center; gap: 4px; }
.hero__btn { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hero__btn:hover { background: rgba(255,255,255,.1); }
.hero__btn .i-play { display: none; }
.hero.is-paused .hero__btn .i-play { display: inline; }
.hero.is-paused .hero__btn .i-pause { display: none; }
.hero__dots { display: flex; }
.hero__dot { width: 36px; height: 44px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.hero__dot span { display: block; width: 12px; height: 4px; background: rgba(255,255,255,.55); transition: width .3s ease, background-color .3s ease; }
.hero__dot.is-active span { width: 26px; background: var(--gold); }
@media (max-width: 640px) {
  .hero { min-height: 600px; height: auto; }
  .hero__content { padding-block: 56px 40px; }
  .hero__bar-in { justify-content: center; }
  .hero__caption { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- hero: split ---------- */
.hero-split { display: flex; flex-wrap: wrap; }
.hero-split__text { flex: 1 1 480px; padding: clamp(48px, 7vw, 104px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.hero-split__text .hero__title { font-size: clamp(42px, 5.4vw, 84px); }
.hero-split__text .hero__sub { color: #CFCFD4; }
.hero-split__img { flex: 1 1 560px; min-height: 480px; position: relative; }
.hero-split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- stats ---------- */
.stats { background: var(--tint); border-bottom: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 20px 32px; padding-block: 28px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__n { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 32px; line-height: 1.1; }
.stat__l { font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 64px; margin-bottom: 48px; }
.section__head > div { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; }
.section__head--end > div { flex: 0 1 auto; }
.section__head .lede { flex: 1 1 360px; max-width: 460px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }

/* service cards */
.scard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.scard__img { height: 260px; overflow: hidden; }
.scard__img img, .pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.scard:hover img, .pcard:hover img { transform: scale(1.03); }
.scard__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; border-top: 3px solid var(--gold); }
.scard__body h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 28px; line-height: 1.1; }
.scard__body p { margin: 0; color: var(--muted); }
.kicker { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.more { margin-top: auto; padding-top: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }

/* project cards */
.pcard { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); min-width: 0; }
.pcard__img { position: relative; overflow: hidden; height: 300px; background: var(--line); }
.pcard--lg .pcard__img, .pcard--md .pcard__img { height: clamp(300px, 34vw, 460px); }
.pcard__body { display: flex; flex-direction: column; gap: 4px; }
.pcard__body h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 24px; }
.pcard--lg h3 { font-size: 28px; }
.pcard:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.badge { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 7px 11px; }
.pcard__img .badge { position: absolute; top: 16px; left: 16px; }
.badge--done { background: var(--ink); color: var(--white); }
.badge--build { background: var(--gold); color: var(--ink); }
.badge--soon { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.homes-lead { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.homes-lead .pcard--lg { flex: 2 1 560px; }
.homes-lead .pcard--md { flex: 1 1 340px; }

/* search band */
.search-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; padding-block: clamp(48px, 6vw, 72px); }
.search-band__in > div:first-child { flex: 1 1 460px; display: flex; flex-direction: column; gap: 12px; }
.search-band__in p { margin: 0; max-width: 560px; }
.btn--line-light svg, .btn--gold svg { flex-shrink: 0; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 24px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step img { width: 100%; height: 220px; object-fit: cover; }
.step__t { display: flex; gap: 14px; align-items: baseline; }
.step__n { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 30px; color: var(--gold-num); }
.step__t > div { display: flex; flex-direction: column; gap: 4px; }
.step__t strong { font-size: 19px; }
.step__t span:not(.step__n) { color: var(--muted); font-size: 16px; }

/* finishes */
.finishes__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.finishes__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.finishes__text p { margin: 0; max-width: 460px; }
.finish-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); column-gap: 24px; }
.finish-list li { padding: 14px 0; border-top: 1px solid var(--ink-line); }
.finishes__imgs { flex: 1.4 1 520px; min-width: 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.finishes__imgs img { width: 100%; height: clamp(320px, 40vw, 520px); object-fit: cover; }

/* invest */
.invest { display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.invest__img { flex: 1 1 460px; min-height: 420px; position: relative; }
.invest__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.invest__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; justify-content: center; min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.tile { background: var(--tint); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.tile strong { font-size: 18px; }
.tile span { color: var(--muted); font-size: 16px; }

/* team */
.team-photo { width: 100%; height: clamp(300px, 42vw, 620px); object-fit: cover; object-position: center 40%; margin-bottom: 40px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.member { border-top: 2px solid var(--gold); padding-top: 16px; display: flex; gap: 14px; align-items: center; }
.member img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.member div { display: flex; flex-direction: column; gap: 2px; }
.member strong { font-size: 19px; }
.member span { color: var(--muted); font-size: 15px; }

/* testimonials */
.quotes { margin-top: 40px; }
.quote { margin: 0; border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.quote__mark { color: var(--gold); }
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.5; }
.quote figcaption { margin-top: auto; color: var(--muted); font-size: 15px; }
.quote figcaption strong { color: var(--ink); }

/* contact */
.contact__in { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.contact__direct { display: flex; flex-direction: column; gap: 12px; font-size: 18px; padding-top: 10px; }
.contact__direct a { text-decoration: none; }
.contact__phone { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 28px; }
.lead-form { flex: 1.2 1 440px; min-width: 0; background: var(--white); color: var(--ink); padding: clamp(24px, 3vw, 44px); border-top: 4px solid var(--gold); }
.lead-form__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.lead-form .span { grid-column: 1 / -1; }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { min-height: 50px; padding: 0 14px; border: 1px solid #CFCAC0; background: var(--white); font-weight: 400; font-size: 16px; border-radius: 0; }
.lead-form textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.lead-form [aria-invalid="true"] { border-color: #B42318; }
.lead-form__note { margin: 0; font-size: 13px; color: var(--muted); }
.lead-form__error { margin: 0; background: #FEF3F2; color: #B42318; padding: 12px 14px; font-size: 15px; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__done { text-align: center; padding: 40px 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lead-form__done h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 30px; }
.lead-form__done p { margin: 0; color: var(--muted); max-width: 420px; }
.lead-form__check { width: 56px; height: 56px; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; border-radius: 50%; }

/* page head / project */
.page-head { padding-block: clamp(56px, 7vw, 96px); }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head p { margin: 0; max-width: 620px; }
.group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.count { font-family: var(--body); font-size: 14px; font-weight: 700; background: var(--tint); padding: 2px 10px; }
.project-hero { padding-top: clamp(28px, 4vw, 48px); }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.project-hero__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.project-hero__head > div { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.project-hero__head p { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.gallery__item { padding: 0; border: 0; background: var(--line); cursor: zoom-in; height: 240px; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--cover { grid-column: 1 / -1; height: clamp(300px, 46vw, 620px); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(11,12,16,.96); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(11,12,16,.9); }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; background: rgba(255,255,255,.1); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* footer */
.site-footer { background: #050507; color: #9A9BA1; font-size: 15px; }
.site-footer a { color: #9A9BA1; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 56px 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.site-footer__logo { display: block; width: 145px; height: 84px; }
.site-footer__logo img { display: block; width: 145px; height: 84px; max-width: none; object-fit: contain; }
.site-footer__brand p { margin: 0; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.site-footer__nav div { display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav strong { color: var(--white); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px 32px; border-top: 1px solid #1C1D22; font-size: 13px; }
