/* KissedByKenzie site styles */

:root {
  --bg: #fdf0f5;
  --card: #ffffff;
  --ink: #3b1f2e;
  --muted: #8a5d73;
  --pink: #d9528f;
  --pink-deep: #a8386b;
  --pink-soft: #f7d3e3;
  --line: #f0c4d7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1117;
    --card: #28181f;
    --ink: #fbe9f1;
    --muted: #d3a7bc;
    --pink: #ef6fa8;
    --pink-deep: #f59cc3;
    --pink-soft: #3d2330;
    --line: #4a2a3a;
  }
}

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

body {
  padding: 24px 16px 40px;
  background:
    radial-gradient(var(--line) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
    var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
}

.wrap { max-width: 1040px; margin: 0 auto; }

.serif {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 100;
}

/* ---------- Header ---------- */
.masthead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 3px solid var(--pink-deep);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--pink);
}
.mascot {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: #fff;
  image-rendering: pixelated;
}
.who { flex: 1; min-width: 0; }
.wordmark {
  font-family: "Pixelify Sans", monospace;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--pink);
  letter-spacing: 0.5px;
}
.tagline { margin-top: 4px; color: var(--muted); font-size: 0.95rem; }
.tagline b { color: var(--ink); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}
.chips svg.i { width: 14px; height: 14px; }

.actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink-deep);
}
.icon-btn:hover { background: var(--line); }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.book {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--pink);
  color: #fff;
  font-family: "Pixelify Sans", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--pink-deep);
  box-shadow: 4px 4px 0 var(--pink-deep);
  transition: transform .1s, box-shadow .1s;
}
.book:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--pink-deep); }
.book:active { transform: translate(4px, 4px); box-shadow: none; }

@media (max-width: 720px) {
  .masthead { flex-direction: column; text-align: center; gap: 12px; padding: 22px 18px; }
  .chips { justify-content: center; }
  .actions { flex-wrap: wrap; justify-content: center; }
  .actions .book { order: -1; width: 100%; margin-bottom: 6px; }
}

/* ---------- Tabs ---------- */
.tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  margin: 28px -16px 0;
  padding: 10px clamp(4px, 2.5vw, 16px);
}
.tabs.stuck { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); }
.tablist {
  display: flex;
  gap: clamp(0px, 0.6vw, 4px);
  max-width: 100%;
  padding: 4px;
  background: var(--card);
  border: 2px solid var(--pink-deep);
  border-radius: 999px;
}
/* Spacing and text scale with the screen so all five tabs always fit on one line */
.tablist a {
  padding: 8px clamp(5px, 2.4vw, 22px);
  border-radius: 999px;
  color: var(--pink-deep);
  font-size: clamp(0.7rem, 3.3vw, 1rem);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.tablist a:hover { background: var(--pink-soft); }
.tablist a[aria-current] { background: var(--pink); color: #fff; }
.tablist a:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* ---------- Panels (styled to match the resume) ---------- */
.panel { padding-top: 20px; scroll-margin-top: 64px; }
.panel:focus { outline: none; }
.js .panel[hidden] { display: none; }
.panel-head { margin-bottom: 16px; text-align: center; }
.panel-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.1;
}
.panel-head h2 em { font-style: italic; font-weight: 500; color: var(--pink); }
.panel-head p { margin-top: 4px; font-size: 0.9rem; color: var(--muted); }
.panel-head p span { color: var(--pink); margin: 0 6px; }

.gallery { columns: 2; column-gap: 12px; }
@media (min-width: 760px) { .gallery { columns: 3; column-gap: 16px; } }
/* With JS, pieces fill row by row (shortest column first) so the list order is what shows at the top. */
.gallery.masonry { columns: auto; display: flex; align-items: flex-start; gap: 12px; }
@media (min-width: 760px) { .gallery.masonry { gap: 16px; } }
.gallery.masonry > .col { flex: 1; min-width: 0; }
.gallery figure {
  position: relative;
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--pink-soft);
}
@media (min-width: 760px) { .gallery figure { margin-bottom: 16px; } }
.gallery a { display: block; cursor: zoom-in; }
.gallery img, .gallery video { display: block; width: 100%; height: auto; transition: transform .3s; }
.gallery a:hover img, .gallery a:hover video { transform: scale(1.03); }
.clip::after {
  content: "▶ Video";
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(28, 17, 23, .6);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b83d74;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  pointer-events: none;
}
figcaption::before { content: "♥ "; color: #d9528f; }

/* ---------- Contact panel ---------- */
.contact-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 8px 24px 24px;
  background: var(--card);
  border: 3px solid var(--pink-deep);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--pink);
  text-align: center;
}
.links { list-style: none; padding: 0; text-align: left; }
.links li + li { border-top: 2px dashed var(--line); }
.links a, .links div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.links a:hover .value { color: var(--pink); }
.links .icon-btn { flex: none; width: 40px; height: 40px; }
.label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.value { font-weight: 500; }
.contact-card .book { display: block; margin-top: 12px; }
.save {
  display: inline-block;
  margin-top: 18px;
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}
.reviews {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px dashed var(--line);
  font-size: 0.85rem;
}
.reviews span { width: 100%; font-weight: 700; color: var(--pink); }
.reviews a {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--pink-deep);
  color: var(--pink-deep);
  font-weight: 700;
  text-decoration: none;
}
.reviews a:hover { background: var(--pink-soft); }

.area { max-width: 760px; margin: 40px auto 0; text-align: center; }
.area h3 { font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.area > p { margin-top: 4px; color: var(--muted); font-size: 0.9rem; }
.region { margin-top: 16px; }
.region h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.region ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; padding: 0; list-style: none; }
.region li {
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink);
}

/* ---------- About section ---------- */
.wordmark a { color: inherit; text-decoration: none; }
.about { max-width: 760px; margin: 0 auto; }
.about-hero { display: grid; gap: 22px; justify-items: center; text-align: center; }
.portrait {
  width: min(70vw, 280px);
  border: 3px solid var(--pink-deep);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--pink);
  overflow: hidden;
  background: var(--pink-soft);
}
.portrait img { display: block; width: 100%; height: auto; }
@media (min-width: 760px) {
  .about-hero { grid-template-columns: 280px 1fr; align-items: center; gap: 40px; text-align: left; }
  .about-hero .lede { margin-left: 0; }
}
.about-hero .kicker {
  display: block;
  margin-bottom: 6px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.about-hero .title {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.1;
}
.about-hero .title em { font-style: italic; font-weight: 500; color: var(--pink); }
.lede { margin: 16px auto 0; max-width: 620px; font-size: 1.08rem; line-height: 1.65; }
.about-block {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
}
.about-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 100;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--pink-deep);
}
.about-block h3::before { content: "✦"; font-size: .9rem; color: var(--pink); }
.about-block h3::after { content: ""; flex: 1; border-top: 2px dotted var(--line); }
.about-block p + p { margin-top: 10px; }
.about-block ul { padding: 0; list-style: none; }
.about-block li { position: relative; padding-left: 20px; }
.about-block li + li { margin-top: 6px; }
.about-block li::before { content: "♥"; position: absolute; left: 1px; top: 1px; font-size: .8rem; color: var(--pink); }
.about-block li b { color: var(--ink); }
.about-block a { color: var(--pink-deep); font-weight: 700; }
.two-col { display: grid; gap: 20px; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h4 {
  margin-bottom: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.about-work figure { position: relative; border-radius: 14px; overflow: hidden; background: var(--pink-soft); aspect-ratio: 4 / 5; }
.about-work img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-cta { margin-top: 32px; text-align: center; }
.about-cta p { color: var(--muted); margin-bottom: 14px; }

/* ---------- Services ---------- */
.services { max-width: 760px; margin: 0 auto; }
.svc-feature {
  padding: 22px 24px 24px;
  background: var(--card);
  border: 3px solid var(--pink-deep);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--pink);
}
.svc-feature-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.svc-feature h3, .svc-group h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 100;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--pink-deep);
}
.svc-price { color: var(--muted); }
.svc-price strong { color: var(--pink); font-size: 1.2rem; }
.svc-feature .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.svc-feature .tags li {
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: 0.82rem;
  font-weight: 500;
}
.svc-fine { margin-top: 12px; font-size: 0.85rem; color: var(--muted); font-style: italic; }
.svc-feature .book { display: inline-block; margin-top: 16px; }

.svc-group {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
}
.svc-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.svc-group h3::before { content: "✦"; font-size: .9rem; color: var(--pink); }
.svc-group h3::after { content: ""; flex: 1; border-top: 2px dotted var(--line); }
.price-list { padding: 0; list-style: none; }
.price-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.price-list li + li { border-top: 2px dashed var(--line); }
.price-list b { display: block; color: var(--ink); }
.price-list span { display: block; font-size: 0.85rem; color: var(--muted); }
.price-list strong { flex: none; font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; font-weight: 600; color: var(--pink); }

/* ---------- Lightbox ---------- */
.lightbox {
  margin: auto; /* the global margin reset would otherwise pin the dialog to the top-left */
  max-width: min(92vw, 900px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(28, 17, 23, .85); }
.lightbox img, .lightbox video { display: block; max-width: 100%; max-height: 90vh; border-radius: 16px; margin: 0 auto; }
.lightbox [hidden] { display: none; }
.lightbox button {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #a8386b;
  background: #fff;
  color: #a8386b;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Motion (skipped entirely for reduced-motion visitors) ---------- */
.tablist { position: relative; }
.tablist .pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--pink);
  pointer-events: none;
}
.tablist a { position: relative; z-index: 1; transition: color .25s; }
.has-pill .tablist a[aria-current] { background: transparent; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes pop { from { opacity: 0; transform: scale(.8); } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }
  @keyframes hop {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    70% { transform: translateY(0); }
    85% { transform: translateY(-2px); }
  }
  @keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }
  @keyframes zoom-out { to { opacity: 0; transform: scale(.96); } }
  @keyframes fade { from { opacity: 0; } }

  .masthead { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
  .tabs .tablist { animation: rise .6s .12s cubic-bezier(.2, .8, .2, 1) both; }
  .chips li { animation: pop .35s cubic-bezier(.3, 1.4, .5, 1) both; }
  .chips li:nth-child(1) { animation-delay: .25s; }
  .chips li:nth-child(2) { animation-delay: .31s; }
  .chips li:nth-child(3) { animation-delay: .37s; }
  .chips li:nth-child(4) { animation-delay: .43s; }
  .mascot { animation: hop .7s .35s steps(6) both; }
  .mascot:hover { animation: hop .7s steps(6); }

  .icon-btn { transition: transform .15s, background .15s; }
  .icon-btn:hover { transform: translateY(-2px); }
  .tablist .pill { transition: left .3s cubic-bezier(.3, 1.2, .5, 1), width .3s cubic-bezier(.3, 1.2, .5, 1); }

  .panel.enter { animation: fade-up .35s cubic-bezier(.2, .8, .2, 1); }

  /* About section: its blocks rise in one after another each time it opens */
  .about > * { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
  .about > :nth-child(1) { animation-delay: .2s; }
  .about > :nth-child(2) { animation-delay: .3s; }
  .about > :nth-child(3) { animation-delay: .4s; }
  .about > :nth-child(4) { animation-delay: .5s; }
  .about > :nth-child(5) { animation-delay: .6s; }
  .about > :nth-child(6) { animation-delay: .7s; }

  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
  .reveal.in { opacity: 1; transform: none; }

  .lightbox[open] { animation: zoom-in .22s cubic-bezier(.2, .8, .2, 1); }
  .lightbox[open]::backdrop { animation: fade .22s ease; }
  .lightbox.closing { animation: zoom-out .16s ease forwards; }
  .lightbox.closing::backdrop { opacity: 0; transition: opacity .16s; }
}

footer {
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}
