/* LAC Studio — landing page
   Palette is derived from the studio artwork (warm gold on deep night blue). */

:root {
  --bg: #080b14;
  --bg-soft: #0d1220;
  --ink: #f6f8fc;
  --muted: #99a4ba;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.04);
  --gold: #e6b877;
  --gold-deep: #c98d4c;
  --radius-lg: 24px;
  --shell: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: #1b1205;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

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

a {
  color: inherit;
}

/* ---------- ambient background ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(58rem 34rem at 15% -10%, rgba(230, 184, 119, 0.16), transparent 62%),
    radial-gradient(48rem 32rem at 92% 8%, rgba(139, 124, 246, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 62%);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(60% 55% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 0%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: drift 18s var(--ease) infinite alternate;
}

.orb--gold {
  width: 26rem;
  height: 26rem;
  top: -6rem;
  left: -8rem;
  background: radial-gradient(circle at 30% 30%, rgba(230, 184, 119, 0.5), transparent 68%);
}

.orb--violet {
  width: 30rem;
  height: 30rem;
  right: -10rem;
  bottom: -12rem;
  background: radial-gradient(circle at 60% 40%, rgba(139, 124, 246, 0.42), transparent 68%);
  animation-delay: -7s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3rem, 2.5rem, 0) scale(1.12);
  }
}

/* ---------- shell ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(8, 11, 20, 0.62);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 6px 16px rgba(230, 184, 119, 0.28));
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-5deg) scale(1.08);
  filter: drop-shadow(0 8px 20px rgba(230, 184, 119, 0.55));
}

.brand__name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

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

.btn--ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: rgba(230, 184, 119, 0.55);
  color: var(--gold);
}

.btn svg {
  transition: transform 0.25s var(--ease);
}

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

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(4rem, 12vh, 8.5rem) clamp(3rem, 8vh, 5.5rem);
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 184, 119, 0.3);
  background: rgba(230, 184, 119, 0.09);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  60% {
    box-shadow: 0 0 0 8px rgba(230, 184, 119, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 184, 119, 0);
  }
}

.hero__title {
  margin-top: 1.6rem;
  font-size: clamp(2.9rem, 9vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(160deg, #ffffff 12%, var(--gold) 68%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  margin-top: 1.1rem;
  font-size: clamp(1.15rem, 3.2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.hero__copy {
  margin: 1.5rem auto 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.08rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  padding-bottom: clamp(3.5rem, 9vh, 6rem);
}

.card {
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 184, 119, 0.42);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.05rem;
  border-radius: 14px;
  background: rgba(230, 184, 119, 0.12);
  border: 1px solid rgba(230, 184, 119, 0.22);
  font-size: 1.25rem;
}

.card h2 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding-block: clamp(3rem, 7vh, 4.5rem);
  text-align: center;
}

.site-footer__mark {
  width: clamp(120px, 22vw, 150px);
  opacity: 0.95;
  filter: drop-shadow(0 10px 26px rgba(230, 184, 119, 0.18));
  transition: transform 0.4s var(--ease);
}

.site-footer__mark:hover {
  transform: translateY(-4px) rotate(-2deg);
}

.site-footer__tagline {
  color: var(--muted);
  font-style: italic;
  font-size: 0.98rem;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.site-footer__meta span[aria-hidden] {
  color: rgba(255, 255, 255, 0.22);
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.85s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero__actions .btn {
    width: 100%;
  }
}
