/* =========================================================
   BJMAHAR.COM
   V2.1 — Quieter Colorado Modern Americana
   Mobile intro alignment corrected
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --cream: #f2ecdf;
  --cream-light: #faf7f0;
  --ink: #23302b;
  --green: #2b433a;
  --green-dark: #1d3029;
  --rust: #9a513b;
  --gold: #b28d5d;
  --white: #fffdf8;

  --page-width: 1240px;
  --header-height: 82px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

/* =========================================================
   TYPE
   ========================================================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}

h1,
h2 {
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 3.5vw, 4rem);
  font-weight: 600;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 600;
}

p {
  font-size: 0.98rem;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--rust);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4.2vw, 4.5rem);
  font-weight: 600;
}

.section-inner {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;

  display: flex;
  width: 100%;
  height: var(--header-height);
  padding: 0 4.5vw;
  align-items: center;
  justify-content: space-between;

  color: var(--white);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    height 0.25s ease;
}

.site-header.scrolled {
  height: 68px;
  background: rgba(29, 48, 41, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 600;
}

.brand-city {
  margin-top: 5px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 0.65;
}

.site-nav .nav-resource {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--green-dark);
}

.hero-image {
  width: 100%;
  min-height: 100svh;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(8, 20, 17, 0.06) 0%,
      rgba(8, 20, 17, 0.01) 55%,
      rgba(8, 20, 17, 0.28) 100%
    );
}

.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 28px;
  z-index: 3;

  display: flex;
  gap: 10px;
  align-items: center;

  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue span {
  font-size: 1rem;
}

/* =========================================================
   INTRO
   ========================================================= */

.intro-section {
  padding: 90px 0 82px;
  background: var(--cream-light);
}

.intro-inner {
  max-width: 940px;
  margin: 0;
}

.intro-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: #3b4843;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.5;
}

/* =========================================================
   REAL ESTATE
   ========================================================= */

.real-estate-section {
  padding: 88px 0;
  background: var(--cream);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 640px;
  color: #4b5752;
}

.real-estate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.real-estate-card {
  background: var(--cream-light);
  border: 1px solid rgba(35, 48, 43, 0.08);
}

.real-estate-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.real-estate-image img {
  height: 100%;
  object-fit: cover;
}

.card-copy {
  padding: 26px 28px 30px;
}

.card-copy p {
  max-width: 510px;
  color: #4a5551;
}

.card-copy a {
  display: inline-block;
  margin-top: 5px;
  padding-bottom: 3px;

  border-bottom: 1px solid var(--rust);

  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   EXPLORE
   ========================================================= */

.explore-section {
  padding: 88px 0;
  background: var(--cream-light);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.explore-card {
  display: block;
  overflow: hidden;
  background: #eef0ea;
}

.explore-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.explore-card:hover img {
  transform: scale(1.015);
}

.explore-label {
  display: flex;
  min-height: 78px;
  padding: 17px 18px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;

  background: #e7e9e3;
  color: var(--ink);
  border-top: 1px solid rgba(35, 48, 43, 0.07);
}

.explore-label span {
  color: var(--rust);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.explore-label strong {
  max-width: 210px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: right;
}

/* =========================================================
   NEIGHBORHOODS
   ========================================================= */

.neighborhood-section {
  padding: 82px 0;
  background: var(--cream);
}

.neighborhood-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 62px;
  align-items: start;
}

.neighborhood-inner > div:first-child {
  max-width: 500px;
}

.neighborhood-inner p:not(.eyebrow) {
  color: #4b5752;
}

.question-list {
  border-top: 1px solid rgba(35, 48, 43, 0.18);
}

.question-list a {
  display: flex;
  padding: 19px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-bottom: 1px solid rgba(35, 48, 43, 0.18);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.question-list span {
  color: var(--rust);
  opacity: 0.8;
}

.question-list a:hover {
  color: var(--rust);
}

/* =========================================================
   RESOURCES
   ========================================================= */

.resources-callout {
  padding: 72px 0;
  background: #30483f;
  color: var(--white);
}

.resources-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
}

.resources-inner h2 {
  max-width: 680px;
}

.resources-inner p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.resource-eyebrow {
  color: #d6bd99;
}

.resource-action {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.resource-button {
  display: flex;
  width: 100%;
  max-width: 360px;
  padding: 17px 19px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  background: #f5f0e5;
  color: var(--ink);

  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.resource-button:hover {
  transform: translateY(-1px);
  background: var(--white);
}

.resource-button span {
  font-size: 1rem;
}

.resource-action small {
  color: rgba(255, 255, 255, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-style: italic;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: var(--cream-light);
}

.about-image {
  min-height: 620px;
  overflow: hidden;
}

.about-image img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-copy {
  display: flex;
  padding: 68px 7vw;
  justify-content: center;
  flex-direction: column;
}

.about-copy h2 {
  max-width: 560px;
}

.about-copy p {
  max-width: 540px;
  color: #46524e;
}

.about-copy a {
  display: inline-block;
  width: fit-content;
  margin-top: 6px;
  padding-bottom: 3px;

  border-bottom: 1px solid var(--rust);

  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   REAL ESTATE CTA
   ========================================================= */

.real-estate-cta {
  padding: 82px 0;
  background: #a0523a;
  color: var(--white);
}

.cta-inner {
  text-align: center;
}

.cta-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.real-estate-cta h2 {
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-buttons a {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);

  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-buttons a:first-child {
  background: #f4eee1;
  color: var(--ink);
  border-color: #f4eee1;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  padding: 88px 0;
  background: var(--cream);
}

.contact-inner {
  max-width: 740px;
  text-align: center;
}

.contact-inner > p:not(.eyebrow) {
  color: #4a5651;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.contact-actions {
  display: flex;
  margin: 30px 0 38px;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.contact-actions a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rust);

  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  max-width: 630px;
  margin: 0 auto;
  gap: 18px;
  text-align: left;
}

.contact-form label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 5px;
  padding: 11px 0;

  border: 0;
  border-bottom: 1px solid rgba(35, 48, 43, 0.28);
  outline: 0;

  background: transparent;
  color: var(--ink);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-submit {
  width: fit-content;
  margin: 5px auto 0;
  padding: 12px 20px;

  border: 0;
  background: var(--green-dark);
  color: var(--white);

  cursor: pointer;

  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  display: grid;
  padding: 38px 5vw;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;

  background: var(--green-dark);
  color: var(--white);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-brand span {
  margin-top: 4px;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer-links a {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.85;
}

.footer-legal {
  text-align: right;
}

.footer-legal p {
  margin: 3px 0;
  font-size: 0.68rem;
  opacity: 0.62;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 0.6rem;
  }

  .real-estate-grid {
    gap: 20px;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-card {
    display: grid;
    grid-template-columns: 1.45fr 0.55fr;
  }

  .explore-card img {
    aspect-ratio: 16 / 9;
  }

  .explore-label {
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-end;
  }

  .explore-label strong {
    text-align: left;
  }

  .neighborhood-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .resources-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  :root {
    --header-height: 70px;
  }

  .section-inner {
    width: min(calc(100% - 34px), var(--page-width));
  }

  /* Correct intro alignment on mobile only */
  .intro-inner {
    margin-left: auto;
    margin-right: auto;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;

    display: flex;
    padding: 105px 28px 40px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 18px;

    background: var(--green-dark);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
  }

  .site-nav .nav-resource {
    padding: 0;
    border: 0;
    color: #dcc59f;
  }

  .hero {
    min-height: 0;
    padding-top: var(--header-height);
    background: #c9b393;
  }

  .hero-image {
    min-height: 0;
    height: auto;
    object-fit: contain;
  }

  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(8, 20, 17, 0.02),
        rgba(8, 20, 17, 0.12)
      );
  }

  .scroll-cue {
    right: auto;
    bottom: 12px;
    left: 17px;
    font-size: 0.54rem;
  }

  .intro-section,
  .real-estate-section,
  .explore-section,
  .neighborhood-section,
  .contact-section {
    padding: 62px 0;
  }

  .intro-copy {
    font-size: 1.08rem;
  }

  .real-estate-grid {
    grid-template-columns: 1fr;
  }

  .real-estate-image {
    aspect-ratio: auto;
  }

  .real-estate-image img {
    height: auto;
    object-fit: contain;
  }

  .card-copy {
    padding: 22px 20px 25px;
  }

  .explore-card {
    display: block;
  }

  .explore-card img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .explore-label {
    min-height: 0;
    padding: 15px 17px;
    flex-direction: row;
    justify-content: space-between;
  }

  .explore-label strong {
    max-width: 190px;
    font-size: 0.94rem;
    text-align: right;
  }

  .resources-callout {
    padding: 60px 0;
  }

  .resource-button {
    max-width: none;
  }

  .about-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-image {
    min-height: 0;
  }

  .about-image img {
    height: auto;
    object-fit: contain;
  }

  .about-copy {
    padding: 58px 20px;
  }

  .real-estate-cta {
    padding: 66px 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-legal {
    text-align: left;
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .section-title {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
  }

  .explore-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .explore-label strong {
    text-align: left;
  }

  .contact-actions {
    gap: 16px;
  }

  .cta-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-buttons a {
    width: 100%;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile navigation background fix */
@media (max-width: 760px) {
  .site-header .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    z-index: 1001;
    background: #1d3029 !important;
    color: #fffdf8;
    overflow-y: auto;
  }

  .site-header .site-nav.open {
    background: #1d3029 !important;
    opacity: 1;
    visibility: visible;
  }

  .site-header .site-nav a {
    color: #fffdf8;
  }

  .site-header .site-nav .nav-resource {
    color: #dcc59f;
  }
}

