/* Nata May Photography — site styles */

:root {
  --bg: #F4F0E8;
  --bg-2: #ECE6DB;
  --paper: #FAF8F3;
  --ink: #24241D;
  --ink-2: #4E4D43;
  --muted: #8A8678;
  --line: rgba(36, 36, 29, .16);
  --line-2: rgba(36, 36, 29, .08);
  --accent: #5D6147;
  --dark: #1C1D17;
  --on-dark: #EFEADF;

  --serif: 'Instrument Serif', 'Noto Serif Display', 'Times New Roman', serif;
  --sans: 'Jost', 'Commissioner', 'Helvetica Neue', Arial, sans-serif; /* Commissioner: only і ї є ґ ʼ on Ukrainian pages */

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(96px, 13vw, 190px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* effect palette: warm sparkler by default, cold starlight with data-fx="cosmic" (switch in the admin) */
  --fx-core: #FFF1CF;
  --fx-mid: #FFC769;
  --fx-deep: #DC8A2E;
  --fx-rgb: 255, 160, 60;
  --fx-glare: 255, 228, 180;
  --fx-line: linear-gradient(90deg, #A8581A 0%, #DC8A2E 50%, #F2AC4C 100%);
  --fx-line-dark: linear-gradient(90deg, #A8641F 0%, #E39A3E 45%, #FFC769 80%, #FFDC98 100%);
  --fx-progress: linear-gradient(90deg, #B8925A, #F2D9A6, #B8925A);
  --fx-fill: #DDB06A;
  --fx-shimmer: #F6D9A0;
  --fx-star: #C29A5B;
}
[data-fx="cosmic"] {
  --fx-core: #F4F9FF;
  --fx-mid: #A9CBFF;
  --fx-deep: #4F6DF0;
  --fx-rgb: 110, 160, 255;
  --fx-glare: 205, 225, 255;
  --fx-line: linear-gradient(90deg, #3346B8 0%, #5B7CFA 50%, #9DBDFF 100%);
  --fx-line-dark: linear-gradient(90deg, #5B6CF0 0%, #8FB4FF 50%, #E2EEFF 100%);
  --fx-progress: linear-gradient(90deg, #5B7CFA, #D6E6FF, #8A6CFF);
  --fx-fill: #C9DAFF;
  --fx-shimmer: #CFE2FF;
  --fx-star: #6F86E8;
}

*, *::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: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* soft film grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.19 0 0 0 0 0.15 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
/* <picture> only picks the format; layout styles keep targeting the <img> */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; scroll-margin-top: 40px; }

/* ---------- type ---------- */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 104px);
  line-height: .95;
  letter-spacing: -.015em;
}
.section-lead {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.1;
  letter-spacing: -.01em;
  max-width: 17em;
}
.section-note { color: var(--ink-2); max-width: 26em; }

.link-arrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
  transition: border-color .3s, gap .4s var(--ease);
  white-space: nowrap;
}
.link-arrow:hover { border-color: var(--ink); gap: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 28px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  border-radius: 2px;
  transition: background-color .3s, color .3s, border-color .3s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #3A3A30; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-line { border: 1px solid currentColor; min-height: 42px; padding: 0 20px; font-size: 11px; }
.btn-line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.4; padding-top: 14px; padding-bottom: 14px; }
/* Cyrillic headings use condensed Noto Serif Display (Latin stays Instrument Serif; Jost has no width axis, so it is unaffected) */
.lang-uk, .lang-ru { font-stretch: 80%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--gutter);
  color: var(--ink);
  transition: background-color .45s, padding .45s var(--ease), color .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
.site-header.is-over-hero { color: var(--on-dark); }
.site-header.is-over-hero .btn-line:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.site-header.is-solid {
  background: rgba(244, 240, 232, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom-color: var(--line-2);
}
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand-name { font-family: var(--serif); font-size: 30px; letter-spacing: -.01em; }
.brand-tag { font-size: 9px; letter-spacing: .42em; text-transform: uppercase; margin-top: 5px; opacity: .8; }
.site-nav { display: flex; gap: 34px; }
.site-nav a {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s cubic-bezier(.33, 1, .68, 1);
}
.site-nav a[aria-current="page"]::after,
.site-nav a.is-current::after { transform: scaleX(1); background: currentColor; height: 1px; bottom: -6px; }
/* hover: a sparkler fuse runs along the underline (sparks come from site.js) */
.site-nav a:hover::after { transform-origin: left; transform: scaleX(1); height: 2px; bottom: -7px; }
.site-nav a::before { bottom: -10.5px; }
.site-nav a:hover::before { animation: fuse-head .6s cubic-bezier(.33, 1, .68, 1) forwards; }
.menu-toggle {
  display: none; position: relative; overflow: hidden;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 10px 0;
}
.menu-toggle-inner { display: grid; }
.menu-toggle-open, .menu-toggle-close {
  grid-area: 1 / 1; text-align: right;
  transition: transform .6s var(--ease), opacity .4s;
}
.menu-toggle-close { transform: translateY(110%); opacity: 0; }

/* Mobile menu: a curtain drops from the top, then the links rise out of their lines one by one */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .6s;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--serif); font-size: clamp(44px, 12vw, 64px); line-height: 1.12;
  padding: 6px 0;
}
.mobile-menu nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.mobile-menu nav a span, .mobile-menu nav a em {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .5s var(--ease);
}
.mobile-menu nav a em { font-size: 15px; font-style: italic; color: var(--muted); }
.mobile-menu-foot {
  display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--ink-2);
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s, transform .5s var(--ease);
}
.mobile-menu-foot .btn { margin-bottom: 10px; }

.mobile-menu.is-open nav a span, .mobile-menu.is-open nav a em {
  transform: none;
  transition: transform 1s var(--ease) calc(.38s + var(--i) * .07s);
}
.mobile-menu.is-open nav a::after {
  transform: scaleX(1);
  transition: transform 1.1s var(--ease) calc(.45s + var(--i) * .07s);
}
.mobile-menu.is-open .mobile-menu-foot {
  opacity: 1; transform: none;
  transition: opacity .8s .8s, transform 1s var(--ease) .8s;
}

.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--ink); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .menu-toggle-open { transform: translateY(-110%); opacity: 0; }
.menu-open .menu-toggle-close { transform: none; opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-frames { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.hero-frame { position: relative; overflow: hidden; }
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover;
  background: var(--ph);
  animation: hero-in 2.4s var(--ease) both;
  animation-delay: calc(var(--i) * .14s);
}
@keyframes hero-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(20, 20, 14, .38) 0%, rgba(20, 20, 14, 0) 22%),
    linear-gradient(to top, rgba(20, 20, 14, .66) 0%, rgba(20, 20, 14, .22) 42%, rgba(20, 20, 14, 0) 68%);
}
.hero-content {
  position: absolute; z-index: 2; left: 0; right: 0;
  bottom: clamp(36px, 8vh, 88px);
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; opacity: .9;
  animation: fade-up 1.2s var(--ease) .4s both;
}
/* "Nata May": the words rise from below once the preloader has opened (site.js → heroTitle), like the other headings.
   Generous padding on the clipping box so the tail of the "y" is never cut. */
.js .hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .04em .3em; margin: -.14em -.04em -.3em; }
.js .hero-title .wi { display: inline-block; transform: translateY(120%) rotate(4deg); transform-origin: left bottom; transition: transform 1.4s var(--ease); transition-delay: calc(var(--wi) * 110ms); }
.js .hero-title.is-split-in .wi { transform: none; }
.js .hero-quote, .js .hero-content > .btn {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), background-color .3s;
}
.js .hero-content.is-written .hero-quote { opacity: 1; transform: none; }
.js .hero-content.is-written > .btn { opacity: 1; transform: none; transition-delay: .2s, .2s, 0s; }
.spark-canvas { position: absolute; z-index: 3; pointer-events: none; transition: opacity .9s ease; }
.spark-canvas.is-fading { opacity: 0; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(84px, 15vw, 248px);
  line-height: .82;
  letter-spacing: -.025em;
  margin: 18px 0 14px;
}
.hero-quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(21px, 2.1vw, 30px); line-height: 1.25;
  margin-bottom: clamp(26px, 4vh, 40px);
}
.hero-corner {
  position: absolute; z-index: 2; bottom: clamp(36px, 8vh, 88px);
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; opacity: .85;
}
.hero-corner--left { left: var(--gutter); }
.hero-corner--right { right: var(--gutter); text-align: right; }
.hero-corner { max-width: 24vw; line-height: 1.6; }

/* ---------- section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 3fr minmax(140px, 1fr);
  align-items: end; gap: 32px;
  margin-bottom: clamp(56px, 8vw, 120px);
}
.section-head > :last-child { justify-self: end; }
.section-head .label { align-self: start; padding-top: 12px; }

/* ---------- frames ---------- */
.frame { margin: 0; }
.frame-img { display: block; position: relative; overflow: hidden; background: var(--bg-2); }
.frame-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame-img:hover img { transform: scale(1.035); }
.frame figcaption {
  display: flex; gap: 14px; align-items: baseline;
  margin-top: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.frame figcaption span { font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--ink); }

/* image fade-in once loaded */
.js img.fade { opacity: 0; transition: opacity 1s var(--ease), transform 1.4s var(--ease); background: var(--ph); }
.js img.fade.is-loaded { opacity: 1; }

/* ---------- featured ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2.2vw, 36px);
  row-gap: clamp(64px, 8vw, 130px);
  align-items: start;
}
.featured-item--1 { grid-column: 1 / 7; }
.featured-item--2 { grid-column: 8 / 12; align-self: end; }
.featured-item--3 { grid-column: 1 / 5; }
.featured-item--4 { grid-column: 5 / 9; margin-top: clamp(60px, 11vw, 190px); }
.featured-item--5 { grid-column: 9 / 13; margin-top: clamp(20px, 4vw, 70px); }

/* ---------- statement ---------- */
.statement { text-align: center; padding-top: calc(var(--section) * .6); }
.statement .label { margin-bottom: 36px; }
.statement-text {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 84px);
  line-height: 1.08;
  letter-spacing: -.015em;
  max-width: 15.5em;
  margin: 0 auto;
}
.inline-photo {
  display: inline-block;
  width: 1.55em; height: .8em;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: -.04em;
  margin: 0 .06em;
  background: var(--bg-2);
}
.inline-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- about ---------- */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.2vw, 36px); align-items: center; }
.about-media { grid-column: 1 / 6; position: relative; padding-bottom: 18%; }
.about-photo { overflow: hidden; background: var(--bg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo:first-child { aspect-ratio: 4 / 5; }
.about-photo--second {
  position: absolute; right: -16%; bottom: 0;
  width: 46%; aspect-ratio: 3 / 4;
  border: 10px solid var(--bg-2);
}
.about-text { grid-column: 7 / 12; }
.about-text .h2 { margin: 22px 0 34px; }
.about-p { color: var(--ink-2); font-size: 17px; max-width: 30em; }
.about-p + .about-p { margin-top: 18px; }
.about-p.about-pull {
  font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.18; color: var(--ink);
  max-width: 17em; margin-top: 30px;
}
.signature { font-family: var(--serif); font-style: italic; font-size: 34px; margin-top: 30px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 0; max-width: 30em; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; }

/* ---------- packages ---------- */
.investment .section-head .h2 { max-width: 6em; }
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 36px); }
.package {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.6vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line-2);
  transition: border-color .4s;
}
.package:hover { border-color: var(--line); }
.package-top { display: flex; justify-content: space-between; align-items: baseline; }
.package-num { font-family: var(--serif); font-style: italic; font-size: 22px; }
.package-duration { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.package-name { font-family: var(--serif); font-size: clamp(40px, 4.2vw, 64px); line-height: 1; letter-spacing: -.01em; margin: clamp(28px, 4vw, 56px) 0 28px; }
.package-list { list-style: none; margin: 0 0 40px; padding: 0; flex: 1; }
.package-list li {
  display: flex; gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line-2);
  color: var(--ink-2);
}
.package-list li::before { content: '—'; color: var(--muted); }
.package-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 24px; }
.price { font-family: var(--serif); font-size: clamp(56px, 6vw, 92px); line-height: .9; letter-spacing: -.02em; }
.packages-note {
  font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2vw, 27px);
  text-align: center; color: var(--ink-2); margin-top: clamp(40px, 5vw, 64px);
}

/* ---------- contact ---------- */
.contact { background: var(--paper); border-top: 1px solid var(--line-2); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-intro { position: sticky; top: 110px; }
.contact-intro .h2 { margin: 22px 0 22px; }
.contact-lead { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; max-width: 15em; }
.contact-details { margin: 40px 0 0; }
.contact-details div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.contact-details dt { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-details dd { margin: 0; color: var(--ink-2); }
.contact-details a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact-details a:hover { border-color: var(--ink); }
.contact-photo { width: 52%; margin-top: 44px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

.inquiry { display: flex; flex-direction: column; gap: 30px; }
.inquiry[hidden] { display: none; } /* after sending, only the thank-you text stays */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-label { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field-label i { font-style: normal; color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; border: 1px solid var(--line); padding: 14px 16px; }
.field input::placeholder, .field textarea::placeholder { color: #ADA899; }
.field input:focus, .field select:focus { outline: none; }
.field textarea:focus { outline: none; border-color: rgba(201, 140, 60, .55); }
.field input[type="date"] { min-height: 46px; }
.field--select select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2324241D' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
  padding-right: 24px;
}
.field.is-invalid input, .field.is-invalid .chips { border-color: #9F3A2F; }
.field.is-invalid .field-label { color: #9F3A2F; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }

.form-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .btn { min-height: 58px; padding: 0 36px; }
.form-privacy { font-size: 14px; color: var(--muted); max-width: 22em; }
.form-error { color: #9F3A2F; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.inquiry-success { padding: clamp(40px, 6vw, 80px) 0; }
.inquiry-success .h2 { margin-bottom: 20px; }
.inquiry-success p:last-child { font-size: 18px; color: var(--ink-2); max-width: 26em; }
.inquiry-success:focus { outline: none; }

/* ---------- thank-you screen (after the inquiry is sent) ----------
   The night sky opens from the button as a circle, a lens ring draws itself and ticks, stars burst out,
   then the pen of light writes the title (site.js → thankYou). Colours follow the effect theme (--fx-*). */
.thanks {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; overflow: hidden;
  padding: 72px var(--gutter) 40px;
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 60% 55% at 50% 46%, rgba(var(--fx-rgb), .2) 0%, rgba(var(--fx-rgb), .06) 45%, rgba(var(--fx-rgb), 0) 72%),
    linear-gradient(180deg, #121219 0%, #17181f 55%, #101015 100%);
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
  transition: clip-path 1.15s cubic-bezier(.77, 0, .18, 1);
}
.thanks[hidden] { display: none; }
.thanks.is-open { clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%)); }
.thanks.is-closing { clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); transition-duration: .8s; }
html.thanks-open { overflow: hidden; }
.thanks-sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.thanks-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 720px; }
.thanks-mark { width: clamp(92px, 11vw, 128px); height: auto; overflow: visible; margin-bottom: clamp(16px, 3vh, 30px); }
.thanks-spin { animation: thanks-spin 60s linear infinite; }
@keyframes thanks-spin { to { transform: rotate(360deg); } }
.thanks-ticks { fill: none; stroke: rgba(239, 234, 223, .32); stroke-width: 6; stroke-dasharray: .5 5.5; opacity: 0; transition: opacity 1.2s ease .3s; }
.thanks-ring, .thanks-check { fill: none; stroke-dasharray: 100; stroke-dashoffset: 100; }
.thanks-ring { stroke: var(--fx-mid); stroke-width: 1.4; transform: rotate(-90deg); filter: drop-shadow(0 0 5px rgba(var(--fx-rgb), .9)); }
.thanks-check { stroke: var(--fx-core); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 7px rgba(var(--fx-rgb), .95)); }
.thanks.is-ring .thanks-ring { stroke-dashoffset: 0; transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .35, 1); }
.thanks.is-ring .thanks-ticks { opacity: 1; }
.thanks.is-check .thanks-check { stroke-dashoffset: 0; transition: stroke-dashoffset .55s cubic-bezier(.65, 0, .35, 1); }
.thanks-title { font-family: var(--serif); font-weight: 400; font-size: clamp(76px, 12vw, 176px); line-height: .9; letter-spacing: -.025em; margin: 0 0 clamp(24px, 3.6vh, 40px); }
.thanks-title-text { color: transparent; transition: color 1s ease; }
.thanks-title.is-written .thanks-title-text { color: inherit; }
.thanks-text { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.3; max-width: 24em; }
.thanks-reply { margin-top: 16px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.thanks-reply b { display: inline-block; margin-left: .4em; font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--fx-core); text-shadow: 0 0 14px rgba(var(--fx-rgb), .6); }
.thanks-back { margin-top: clamp(26px, 4.5vh, 44px); }
.thanks-text, .thanks-reply, .thanks-back { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), background-color .3s, color .45s; }
.thanks.is-rest .thanks-text { opacity: .94; transform: none; }
.thanks.is-rest .thanks-reply { opacity: .8; transform: none; transition-delay: .15s; }
.thanks.is-rest .thanks-back { opacity: 1; transform: none; transition-delay: .3s, .3s, 0s, 0s; }
.thanks-x {
  position: absolute; top: 18px; right: var(--gutter); z-index: 2; padding: 10px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: inherit; opacity: .75; transition: opacity .3s;
}
.thanks-x:hover { opacity: 1; }
.thanks .spark-canvas { z-index: 3; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(239, 234, 223, .14); }
.footer-lead { font-family: var(--serif); font-size: clamp(40px, 5.5vw, 80px); line-height: 1; letter-spacing: -.015em; }
.footer-lead em { font-style: italic; opacity: .75; }
.site-footer .btn-light { background: var(--on-dark); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; }
.lang-switch { display: flex; flex-direction: column; gap: 6px; }
.lang-switch a { position: relative; width: fit-content; }
.lang-switch a[aria-current] { color: #fff; }
.lang-switch a[aria-current]::before { content: ''; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--fx-mid); box-shadow: 0 0 10px rgba(var(--fx-rgb), .8); }
.lang-switch--short { flex-direction: row; gap: 22px; margin-top: 8px; }
.lang-switch--short a { font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.lang-switch--short a[aria-current] { color: var(--ink); border-color: var(--ink); }
.lang-switch--short a[aria-current]::before { display: none; }
.footer-cols div { display: flex; flex-direction: column; gap: 6px; }
.footer-cols .label { color: rgba(239, 234, 223, .5); margin-bottom: 10px; }
.footer-cols a, .footer-cols span { color: rgba(239, 234, 223, .82); font-size: 15px; }
.footer-cols a:hover { color: #fff; }
.footer-word {
  font-family: var(--serif);
  font-size: min(29vw, 420px);
  line-height: .78;
  letter-spacing: -.035em;
  white-space: nowrap;
  margin: 12px 0 .16em -.04em;
  color: rgba(239, 234, 223, .92);
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(239, 234, 223, .5); }
.footer-bottom a:hover { color: var(--on-dark); }
.credit a { color: rgba(239, 234, 223, .8); font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: .01em; border-bottom: 1px solid rgba(239, 234, 223, .22); transition: color .3s, border-color .3s, text-shadow .3s; }
.credit a:hover { color: var(--fx-core); border-color: var(--fx-deep); text-shadow: 0 0 12px rgba(var(--fx-rgb), .55); }

/* ---------- portfolio page ---------- */
.page-head { padding: clamp(140px, 18vw, 230px) 0 clamp(48px, 6vw, 80px); }
.page-head-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.page-title { font-family: var(--serif); font-size: clamp(76px, 14vw, 220px); line-height: .82; letter-spacing: -.03em; }
.page-head-side { max-width: 21em; padding-bottom: 10px; }
.page-head-side p:first-child { color: var(--ink-2); font-size: 17px; margin-bottom: 18px; }

.gallery { --gap: clamp(8px, 1.2vw, 18px); columns: 3; column-gap: var(--gap); }
/* site.js lays photos out row by row (same order as in the admin): each next photo goes to the shortest column */
.gallery.is-masonry { columns: auto; display: flex; align-items: flex-start; gap: var(--gap); }
.gallery-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.gallery.is-masonry .gallery-item { margin-bottom: 0; }
.gallery-item {
  display: block; position: relative; overflow: hidden;
  margin-bottom: clamp(8px, 1.2vw, 18px);
  break-inside: avoid;
  background: var(--bg-2);
  cursor: zoom-in;
}
.gallery-clip { display: block; width: 100%; height: 100%; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }

.cta-band { text-align: center; }
.cta-text { font-family: var(--serif); font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -.015em; max-width: 12em; margin: 0 auto 40px; }

/* ---------- lightbox slider ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 20, 15, var(--fade, 1));
  color: var(--on-dark);
  overflow: hidden;
  animation: lb-in .45s var(--ease);
  transition: opacity .3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-closing { opacity: 0; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-viewport {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.lightbox.is-dragging .lb-viewport { cursor: grabbing; }
.lb-track { display: flex; height: 100%; will-change: transform; }
.lb-slide {
  flex: 0 0 100%; height: 100%; margin: 0;
  display: grid; place-items: center;
  padding: 64px clamp(16px, 7vw, 110px);
}
.lb-slide img {
  max-width: 100%;
  max-height: calc(100vh - 128px); max-height: calc(100svh - 128px);
  width: auto; height: auto;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.lb-slide img.is-loaded { opacity: 1; }
.lightbox.is-opening .lb-slide.is-current img { animation: lb-zoom .8s var(--ease) both; }
@keyframes lb-zoom { from { transform: scale(.94); } to { transform: none; } }
.lightbox-close {
  position: absolute; top: 18px; right: var(--gutter); z-index: 3;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 10px 0;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 56px; height: 56px; font-size: 22px;
  display: grid; place-items: center;
  border: 1px solid rgba(239, 234, 223, .25); border-radius: 50%;
  transition: border-color .3s, background-color .3s;
}
.lightbox-nav:hover { border-color: var(--on-dark); background: rgba(239, 234, 223, .06); }
.lightbox-nav:disabled { opacity: .25; pointer-events: none; }
.lightbox-prev { left: var(--gutter); }
.lightbox-next { right: var(--gutter); }
.lightbox-count { position: absolute; z-index: 3; pointer-events: none; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; opacity: .8; }

/* ---------- scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- effects ---------- */

/* page transition curtain */
.page-curtain {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--dark); color: var(--on-dark);
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
}
.page-curtain span {
  font-family: var(--serif); font-size: clamp(44px, 7vw, 104px); letter-spacing: -.02em;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .8s var(--ease);
}
.page-curtain.is-covering { clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.77, 0, .18, 1); pointer-events: auto; }
.page-curtain.is-covering span { opacity: 1; transform: none; transition-delay: .25s; }
.curtain-in .page-curtain { clip-path: inset(0 0 0 0); animation: curtain-safety 0s 3s forwards; }
/* if the script never lifts the curtain, it still goes away on its own */
@keyframes curtain-safety { to { clip-path: inset(0 0 100% 0); pointer-events: none; } }
.curtain-in .page-curtain span { opacity: 1; transform: none; }
.curtain-in .page-curtain.is-lifting { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.77, 0, .18, 1) .2s; }
.curtain-in .page-curtain.is-lifting span { opacity: 0; transform: translateY(-30px); transition: opacity .4s, transform .7s var(--ease); }

/* scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px;
  transform-origin: left; transform: scaleX(var(--p, 0));
  background: var(--fx-progress);
  pointer-events: none;
}

/* header hides while scrolling down, comes back on the way up */
.site-header { transition: background-color .45s, padding .45s var(--ease), color .45s, border-color .45s, translate .6s var(--ease); }
.site-header.is-hidden { translate: 0 -110%; }

/* "View" bubble that replaces the cursor over photos (mouse only) */
.cursor-view {
  position: fixed; top: 0; left: 0; z-index: 140; pointer-events: none;
  width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); box-shadow: 0 12px 30px -14px rgba(20, 20, 15, .45);
  opacity: 0; scale: .3;
  transition: opacity .3s, scale .5s var(--ease);
}
.cursor-view span { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.cursor-view.is-view { opacity: 1; scale: 1; }
.has-cursor [data-cursor="view"] { cursor: none; }

/* photos open like a curtain and settle from a slight zoom */
.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1); transition-delay: calc(var(--d, 0) * 120ms); }
.js .reveal-img img { scale: 1.3; transition: scale 2.2s var(--ease), opacity 1s var(--ease), transform 1.4s var(--ease), filter .6s; }
.js .reveal-img.is-in, .js .is-in .reveal-img { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img, .js .is-in .reveal-img img { scale: 1; }
/* inner parallax needs the photo a bit taller than its frame */
[data-px] { position: relative; overflow: hidden; }
[data-px] img { position: absolute; left: 0; top: -9%; width: 100%; height: 118% !important; }
.frame-img.is-in:hover img, .is-in .frame-img:hover img { transform: scale(1.04); }

/* headings rise word by word */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .16em; margin: -.12em 0 -.16em; }
.js [data-split] .wi { display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); transition-delay: calc(var(--wi) * 60ms + 80ms); }
.js [data-split].is-split-in .wi { transform: none; }

/* statement lights up word by word while scrolling */
.js [data-highlight] .hw { opacity: .13; transition: opacity .45s ease; }
.js [data-highlight] .hw.is-lit { opacity: 1; }
.js [data-highlight] .inline-photo.hw { opacity: 1; scale: 0; transition: scale .9s var(--ease); }
.js [data-highlight] .inline-photo.hw.is-lit { scale: 1; }

/* marquee */
.marquee { overflow: hidden; padding: clamp(26px, 4vw, 52px) 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: marquee 48s linear infinite; }
.js .marquee-track { animation: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-word { font-family: var(--serif); font-style: italic; font-size: clamp(58px, 9vw, 150px); line-height: 1.05; padding: 0 .28em; white-space: nowrap; }
.marquee-word.is-outline { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-star { font-size: clamp(18px, 2.2vw, 34px); color: var(--fx-star); }

/* packages tilt in 3D with a soft glare */
.package { position: relative; will-change: transform; }
.package::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--fx-glare), .55), transparent 42%);
  opacity: 0; transition: opacity .5s;
}
.package.is-tilting::after { opacity: 1; }
.package.is-tilting { border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(36, 36, 29, .25); }

/* buttons: a fill sweeps up on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background-color .3s, color .45s, border-color .3s, transform .2s, translate .32s var(--ease); }
.btn-dark::before, .btn-light::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  /* leaving waits a moment: a cursor slipping off the edge for a split second doesn't restart the fill */
  transform: translateY(101%); transition: transform .6s var(--ease) .15s;
}
.btn-dark:hover::before, .btn-light:hover::before { transition-delay: 0s; }
.btn-dark::before { background: var(--accent); }
.btn-light::before { background: var(--ink); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--ink); }
.btn-light:hover, .btn-light:focus-visible { background: var(--bg); color: var(--on-dark); }
/* on the dark footer the gold fill gets dark text, otherwise the label disappears */
.site-footer .btn-light:hover, .site-footer .btn-light:focus-visible { background: var(--on-dark); color: var(--ink); }
.site-footer .btn-light::before { background: var(--fx-fill); }
.btn-dark:hover::before, .btn-light:hover::before, .btn-dark:focus-visible::before, .btn-light:focus-visible::before { transform: none; }
.btn span[aria-hidden] { transition: transform .45s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(5px); }
.js .hero-content > .btn { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), background-color .3s, color .45s, translate .32s var(--ease); }

/* golden dust drifting over the hero */
.dust-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 2.5s ease; }
.dust-canvas.is-on { opacity: 1; }
.hero-frame, .hero-content, .hero-corner { will-change: translate; }

/* footer name: letters rise, then a gold shimmer runs through them */
.footer-word .fl {
  display: inline-block;
  background: linear-gradient(110deg, rgba(239, 234, 223, .92) 38%, var(--fx-shimmer) 50%, rgba(239, 234, 223, .92) 62%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite; animation-delay: calc(var(--i) * .09s);
}
@keyframes shimmer { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
.js .footer-word .fl { transform: translateY(70%); opacity: 0; transition: transform 1.3s var(--ease), opacity 1s; transition-delay: calc(var(--i) * 70ms); }
.js .footer-word.is-split-in .fl { transform: none; opacity: 1; }

/* gallery: hovering one photo dims the others */
@media (hover: hover) {
  .js .gallery:hover .gallery-item img.is-loaded { opacity: .45; filter: saturate(.5); }
  .js .gallery .gallery-item:hover img.is-loaded { opacity: 1; filter: none; }
}


/* ---------- sparkler fuse: focused fields and menu hover ---------- */
.field:not(.field--chips) { position: relative; }
.field:not(.field--chips)::after,
.site-nav a::after {
  background: var(--fx-line-dark);
  box-shadow: 0 0 6px rgba(var(--fx-rgb), .8), 0 0 16px rgba(var(--fx-rgb), .4);
  border-radius: 2px;
}
.field:not(.field--chips)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
  background: var(--fx-line);
  transform: scaleX(0); transform-origin: right; opacity: 0;
  transition: transform .9s cubic-bezier(.33, 1, .68, 1), opacity .45s;
}
.field:not(.field--chips):focus-within::after {
  transform-origin: left; transform: scaleX(1); opacity: 1;
  animation: fuse-smoulder 1.8s ease-in-out .9s infinite;
}
.site-nav a:hover::after {
  animation: fuse-smoulder 1.6s ease-in-out .6s infinite;
  background: var(--fx-line-dark);
}
.site-nav a[aria-current="page"]:not(:hover)::after,
.site-nav a.is-current:not(:hover)::after { box-shadow: none; }
.mobile-menu nav a.is-current em { color: var(--fx-deep); }
/* the burning head that draws the line */
.field:not(.field--chips)::before,
.site-nav a::before {
  content: ''; position: absolute; left: 0; z-index: 1;
  width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff 0 22%, var(--fx-mid) 40%, rgba(var(--fx-rgb), .9) 58%, rgba(var(--fx-rgb), 0) 72%);
  box-shadow: 0 0 10px 3px rgba(var(--fx-rgb), .75), 0 0 22px 6px rgba(var(--fx-rgb), .35);
  opacity: 0;
}
.field:not(.field--chips)::before { bottom: -3.5px; }
.field:not(.field--chips):focus-within::before { animation: fuse-head .9s cubic-bezier(.33, 1, .68, 1) forwards; }
@keyframes fuse-head {
  0% { left: 0; opacity: 1; transform: scale(1.3); }
  85% { opacity: 1; transform: scale(1); }
  100% { left: 100%; opacity: 0; transform: scale(.6); }
}
@keyframes fuse-smoulder {
  0%, 100% { filter: brightness(1); }
  35% { filter: brightness(1.45) saturate(1.2); }
  60% { filter: brightness(.9); }
}
.field.is-invalid::after { background: #9F3A2F; box-shadow: none; }
.spark-layer { position: fixed; inset: 0; z-index: 96; pointer-events: none; }


/* ---------- custom date picker and select ---------- */
.picker, .select { position: relative; }
.picker-field, .select-field {
  width: 100%; min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  font: inherit; font-size: 17px; color: var(--ink); text-align: left; cursor: pointer;
}
.picker-field:focus-visible, .select-field:focus-visible { outline: none; }
.picker-field svg, .select-field svg { width: 19px; height: 19px; flex: none; color: var(--muted); transition: transform .45s var(--ease), color .3s; }
.picker-field:hover svg, .select-field:hover svg, .is-open > .picker-field svg, .is-open > .select-field svg { color: var(--ink); }
.select.is-open .select-field svg { transform: rotate(180deg); }
.picker-value.is-placeholder, .select-value.is-placeholder { color: #ADA899; }

.pop {
  position: absolute; z-index: 40; top: calc(100% + 12px); left: 0;
  background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 20px;
  box-shadow: 0 34px 70px -32px rgba(36, 36, 29, .5), 0 2px 8px rgba(36, 36, 29, .06);
  transform-origin: 24px 0;
  animation: pop-in .5s var(--ease);
}
.pop[hidden] { display: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-10px) scale(.96); } }

/* calendar */
.cal { width: min(348px, calc(100vw - 32px)); padding: 20px 18px 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cal-title { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -.01em; text-align: center; }
.cal-title em { font-style: italic; color: var(--muted); margin-left: 4px; }
.cal-nav {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); background: none; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .2s;
}
.cal-nav svg { width: 18px; height: 18px; }
.cal-nav:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cal-nav:active:not(:disabled) { transform: scale(.94); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.cal-week span { text-align: center; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-grid.is-next { animation: cal-next .45s var(--ease); }
.cal-grid.is-prev { animation: cal-prev .45s var(--ease); }
@keyframes cal-next { from { opacity: 0; transform: translateX(18px); } }
@keyframes cal-prev { from { opacity: 0; transform: translateX(-18px); } }
.cal-day {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: none; cursor: pointer;
  font: 400 15px/1 var(--sans); color: var(--ink);
  transition: background-color .25s, color .25s, box-shadow .35s, transform .2s;
}
.cal-day:hover:not(:disabled) { background: var(--bg-2); }
.cal-day:active:not(:disabled) { transform: scale(.92); }
.cal-day:focus-visible { outline: 1px solid var(--ink); outline-offset: 1px; }
.cal-day:disabled { color: #C9C4B6; cursor: default; }
.cal-day.is-outside { color: transparent; }
/* today: a glowing gold ember under the number */
.cal-day.is-today::after {
  content: ''; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--fx-deep); box-shadow: 0 0 6px 1px rgba(var(--fx-rgb), .8);
}
.cal-day.is-selected {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 0 0 3px rgba(var(--fx-rgb), .35), 0 0 22px rgba(var(--fx-rgb), .55);
}
.cal-day.is-selected::after { background: var(--fx-mid); }
.cal-foot { display: flex; justify-content: flex-end; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.cal-clear { border: 0; background: none; cursor: pointer; padding: 4px 2px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.cal-clear:hover { color: var(--ink); }

/* select */
.select-list { width: 100%; min-width: 220px; max-height: 320px; overflow: auto; margin: 0; padding: 8px; list-style: none; outline: none; overscroll-behavior: contain; }
.select-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 14px; border-radius: 12px; cursor: pointer;
  font-size: 16px; color: var(--ink-2);
  transition: background-color .2s, color .2s, padding-left .3s var(--ease);
  animation: option-in .45s var(--ease) both; animation-delay: calc(var(--i) * 28ms);
}
@keyframes option-in { from { opacity: 0; transform: translateY(-6px); } }
.select-option.is-active { background: var(--bg-2); color: var(--ink); padding-left: 18px; }
.select-option[aria-selected="true"] { color: var(--ink); }
.select-option[aria-selected="true"]::after {
  content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--fx-deep); box-shadow: 0 0 8px 1px rgba(var(--fx-rgb), .85);
}


/* ---------- preloader (first visit of a session): galaxy + camera lens, opens like an aperture ---------- */
@property --hole { syntax: '<length>'; inherits: false; initial-value: -80px; }
.preloader { display: none; }
:root { --pl-bg: #110E0A; --pl-glow: rgba(200, 120, 40, .26); }
[data-fx="cosmic"] { --pl-bg: #06081A; --pl-glow: rgba(70, 95, 220, .34); }
html.has-preloader, .has-preloader body { overflow: hidden; }
.has-preloader .preloader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden;
  color: #EFEADF;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--pl-glow) 0%, transparent 70%), var(--pl-bg);
  --hole: -80px;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 80px));
  mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 80px));
  animation: preloader-failsafe 0s 9s forwards;
}
.preloader.is-leaving { display: grid; position: fixed; inset: 0; z-index: 300; place-items: center; overflow: hidden; color: #EFEADF;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--pl-glow) 0%, transparent 70%), var(--pl-bg);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 80px));
  mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 80px));
  --hole: 150vmax; transition: --hole 1.35s cubic-bezier(.7, 0, .25, 1) .15s; pointer-events: none; }
@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.preloader-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.preloader-lens {
  position: relative; width: min(330px, 76vw); aspect-ratio: 1;
  animation: pl-in 1.3s var(--ease) both;
  transition: transform 1.25s cubic-bezier(.6, 0, .2, 1), opacity .9s ease;
}
@keyframes pl-in { from { opacity: 0; transform: scale(.82) rotate(-12deg); } }
.preloader.is-leaving .preloader-lens { transform: scale(2.8); opacity: 0; }
.preloader-lens svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* the viewBox is centred on 0,0, so rotations must pivot on the user-space origin */
.preloader-lens svg * { transform-box: view-box; transform-origin: 0 0; }
.pl-spin { animation: pl-spin 32s linear infinite; }
.pl-spin-back { animation: pl-spin 48s linear infinite reverse; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
.pl-ring { fill: none; stroke: rgba(239, 234, 223, .16); stroke-width: .8; }
.pl-ticks { fill: none; stroke: rgba(239, 234, 223, .42); stroke-width: 7; stroke-dasharray: .45 2.55; }
.pl-stops { font: 500 7.4px/1 var(--sans); letter-spacing: .3em; fill: rgba(239, 234, 223, .5); }
.pl-track { fill: none; stroke: rgba(239, 234, 223, .1); stroke-width: 1.2; }
.pl-progress {
  fill: none; stroke: url(#pl-grad); stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 0 100; transform: rotate(-90deg);
  filter: drop-shadow(0 0 5px rgba(var(--fx-rgb), .95)) drop-shadow(0 0 14px rgba(var(--fx-rgb), .5));
}
.pl-stop-a { stop-color: var(--fx-deep); }
.pl-stop-b { stop-color: var(--fx-core); }
.preloader-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.pl-count {
  font-family: var(--serif); font-size: clamp(64px, 9vw, 92px); line-height: .9; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; min-width: 2.2ch;
  text-shadow: 0 0 28px rgba(var(--fx-rgb), .5);
}
.pl-count::after { content: '%'; font-style: italic; font-size: .3em; margin-left: .08em; vertical-align: 1.6em; opacity: .55; }
.pl-name { font: 500 10px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; opacity: .7; margin-right: -.5em; }
.preloader.is-done .pl-count { animation: pl-pulse .5s var(--ease); }
@keyframes pl-pulse { 50% { transform: scale(1.08); text-shadow: 0 0 40px rgba(var(--fx-rgb), .9); } }
/* the hero waits under the preloader and starts animating when the aperture opens */
.has-preloader .hero-frame img, .has-preloader .hero-eyebrow { animation-play-state: paused; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 24px; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .section-head > :last-child { justify-self: start; }
  .section-head .label { padding-top: 0; }
  .about-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .about-media { grid-column: 1; width: 82%; padding-bottom: 22%; }
  .about-photo--second { right: -20%; }
  .about-text { grid-column: 1; }
  .packages { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .contact-photo { display: none; }
  .gallery { columns: 2; }
  .page-head-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .brand-name { font-size: 26px; }
  .hero-frames { grid-template-columns: 1fr; }
  .hero-frame:not(.is-main) { display: none; }
  .hero-corner { display: none; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .26em; }
  .featured-grid { grid-template-columns: repeat(6, 1fr); row-gap: 56px; }
  .featured-item--1 { grid-column: 1 / 7; }
  .featured-item--2 { grid-column: 2 / 7; }
  .featured-item--3 { grid-column: 1 / 6; }
  .featured-item--4 { grid-column: 2 / 7; margin-top: 0; }
  .featured-item--5 { grid-column: 1 / 6; margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .lightbox-nav { top: auto; bottom: 10px; transform: none; width: 48px; height: 48px; }
  .lb-slide { padding: 60px 8px 76px; }
  .lb-slide img { max-height: calc(100svh - 136px); }
  .chip span { font-size: 13px; padding: 9px 15px; }
  .form-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-title .wi { transform: none; transition: none; }
  .thanks, .thanks.is-open, .thanks.is-closing { clip-path: none; transition: none; }
  .thanks-spin { animation: none; }
  .thanks-title-text { color: inherit; }
  .thanks-ring, .thanks-check { stroke-dashoffset: 0; }
  .thanks-ticks, .thanks-text, .thanks-reply, .thanks-back { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .js .reveal-img img { scale: 1; }
  .js [data-split] .wi, .js .footer-word .fl { transform: none; opacity: 1; }
  .js [data-highlight] .hw { opacity: 1; scale: 1; }
  .page-curtain { display: none; }
  .preloader { display: none !important; }
  .field:not(.field--chips)::before, .site-nav a::before { display: none; }
}

.nowrap { white-space: nowrap; }
