:root {
  --ink: #1c1916;
  --muted: #5e584f;
  --paper: #f7f3ec;
  --white: #fffcf8;
  --line: rgba(28, 25, 22, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.1rem, 3vw, 2.4rem);
  --header: 4.6rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.8rem;
}

.skip:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0.85rem var(--pad);
  color: white;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  color: var(--ink);
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  background: #1c1916;
}

.logo-type { display: flex; flex-direction: column; }

.logo-yb {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.logo-sub {
  margin-top: 0.18rem;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav-panel {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav-panel a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 400;
}

.nav-panel a:hover { opacity: 0.65; }

.ig {
  display: grid;
  place-items: center;
}

.ig svg { width: 1.15rem; height: 1.15rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  position: relative;
  z-index: 2;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: white;
  overflow: hidden;
  background: #2a241e url("images/glam-crystals.jpg") center 20% / cover no-repeat;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12) 35%, rgba(0, 0, 0, 0.38));
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem var(--pad) 2rem;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.4rem, 11vw, 8.6rem);
  line-height: 0.84;
  letter-spacing: -0.03em;
}

h1 > span { display: block; }

h1 .hero-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.8;
}

h1 .hero-yb { letter-spacing: -0.04em; }

h1 .hero-makeup {
  margin-top: 0.1em;
  font-family: var(--sans);
  font-size: 0.365em;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
}

h1 .script {
  font-style: italic;
  font-size: clamp(1.09rem, 3.08vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-top: 0.35em;
}

.tagline {
  margin: 1.35rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill-fill {
  background: #f6f1e8;
  color: var(--ink);
}

.pill-fill:hover { background: white; }

.pill-line {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.85);
}

.pill-line:hover { background: white; color: var(--ink); }

.pill-dark {
  background: var(--ink);
  color: var(--paper);
}

.pill-dark:hover { background: #3a332c; }

.reel-toggle {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: 1.2rem;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.gallery {
  padding: 5.5rem var(--pad) 4rem;
  background: var(--white);
}

.gallery h2,
.practice h2,
.about h2,
.book h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.gallery h2 {
  text-align: center;
  font-size: clamp(4rem, 8vw, 6.6rem);
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 1.6rem 0 1.8rem;
}

.filter {
  background: none;
  border: 0;
  padding: 0.25rem 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.98rem;
}

.filter[aria-pressed="true"] {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
}

.gallery-empty {
  margin: 0 0 1.4rem;
  text-align: center;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.look { margin: 0; position: relative; }

.look.is-hidden { display: none; }

.look img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  cursor: zoom-in;
  background: #e7e0d6;
}

.look figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.7rem;
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.look:hover figcaption,
.look:focus-within figcaption { opacity: 1; }

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8d6444;
}

.practice {
  padding: 5.5rem var(--pad) 5rem;
  background: var(--paper);
}

.practice h2 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  max-width: 12ch;
}

.practice ol {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.practice a {
  display: block;
  text-decoration: none;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.practice span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.practice p { margin: 0; color: var(--muted); max-width: 36rem; }

.practice a:hover span { color: #8d6444; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 100svh;
  background: var(--paper);
}

.about-flip {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  background: var(--white);
}

#halloween,
#sfx,
#bridal {
  min-height: 0;
  align-items: stretch;
}

#halloween .about-visual img,
#sfx .about-visual img,
#bridal .about-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

#bridal .about-visual img { object-position: center 32%; }

.about-copy {
  padding: 7rem clamp(1.4rem, 5vw, 5rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about h2 { font-size: clamp(3.4rem, 6vw, 5.4rem); }

.about-copy p { margin: 1.15rem 0 0; max-width: 38rem; }

.about-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  margin-top: 1.4rem;
  text-underline-offset: 0.18em;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  object-fit: cover;
  object-position: center 12%;
}

#about .about-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#about .about-visual img {
  width: auto;
  height: min(94vh, 980px);
  max-width: 92%;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
}

.book { background: var(--white); color-scheme: light; }

.book-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  padding: 5.5rem var(--pad);
}

.book h2 { font-size: clamp(3rem, 6vw, 4.8rem); }

.book-intro p:last-child { margin: 1rem 0 0; max-width: 32rem; }

.book a { text-underline-offset: 0.18em; }

form { display: grid; gap: 1.15rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 25, 22, 0.28);
  border-radius: 0;
  padding: 0.75rem 0;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

textarea { resize: vertical; min-height: 7rem; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form-help {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem var(--pad) 5.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--white);
}

.site-footer p { margin: 0; display: flex; gap: 1rem; }

.site-footer a { text-decoration: none; }

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

.mobile-book {
  display: none;
}

dialog {
  width: min(920px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
}

dialog::backdrop { background: rgba(12, 10, 8, 0.82); }

dialog img {
  width: 100%;
  max-height: calc(100vh - 2rem);
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

section[id] { scroll-margin-top: calc(var(--header) + 0.4rem); }

@media (min-width: 861px) {
  .nav-panel[hidden] { display: flex !important; }
}

@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav-panel {
    position: fixed;
    inset: 0;
    z-index: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 6rem var(--pad) 6rem;
    background: var(--paper);
    color: var(--ink);
  }

  .nav-panel[hidden] { display: none; }

  .nav-panel a {
    font-family: var(--serif);
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: 1.05;
  }

  .ig { margin-top: 0.8rem; }
  .ig svg { width: 1.6rem; height: 1.6rem; }

  .about, .about-flip, .book-inner, .practice ol, .form-row { grid-template-columns: 1fr; }

  .about-copy { padding-top: 5.5rem; }

  .about-visual { order: -1; }

  .about-visual img { min-height: 72vw; max-height: 78vh; }

  .mobile-book {
    display: block;
    position: fixed;
    z-index: 45;
    right: var(--pad);
    bottom: 0.85rem;
    min-width: 6.5rem;
    text-align: center;
    text-decoration: none;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    transform: translateY(160%);
  }

  .mobile-book.is-visible { transform: translateY(0); }

  body.menu-open .mobile-book { transform: translateY(160%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
