/* ==========================================================================
   Planner website (frontend/site.html, js/site.js)
   Editorial luxury: serif display type, quiet palettes, generous space.
   Four themes, all driven by the custom properties below.
   ========================================================================== */

:root,
[data-theme="ivory"] {
  --bg: #fbf8f3;
  --bg-alt: #f3ede3;
  --surface: #ffffff;
  --ink: #1f1b16;
  --ink-soft: #5e554b;
  --muted: #8a7f72;
  --line: rgba(31, 27, 22, 0.12);
  --accent: #a8834b;
  --accent-ink: #ffffff;
  --hero-ink: #fbf8f3;
  --hero-shade: linear-gradient(90deg, rgba(20, 16, 12, 0.55) 0%, rgba(20, 16, 12, 0.15) 70%), linear-gradient(180deg, rgba(20, 16, 12, 0.35) 0%, rgba(20, 16, 12, 0.2) 40%, rgba(20, 16, 12, 0.75) 100%);
  --placeholder: linear-gradient(135deg, #e9dfcf 0%, #d8c6a8 50%, #c3a77c 100%);
}

[data-theme="noir"] {
  --bg: #0f0e0c;
  --bg-alt: #171512;
  --surface: #1c1a16;
  --ink: #f3ede2;
  --ink-soft: #c9c0b2;
  --muted: #8f8677;
  --line: rgba(243, 237, 226, 0.14);
  --accent: #c9a96e;
  --accent-ink: #0f0e0c;
  --hero-ink: #f3ede2;
  --hero-shade: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(15, 14, 12, 0.92) 100%);
  --placeholder: linear-gradient(135deg, #2a251d 0%, #3b3226 50%, #6b5634 100%);
}

[data-theme="blush"] {
  --bg: #fbf5f2;
  --bg-alt: #f4e7e2;
  --surface: #ffffff;
  --ink: #2c1f1d;
  --ink-soft: #6b5450;
  --muted: #9a837e;
  --line: rgba(44, 31, 29, 0.12);
  --accent: #b0776a;
  --accent-ink: #ffffff;
  --hero-ink: #fffaf8;
  --hero-shade: linear-gradient(180deg, rgba(44, 24, 20, 0.2) 0%, rgba(44, 24, 20, 0.12) 40%, rgba(44, 24, 20, 0.68) 100%);
  --placeholder: linear-gradient(135deg, #f1dcd5 0%, #e4bfb3 50%, #c9958a 100%);
}

[data-theme="emerald"] {
  --bg: #f6f4ee;
  --bg-alt: #e8ece5;
  --surface: #ffffff;
  --ink: #13231d;
  --ink-soft: #4a5a53;
  --muted: #7d8a83;
  --line: rgba(19, 35, 29, 0.12);
  --accent: #1f5c4a;
  --accent-ink: #f6f4ee;
  --hero-ink: #f6f4ee;
  --hero-shade: linear-gradient(180deg, rgba(8, 22, 17, 0.28) 0%, rgba(8, 22, 17, 0.15) 40%, rgba(8, 22, 17, 0.75) 100%);
  --placeholder: linear-gradient(135deg, #d9e2d8 0%, #a9bfb0 50%, #4f7d6b 100%);
}

/* --- base ---------------------------------------------------------------- */

[hidden] { display: none !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.ps-serif,
h1, h2, h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}

.ps-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.ps-wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.ps-wrap--narrow { width: min(760px, 100% - 48px); margin-inline: auto; }

.ps-section { padding: clamp(80px, 11vw, 150px) 0; }
.ps-section--alt { background: var(--bg-alt); }

.ps-head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 72px); }
.ps-head--center { margin-inline: auto; text-align: center; }
.ps-head h2 { font-size: clamp(38px, 5.2vw, 62px); }
.ps-head p:not(.ps-eyebrow) { color: var(--ink-soft); margin: 18px 0 0; font-size: 17px; }

.ps-rule {
  width: 56px;
  height: 1px;
  background: var(--accent);
  border: 0;
  margin: 28px 0 0;
}
.ps-head--center .ps-rule { margin-inline: auto; }

/* --- buttons -------------------------------------------------------------- */

.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 0;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.ps-btn:hover { background: transparent; color: var(--accent); }
.ps-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.ps-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.ps-btn--light { background: transparent; color: var(--hero-ink); border-color: rgba(255, 255, 255, 0.55); }
.ps-btn--light:hover { background: var(--hero-ink); color: #1a1612; border-color: var(--hero-ink); }
.ps-btn--block { width: 100%; }
.ps-btn svg { width: 18px; height: 18px; }

.ps-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  color: var(--ink);
  background: none;
  border-top: 0; border-left: 0; border-right: 0;
  cursor: pointer;
}

/* --- preview / loading / missing ----------------------------------------- */

.ps-preview-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #1a1612;
  color: #f3ede2;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
}
.ps-has-preview-bar .ps-nav { top: 32px; }

.ps-loading {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: var(--bg);
  z-index: 90;
  transition: opacity 0.5s ease;
}
.ps-loading.is-done { opacity: 0; pointer-events: none; }
.ps-loading__mark {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: ps-spin 1s linear infinite;
}
@keyframes ps-spin { to { transform: rotate(360deg); } }

.ps-missing {
  min-height: 100vh;
  display: grid; place-content: center;
  text-align: center;
  padding: 24px;
}
.ps-missing h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.ps-missing p { color: var(--ink-soft); }

/* --- nav ------------------------------------------------------------------ */

.ps-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--hero-ink);
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 22px 0;
}
.ps-nav.is-solid {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.ps-nav--plain { color: var(--ink); }
.ps-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ps-nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}
.ps-nav__brand img { height: 42px; width: auto; max-width: 160px; object-fit: contain; }
.ps-nav__links { display: flex; align-items: center; gap: 30px; }
.ps-nav__links a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.ps-nav__links a:hover { opacity: 1; }
.ps-nav .ps-btn { min-height: 42px; padding: 0 22px; }
.ps-nav:not(.is-solid):not(.ps-nav--plain) .ps-btn {
  background: transparent; color: var(--hero-ink); border-color: rgba(255, 255, 255, 0.6);
}
.ps-nav:not(.is-solid):not(.ps-nav--plain) .ps-btn:hover { background: var(--hero-ink); color: #1a1612; }

@media (max-width: 900px) {
  .ps-nav__links a { display: none; }
}

/* --- hero ----------------------------------------------------------------- */

.ps-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--hero-ink);
  overflow: hidden;
  isolation: isolate;
}
.ps-hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--placeholder);
}
.ps-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: ps-hero-zoom 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ps-hero-zoom { to { transform: scale(1); } }
.ps-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--hero-shade);
}
.ps-hero--plain { color: var(--ink); min-height: 92svh; align-items: center; }
.ps-hero--plain::after { display: none; }
.ps-hero--plain .ps-hero__media { background: var(--bg-alt); }
.ps-hero--plain .ps-hero__media::before {
  content: "";
  position: absolute; inset: 8% 6%;
  border: 1px solid var(--line);
}
.ps-hero--plain .ps-btn--light { color: var(--ink); border-color: var(--line); }
.ps-hero--plain .ps-btn--light:hover { background: var(--ink); color: var(--bg); }

.ps-hero__content {
  padding: 140px 0 clamp(64px, 10vh, 110px);
  max-width: 900px;
}
.ps-hero--plain .ps-hero__content { margin-inline: auto; text-align: center; padding-top: 160px; }
.ps-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0 0 26px;
  opacity: 0.9;
}
.ps-hero h1 {
  font-size: clamp(46px, 8vw, 104px);
  font-weight: 400;
  line-height: 1.0;
}
.ps-hero h1 em { font-style: italic; }
.ps-hero__intro {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 300;
  margin: 28px 0 40px;
  opacity: 0.92;
}
.ps-hero--plain .ps-hero__intro { margin-inline: auto; color: var(--ink-soft); }
.ps-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ps-hero--plain .ps-hero__actions { justify-content: center; }

.ps-hero__scroll {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 44px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
  display: flex; align-items: center; gap: 14px;
}
.ps-hero__scroll::after {
  content: "";
  width: 1px; height: 64px;
  background: currentColor;
  animation: ps-scroll-line 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes ps-scroll-line {
  0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 700px) { .ps-hero__scroll { display: none; } }

/* --- stats ---------------------------------------------------------------- */

.ps-stats {
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
}
.ps-stats__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.ps-stat b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 1;
  color: var(--accent);
}
.ps-stat span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- services ------------------------------------------------------------- */

.ps-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--line);
}
.ps-service {
  padding: 42px 34px 46px 0;
  border-bottom: 1px solid var(--line);
}
.ps-service + .ps-service { padding-left: 34px; border-left: 1px solid var(--line); }
@media (max-width: 860px) {
  .ps-service + .ps-service { padding-left: 0; border-left: 0; }
}
.ps-service__num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}
.ps-service h3 { font-size: 32px; margin: 18px 0 14px; }
.ps-service p { margin: 0; color: var(--ink-soft); }

/* --- setups --------------------------------------------------------------- */

.ps-setups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(28px, 3vw, 44px);
}
.ps-setup {
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.ps-setup__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--placeholder);
}
.ps-setup__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.ps-setup:hover .ps-setup__media img { transform: scale(1.05); }
.ps-setup__tag {
  position: absolute; left: 16px; top: 16px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 12px;
}
.ps-setup__body { padding-top: 22px; }
.ps-setup__body h3 { font-size: 30px; }
.ps-setup__meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.ps-setup__price { color: var(--ink); font-weight: 500; }
.ps-setup__more {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- gallery -------------------------------------------------------------- */

.ps-gallery { columns: 3 300px; column-gap: 18px; }
.ps-gallery__item {
  break-inside: avoid;
  margin: 0 0 18px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--placeholder);
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
}
.ps-gallery__item img { width: 100%; height: auto; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s; }
.ps-gallery__item:hover img { transform: scale(1.04); }
.ps-gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  color: #fff;
  font-size: 13px;
  text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  opacity: 0;
  transition: opacity 0.4s;
}
.ps-gallery__item:hover figcaption { opacity: 1; }

/* --- reviews -------------------------------------------------------------- */

.ps-reviews { text-align: center; }
.ps-reviews__score {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 44px;
}
.ps-stars { color: var(--accent); letter-spacing: 0.15em; font-size: 15px; }
.ps-quote {
  display: grid; /* every slide shares one cell: the box fits the longest quote */
}
.ps-quote__slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
/* The old quote fades out first, then the new one fades in: never two at once. */
.ps-quote__slide.is-active {
  opacity: 1; transform: none; pointer-events: auto;
  transition: opacity 0.7s ease 0.45s, transform 0.7s ease 0.45s;
}
.ps-quote__mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 110px;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  height: 46px;
}
.ps-quote blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
}
.ps-quote cite {
  display: block;
  margin-top: 30px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ps-quote cite small {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 13px;
  color: var(--muted);
}
.ps-quote__nav { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 40px; }
.ps-quote__nav button {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.3s, color 0.3s;
}
.ps-quote__nav button:hover { border-color: var(--accent); color: var(--accent); }
.ps-quote__nav svg { width: 16px; height: 16px; }
.ps-quote__count { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); min-width: 60px; }

/* --- about ---------------------------------------------------------------- */

.ps-about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.ps-about--text-only { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.ps-about__media {
  position: relative;
  aspect-ratio: 4 / 5;
}
.ps-about__media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.ps-about__media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--accent);
  opacity: 0.6;
}
.ps-about h2 { font-size: clamp(38px, 4.8vw, 58px); margin-bottom: 26px; }
.ps-about__body p { margin: 0 0 18px; color: var(--ink-soft); font-size: 17px; }
.ps-about__team {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
}
@media (max-width: 860px) {
  .ps-about { grid-template-columns: 1fr; }
  .ps-about__media { max-width: 460px; }
  .ps-about__media::before { inset: 14px -12px -14px 12px; }
}

/* --- process -------------------------------------------------------------- */

.ps-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  counter-reset: step;
}
.ps-step {
  position: relative;
  padding: 0 28px 0 0;
}
.ps-step__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}
.ps-step__line {
  height: 1px;
  background: var(--line);
  margin: 18px 0 24px;
}
.ps-step h3 { font-size: 26px; margin-bottom: 10px; }
.ps-step p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 700px) { .ps-step { padding: 0 0 40px; } }

/* --- faqs ----------------------------------------------------------------- */

.ps-faqs { border-top: 1px solid var(--line); }
.ps-faq { border-bottom: 1px solid var(--line); }
.ps-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
}
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after {
  content: "+";
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 26px;
  color: var(--accent);
  transition: transform 0.35s ease;
}
.ps-faq[open] summary::after { transform: rotate(45deg); }
.ps-faq p { margin: 0 0 28px; color: var(--ink-soft); max-width: 640px; }

/* --- enquiry -------------------------------------------------------------- */

.ps-enquire {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
@media (max-width: 900px) { .ps-enquire { grid-template-columns: 1fr; } }
.ps-enquire__intro h2 { font-size: clamp(40px, 5vw, 64px); }
.ps-enquire__intro p { color: var(--ink-soft); font-size: 17px; margin: 22px 0 0; }
.ps-enquire__note {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.ps-enquire__note a { color: var(--ink); }

.ps-form {
  background: var(--surface);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.25);
}
[data-tone="dark"] .ps-form { box-shadow: none; border: 1px solid var(--line); }
.ps-form fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.ps-form legend {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 0;
}
.ps-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
@media (max-width: 560px) { .ps-grid2 { grid-template-columns: 1fr; } }

.ps-field { display: block; margin-bottom: 20px; }
.ps-field > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.ps-field input,
.ps-field select,
.ps-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 10px 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.ps-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.ps-field select option { color: #1f1b16; }
.ps-field textarea { resize: vertical; min-height: 96px; }
.ps-field input:focus,
.ps-field select:focus,
.ps-field textarea:focus { border-color: var(--accent); }

.ps-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-chip { position: relative; }
.ps-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ps-chip span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
}
.ps-chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ps-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.ps-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ps-form__error { color: #b3261e; font-size: 14px; margin: 0 0 16px; }
.ps-form__terms { font-size: 13px; color: var(--muted); margin: 16px 0 0; text-align: center; }
.ps-form__terms button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: var(--ink); font-size: inherit; }

.ps-done { text-align: center; padding: 30px 0; }
.ps-done__icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent);
}
.ps-done__icon svg { width: 30px; height: 30px; }
.ps-done h3 { font-size: 40px; margin-bottom: 14px; }
.ps-done p { color: var(--ink-soft); margin: 0 auto 28px; max-width: 420px; }

/* --- footer --------------------------------------------------------------- */

.ps-footer {
  background: #14110e;
  color: #e9e2d6;
  padding: 90px 0 36px;
}
[data-theme="emerald"] .ps-footer { background: #0f1f19; }
[data-theme="custom"] .ps-footer { background: color-mix(in srgb, #121110 88%, var(--accent)); }
[data-theme="custom"] .ps-footer h4 { color: color-mix(in srgb, var(--accent) 55%, #ffffff); }
.ps-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 800px) { .ps-footer__top { grid-template-columns: 1fr; } }
.ps-footer__brand { font-family: "Cormorant Garamond", serif; font-size: 40px; line-height: 1; }
.ps-footer__brand img { height: 56px; width: auto; max-width: 200px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.92; }
.ps-footer__tag { margin: 18px 0 0; color: rgba(233, 226, 214, 0.65); max-width: 340px; }
.ps-footer h4 {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
[data-theme="emerald"] .ps-footer h4 { color: #b9cdbf; }
.ps-footer ul { list-style: none; margin: 0; padding: 0; }
.ps-footer li { margin-bottom: 10px; color: rgba(233, 226, 214, 0.82); }
.ps-footer a { text-decoration: none; transition: color 0.3s; }
.ps-footer a:hover { color: #fff; }
.ps-footer button { background: none; border: 0; padding: 0; cursor: pointer; color: rgba(233, 226, 214, 0.82); font-size: inherit; }
.ps-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(233, 226, 214, 0.5);
  letter-spacing: 0.04em;
}
.ps-footer__bottom a { color: rgba(233, 226, 214, 0.7); }

/* --- mobile action bar ---------------------------------------------------- */

.ps-mobilebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ps-mobilebar.is-visible { transform: none; }
.ps-mobilebar .ps-btn { flex: 1; min-height: 48px; }
.ps-mobilebar .ps-btn--wa { flex: 0 0 52px; padding: 0; background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
@media (max-width: 760px) {
  .ps-mobilebar { display: flex; }
  .ps-footer { padding-bottom: 110px; }
}

/* --- modal (setup details, terms, lightbox) -------------------------------- */

.ps-modal {
  position: fixed; inset: 0;
  z-index: 80;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.ps-modal.is-open { display: flex; }
.ps-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 10, 8, 0.72);
  backdrop-filter: blur(4px);
  animation: ps-fade 0.35s ease;
}
.ps-modal__panel {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  width: min(1040px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  animation: ps-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ps-modal__close {
  position: absolute; right: 14px; top: 14px;
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  cursor: pointer;
  display: grid; place-items: center;
}
.ps-modal__close svg { width: 18px; height: 18px; }
@keyframes ps-fade { from { opacity: 0; } }
@keyframes ps-rise { from { opacity: 0; transform: translateY(24px); } }

.ps-detail { display: grid; grid-template-columns: 1.15fr 1fr; }
@media (max-width: 800px) { .ps-detail { grid-template-columns: 1fr; } }
.ps-detail__media { position: relative; background: var(--placeholder); min-height: 340px; }
.ps-detail__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity 0.5s; }
.ps-detail__dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.ps-detail__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.5); cursor: pointer; padding: 0; }
.ps-detail__dots button.is-active { background: #fff; }
.ps-detail__arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 42px; height: 42px; margin-top: -21px;
  border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.85); color: #1f1b16;
  display: grid; place-items: center; cursor: pointer;
}
.ps-detail__arrow svg { width: 16px; height: 16px; }
.ps-detail__arrow--prev { left: 14px; }
.ps-detail__arrow--next { right: 14px; }
.ps-detail__body { padding: clamp(28px, 4vw, 54px); }
.ps-detail__body h3 { font-size: clamp(34px, 4vw, 46px); margin-bottom: 18px; }
.ps-detail__facts { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.ps-detail__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ps-detail__facts li span:first-child { color: var(--muted); letter-spacing: 0.06em; }
.ps-detail__body p { color: var(--ink-soft); white-space: pre-line; margin: 0 0 30px; }

.ps-terms { padding: clamp(32px, 5vw, 64px); max-width: 760px; }
.ps-terms h3 { font-size: 40px; margin-bottom: 24px; }
.ps-terms div { white-space: pre-line; color: var(--ink-soft); font-size: 15px; }

.ps-lightbox .ps-modal__panel { background: transparent; width: auto; max-width: 100%; overflow: visible; }
.ps-lightbox img { max-height: calc(100svh - 80px); max-width: min(1400px, 100%); width: auto; margin: 0 auto; }
.ps-lightbox figcaption { color: #eee; text-align: center; margin-top: 12px; font-size: 14px; }
.ps-lightbox .ps-detail__arrow--prev { left: -8px; }
.ps-lightbox .ps-detail__arrow--next { right: -8px; }

/* --- reveal on scroll ------------------------------------------------------ */

.ps-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.ps-reveal.is-in { opacity: 1; transform: none; }
.ps-reveal[data-delay="1"] { transition-delay: 0.1s; }
.ps-reveal[data-delay="2"] { transition-delay: 0.2s; }
.ps-reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ps-reveal { opacity: 1; transform: none; transition: none; }
  .ps-hero__media img { animation: none; transform: none; }
  .ps-hero__scroll::after { animation: none; }
}

/* --- planner's own sections (custom) -------------------------------------- */

.ps-reviews__title { font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 14px; }
.ps-reviews__intro { color: var(--ink-soft); margin: 0 0 30px; }

.ps-about--flip { grid-template-columns: 1.1fr 1fr; }
.ps-about--flip > .ps-about__media { order: 2; }
@media (max-width: 860px) {
  .ps-about--flip { grid-template-columns: 1fr; }
  .ps-about--flip > .ps-about__media { order: 0; }
}

.ps-banner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--hero-ink);
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.ps-banner__media { position: absolute; inset: 0; z-index: -2; background: var(--placeholder); }
.ps-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.ps-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 12, 9, 0.45); }
.ps-banner__content { padding: 100px 0; }
.ps-banner h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 400; max-width: 900px; margin: 0 auto; }
.ps-banner p:not(.ps-hero__eyebrow) { max-width: 560px; margin: 22px auto 0; font-size: 17px; font-weight: 300; opacity: 0.92; }

.ps-video { max-width: 960px; margin: 0 auto; }
.ps-video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ps-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ps-video__link {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  aspect-ratio: 16 / 9;
  background: var(--placeholder);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.ps-video__play {
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); color: var(--accent);
  font-size: 22px; letter-spacing: 0; padding-left: 4px;
}

.ps-prices { list-style: none; margin: 0; padding: 0; }
.ps-prices li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ps-prices__name b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 24px; }
.ps-prices__name small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.ps-prices__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-6px); min-width: 20px; }
.ps-prices__price { font-weight: 500; color: var(--accent); white-space: nowrap; }

.ps-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); justify-content: center; gap: 36px 28px; }
.ps-team__member { margin: 0; text-align: center; }
.ps-team__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--placeholder); display: grid; place-items: center; }
.ps-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.ps-team__photo span { font-family: "Cormorant Garamond", serif; font-size: 64px; color: var(--bg); }
.ps-team__member b { display: block; margin-top: 16px; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 24px; }
.ps-team__member small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

.ps-cta { text-align: center; }
.ps-cta h2 { font-size: clamp(38px, 5vw, 62px); }
.ps-cta p:not(.ps-eyebrow) { color: var(--ink-soft); font-size: 17px; margin: 20px auto 34px; max-width: 520px; }

/* Links (Linktree-style buttons) */
.ps-links__list { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; display: grid; gap: 14px; }
.ps-links__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color 0.3s, color 0.3s, transform 0.3s, background 0.3s;
}
.ps-links__btn svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--accent); transition: transform 0.3s; }
.ps-links__btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.ps-links__btn:hover svg { transform: translate(2px, -2px); }


/* ==========================================================================
   LAYOUT: MODERN — clean sans type, split hero, rounded cards, tight grid
   ========================================================================== */

[data-layout="modern"] body { font-family: "Outfit", "Manrope", system-ui, sans-serif; }
[data-layout="modern"] h1,
[data-layout="modern"] h2,
[data-layout="modern"] h3,
[data-layout="modern"] .ps-nav__brand,
[data-layout="modern"] .ps-stat b,
[data-layout="modern"] .ps-step__num,
[data-layout="modern"] .ps-prices__name b,
[data-layout="modern"] .ps-team__member b,
[data-layout="modern"] .ps-faq summary,
[data-layout="modern"] .ps-footer__brand {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}
[data-layout="modern"] .ps-head h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; }
[data-layout="modern"] .ps-eyebrow { letter-spacing: 0.16em; }
[data-layout="modern"] .ps-rule { display: none; }
[data-layout="modern"] .ps-btn { border-radius: 999px; letter-spacing: 0.08em; text-transform: none; font-size: 14px; }
[data-layout="modern"] .ps-nav .ps-btn { min-height: 42px; }
[data-layout="modern"] .ps-nav { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
[data-layout="modern"] .ps-nav__links a { letter-spacing: 0.04em; text-transform: none; font-size: 14px; }

.ps-hero--split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  color: var(--ink);
  min-height: 100svh;
}
.ps-hero--split::after { display: none; }
.ps-split__text { display: flex; align-items: center; padding: 120px clamp(24px, 6vw, 96px) 64px; }
.ps-split__inner { max-width: 600px; }
.ps-hero--split h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 0.98; }
.ps-hero--split h1 em { font-style: normal; color: var(--accent); }
.ps-hero--split .ps-hero__intro { color: var(--ink-soft); margin: 26px 0 36px; }
.ps-split__media { position: relative; background: var(--placeholder); min-height: 420px; overflow: hidden; }
.ps-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: ps-hero-zoom 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; transform: scale(1.06); }
@media (max-width: 860px) {
  .ps-hero--split { grid-template-columns: 1fr; }
  .ps-split__media { order: -1; min-height: 52svh; margin-top: 66px; }
  .ps-split__text { padding: 40px 24px 56px; }
}

[data-layout="modern"] .ps-services { border-top: 0; gap: 16px; }
[data-layout="modern"] .ps-service,
[data-layout="modern"] .ps-service + .ps-service {
  padding: 34px 30px;
  border: 0;
  border-radius: 22px;
  background: var(--bg-alt);
}
[data-layout="modern"] .ps-section--alt .ps-service { background: var(--surface); }
[data-layout="modern"] .ps-service__num { font-family: "Outfit", sans-serif; font-style: normal; font-weight: 600; font-size: 14px; }
[data-layout="modern"] .ps-service h3 { font-size: 26px; }

[data-layout="modern"] .ps-setup__media { aspect-ratio: 4 / 3; border-radius: 22px; }
[data-layout="modern"] .ps-setup__tag { border-radius: 999px; }
[data-layout="modern"] .ps-setup__body h3 { font-size: 24px; }

[data-layout="modern"] .ps-gallery { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
[data-layout="modern"] .ps-gallery__item { margin: 0; aspect-ratio: 1; border-radius: 16px; }
[data-layout="modern"] .ps-gallery__item img { height: 100%; object-fit: cover; }

[data-layout="modern"] .ps-quote blockquote { font-family: "Outfit", sans-serif; font-style: normal; font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; }
[data-layout="modern"] .ps-quote__mark { font-family: "Outfit", sans-serif; font-weight: 700; }

[data-layout="modern"] .ps-about__media::before { display: none; }
[data-layout="modern"] .ps-about__media img,
[data-layout="modern"] .ps-team__photo,
[data-layout="modern"] .ps-video__frame,
[data-layout="modern"] .ps-video__link,
[data-layout="modern"] .ps-detail__media { border-radius: 22px; overflow: hidden; }
[data-layout="modern"] .ps-about__team { font-family: "Outfit", sans-serif; font-style: normal; font-size: 18px; }

[data-layout="modern"] .ps-step__num {
  font-size: 56px;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent);
}
[data-layout="modern"] .ps-faq summary { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
[data-layout="modern"] .ps-form { border-radius: 24px; }
[data-layout="modern"] .ps-field input,
[data-layout="modern"] .ps-field select,
[data-layout="modern"] .ps-field textarea { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
[data-layout="modern"] .ps-chip span { border-radius: 999px; }
[data-layout="modern"] .ps-links__btn { border-radius: 999px; }
[data-layout="modern"] .ps-banner h2 { font-weight: 600; }

/* ==========================================================================
   LAYOUT: ROMANTIC — centred, script accents, arches, soft and delicate
   ========================================================================== */

[data-layout="romantic"] .ps-eyebrow {
  font-family: "Pinyon Script", cursive;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 6px;
}
[data-layout="romantic"] .ps-hero__eyebrow { font-family: "Pinyon Script", cursive; font-size: 30px; letter-spacing: 0; text-transform: none; font-weight: 400; }
[data-layout="romantic"] h1,
[data-layout="romantic"] h2 { font-weight: 400; }
[data-layout="romantic"] .ps-head { margin-inline: auto; text-align: center; }
[data-layout="romantic"] .ps-rule {
  width: 120px;
  height: 14px;
  margin: 26px auto 0;
  background:
    linear-gradient(var(--accent), var(--accent)) left center / 48px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right center / 48px 1px no-repeat;
  position: relative;
}
[data-layout="romantic"] .ps-rule::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
}
[data-layout="romantic"] .ps-btn { border-radius: 999px; }

.ps-hero--romantic { color: var(--ink); min-height: auto; align-items: center; text-align: center; }
.ps-hero--romantic::after { display: none; }
.ps-romance { padding: 130px 0 90px; display: flex; flex-direction: column; align-items: center; }
.ps-romance__script { font-family: "Pinyon Script", cursive; font-size: clamp(44px, 6vw, 76px); color: var(--accent); margin: 0; line-height: 1.1; }
.ps-romance .ps-eyebrow { font-family: "Manrope", sans-serif; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin: 8px 0 34px; }
.ps-arch {
  width: min(440px, 82vw);
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--placeholder);
  margin-bottom: 40px;
  box-shadow: 0 0 0 10px var(--bg), 0 0 0 11px var(--line);
}
.ps-arch img { width: 100%; height: 100%; object-fit: cover; }
.ps-hero--romantic h1 { font-size: clamp(38px, 5.4vw, 72px); max-width: 860px; }
.ps-hero--romantic .ps-hero__intro { margin: 24px auto 36px; color: var(--ink-soft); }
.ps-hero--romantic .ps-hero__actions { justify-content: center; }

[data-layout="romantic"] .ps-services { border-top: 0; text-align: center; }
[data-layout="romantic"] .ps-service,
[data-layout="romantic"] .ps-service + .ps-service { padding: 20px 28px; border: 0; }
[data-layout="romantic"] .ps-service__num { font-family: "Pinyon Script", cursive; font-style: normal; font-size: 34px; }
[data-layout="romantic"] .ps-setup { text-align: center; }
[data-layout="romantic"] .ps-setup__media { border-radius: 999px 999px 0 0; }
[data-layout="romantic"] .ps-setup__tag { left: 50%; transform: translateX(-50%); top: auto; bottom: 18px; border-radius: 999px; white-space: nowrap; }
[data-layout="romantic"] .ps-setup__meta { justify-content: center; }
[data-layout="romantic"] .ps-gallery__item { border-radius: 14px; }
[data-layout="romantic"] .ps-about { text-align: center; }
[data-layout="romantic"] .ps-about__media::before { display: none; }
[data-layout="romantic"] .ps-about__media { margin-inline: auto; width: min(420px, 100%); }
[data-layout="romantic"] .ps-about__media img { border-radius: 999px 999px 0 0; }
[data-layout="romantic"] .ps-about__body p { margin-inline: auto; max-width: 560px; }
[data-layout="romantic"] .ps-team__photo { border-radius: 999px 999px 0 0; }
[data-layout="romantic"] .ps-process { text-align: center; }
[data-layout="romantic"] .ps-step { padding: 0 18px 30px; }
[data-layout="romantic"] .ps-step__num { font-family: "Pinyon Script", cursive; font-size: 54px; }
[data-layout="romantic"] .ps-step__line { width: 40px; margin: 10px auto 18px; background: var(--accent); }
[data-layout="romantic"] .ps-enquire__intro { text-align: center; }
[data-layout="romantic"] .ps-form { border-radius: 28px; }
[data-layout="romantic"] .ps-chip span { border-radius: 999px; }
[data-layout="romantic"] .ps-links__btn { border-radius: 999px; justify-content: center; }
[data-layout="romantic"] .ps-links__btn svg { display: none; }
[data-layout="romantic"] .ps-footer__top { text-align: center; }
[data-layout="romantic"] .ps-footer__tag { margin-inline: auto; }
[data-layout="romantic"] .ps-footer__brand { font-family: "Pinyon Script", cursive; font-size: 48px; }


/* ==========================================================================
   Instagram-familiar patterns: highlights + stories, square grid, reels
   ========================================================================== */

.ps-highlights { padding: 26px 0 6px; border-bottom: 1px solid var(--line); }
.ps-highlights__row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 max(24px, calc((100% - 1180px) / 2)) 14px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 24px;
}
.ps-highlights__row::-webkit-scrollbar { display: none; }
.ps-highlight {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 78px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}
.ps-highlight__ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 210deg, var(--accent), color-mix(in srgb, var(--accent) 35%, var(--bg)), var(--accent));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ps-highlight:hover .ps-highlight__ring { transform: scale(1.05); }
.ps-highlight__img {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--placeholder);
  border: 3px solid var(--bg);
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  color: var(--accent);
}
.ps-highlight__img--quote { background: var(--bg-alt); }
.ps-highlight__img img { width: 100%; height: 100%; object-fit: cover; }
.ps-highlight__label {
  max-width: 78px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px;
  color: var(--ink-soft);
}

/* Full-screen story */
.ps-story {
  position: fixed; inset: 0; z-index: 120;
  background: #0b0a09;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  user-select: none;
  touch-action: none;
  animation: ps-fade 0.25s ease;
}
.ps-story__slide { position: relative; width: min(100%, 520px); height: 100%; display: grid; place-items: center; overflow: hidden; }
.ps-story__img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) { .ps-story__slide { height: min(100%, 920px); border-radius: 14px; } }
.ps-story__bars { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3; display: flex; gap: 4px; max-width: 500px; margin: 0 auto; }
.ps-story__bar { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,0.35); overflow: hidden; }
.ps-story__bar i { display: block; height: 100%; width: 0; background: #fff; }
.ps-story__bar i.is-done { width: 100%; }
.ps-story__bar i.is-now { animation: ps-story-fill linear forwards; }
.ps-story.is-paused .ps-story__bar i.is-now { animation-play-state: paused; }
@keyframes ps-story-fill { to { width: 100%; } }
.ps-story__top { position: absolute; top: 22px; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; max-width: 520px; margin: 0 auto; }
.ps-story__who-top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.ps-story__who-top img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ps-story__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.28); color: #fff; font-size: 18px; cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.ps-story__nav { position: absolute; top: 80px; bottom: 120px; z-index: 2; width: 38%; border: 0; background: transparent; cursor: pointer; }
.ps-story__nav--prev { left: 0; }
.ps-story__nav--next { right: 0; width: 62%; }
.ps-story__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 80px 22px 110px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  display: grid; gap: 4px;
}
.ps-story__caption b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 30px; line-height: 1.1; }
[data-layout="modern"] .ps-story__caption b { font-family: "Outfit", sans-serif; font-weight: 600; letter-spacing: -0.02em; }
.ps-story__caption small { font-size: 14px; opacity: .85; }
.ps-story__quote {
  width: 100%; height: 100%;
  display: grid; align-content: center; justify-items: center; text-align: center;
  padding: 90px 32px 130px;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 55%, #000) 0%, #0b0a09 75%);
}
.ps-story__mark { font-family: "Cormorant Garamond", serif; font-size: 120px; line-height: .6; color: var(--accent); height: 50px; }
.ps-story__quote blockquote { margin: 0; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(24px, 6.4vw, 34px); line-height: 1.3; }
.ps-story__stars { margin: 22px 0 0; color: var(--accent); letter-spacing: .2em; }
.ps-story__who { margin: 10px 0 0; font-size: 14px; opacity: .85; }
.ps-story__cta {
  position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 4;
  transform: translateX(-50%);
  padding: 15px 26px;
  border-radius: 999px;
  background: #fff; color: #111;
  font-size: 14px; font-weight: 600; text-decoration: none;
  white-space: nowrap;
}

/* Square grid for "Our work" (like a profile grid) */
.ps-gallery--grid { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ps-gallery--grid .ps-gallery__item { margin: 0; aspect-ratio: 1; }
.ps-gallery--grid .ps-gallery__item img { height: 100%; object-fit: cover; }
@media (min-width: 900px) { .ps-gallery--grid { gap: 10px; } }

/* Reels row */
.ps-reels {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px max(24px, calc((100% - 1180px) / 2)) 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
}
.ps-reels::-webkit-scrollbar { display: none; }
.ps-reel {
  position: relative;
  flex: 0 0 auto;
  width: clamp(170px, 46vw, 240px);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: var(--placeholder);
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
}
.ps-reel__media, .ps-reel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65)); }
.ps-reel__play {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.9); color: #111; font-size: 12px; padding-left: 2px;
}
.ps-reel__text { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: grid; gap: 2px; }
.ps-reel__text b { font-size: 15px; line-height: 1.25; }
.ps-reel__text small { font-size: 12px; opacity: .85; }
.ps-reel:hover .ps-reel__media img { transform: scale(1.04); transition: transform .8s; }

@media (prefers-reduced-motion: reduce) {
  .ps-story { animation: none; }
}

/* --- videos (gallery, setups, highlights, player) ------------------------ */

.ps-play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ps-play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.ps-gallery__item--video { cursor: pointer; }
.ps-gallery__item--video:hover .ps-play { transform: scale(1.08); }
.ps-gallery__item--video.is-bare { aspect-ratio: 4 / 5; background: var(--ink); }
.ps-gallery__item--video.is-bare.is-tall { aspect-ratio: 9 / 16; }
.ps-gallery__where {
  position: absolute; left: 0; right: 0; bottom: 18px;
  color: var(--bg); opacity: 0.8;
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.ps-gallery__item--video figcaption { opacity: 1; }

.ps-setup__video {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.ps-setup__video .ps-play { position: static; margin: 0; width: 22px; height: 22px; box-shadow: none; }
.ps-setup__video .ps-play svg { width: 10px; height: 10px; margin-left: 2px; }
[data-layout="romantic"] .ps-setup__video { right: 50%; transform: translateX(50%); bottom: 58px; }

.ps-detail__play { position: absolute; inset: 0; z-index: 2; border: 0; background: rgba(0, 0, 0, 0.15); cursor: pointer; }
.ps-detail__watch { margin-bottom: 10px; gap: 10px; }
.ps-detail__watch .ps-play { position: static; margin: 0; width: 26px; height: 26px; box-shadow: none; background: var(--accent); color: var(--accent-ink, #fff); }
.ps-detail__watch .ps-play svg { width: 11px; height: 11px; margin-left: 2px; }

.ps-video__link { flex-direction: column; gap: 14px; }
.ps-video__link small { font-size: 10px; opacity: 0.7; }

/* The player itself (opens over the page). */
.ps-videobox .ps-modal__panel {
  background: transparent; width: auto; max-width: 100%; overflow: visible;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.ps-videobox .ps-modal__close { position: fixed; right: 14px; top: 14px; }
.ps-player { position: relative; width: min(960px, calc(100vw - 32px)); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.ps-player--tall { width: auto; height: min(calc(100svh - 120px), 760px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); }
.ps-player--insta { aspect-ratio: 9 / 15; background: #fff; }
.ps-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ps-player__out { color: #eee; font-size: 13px; text-decoration: none; opacity: 0.85; }
.ps-player__out:hover { opacity: 1; text-decoration: underline; }

/* Highlights: a video slide shows its cover with a Watch button. */
.ps-story__bare { position: absolute; inset: 0; background: linear-gradient(160deg, #2a2522, #0e0c0b); }
.ps-story__watch {
  position: relative; z-index: 3;
  display: grid; justify-items: center; gap: 14px;
  border: 0; background: none; color: #fff; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.ps-story__watch .ps-play { position: static; margin: 0; width: 76px; height: 76px; }
.ps-story__watch .ps-play svg { width: 28px; height: 28px; }
.ps-story__slide:has(.ps-story__watch) > .ps-story__img { position: absolute; inset: 0; }

/* In the square grid, videos look like Instagram's: same square, a small play mark, no caption. */
.ps-gallery--grid .ps-gallery__item--video.is-bare { aspect-ratio: 1; }
.ps-gallery--grid .ps-gallery__item--video figcaption { display: none; }
.ps-gallery--grid .ps-play { left: auto; top: 8px; right: 8px; margin: 0; width: 30px; height: 30px; background: rgba(255, 255, 255, 0.85); }
.ps-gallery--grid .ps-play svg { width: 13px; height: 13px; margin-left: 2px; }
.ps-gallery--grid .ps-gallery__where { bottom: auto; top: 50%; transform: translateY(-50%); }
