:root {
  --cream: #faf6f1;
  --sand: #efe5da;
  --blush: #ecd3c6;
  --clay: #b8735a;
  --clay-dark: #9a5b44;
  --olive: #6f7355;
  --ink: #2b2522;
  --muted: #6e625b;
  --line: #e2d6ca;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h1 em, h2 em { color: var(--clay); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--olive); margin: 0 0 12px; }
section { padding: 72px 0; scroll-margin-top: 80px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(32px, 5vw, 44px); }
.section-head p { margin: 0; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform .15s, background .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); background: var(--clay-dark); border-color: var(--clay-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(250,246,241,.5); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, (100% - 1120px) / 2);
  background: rgba(250,246,241,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-style: italic; font-size: 22px; text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 56px; }
.hero h1 { font-size: clamp(48px, 8vw, 88px); letter-spacing: -.02em; }
.hero h1 em { font-style: italic; }
.lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); max-width: 30ch; margin: 20px 0 24px; }
.chips { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--sand); font-size: 14px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: 220px 220px var(--radius) var(--radius); }
.stat-card {
  position: absolute; left: -32px; bottom: 28px;
  display: grid; gap: 10px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--cream); box-shadow: 0 18px 40px -18px rgba(43,37,34,.35);
}
.stat-card div { display: flex; align-items: baseline; gap: 10px; }
.stat-card strong { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--clay); min-width: 64px; }
.stat-card span { font-size: 13px; color: var(--muted); }

.about { padding-top: 24px; }
.about p { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.4; max-width: 38ch; margin: 0; }

/* Work grid */
.work { background: var(--sand); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
  font: 500 14px var(--sans); padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
}
.filters button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  aspect-ratio: 9/16; border-radius: var(--radius); background: var(--blush);
  text-align: left; color: #fff; font: inherit;
}
.tile[hidden] { display: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,14,12,.78)); }
.tile-meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: grid; gap: 2px; }
.tile-type { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.tile-title { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.views { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(20,14,12,.55); font-size: 12px; font-weight: 600; }
.play {
  position: absolute; top: 12px; right: 12px; z-index: 1; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(250,246,241,.9);
}
.play::before { content: ""; position: absolute; left: 15px; top: 12px; border-left: 12px solid var(--ink); border-block: 7px solid transparent; }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why h3 { font-size: 24px; margin-bottom: 10px; }
.why p { margin: 0; color: var(--muted); }

/* Services */
.services { background: var(--olive); color: var(--cream); }
.services .section-head p { color: rgba(250,246,241,.75); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(250,246,241,.2); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--olive); padding: 28px; }
.service h3 { font-size: 22px; margin-bottom: 8px; }
.service p { margin: 0; color: rgba(250,246,241,.8); font-size: 15px; }

/* Packages */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.package { position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; }
.package.featured { border-color: var(--clay); box-shadow: 0 24px 50px -30px rgba(184,115,90,.7); }
.badge { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--clay); color: #fff; font-size: 12px; font-weight: 600; }
.package h3 { font-size: 24px; }
.price { font-family: var(--serif); font-size: 34px; margin: 10px 0 18px; color: var(--clay); }
.package ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.package li::before { content: "✓"; color: var(--olive); font-weight: 700; margin-right: 10px; }

.packages-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 15px; }
.packages-note p { margin: 4px auto; max-width: 62ch; }
.packages-note p + p { font-weight: 600; color: var(--ink); }

/* Brands */
.brands { padding-top: 0; text-align: center; }
.brands ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; }
.brands li { font-family: var(--serif); font-size: 28px; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: var(--cream); text-align: center; }
.contact-inner { display: grid; justify-items: center; gap: 18px; }
.contact h2 { font-size: clamp(34px, 5.5vw, 56px); max-width: 18ch; }
.contact h2 em { color: var(--blush); font-style: italic; }
.contact p { margin: 0; color: rgba(250,246,241,.75); }
.socials a { color: var(--cream); }

.footer { padding: 28px 0; font-size: 14px; color: var(--muted); }

/* Player */
dialog {
  padding: 0; border: 0; background: transparent; overflow: visible;
  width: min(380px, 92vw);
}
dialog::backdrop { background: rgba(20,14,12,.8); backdrop-filter: blur(4px); }
.player-frame { aspect-ratio: 9/16; max-height: 82vh; border-radius: var(--radius); overflow: hidden; background: #000; margin-inline: auto; }
/* TikTok's embed adds a caption strip below the video, so it needs a taller box */
.player-frame.is-embed { aspect-ratio: auto; height: min(740px, 82vh); background: #000 center / cover no-repeat; }
.player-frame iframe, .player-frame video { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.player-caption { color: var(--cream); text-align: center; font-size: 14px; margin: 12px 0 0; }
.close {
  position: absolute; top: -14px; right: -14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--cream); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}

/* Draft markers */
mark.todo { background: #ffe58a; color: var(--ink); padding: 0 6px; border-radius: 4px; font-size: .8em; }
body.draft::before {
  content: "DRAFT — yellow = placeholder, edit content.js";
  position: fixed; bottom: 12px; right: 12px; z-index: 20;
  padding: 6px 12px; border-radius: 999px; background: #ffe58a; color: var(--ink); font: 600 12px var(--sans);
}

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid, .package-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .nav nav a:not(.btn) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .hero-photo { order: -1; width: min(240px, 70%); margin-inline: auto; }
  .hero-photo img { aspect-ratio: 5/6; }
  .stat-card {
    left: 50%; transform: translateX(-50%); bottom: -34px; width: max-content;
    grid-auto-flow: column; gap: 16px; padding: 12px 16px;
  }
  .stat-card div { flex-direction: column; gap: 0; }
  .stat-card strong { font-size: 20px; min-width: 0; }
  .stat-card span { font-size: 11px; max-width: 10ch; line-height: 1.3; }
  .hero-text { padding-top: 28px; text-align: center; }
  .lede { margin-inline: auto; }
  .chips, .hero-cta { justify-content: center; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile-title { font-size: 15px; }
  .why, .service-grid, .package-grid { grid-template-columns: 1fr; }
  .why { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
