/* MK Watson Homes — Phase 1 brochure
   Brand: granite lite-gray · gold · white
   Fonts: Cormorant Garamond · Montserrat
*/

:root {
  --granite: #6e6e6e;
  --granite-deep: #4a4a4a;
  --granite-lite: #8a8a8a;
  --granite-soft: #9a9a9a;
  --marble: #b8b8b8;
  --gold: #c9a227;
  --gold-bright: #e0bc4a;
  --gold-soft: #d4af37;
  --gold-dim: #a8861f;
  --white: #f7f5f0;
  --white-pure: #ffffff;
  --ink: #1a1a1a;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white);
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(201, 162, 39, 0.08), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 20%, rgba(255, 255, 255, 0.05), transparent 45%),
    linear-gradient(165deg, #7a7a7a 0%, var(--granite) 35%, #5c5c5c 70%, var(--granite-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--white-pure);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  color: var(--gold);
  letter-spacing: 0.04em;
}

h3 {
  font-size: 1.35rem;
  color: var(--white-pure);
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: rgba(247, 245, 240, 0.88);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(74, 74, 74, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  transition: box-shadow 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.nav a:hover {
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--gold);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
}

.hero-card {
  position: relative;
  width: 100%;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.35);
  animation: heroIn 1.1s var(--ease) both;
  background: var(--granite-deep);
}

.hero-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.hero-copy {
  position: relative;
  margin-top: 1.75rem;
  padding: 0;
  max-width: 36rem;
  animation: fadeUp 0.9s var(--ease) 0.25s both;
}

.hero-copy .lede {
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.75);
  margin-bottom: 1.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dim));
  color: var(--ink);
  border-color: var(--gold);
}

.btn-gold:hover {
  color: var(--ink);
  background: linear-gradient(180deg, #edd06a, var(--gold));
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(201, 162, 39, 0.55);
}

.btn-ghost:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  margin-bottom: 0;
}

.gold-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.gold-rule::before,
.gold-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  max-width: 4rem;
}

.gold-rule span {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
  flex-shrink: 0;
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
  }
}

.about-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.12)),
    rgba(74, 74, 74, 0.45);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 1.75rem;
}

.about-panel h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-list svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
}

.contact-list a {
  color: var(--white);
}

.contact-list a:hover {
  color: var(--gold-bright);
}

.dre {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.65);
}

/* Services */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.service-list li {
  padding: 1.5rem 1.35rem;
  border-left: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.service-list li.is-visible {
  opacity: 1;
  transform: none;
}

.service-list li:nth-child(2) {
  transition-delay: 0.08s;
}

.service-list li:nth-child(3) {
  transition-delay: 0.16s;
}

.service-list h3 {
  margin-bottom: 0.5rem;
}

.service-list p {
  margin: 0;
  font-size: 0.92rem;
}

/* Communities */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .community-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.community-grid a {
  display: flex;
  align-items: flex-end;
  min-height: 7.5rem;
  padding: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white-pure);
  letter-spacing: 0.03em;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background:
    linear-gradient(160deg, rgba(201, 162, 39, 0.12), transparent 55%),
    rgba(58, 58, 58, 0.55);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.community-grid a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.55);
  font-style: italic;
}

/* Contact band */
.contact-band {
  text-align: center;
  padding: 4rem 0;
  background:
    radial-gradient(ellipse at center, rgba(201, 162, 39, 0.15), transparent 65%),
    rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.contact-band h2 {
  margin-bottom: 0.5rem;
}

.contact-band .lede {
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.phone-display {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.phone-display:hover {
  color: var(--gold-bright);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white-pure);
  letter-spacing: 0.04em;
}

.footer-brand span {
  color: var(--gold);
  font-weight: 600;
}

.footer-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.5);
  text-align: right;
}

.footer-meta p {
  margin: 0.25rem 0;
  color: inherit;
  font-size: inherit;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(58, 58, 58, 0.98);
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .service-list li {
    opacity: 1;
    transform: none;
  }
}
