:root {
  --bg: #f4f0e8;
  --ink: #1c2a28;
  --muted: #5d6d69;
  --accent: #1f6f66;
  --accent-deep: #14554e;
  --panel: rgba(255, 250, 242, 0.72);
  --line: rgba(28, 42, 40, 0.12);
  --shadow: 0 24px 60px rgba(31, 55, 50, 0.12);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(143, 208, 194, 0.45), transparent 60%),
    radial-gradient(700px 480px at 95% 8%, rgba(214, 176, 120, 0.28), transparent 55%),
    linear-gradient(180deg, #efe8db 0%, #f4f0e8 42%, #e7efe9 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.04) translate3d(-1.5%, 1%, 0);
  }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  min-height: calc(100vh - 4.5rem);
  padding: 0 1.5rem 2.5rem;
}

.hero-copy {
  max-width: 36rem;
  padding-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 18ch;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 34ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.btn.primary {
  background: var(--accent);
  color: #f7fffc;
}

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

.btn.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.hero-visual {
  margin: 0;
  justify-self: stretch;
  height: min(78vh, 720px);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(24px);
  animation: slide-in 1100ms cubic-bezier(0.22, 1, 0.36, 1) 220ms forwards;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.orb {
  transform-origin: 470px 170px;
  animation: float 6.5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

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

@keyframes slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}

.about h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
}

.about p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.5rem;
    padding-top: 0.5rem;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .brand {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-visual {
    height: 52vh;
    min-height: 320px;
    order: -1;
    margin-inline: -1.5rem;
    width: calc(100% + 3rem);
  }

  .foot {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .hero-copy,
  .hero-visual,
  .orb {
    animation: none;
  }

  .hero-copy,
  .hero-visual {
    opacity: 1;
    transform: none;
  }
}
