/* ==========================================================================
   NZ beauty — sections: about, prices, offers, gallery, film
   ========================================================================== */

:root { --gold-on-deep: #CDB083; --rose-on-deep: #E4BDB5; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.portrait { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; }
.portrait__ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); animation: spin 70s linear infinite; }
.portrait__ring text { font-family: var(--font-body); font-size: 10.5px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; fill: currentColor; }
.portrait__frame { position: absolute; inset: 11%; border: 1px solid var(--accent-soft); border-radius: 50%; opacity: .75; }
.portrait__photo { position: absolute; inset: 14%; overflow: hidden; border-radius: 50%; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.portrait__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2s var(--ease); }
.portrait.is-in .portrait__photo img { transform: scale(1); }

.about__role { margin-top: 18px; font-size: .74rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.about__text { margin-top: 30px; max-width: 60ch; font-size: 1.04rem; color: var(--ink-soft); }
.about__text p + p { margin-top: 18px; }
.signature { margin-top: 24px; font-family: var(--font-script); font-size: 3.4rem; line-height: 1; color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.fact { display: flex; gap: 16px; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 24px; padding-right: 0; }
.fact__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.fact__icon svg { width: 18px; height: 18px; }
.fact__title { font-size: 1.4rem; line-height: 1.2; }
.fact__text { margin-top: 6px; font-size: .9rem; line-height: 1.6; color: var(--muted); }

/* ---------- Prices ---------- */
.prices { background: var(--bg-alt); transition: background-color .5s var(--ease); }
.prices__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; margin-bottom: clamp(56px, 6vw, 88px); }
.prices__top .section-head { margin-bottom: 0; }

.currency { display: inline-flex; align-items: center; gap: 12px; }
.currency__label { font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.currency__switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.currency__btn { padding: 6px 14px; border-radius: 999px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); transition: color .3s var(--ease), background-color .3s var(--ease); }
.currency__btn[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(44px, 4vw, 60px) clamp(24px, 2.6vw, 42px) clamp(30px, 3vw, 42px);
  background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow .7s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.tier::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); pointer-events: none; }
.tier:hover { box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.tier--featured { background: var(--deep); color: var(--deep-ink); border-color: transparent; box-shadow: var(--shadow-lg); }
.tier--featured::before { border-color: var(--gold-on-deep); opacity: .38; }
.tier--featured:hover { border-color: transparent; }
.tier__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 8px 18px; background: var(--wine); color: var(--wine-ink); white-space: nowrap;
  font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
}
.tier__num { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; line-height: 1; letter-spacing: .08em; color: var(--accent); }
.tier__name { margin-top: 14px; font-size: clamp(2.1rem, 1.5rem + 1.3vw, 2.9rem); font-style: italic; line-height: 1.05; }
.tier__sub { margin-top: 14px; font-size: .66rem; font-weight: 600; letter-spacing: .2em; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.tier__ornament { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; color: var(--accent-soft); }
.tier__ornament::before, .tier__ornament::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .6; }
.tier__ornament svg { width: 11px; height: 11px; }
.tier__items { flex: 1; width: 100%; font-size: .94rem; line-height: 1.5; }
.tier__items li { padding: 11px 4px; }
.tier__items li + li { border-top: 1px solid var(--line); }
.tier__price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 8px; width: 100%; margin-top: 22px; padding-top: 24px; border-top: 1px solid var(--line-strong); white-space: nowrap; }
.tier__from { font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tier__amount { font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 1vw, 3.1rem); line-height: 1; }
.tier__cur { font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.tier .btn { width: 100%; margin-top: 22px; }
.tier--featured .tier__num, .tier--featured .tier__ornament { color: var(--gold-on-deep); }
.tier--featured .tier__sub, .tier--featured .tier__from, .tier--featured .tier__cur { color: var(--deep-muted); }
.tier--featured .tier__items li + li, .tier--featured .tier__price { border-color: var(--deep-line); }

.addon {
  position: relative; display: grid; grid-template-columns: auto minmax(0, .9fr) minmax(0, 1.1fr) auto; align-items: center;
  gap: 22px clamp(24px, 3.4vw, 56px); margin-top: 24px; padding: clamp(28px, 3vw, 40px) clamp(28px, 3.4vw, 52px);
  background: var(--surface); border: 1px solid var(--line); transition: background-color .5s var(--ease);
}
.addon::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); pointer-events: none; }
.addon__mark { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--accent-soft); border-radius: 50%; color: var(--accent); }
.addon__mark svg { width: 22px; height: 22px; }
.addon__head { position: relative; }
.addon__eyebrow { font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.addon__name { margin-top: 8px; font-size: clamp(1.9rem, 1.4rem + 1vw, 2.5rem); font-style: italic; line-height: 1.05; }
.addon__sub { margin-top: 8px; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.addon__text { position: relative; max-width: 46ch; color: var(--ink-soft); }
.addon__side { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.addon__side .tier__price { width: auto; margin: 0; padding: 0; border: 0; justify-content: flex-end; }
.addon__side .btn { white-space: nowrap; }
.prices__note { margin-top: 28px; font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 40px; }
  .addon { max-width: 520px; margin: 40px auto 0; grid-template-columns: auto minmax(0, 1fr); }
  .addon__text, .addon__side { grid-column: 1 / -1; }
  .addon__side { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .prices__note { text-align: center; }
}

/* ---------- Offers band ---------- */
.offers { background: var(--deep); color: var(--deep-ink); padding-block: clamp(56px, 7vw, 96px); transition: background-color .5s var(--ease); }
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.offer { display: flex; gap: 22px; padding: 6px clamp(20px, 3vw, 48px); }
.offer:first-child { padding-left: 0; }
.offer + .offer { border-left: 1px solid var(--deep-line); }
.offer__num { font-family: var(--font-display); font-size: 3.4rem; font-style: italic; line-height: .9; color: var(--gold-on-deep); }
.offer__title { font-size: 1.65rem; line-height: 1.15; }
.offer__text { margin-top: 8px; font-size: .92rem; color: var(--deep-muted); }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-alt); transition: background-color .5s var(--ease); }
.gallery__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.gallery__top .section-head { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.masonry { column-count: 3; column-gap: 20px; }
.work {
  position: relative; display: block; width: 100%; margin: 0 0 20px; overflow: hidden;
  break-inside: avoid; -webkit-column-break-inside: avoid;
  background: var(--surface-2); text-align: left; cursor: zoom-in;
}
.work img { width: 100%; height: auto; transition: transform 1.6s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work.is-entering { animation: work-in .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes work-in { from { opacity: 0; transform: translateY(18px); } }
.work__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 22px; color: #F4EFE6;
  background: linear-gradient(to top, rgba(18, 15, 11, .64), rgba(18, 15, 11, 0) 55%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.work:hover .work__overlay, .work:focus-visible .work__overlay { opacity: 1; }
.work__title { font-family: var(--font-display); font-size: 1.45rem; font-style: italic; line-height: 1.1; transform: translateY(10px); transition: transform .6s var(--ease); }
.work:hover .work__title, .work:focus-visible .work__title { transform: none; }
.work__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(244, 239, 230, .5); border-radius: 50%; }
.work__icon svg { width: 16px; height: 16px; }
.gallery__foot { margin-top: clamp(36px, 5vw, 56px); text-align: center; }

@media (hover: none) {
  .work__overlay { opacity: 1; background: linear-gradient(to top, rgba(18, 15, 11, .5), rgba(18, 15, 11, 0) 40%); }
  .work__title { transform: none; font-size: 1.2rem; }
  .work__icon { display: none; }
}

/* ---------- Film ---------- */
.film__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.film__text { margin-top: 26px; max-width: 52ch; font-size: 1.04rem; color: var(--ink-soft); }
.film__list { margin-top: 36px; border-top: 1px solid var(--line); }
.film__list li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
.film__list li span { min-width: 30px; font-family: var(--font-body); font-size: .64rem; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.film__visual { position: relative; width: min(100%, 420px); margin-inline: auto; }
.film__visual::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px;
  border: 1px solid var(--accent-soft); border-radius: 999px 999px var(--radius) var(--radius); opacity: .7;
}
.film__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); background: var(--surface-2); box-shadow: var(--shadow-lg); }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__toggle {
  position: absolute; right: 20px; bottom: 20px;
  display: grid; place-items: center; width: 54px; height: 54px;
  border: 1px solid rgba(244, 239, 230, .4); border-radius: 50%;
  background: rgba(18, 15, 11, .42); color: #F4EFE6;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .4s var(--ease);
}
.film__toggle:hover { background: rgba(18, 15, 11, .6); }
.film__toggle svg { width: 18px; height: 18px; }
.film__toggle .i-play { display: none; }
.film__toggle[data-state="paused"] .i-play { display: block; }
.film__toggle[data-state="paused"] .i-pause { display: none; }
.film__label {
  position: absolute; left: -28px; top: 22%; z-index: 1;
  padding: 12px 18px; background: var(--surface); box-shadow: var(--shadow-md);
  font-family: var(--font-display); font-size: 1.05rem; font-style: italic; line-height: 1;
}

/* ---------- Responsive (sections) ---------- */
@media (max-width: 1080px) {
  .masonry { column-count: 2; }
}
@media (max-width: 960px) {
  .about__grid, .film__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 420px; width: 100%; margin-inline: auto; }
  .offers__grid { grid-template-columns: 1fr; }
  .offer, .offer:first-child { padding: 24px 0; }
  .offer + .offer { border-left: 0; border-top: 1px solid var(--deep-line); }
  .film__visual { max-width: 360px; }
  .film__label { left: -12px; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding: 22px 0; border-right: 0; }
  .fact:nth-child(odd) { border-right: 0; }
  .prices__top { flex-direction: column; align-items: flex-start; }
  .addon { grid-template-columns: minmax(0, 1fr); }
  .addon__side { flex-direction: column; align-items: stretch; }
  .addon__side .tier__price { justify-content: flex-start; }
  .masonry { column-gap: 12px; }
  .work { margin-bottom: 12px; }
  .work__overlay { padding: 12px; }
  .gallery__top { flex-direction: column; align-items: flex-start; }
  .signature { font-size: 2.8rem; }
}
