:root {
  --ink: #14201c;
  --ink-soft: #2a3b34;
  --mist: #e3ece8;
  --fog: #c5d4ce;
  --pine: #1e5c48;
  --pine-deep: #143d31;
  --copper: #9a6b3a;
  --copper-deep: #7a542c;
  --paper: #f3f7f5;
  --line: rgba(20, 32, 28, 0.12);
  --muted: #4a5e56;
  --font-display: "Syne", sans-serif;
  --font-body: "Literata", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(120% 80% at 85% 0%, color-mix(in srgb, var(--pine) 18%, transparent) 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 25%, var(--mist) 0%, transparent 50%),
    radial-gradient(70% 50% at 50% 100%, color-mix(in srgb, var(--copper) 14%, transparent) 0%, transparent 45%),
    linear-gradient(165deg, #d7e8e1 0%, var(--paper) 48%, #cfd9e4 100%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  color: var(--ink);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-display);
}

.header-links a {
  text-decoration: none;
  opacity: 0.85;
}

.header-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 72% 18%, color-mix(in srgb, var(--pine) 35%, transparent) 0%, transparent 52%),
    radial-gradient(ellipse 80% 60% at 12% 42%, var(--fog) 0%, transparent 55%),
    linear-gradient(180deg, #c5d9d0 0%, #e8f0ec 52%, #d4dde6 100%);
}

.hero-art {
  position: absolute;
  left: 54%;
  top: 14%;
  z-index: 0;
  width: min(36vw, 20rem);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  border-radius: 1rem;
  filter: drop-shadow(0 14px 32px rgba(20, 32, 28, 0.18));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--copper-deep);
  opacity: 0.95;
}

.hero h1 {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero-lede {
  margin: 1.25rem 0 0;
  max-width: 30rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.65rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--pine);
  color: #f3f7f5;
}

.btn-primary:hover {
  background: var(--pine-deep);
}

.btn-ghost {
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}

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

.section {
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section p.lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  min-width: 0;
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.feature p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--pine);
}

.mls-case-shot-brand {
  max-width: 11rem;
  justify-self: start;
}

.mls-case-shot-brand img {
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 11rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-rise {
  animation: rise 0.85s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

@media (max-width: 720px) {
  .site-header {
    padding: 1rem 1.15rem;
  }

  .brand {
    font-size: 1.05rem;
    max-width: 52%;
    line-height: 1.2;
  }

  .hero {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 4.75rem;
  }

  .hero-art {
    position: relative;
    left: auto;
    top: auto;
    display: block;
    width: min(68vw, 15.5rem);
    margin: 0.35rem auto 0.15rem;
    z-index: 1;
  }

  .hero-inner {
    padding: 0.85rem 1.25rem 3.25rem;
  }

  .hero h1 {
    max-width: none;
  }
}
