/* Creative packages: Juniper Rae, an invented wedding photographer. Warm ivory, ink, and a dusty rose accent, Didot style headings with generous space. The portfolio, the packages with a live total and the date check are the product. */

.pk-page {
  --pk-canvas: #fbf8f4;
  --pk-surface: #ffffff;
  --pk-band: #f3ece6;
  --pk-ink: #231d1b;
  --pk-muted: #5c524d;
  --pk-line: #e4dad2;
  --pk-line-strong: #857870;
  --pk-accent: #8e4a5a;
  --pk-accent-hover: #733a48;
  --pk-on-accent: #ffffff;
  --pk-tint: #f3e2e5;
  --pk-success: #2f6b3a;
  --pk-danger: #a3241b;
  --pk-focus: #8e4a5a;
  --pk-photo-a: #d9c7b8;
  --pk-photo-b: #c3cfc4;
  --pk-photo-c: #e3cfd2;
  --pk-head: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
  --pk-body: "Segoe UI", system-ui, sans-serif;
  --pk-r: 2px;

  background: var(--pk-canvas);
  color: var(--pk-ink);
  font-family: var(--pk-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* Dark mode, the default (PRD section 13.10): candlelight, warm black with a soft rose. Only this template's
   tokens change. */
@media screen {
  :root[data-theme="dark"] .pk-page {
    --pk-canvas: #171312;
    --pk-surface: #211b1a;
    --pk-band: #1c1716;
    --pk-ink: #f3ece8;
    --pk-muted: #bcb0aa;
    --pk-line: #3a312e;
    --pk-line-strong: #877a74;
    --pk-accent: #f0a8b8;
    --pk-accent-hover: #f6c4cf;
    --pk-on-accent: #2c0d14;
    --pk-tint: #3a2529;
    --pk-success: #8fd29b;
    --pk-danger: #ff8a80;
    --pk-focus: #f0a8b8;
    --pk-photo-a: #5b4a40;
    --pk-photo-b: #3f4d42;
    --pk-photo-c: #5a3f45;
    color-scheme: dark;
  }
}

.pk-page [hidden] { display: none !important; }
:where(.pk-page) :is(p, h1, h2, h3, h4, ul, ol, dl, dd, fieldset, figure, blockquote) { margin: 0; }
:where(.pk-page) :is(ul, ol) { padding: 0; list-style: none; }
:where(.pk-page) fieldset { padding: 0; border: 0; min-width: 0; }
:where(.pk-page) a { color: var(--pk-accent); }
:where(.pk-page) :is(h1, h2, h3, h4) { color: inherit; }
.pk-page :focus-visible { outline: 3px solid var(--pk-focus); outline-offset: 2px; }
.pk-page :is(input[type="range"], input[type="checkbox"], input[type="radio"]) { accent-color: var(--pk-accent); }
html:has(.pk-page) { scroll-behavior: smooth; }
.pk-page section[id] { scroll-margin-top: 72px; }
.pk-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.pk-header { position: sticky; top: 0; z-index: 20; background: var(--pk-canvas); border-bottom: 1px solid var(--pk-line); }
.pk-header-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.pk-logo { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1.1 var(--pk-head); color: var(--pk-ink) !important; text-decoration: none; }
.pk-logo-mark { width: 30px; height: 30px; flex: none; fill: var(--pk-tint); stroke: var(--pk-accent); stroke-width: 2; stroke-linejoin: round; }
.pk-nav { margin-left: auto; }
.pk-nav ul { display: flex; gap: 22px; }
.pk-nav a { color: var(--pk-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.pk-nav a:hover { color: var(--pk-accent); text-decoration: underline; text-underline-offset: 4px; }
.pk-menu-btn { display: none; }
.pk-theme-btn {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--pk-line-strong); border-radius: var(--pk-r); background: transparent; color: inherit; font-size: 1.15rem; cursor: pointer;
}
.pk-theme-btn:hover { background: var(--pk-tint); }

.pk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border: 2px solid var(--pk-accent); border-radius: var(--pk-r); font: 700 1rem/1.2 var(--pk-head); text-decoration: none; cursor: pointer; text-align: center;
}
.pk-btn--fill { background: var(--pk-accent); color: var(--pk-on-accent) !important; }
.pk-btn--fill:hover { background: var(--pk-accent-hover); border-color: var(--pk-accent-hover); }
.pk-btn--line { background: transparent; color: var(--pk-accent) !important; }
.pk-btn--line:hover { background: var(--pk-tint); }
.pk-btn--big { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.pk-btn:disabled { background: var(--pk-band); border-color: var(--pk-line-strong); color: var(--pk-muted) !important; cursor: not-allowed; }

.pk-eyebrow { font-weight: 700; color: var(--pk-accent); font-size: .92rem; letter-spacing: .02em; }
.pk-title { font: 700 clamp(1.7rem, 3.4vw, 2.4rem)/1.15 var(--pk-head); }
.pk-sub { color: var(--pk-muted); margin-top: 8px; max-width: 64ch; }
.pk-head { margin-bottom: 26px; }
.pk-sec { padding: 72px 0; }
.pk-band { background: var(--pk-band); }
.pk-muted { color: var(--pk-muted); }
.pk-small { font-size: .9rem; color: var(--pk-muted); }

.pk-hero { padding: 64px 0 56px; }
.pk-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.pk-hero-title { font: 700 clamp(2.2rem, 5vw, 3.5rem)/1.06 var(--pk-head); margin-top: 10px; }
.pk-lede { font-size: 1.15rem; color: var(--pk-muted); margin-top: 16px; max-width: 54ch; }
.pk-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pk-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; color: var(--pk-muted); font-size: .95rem; }
.pk-facts strong { color: var(--pk-ink); }
.pk-panel { padding: 24px; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: calc(var(--pk-r) + 4px); box-shadow: 0 24px 40px -30px var(--color-shadow); }
.pk-panel-title { font: 700 1.1rem var(--pk-head); margin-bottom: 12px; }

.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.pk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pk-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: var(--pk-r); }
.pk-card h3 { font: 700 1.15rem/1.25 var(--pk-head); }
.pk-card p { color: var(--pk-muted); font-size: .96rem; }
.pk-card .pk-btn { margin-top: auto; align-self: flex-start; }
.pk-card.is-on { border: 2px solid var(--pk-accent); }
.pk-art { height: 120px; margin: -22px -22px 6px; border-radius: var(--pk-r) var(--pk-r) 0 0; background: var(--pk-tint); position: relative; overflow: hidden; }
.pk-art::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: 18%; top: 22%; background: var(--pk-canvas); opacity: .7; }
.pk-price { font: 700 1.5rem var(--pk-head); color: var(--pk-ink); }
.pk-badge { display: inline-block; align-self: flex-start; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--pk-line-strong); font-size: .82rem; font-weight: 600; color: var(--pk-ink); }
.pk-badge--on { background: var(--pk-tint); border-color: var(--pk-accent); }
.pk-badge--bad { border-color: var(--pk-danger); color: var(--pk-danger); }
.pk-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--pk-muted); }

.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pk-chip { min-height: 42px; padding: 0 16px; border: 1px solid var(--pk-line-strong); border-radius: 999px; background: var(--pk-surface); color: var(--pk-ink); font: 600 .95rem var(--pk-body); cursor: pointer; }
.pk-chip:hover { border-color: var(--pk-accent); }
.pk-chip[aria-pressed="true"] { background: var(--pk-accent); border-color: var(--pk-accent); color: var(--pk-on-accent); }
.pk-count { font-weight: 600; margin-bottom: 14px; }
.pk-empty { padding: 28px; text-align: center; border: 1px dashed var(--pk-line-strong); border-radius: var(--pk-r); }

.pk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 18px; counter-reset: st; }
.pk-steps li { padding: 22px; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: var(--pk-r); counter-increment: st; }
.pk-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--pk-accent); color: var(--pk-on-accent); font-weight: 700; }
.pk-steps h3 { font: 700 1.1rem var(--pk-head); }
.pk-steps p { color: var(--pk-muted); font-size: .95rem; margin-top: 4px; }

.pk-table { width: 100%; border-collapse: collapse; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: var(--pk-r); overflow: hidden; }
.pk-table th, .pk-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--pk-line); vertical-align: top; }
.pk-table th { font-size: .88rem; color: var(--pk-muted); background: var(--pk-band); }
.pk-table td.pk-num, .pk-table th.pk-num { text-align: right; font-variant-numeric: tabular-nums; }

.pk-meter { height: 10px; border-radius: 999px; background: var(--pk-line); overflow: hidden; }
.pk-meter span { display: block; height: 100%; background: var(--pk-accent); border-radius: inherit; }
.pk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 16px; }
.pk-stat strong { display: block; font: 700 2rem/1.1 var(--pk-head); }
.pk-stat span { color: var(--pk-muted); font-size: .92rem; }

.pk-faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.pk-qs details { border-bottom: 1px solid var(--pk-line); }
.pk-qs summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.pk-qs p { padding: 0 0 16px; color: var(--pk-muted); }

.pk-form { max-width: 760px; margin-inline: auto; padding: 32px; background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: calc(var(--pk-r) + 4px); display: flex; flex-direction: column; gap: 18px; }
.pk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pk-field--full { grid-column: 1 / -1; }
.pk-field label, .pk-field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.pk-field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--pk-line-strong); border-radius: calc(var(--pk-r) - 2px); background: var(--pk-canvas); color: var(--pk-ink); font: 1rem var(--pk-body); }
.pk-field textarea { min-height: 110px; resize: vertical; }
.pk-field :is(input, select, textarea)[aria-invalid="true"] { border: 2px solid var(--pk-danger); }
.pk-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.pk-check input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; accent-color: var(--pk-accent); }
.pk-hint { font-size: .88rem; color: var(--pk-muted); margin-top: 6px; }
.pk-error { color: var(--pk-danger); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.pk-error::before { content: "! "; }
.pk-status { font-weight: 600; }
.pk-status.is-ok { padding: 14px 16px; border-radius: calc(var(--pk-r) - 2px); background: var(--pk-tint); border-left: 4px solid var(--pk-success); }

.pk-footer { padding: 28px 0; border-top: 1px solid var(--pk-line); color: var(--pk-muted); font-size: .92rem; }
.pk-footer-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .pk-header-in { flex-wrap: wrap; gap: 10px; }
  .pk-theme-btn { margin-left: auto; }
  .pk-menu-btn {
    display: inline-flex; align-items: center; order: 3; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--pk-line-strong); border-radius: var(--pk-r); background: transparent; color: var(--pk-ink); font: 600 .95rem var(--pk-body); cursor: pointer;
  }
  .pk-nav { display: none; order: 5; width: 100%; margin: 0; }
  .pk-nav.is-open { display: block; padding-bottom: 12px; }
  .pk-nav ul { flex-direction: column; gap: 0; }
  .pk-nav a { display: block; padding: 12px 0; border-top: 1px solid var(--pk-line); }
  .pk-header-cta { display: none; }
  .pk-hero-in, .pk-faq-in, .pk-grid--2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 640px) {
  .pk-sec { padding: 52px 0; }
  .pk-fields { grid-template-columns: minmax(0, 1fr); }
  .pk-form { padding: 20px; }
  .pk-table thead { display: none; }
  .pk-table, .pk-table tbody, .pk-table tr, .pk-table td { display: block; width: 100%; }
  .pk-table tr { border-bottom: 1px solid var(--pk-line-strong); padding: 6px 0; }
  .pk-table td { border: 0; padding: 6px 14px; text-align: left !important; }
  .pk-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--pk-muted); }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.pk-page) { scroll-behavior: auto; }
}

@media print {
  .pk-header, .pk-theme-btn, .pk-form { display: none; }
}

/* This template's own sections */
.pk-hero-title { font-weight: 400; font-size: clamp(2.4rem, 5.4vw, 4rem); }
.pk-title { font-weight: 400; }
.pk-stack { position: relative; height: 420px; }
.pk-ph { display: block; background: var(--pk-photo-a); }
.pk-ph--b { background: var(--pk-photo-b); }
.pk-ph--c { background: var(--pk-photo-c); }
.pk-stack .pk-ph { position: absolute; border: 10px solid var(--pk-surface); box-shadow: 0 20px 40px -24px var(--color-shadow); }
.pk-stack .pk-ph--a { width: 58%; height: 70%; left: 0; top: 4%; transform: rotate(-3deg); }
.pk-stack .pk-ph--b { width: 50%; height: 56%; right: 2%; top: 0; transform: rotate(4deg); }
.pk-stack .pk-ph--c { width: 52%; height: 50%; left: 30%; bottom: 0; transform: rotate(-1deg); }
.pk-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pk-story { display: flex; flex-direction: column; gap: 4px; color: var(--pk-ink) !important; text-decoration: none; }
.pk-story .pk-ph { aspect-ratio: 4 / 5; margin-bottom: 10px; }
.pk-story strong { font: 400 1.35rem var(--pk-head); }
.pk-story span:last-child { color: var(--pk-muted); font-size: .92rem; }
.pk-story:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.pk-pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pk-pkg { position: relative; }
.pk-pkg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pk-pkg > span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border: 1px solid var(--pk-line-strong); background: var(--pk-surface); border-radius: var(--pk-r); }
.pk-pkg strong { font: 400 1.5rem var(--pk-head); }
.pk-pkg em { font-style: normal; font-weight: 700; font-size: 1.2rem; }
.pk-pkg small { color: var(--pk-muted); font-size: .92rem; }
.pk-pkg input:checked + span { border: 2px solid var(--pk-accent); background: var(--pk-tint); }
.pk-pkg input:focus-visible + span { outline: 3px solid var(--pk-focus); outline-offset: 2px; }
.pk-addons-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; margin-top: 24px; align-items: start; }
.pk-legend { font-weight: 700; margin-bottom: 10px; }
.pk-addons { display: flex; flex-direction: column; gap: 4px; }
.pk-addons .pk-check { padding: 10px 0; border-bottom: 1px solid var(--pk-line); }
.pk-addons .pk-check span { margin-left: auto; font-weight: 700; }
.pk-addons .pk-check.is-off { color: var(--pk-muted); }
.pk-total { padding: 22px; background: var(--pk-band); border-radius: var(--pk-r); display: flex; flex-direction: column; gap: 6px; }
.pk-total-label { color: var(--pk-muted); }
.pk-total-amt { font: 400 2.6rem var(--pk-head); }
.pk-total .pk-btn { margin-top: 8px; }
.pk-date { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.pk-dc { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.pk-dc .pk-field { flex: 1 1 220px; }
.pk-dc-out { flex-basis: 100%; font-weight: 600; min-height: 1.5em; }
.pk-dc-out.is-yes { color: var(--pk-success); }
.pk-dc-out.is-maybe { color: var(--pk-ink); }
.pk-dc-out.is-no { color: var(--pk-danger); }
.pk-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pk-quotes blockquote { font: 400 1.3rem/1.4 var(--pk-head); }
.pk-quotes cite { display: block; margin-top: 10px; font: 400 .92rem var(--pk-body); color: var(--pk-muted); font-style: normal; }
@media (max-width: 900px) { .pk-stories, .pk-pkgs, .pk-quotes { grid-template-columns: minmax(0, 1fr); } .pk-addons-wrap, .pk-date { grid-template-columns: minmax(0, 1fr); } .pk-stack { height: 300px; } }
@media (max-width: 640px) { .pk-stack { display: none; } .pk-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
