/* Altitude Development Group — static one-pager
   Palette and type follow the ADG mockups: warm cream canvas, near-black
   feature bands, Altitude gold accents, bold sans headlines, serif moments. */

:root {
  --cream: #f4efe5;
  --cream-deep: #ece5d4;
  --ink: #191510;
  --ink-soft: #4a4337;
  --band: #14110c;
  --band-soft: #211c14;
  --gold: #b8863b;
  --gold-bright: #cf9d52;
  --gold-text: #8a6224; /* gold for text on cream: 4.5:1, the lighter golds fail there */
  --line: rgba(25, 21, 16, 0.16);
  --line-dark: rgba(244, 239, 229, 0.18);
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.015em; }

h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
}

h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

h3 { font-weight: 700; font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 40;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip:focus-visible { top: 12px; }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.1em;
  color: var(--ink-soft);
}
.kicker-gold { color: var(--gold-text); }
.land .kicker-gold, .hero .kicker-gold { color: var(--gold-bright); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: #1c1507; }
.btn-gold:hover { background: var(--gold-bright); }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--band-soft); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 239, 229, 0.55);
}
.btn-ghost:hover { border-color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-wide { width: 100%; }

@media (pointer: coarse) {
  .btn, .nav-links a, .nav-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---------- header ---------- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--pad);
  position: relative;
  z-index: 20;
}

.brand img { width: 118px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a:not(.btn) {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links a:not(.btn):hover { border-color: var(--gold); }

.nav-links .btn { padding: 11px 20px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  color: var(--ink);
}

.nav-toggle-bar {
  width: 18px; height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: currentColor;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: static; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(25, 21, 16, 0.14);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 14px; text-align: center; }
  .nav-links .btn { margin-top: 6px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  margin: 0 clamp(10px, 1.6vw, 24px);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1710 0%, var(--band) 70%);
  color: var(--cream);
  min-height: min(82vh, 760px);
  display: flex;
  align-items: flex-end;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 11, 6, 0.74) 0%, rgba(14, 11, 6, 0.45) 46%, rgba(14, 11, 6, 0.08) 78%),
    linear-gradient(0deg, rgba(14, 11, 6, 0.6) 0%, rgba(14, 11, 6, 0) 45%);
}

.hero-inner {
  position: relative;
  padding: clamp(90px, 12vh, 150px) var(--pad) clamp(44px, 7vh, 80px);
  max-width: 860px;
  text-shadow: 0 1px 3px rgba(10, 8, 4, 0.7), 0 4px 18px rgba(10, 8, 4, 0.5);
}

.hero-inner .btn { text-shadow: none; }

.hero-logo {
  width: clamp(210px, 26vw, 330px);
  height: auto;
  margin-bottom: clamp(18px, 3vh, 30px);
  filter: drop-shadow(0 3px 14px rgba(10, 8, 4, 0.55));
}

.hero-kicker { color: var(--gold-bright); margin: 0.4em 0 1.2em; }

.hero h1 { max-width: 16ch; margin-bottom: 0.15em; }

.hero-lede {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 52ch;
  color: rgba(244, 239, 229, 0.86);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* ---------- shared section spacing ---------- */

section { padding: clamp(56px, 9vw, 110px) var(--pad); }
.hero { padding: 0; }

/* ---------- who we are ---------- */

.who-grid {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
  gap: clamp(20px, 4vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
}

.who-statement {
  font-weight: 500;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 44ch;
  margin-bottom: 1.6em;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.fact dt { font-weight: 700; margin-bottom: 4px; font-size: 1.05rem; }
.fact dd { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

@media (max-width: 760px) {
  .who-grid { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- approach ---------- */

.approach {
  background: var(--cream-deep);
}

.approach h2, .approach .kicker { max-width: 1180px; margin-left: auto; margin-right: auto; }
.approach .kicker { margin-bottom: 1.1em; }

.steps {
  list-style: none;
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.step {
  border-top: 2px solid var(--gold);
  padding-top: 18px;
}

.step-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  display: block;
  margin-bottom: 10px;
}

.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- places ---------- */

.places > .kicker, .places-head, .place-cards { max-width: 1180px; margin-left: auto; margin-right: auto; }

.places-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.place-cards {
  list-style: none;
  padding: 0;
  margin: clamp(26px, 4vw, 44px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.place-art {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
}

.place-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-card p {
  margin: 12px 2px 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) { .place-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .place-cards { grid-template-columns: 1fr; } }

/* ---------- current project ---------- */

.project { padding-top: 0; }

.project-card {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}

.project-photo {
  border-radius: 14px;
  overflow: hidden;
}
.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

.project-mark { width: clamp(120px, 14vw, 165px); margin: 4px 0 14px; }

.project-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
}

.project-chips li {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
}

.chip-status {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.project-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.6em;
}

.project-body > p:not(.project-tag):not(.kicker) {
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 1.6em;
}

@media (max-width: 860px) {
  .project-card { grid-template-columns: 1fr; }
}

/* ---------- landowners ---------- */

.land {
  background: var(--band);
  color: var(--cream);
}

.land-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.land h2 { max-width: 14ch; }

.land-lede { color: rgba(244, 239, 229, 0.82); max-width: 50ch; }

.buy-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.buy-list li {
  font-weight: 700;
  padding: 13px 2px;
  border-top: 1px solid var(--line-dark);
}

.land-form {
  background: var(--band-soft);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: clamp(22px, 3vw, 34px);
}

.land-form h3 { font-size: 1.3rem; margin-bottom: 1em; }

.field { margin-bottom: 16px; display: flex; flex-direction: column; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: rgba(244, 239, 229, 0.85);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--cream);
  background: rgba(244, 239, 229, 0.06);
  border: 1px solid rgba(244, 239, 229, 0.3);
  border-radius: 8px;
  padding: 11px 12px;
  transition: border-color 0.2s var(--ease);
}

.field select { appearance: auto; }
.field select option { color: var(--ink); background: var(--cream); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 96px; }

.form-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: rgba(244, 239, 229, 0.72);
  text-align: center;
}

.form-success {
  margin-top: 16px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(184, 134, 59, 0.12);
}
.form-success p { margin: 0; }

@media (max-width: 860px) {
  .land-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .buy-list { grid-template-columns: 1fr; }
}

/* ---------- team ---------- */

.team > .kicker, .team-head, .team-grid { max-width: 1180px; margin-left: auto; margin-right: auto; }

.team-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
}

.team-head h2 { max-width: 15ch; margin-bottom: 0; }
.team-lede { color: var(--ink-soft); margin: 0; }

.team-grid {
  list-style: none;
  padding: 0;
  margin: clamp(30px, 4vw, 52px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.member-photo {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-photo span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(25, 21, 16, 0.4);
}

.member h3 { font-size: 1.35rem; margin-bottom: 0.2em; }

.member-role {
  color: var(--gold-text);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.9em;
}

.member > p:last-child { color: var(--ink-soft); font-size: 1rem; margin: 0; }

@media (max-width: 860px) {
  .team-head { grid-template-columns: 1fr; align-items: start; }
  .team-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ---------- closing CTA ---------- */

.cta-band {
  background: var(--band);
  color: var(--cream);
  margin: 0 clamp(10px, 1.6vw, 24px) clamp(10px, 1.6vw, 24px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.3rem); }

/* ---------- footer ---------- */

.site-foot {
  padding: clamp(40px, 6vw, 70px) var(--pad) 28px;
}

.foot-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
}

.foot-brand img { width: 128px; margin-bottom: 16px; }
.foot-brand p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

.foot-col h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1em;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 12px; font-size: 1.05rem; color: var(--ink-soft); }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--gold-text); text-decoration: underline; }

.foot-legal {
  max-width: 1180px;
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- entrances ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Shaw Ranch project page ---------- */

.hero-sr { min-height: min(74vh, 680px); }

.hero-logo-sr {
  width: clamp(150px, 17vw, 215px);
  filter: drop-shadow(0 3px 14px rgba(10, 8, 4, 0.55));
}

.sr-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  margin: 0 0 1.2em;
  color: var(--cream);
}

.sr-facts { padding-top: clamp(28px, 4vw, 48px); padding-bottom: 0; }

.facts-bar {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(22px, 3vw, 34px);
}

.facts-bar dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 6px;
}

.facts-bar dd { margin: 0; font-weight: 700; font-size: 1.05rem; }

.sr-story {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0.6em;
}

.sr-story-body {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0;
}

.sr-amenities {
  background: var(--band);
  color: var(--cream);
}

.sr-amenities .kicker, .sr-amenities h2, .am-cards, .stat-strip {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.am-cards {
  list-style: none;
  padding: 0;
  margin: clamp(26px, 4vw, 44px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.am-cards li {
  background: var(--band-soft);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 22px 20px;
}

.am-cards h3 { color: var(--gold-bright); font-size: 1.05rem; }
.am-cards p { margin: 0; font-size: 0.98rem; color: rgba(244, 239, 229, 0.82); }

.stat-strip {
  margin-top: clamp(26px, 4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0;
}

.sr-photos { padding-top: clamp(40px, 6vw, 70px); }

.photo-row {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.photo-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.photo-row p { margin: 10px 2px 0; font-size: 0.98rem; color: var(--ink-soft); }

.nav-links a[aria-current="page"]:not(.btn) { border-bottom-color: var(--gold); }

@media (max-width: 900px) {
  .am-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .facts-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .am-cards { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr; }
  .facts-bar { grid-template-columns: 1fr; gap: 16px; }
}
