:root {
  --bg: #1a1210;
  --bg-deep: #100c0b;
  --ink: #f7efe8;
  --muted: #c4b0a4;
  --gold: #c9a87c;
  --gold-soft: rgba(201, 168, 124, 0.22);
  --rose: #e8b4b8;
  --rose-deep: #d48a92;
  --line: rgba(247, 239, 232, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 15% 20%, rgba(232, 180, 184, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 10%, rgba(201, 168, 124, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 12, 11, 0.35) 0%, rgba(16, 12, 11, 0.55) 42%, rgba(16, 12, 11, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 50% 20%, transparent 0%, rgba(16, 12, 11, 0.35) 100%);
}

.hero-content {
  position: relative;
  width: min(680px, calc(100% - 2.5rem));
  margin: 0 0 clamp(4.5rem, 12vh, 7rem) clamp(1.25rem, 5vw, 4rem);
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 1s var(--ease) 0.15s forwards;
}

.brand-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  animation: float-soft 5.5s ease-in-out infinite;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.headline {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  color: rgba(247, 239, 232, 0.92);
}

.lead {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.55;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.35s var(--ease), background 0.35s ease, box-shadow 0.35s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b89262);
  color: #1a1210;
  box-shadow: 0 10px 30px rgba(201, 168, 124, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 168, 124, 0.38);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(247, 239, 232, 0.35);
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: 0;
  animation: rise-in 0.8s var(--ease) 0.8s forwards;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--rose);
  animation: cue-fall 1.6s ease-in-out infinite;
}

/* —— Services —— */
.services {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 2rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem 1.35rem;
  align-items: start;
  padding: 1.35rem 0 1.55rem;
  border-top: 1px solid var(--line);
}

.service:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.service-icon img {
  width: 88px;
  height: 88px;
  transition: transform 0.55s var(--ease);
}

.service:hover .service-icon img {
  transform: translateY(-4px) scale(1.04);
}

.service-body h3 {
  margin: 0.15rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.service-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42ch;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 168, 124, 0.35);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.link-chip img {
  width: 22px;
  height: 22px;
}

.link-chip:hover {
  transform: translateY(-2px);
  background: rgba(201, 168, 124, 0.32);
  border-color: rgba(201, 168, 124, 0.55);
}

.link-chip-soft {
  background: rgba(232, 180, 184, 0.12);
  border-color: rgba(232, 180, 184, 0.28);
}

.link-chip-soft:hover {
  background: rgba(232, 180, 184, 0.22);
  border-color: rgba(232, 180, 184, 0.45);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2.75rem 1rem 3.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer img {
  width: 36px;
  height: 36px;
  opacity: 0.9;
}

.footer span {
  font-family: var(--font-display);
  color: var(--rose);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

@keyframes cue-fall {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

@media (max-width: 640px) {
  .service {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-icon {
    width: 72px;
    height: 72px;
  }

  .service-icon img {
    width: 72px;
    height: 72px;
  }

  .hero-content {
    margin-bottom: 5.5rem;
  }
}

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

  .hero-img,
  .brand-mark,
  .scroll-cue span,
  .hero-content {
    animation: none !important;
  }

  .hero-content,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
