/* ============================================================
   NØVA — Home Nail Studio
   Palette: warm cream / soft blush / deep rose / ink plum
   Type: Fraunces (display) + Outfit (body)
   ============================================================ */

:root {
  --cream: #fbf6f2;
  --cream-deep: #f5ebe4;
  --blush: #f2cdd8;
  --blush-soft: #f9e4ea;
  --rose: #c25e7f;
  --rose-deep: #a84a6b;
  --ink: #35242d;
  --ink-soft: #6f5a64;
  --line: #e9d9d2;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --space: clamp(4.5rem, 10vw, 8rem);
  --radius: 1.25rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 350;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blush); color: var(--ink); }

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 em, h1 em {
  font-style: italic;
  color: var(--rose);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34em;
}

.slash-o { color: var(--rose); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 3rem);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.95rem;
  font-weight: 400;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--ink); }

@media (max-width: 480px) {
  .site-nav { gap: 1rem; font-size: 0.9rem; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(5rem, 14vh, 9rem) 1.5rem clamp(5rem, 12vh, 8rem);
}

.hero h1 {
  font-size: clamp(4.5rem, 16vw, 11rem);
  font-weight: 350;
  letter-spacing: 0.04em;
}

.hero-tagline {
  margin-top: 1.25rem;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-orb {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(38rem 24rem at 78% 12%, var(--blush-soft) 0%, transparent 65%),
    radial-gradient(30rem 22rem at 15% 85%, var(--blush-soft) 0%, transparent 65%),
    radial-gradient(20rem 16rem at 88% 78%, color-mix(in srgb, var(--blush) 55%, transparent) 0%, transparent 70%);
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 99px;
  font-weight: 450;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--rose);
}

.btn-primary:hover {
  background: var(--rose-deep);
  box-shadow: 0 10px 28px -10px var(--rose-deep);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { background: var(--cream-deep); }

/* ---------- sections ---------- */

section { padding: var(--space) clamp(1.25rem, 6vw, 4rem); }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* ---------- about ---------- */

.about { background: var(--cream); padding-top: 0; }

.about-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: var(--space);
}

.about-inner .lede { margin: 1.5rem auto 0; }

/* ---------- services ---------- */

.services { background: var(--cream-deep); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.1rem;
  max-width: 68rem;
  margin: 0 auto;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blush);
  box-shadow: 0 18px 38px -22px rgba(168, 74, 107, 0.35);
}

.service-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--rose);
  font-size: 0.95rem;
}

.service-card h3 { font-size: 1.45rem; margin: 0.5rem 0 0.5rem; }

.service-card p { color: var(--ink-soft); font-size: 0.98rem; }

.service-card-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.service-card-cta p { color: color-mix(in srgb, var(--cream) 70%, transparent); }
.service-card-cta:hover { box-shadow: 0 18px 38px -20px rgba(53, 36, 45, 0.5); }

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.1rem;
  max-width: 68rem;
  margin: 0 auto;
}

.gallery-tile {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-tile:hover img { transform: scale(1.04); }

/* placeholder tiles — delete .ph classes once real photos are in */
.ph {
  display: grid;
  place-items: center;
  border: 1px dashed color-mix(in srgb, var(--rose) 40%, transparent);
}

.ph span {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-deep);
  opacity: 0.75;
}

.ph-1 { background: linear-gradient(160deg, #f9e4ea, #f2cdd8); }
.ph-2 { background: linear-gradient(200deg, #f5ebe4, #ecd5ca); }
.ph-3 { background: linear-gradient(150deg, #f2cdd8, #e4b3c6); }
.ph-4 { background: linear-gradient(210deg, #f9e4ea, #ecd5e2); }
.ph-5 { background: linear-gradient(170deg, #f5e0d8, #f2cdd8); }
.ph-6 { background: linear-gradient(190deg, #eed9e8, #f9e4ea); }

.gallery-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--ink-soft);
}

.gallery-note a { color: var(--rose); font-weight: 450; }

/* ---------- why ---------- */

.why { background: var(--cream-deep); }

.why-list {
  max-width: 44rem;
  margin: 0 auto;
}

.why-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  padding: 1.4rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.why-list li:first-child { border-top: 1px solid var(--line); }

.why-list strong {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 1.25rem;
}

.why-list span { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- closing ---------- */

.closing-card {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  background: var(--blush-soft);
  border: 1px solid var(--blush);
  border-radius: calc(var(--radius) * 1.6);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
}

.closing-card .lede { margin: 1rem auto 0; }

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

.site-footer {
  text-align: center;
  padding: 3rem 1.5rem 3.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.wordmark-small {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .btn, .gallery-tile img { transition: none; }
}
