/* estates.west-landscape.com
   Palette: sand, deep green, off-white, navy. Change here only.
   Greens and navy are sampled from the West Landscape logo. */
:root {
  --sand: #d9cbb3;
  --sand-light: #efe8db;
  --leaf: #69b948;          /* logo gradient, top */
  --green: #007e5f;         /* logo gradient, bottom */
  --green-deep: #005c46;    /* darker step for text on light */
  --brand-gradient: linear-gradient(90deg, var(--leaf), var(--green));
  --offwhite: #faf8f3;
  --navy: #0e1f2b;          /* logo wordmark */
  --ink: #22303b;
  --muted: #66707a;
  --line: rgba(14, 31, 43, 0.14);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(5rem, 12vw, 10rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: var(--navy); }

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

/* Masthead --------------------------------------------------------- */
.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  color: #fff;
  background: rgba(14, 31, 43, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand { display: inline-flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.brand img { width: clamp(150px, 22vw, 210px); height: auto; }
.brand-sub {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.masthead-link {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.masthead :focus-visible { outline-color: #fff; }

/* Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 31, 43, 0) 0%, rgba(14, 31, 43, 0) 40%, rgba(14, 31, 43, 0.78) 100%);
}

.hero-text {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) clamp(3rem, 9vw, 6.5rem);
}

.eyebrow {
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(14, 31, 43, 0.5);
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 1px 24px rgba(14, 31, 43, 0.35);
  font-size: clamp(2.75rem, 8.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

/* Intro ------------------------------------------------------------ */
.intro {
  padding: var(--section) var(--gutter);
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.lede {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.5;
  color: var(--navy);
  text-wrap: pretty;
}

/* Detail photo ----------------------------------------------------- */
.detail { padding: 0 var(--gutter); max-width: 84rem; margin: 0 auto; }
.detail figure { margin: 0; }
.detail img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sand-light); }
.detail figcaption {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* What we care for ------------------------------------------------- */
.care { padding: var(--section) var(--gutter); max-width: 84rem; margin: 0 auto; }

.care h2, .contact h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; }

/* A short rule in the logo's gradient: the one place it appears outside the logo. */
.care h2::before, .contact h2::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: 1.5rem;
  background: var(--brand-gradient);
}

.care-list {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem);
}

.care-list li { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.care-list h3 { font-size: 1.5rem; margin-bottom: 0.4rem; color: var(--green-deep); }
.care-list p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Contact ---------------------------------------------------------- */
.contact { background: var(--sand-light); padding: var(--section) var(--gutter); }
.contact-inner { max-width: 44rem; margin: 0 auto; text-align: center; }
.contact-note { margin: 0.9rem 0 0; color: var(--muted); }

.contact h2::before { margin-left: auto; margin-right: auto; }

.contact-email { margin: clamp(2rem, 5vw, 3rem) 0 0; }
.contact-email a {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.6vw, 2.25rem);
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 31, 43, 0.35);
  padding-bottom: 0.15em;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-email a:hover { color: var(--green); border-bottom-color: var(--green); }

/* Footer ----------------------------------------------------------- */
.footer {
  background: var(--navy);
  color: var(--sand-light);
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter);
}
.footer-logo { display: inline-block; }
.footer-logo img { width: 128px; height: auto; margin: 0 auto 0.5rem; }
.footer p { margin: 1rem 0 0; font-size: 0.85rem; letter-spacing: 0.08em; }
.footer .fineprint { font-size: 0.72rem; opacity: 0.6; }
.footer :focus-visible { outline-color: var(--sand); }

/* Small screens ---------------------------------------------------- */
@media (max-width: 600px) {
  .brand { gap: 0.7rem; }
  .brand-sub { padding-left: 0.7rem; letter-spacing: 0.26em; }
  .masthead-link { display: none; }
  .hero-img { object-position: 62% center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
