:root {
  --sky-mist: #dceaf5;
  --sky-deep: #b8d4ea;
  --sun-wash: #ffe9b8;
  --sun-glow: #ffd56a;
  --coral: #f0786a;
  --coral-deep: #e85a48;
  --gold: #e8b84a;
  --gold-deep: #8a6a14;
  --ink: #1a2744;
  --ink-soft: #334155;
  --muted: #4a5a6a;
  --foam: #fffaf4;
  --line: rgba(26, 39, 68, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-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 80% 0%, var(--sun-wash) 0%, transparent 55%),
    radial-gradient(90% 70% at 10% 20%, var(--sky-mist) 0%, transparent 50%),
    radial-gradient(70% 50% at 50% 100%, color-mix(in srgb, var(--coral) 18%, transparent) 0%, transparent 45%),
    linear-gradient(165deg, #f4f8fc 0%, var(--foam) 45%, #fff6ea 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 {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-decoration: none;
}

.brand-title {
  display: block;
}

.brand-tagline {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  opacity: 0.9;
  white-space: nowrap;
}

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

.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 70% 20%, var(--sun-glow) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 15% 40%, var(--sky-deep) 0%, transparent 55%),
    linear-gradient(180deg, #cfe3f4 0%, #f7f1e4 55%, #ffe8d2 100%);
}

.hero-art {
  position: absolute;
  left: 52%;
  top: 18%;
  right: auto;
  transform: translateX(-10%);
  z-index: 0;
  width: min(38vw, 22rem);
  height: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 28px rgba(26, 39, 68, 0.14));
}

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

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
  opacity: 0.9;
}

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

.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-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  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(--coral);
  color: #fff;
}

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

.btn-ghost {
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  color: var(--ink);
  background: color-mix(in srgb, var(--foam) 70%, 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: 500;
  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.4rem;
  font-weight: 500;
}

.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(--coral-deep);
}

/* Case-study brand mark: transparent, no white tile, smaller than UI shots */
.mls-case-shot-brand {
  max-width: 11rem;
  justify-self: start;
}

.mls-case-shot-brand img {
  background: transparent;
  border: none;
  border-radius: 0;
  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 {
    max-width: 52%;
  }

  .brand-title {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

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

  .hero-media {
    background:
      radial-gradient(ellipse 110% 58% at 50% 12%, var(--sun-glow) 0%, transparent 52%),
      radial-gradient(ellipse 90% 50% at 18% 42%, var(--sky-deep) 0%, transparent 55%),
      linear-gradient(180deg, #cfe3f4 0%, #f7f1e4 55%, #ffe8d2 100%);
  }

  .hero-art {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    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;
  }
}
