/* Signature 43 — studio landing page
   Warm, crafted, a little playful. Its own identity;
   the planets are guests, not the host. */

@font-face {
  font-family: "Fredoka";
  src: url("assets/fonts/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/Baloo2.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --cream: #fbf6ee;
  --paper: #fffdf8;
  --ink: #211f1b;
  --ink-soft: #5a554c;
  --line: #e7ddcc;
  --coral: #f0603b;
  --coral-dark: #d84a27;
  --gold: #f6c453;
  --space: #1c2233;

  --wrap: 1080px;
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(33, 31, 27, 0.45);

  --font-body: "Fredoka", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Baloo 2", "Fredoka", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

a { color: inherit; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand .mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.98rem;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--coral); }
.nav-links .btn { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn.ghost:hover { border-color: var(--ink); background: transparent; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 84px;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; max-width: 860px; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero h1 .swash {
  position: relative;
  color: var(--coral);
  white-space: nowrap;
}
.hero h1 .swash svg {
  position: absolute;
  left: -2%;
  bottom: -0.32em;
  width: 104%;
  height: 0.4em;
  overflow: visible;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Floating planet decorations */
.orbit {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 12px 20px rgba(33,31,27,0.16));
  animation: float 7s ease-in-out infinite;
}
.orbit img { display: block; width: 100%; height: auto; }
.orbit.p1 { width: 120px; top: 60px; right: 6%; animation-delay: 0s; }
.orbit.p2 { width: 82px;  top: 240px; right: 22%; animation-delay: -2.4s; }
.orbit.p3 { width: 64px;  bottom: 40px; right: 40%; animation-delay: -4.1s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-16px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .orbit { animation: none; }
}

/* ---------- Section shell ---------- */
section { padding: 72px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head .tag {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--coral-dark);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: -0.015em;
  margin: 10px 0 12px;
}
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.08rem; }

/* ---------- About / values ---------- */
.about { background: var(--paper); border-block: 1px solid var(--line); }
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.value .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: #fdeee9;
}
.value h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  margin: 0 0 8px;
}
.value p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Work / current project ---------- */
.workcard {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.workcard .copy { padding: 48px; }
.workcard .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--coral-dark);
  background: #fdeee9;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.workcard .status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }
.workcard h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  margin: 0 0 12px;
}
.workcard p { color: var(--ink-soft); margin: 0 0 24px; }
.workcard .stage {
  position: relative;
  background:
    radial-gradient(120% 120% at 70% 20%, #2a3350 0%, #1c2233 55%, #141826 100%);
  display: grid;
  place-items: center;
  min-height: 300px;
  overflow: hidden;
}
.workcard .stage::before,
.workcard .stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.workcard .stage::before { width: 3px; height: 3px; top: 22%; left: 30%; box-shadow: 40px 30px #fff6, 120px 80px #fff4, 200px 20px #fff5, 260px 120px #fff3, 80px 160px #fff4, 300px 200px #fff5; }
.stage .planets { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 4px; }
.stage .planets img { width: 96px; height: auto; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.4)); }
.stage .planets img:nth-child(1){ width: 64px; margin-bottom: 8px; animation: float 6s ease-in-out infinite; }
.stage .planets img:nth-child(2){ width: 108px; animation: float 7s ease-in-out infinite -1.5s; }
.stage .planets img:nth-child(3){ width: 72px; margin-bottom: 16px; animation: float 6.5s ease-in-out infinite -3s; }

/* ---------- Contact / footer ---------- */
.contact { text-align: center; }
.contact .wrap { max-width: 640px; }
.contact h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.contact p { color: var(--ink-soft); font-size: 1.1rem; margin: 0 0 28px; }
.mail {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.mail:hover { color: var(--coral); border-color: var(--coral); }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
}
footer .brand { font-size: 1rem; }
.foot-links { display: flex; gap: 22px; }
.foot-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.foot-links a:hover { color: var(--coral); }
footer .copy { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .values { grid-template-columns: 1fr; }
  .workcard { grid-template-columns: 1fr; }
  .workcard .copy { padding: 34px; }
  .workcard .stage { min-height: 240px; order: -1; }
  .orbit.p2, .orbit.p3 { display: none; }
  .orbit.p1 { width: 88px; top: auto; bottom: -10px; right: 8%; opacity: 0.9; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
}
