/* ClientClips — one-page site */
:root {
  --bg: #f6f2ea;
  --bg-deep: #efe8db;
  --paper: #fffdf8;
  --ink: #161311;
  --muted: #5e574e;
  --line: rgba(22, 19, 17, 0.12);
  --line-strong: rgba(22, 19, 17, 0.22);
  --accent: #161311;
  --max: 1120px;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(22, 19, 17, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
h1, h2, h3, .logo-word {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}
.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 1.1rem 0 0;
}
.muted { color: var(--muted); }

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, white);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand img { height: 30px; width: auto; }
.logo-word { font-size: 1.2rem; letter-spacing: -0.04em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 550;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .nav-links .hide-sm { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fffdf8; }
.btn-ghost { background: transparent; border-color: var(--line-strong); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.2rem 0 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 4.5rem 0 3rem;
    gap: 3rem;
  }
}
.hero-phone { justify-self: center; }

/* Phones / videos */
.phone {
  position: relative;
  width: min(260px, 68vw);
  aspect-ratio: 9 / 16;
  background: #111;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(22,19,17,.2);
}
.phone.lg { width: min(300px, 72vw); }
.phone video, .phone img.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(20,17,14,.72);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.sound[hidden] { display: none; }
.sound svg { width: 16px; height: 16px; fill: currentColor; }
.caption {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
}
.caption small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

/* Work gallery */
.section { padding: 3.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.gallery-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 200px);
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem 0 1.2rem;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(1rem, calc(50vw - (var(--max) / 2)));
  scrollbar-width: thin;
}
.gallery-scroll .card { scroll-snap-align: start; }
.gallery-scroll .phone { width: 100%; }
@media (min-width: 1100px) {
  .gallery-scroll {
    display: grid;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}

/* Services / steps / price */
.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  height: 100%;
}
.card-box .num {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  margin-bottom: 0.55rem;
}
.card-box p { margin: 0.55rem 0 0; color: var(--muted); }

.price-panel {
  background: var(--ink);
  color: #f7f2ea;
  border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 800px) {
  .price-panel { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
.price-panel h2 { color: #fff; }
.price-amt {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.price-amt span { font-size: 0.35em; letter-spacing: 0; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; }
.price-panel p { color: rgba(247,242,234,.82); margin: 0.7rem 0 0; }
.price-panel .btn-primary { background: #fffdf8; color: var(--ink); }

/* Contact */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.contact-row a { text-decoration: underline; text-underline-offset: 3px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}
footer.site .foot {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  footer.site .foot {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}
footer.site a { color: var(--ink); }
.fine { font-size: 0.86rem; max-width: 40rem; }

/* Inner pages */
.page { padding: 3.5rem 0 4rem; }
.page p { max-width: 42rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
