/* ==========================================================================
   Lashes by Monika
   ========================================================================== */

@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/great-vibes.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Georgian";
  src: url("../fonts/noto-serif-georgian.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Georgian";
  src: url("../fonts/noto-sans-georgian.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@property --wipe {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -6%;
}

:root {
  color-scheme: light;
  --bg: #fddfe5;
  --bg-soft: #fee9ee;
  --bg-deep: #fbd0da;
  --paper: #fff6f7;
  --ink: #45071f;
  --ink-soft: #6f3447;
  --rose: #823f4a;
  --rose-2: #b3607a;
  --line: rgb(130 63 74 / 0.22);
  --card: rgb(255 255 255 / 0.5);
  --shadow: 0 40px 70px -40px rgb(130 63 74 / 0.55);
  --flora-filter: none;
  --grain-opacity: 0.5;

  --serif: "Noto Serif Georgian", "Sylfaen", Georgia, serif;
  --sans: "Noto Sans Georgian", "Helvetica Neue", Arial, sans-serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.45, 0.05, 0.25, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #26101a;
  --bg-soft: #2f1522;
  --bg-deep: #1c0a12;
  --paper: #361a27;
  --ink: #fde6eb;
  --ink-soft: #e2bcc7;
  --rose: #f3bccb;
  --rose-2: #dd93a8;
  --line: rgb(243 188 203 / 0.22);
  --card: rgb(255 255 255 / 0.05);
  --shadow: 0 40px 70px -40px rgb(0 0 0 / 0.8);
  --flora-filter: brightness(0.9) saturate(0.92);
  --grain-opacity: 0.25;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}

/* watercolor-paper grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .3 0 0 0 0 .36 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::before { mix-blend-mode: soft-light; }

img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ==========================================================================
   Preloader & Scroll-lock
   ========================================================================== */

/* Lock scroll while preloader is running to prevent background page scroll defects */
html:not(.is-ready),
html:not(.is-ready) body {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
  height: 100%;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  /* failsafe: never trap the visitor if scripts fail */
  animation: preloader-failsafe 0.01s 9s forwards;
}
@keyframes preloader-failsafe { to { visibility: hidden; pointer-events: none; display: none; } }

.preloader__lid {
  position: absolute;
  inset: -1px;
  background: var(--bg);
  transition: transform 1.25s cubic-bezier(0.7, 0, 0.2, 1);
  will-change: transform;
}
/* two overlapping panels with elliptical bites: sliding apart they open an eye-shaped aperture */
.preloader__lid--top {
  -webkit-mask-image: radial-gradient(ellipse 110vmax 46vh at 50% 100%, transparent 99.6%, #000 100%);
  mask-image: radial-gradient(ellipse 110vmax 46vh at 50% 100%, transparent 99.6%, #000 100%);
}
.preloader__lid--bottom {
  -webkit-mask-image: radial-gradient(ellipse 110vmax 46vh at 50% 0%, transparent 99.6%, #000 100%);
  mask-image: radial-gradient(ellipse 110vmax 46vh at 50% 0%, transparent 99.6%, #000 100%);
}
.preloader.is-opening .preloader__lid--top { transform: translate3d(0, -101%, 0); }
.preloader.is-opening .preloader__lid--bottom { transform: translate3d(0, 101%, 0); }

.preloader__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  transition: opacity 0.45s ease, transform 0.9s var(--ease);
}
.preloader.is-opening .preloader__stage { opacity: 0; transform: scale(1.12); }
.preloader.is-done { display: none; }

.eye {
  width: min(70vw, 400px);
  height: auto;
  overflow: visible;
}
.eye__white { fill: #fff8f6; }
.eye__ring { stroke: #5a3229; stroke-width: 1.6; opacity: 0.55; }
.eye__pupil { fill: #3d1c1c; }
.eye__glint { fill: #fff; opacity: 0.92; }
.eye__glint--small { opacity: 0.6; }
.eye__lid { fill: none; stroke: #7a3545; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.eye__lower { fill: none; stroke: #7a3545; stroke-width: 1.5; stroke-linecap: round; }
.eye__crease { fill: none; stroke: #7a3545; stroke-width: 1.3; stroke-linecap: round; }
.eye__lashes path { fill: #7a3545; }
:root[data-theme="dark"] .eye__lid,
:root[data-theme="dark"] .eye__lower,
:root[data-theme="dark"] .eye__crease { stroke: #f3bccb; }
:root[data-theme="dark"] .eye__lashes path { fill: #f3bccb; }

.preloader__brand {
  font-family: var(--script);
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.2;
  color: var(--rose);
  opacity: 0;
  transform: translateY(8px);
  animation: brand-in 1s 0.9s var(--ease) forwards;
}
@keyframes brand-in { to { opacity: 0.9; transform: none; } }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.2vw, 28px) var(--pad);
  transition: background-color 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 1s ease 0.5s, transform 1.2s var(--ease) 0.5s;
}
.site-header.is-stuck {
  padding-block: 10px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}

.main-nav {
  display: flex;
  gap: clamp(16px, 3.2vw, 54px);
  font-family: var(--serif);
  font-size: clamp(15px, 1.35vw, 22px);
  letter-spacing: 0.06em;
  color: var(--ink);
}
.main-nav a {
  position: relative;
  padding: 10px 0 16px;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-header.is-stuck .main-nav { font-size: clamp(14px, 1.2vw, 18px); }
.site-header.is-stuck .main-nav a { padding-bottom: 12px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.icon-btn:hover { background: var(--card); border-color: var(--line); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  position: absolute;
  right: calc(var(--pad) - 8px);
  top: 50%;
  translate: 0 -50%;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
}

.theme-btn {
  position: static;
  translate: none;
}
.theme-btn__sun { display: none; }
:root[data-theme="dark"] .theme-btn__sun { display: block; }
:root[data-theme="dark"] .theme-btn__moon { display: none; }

/* ── Language Switcher ───────────────────────────────────────────────────── */

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 75%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px -4px rgb(130 63 74 / 0.16);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  gap: 2px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--rose) 45%, transparent);
}

:root[data-theme="dark"] .lang-btn.is-active,
:root[data-theme="dark"] .lang-btn[aria-pressed="true"] {
  background: var(--rose);
  color: var(--bg-deep);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.lang-btn:active {
  transform: scale(0.94);
}

.lang-switch--drawer {
  position: absolute;
  top: 18px;
  right: calc(var(--pad) - 8px);
  padding: 3px;
}

.lang-switch--drawer .lang-btn {
  min-width: 72px;
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
}

.menu-btn { display: none; position: absolute; left: calc(var(--pad) - 8px); top: 50%; translate: 0 -50%; }

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0;
  padding: 88px var(--pad) 40px;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), display 0.25s allow-discrete, overlay 0.25s allow-discrete;
}
.mobile-menu:popover-open { opacity: 1; transform: none; }
@starting-style {
  .mobile-menu:popover-open { opacity: 0; transform: translateY(-8px); }
}
.mobile-menu__close { position: absolute; top: 18px; left: calc(var(--pad) - 8px); }
.mobile-menu__brand {
  font-family: var(--script);
  font-size: 54px;
  line-height: 1;
  color: var(--rose);
  margin-bottom: 26px;
}
.mobile-menu ul { display: grid; gap: 6px; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__flora {
  position: absolute;
  right: -30px; bottom: -6px;
  width: 78%;
  max-width: 340px;
  filter: var(--flora-filter);
  pointer-events: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: max(100svh, 560px);
  padding: clamp(110px, 16vh, 180px) var(--pad) clamp(90px, 13vh, 150px);
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 78% 18%, color-mix(in srgb, var(--bg-deep) 70%, transparent), transparent 70%),
    radial-gradient(55% 55% at 12% 86%, color-mix(in srgb, var(--bg-deep) 80%, transparent), transparent 72%),
    radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--bg-soft) 90%, transparent), transparent 75%),
    var(--bg);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  filter: var(--flora-filter);
}
.hero.flora-live .hero__canvas { opacity: 1; }

.flora {
  position: absolute;
  z-index: 1;
  max-width: none;
  pointer-events: none;
  user-select: none;
  filter: var(--flora-filter);
}
.flora--bl { left: 0; bottom: 0; width: clamp(250px, 38.6vw, 780px); transform-origin: 0% 100%; }
.flora--tr { right: 0; top: 0; width: clamp(170px, 26.6vw, 540px); transform-origin: 100% 30%; }
.hero.flora-live .flora { visibility: hidden; }

/* fallback motion when WebGL is unavailable: the whole spray sways softly */
@media (prefers-reduced-motion: no-preference) {
  .hero:not(.flora-live) .flora--bl { animation: sway-a 7s ease-in-out infinite alternate; }
  .hero:not(.flora-live) .flora--tr { animation: sway-b 8.5s ease-in-out infinite alternate; }
}
@keyframes sway-a { from { transform: rotate(-0.8deg) skewX(-0.4deg); } to { transform: rotate(1.1deg) skewX(0.6deg); } }
@keyframes sway-b { from { transform: rotate(0.9deg) skewY(0.3deg); } to { transform: rotate(-1.1deg) skewY(-0.5deg); } }

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(57vw, 900px);
  margin-top: clamp(0px, 3vh, 40px);
}

.hero__title {
  display: grid;
  width: 100%;
  color: var(--rose);
}
.hero__line {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: currentColor;
  -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--wipe) - 16%), transparent var(--wipe));
  mask-image: linear-gradient(100deg, #000 calc(var(--wipe) - 16%), transparent var(--wipe));
  filter: drop-shadow(0 6px 14px rgb(130 63 74 / 0.12));
}

.hero__subtitle {
  margin-top: clamp(14px, 2.6vw, 40px);
  font-family: var(--serif);
  font-size: clamp(17px, 2.05vw, 32px);
  letter-spacing: 0.1em;
  color: var(--ink);
  text-align: center;
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: clamp(18px, 4vh, 40px);
  z-index: 2;
  width: 44px; height: 64px;
  translate: -50% 0;
  display: grid;
  place-items: center;
}
.hero__scroll span {
  position: relative;
  width: 1px; height: 52px;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--rose);
  transform: translateY(-100%);
}

/* Intro choreography — everything waits for the preloader to finish (.is-ready on <html>) */
.site-header { opacity: 0; transform: translateY(-16px); }
.hero__subtitle, .hero__scroll { opacity: 0; }
.hero__subtitle { transform: translateY(14px); letter-spacing: 0.3em; }
.hero:not(.flora-live) .flora { opacity: 0; }

.is-ready .site-header { opacity: 1; transform: none; }
.is-ready .hero__line--1 { animation: wipe 1.7s 0.25s var(--ease-soft) forwards; }
.is-ready .hero__line--2 { animation: wipe 2s 0.85s var(--ease-soft) forwards; }
.is-ready .hero__subtitle {
  opacity: 1; transform: none; letter-spacing: 0.1em;
  transition: opacity 1.4s ease 2.1s, transform 1.6s var(--ease) 2.1s, letter-spacing 2.2s var(--ease) 2.1s;
}
.is-ready .hero__scroll { opacity: 1; transition: opacity 1.2s ease 2.8s; }
.is-ready .hero:not(.flora-live) .flora { opacity: 1; transition: opacity 1.6s ease 0.1s; }
@keyframes wipe { to { --wipe: 124%; } }

@media (prefers-reduced-motion: no-preference) {
  .is-ready .hero__scroll span::after { animation: scroll-cue 2.4s 3.2s var(--ease-soft) infinite; }
}
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   Shared section pieces
   ========================================================================== */

.section {
  position: relative;
  padding: clamp(72px, 9.5vw, 140px) var(--pad);
}
.section > * { position: relative; }

.section-head {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}

.script-label {
  font-family: var(--script);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.1;
  color: var(--rose-2);
}
.script-label--xl { font-size: clamp(46px, 7vw, 96px); color: var(--rose); }

.section-title {
  margin-top: 2px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 3.3vw, 46px);
  line-height: 1.25;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.section-lead { margin-top: 18px; max-width: 46ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  background: var(--rose);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px var(--rose); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--rose); }
.btn--ghost:hover { background: var(--rose); color: var(--bg); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* arched photo frame */
.arch {
  position: relative;
  border-radius: 999px 999px 22px 22px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
.arch::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: inherit;
  pointer-events: none;
}
.arch img, .arch video, .arch picture { width: 100%; height: 100%; object-fit: cover; }

.video-toggle {
  position: absolute;
  right: 22px; bottom: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.6);
  border-radius: 50%;
  background: rgb(69 7 31 / 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s var(--ease);
}
.video-toggle:hover { background: rgb(69 7 31 / 0.6); transform: scale(1.06); }
.video-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.video-toggle .i-play { display: none; fill: currentColor; stroke: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease) calc(var(--d, 0) * 90ms), transform 1.3s var(--ease) calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Intro + marquee
   ========================================================================== */

.intro {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(70px, 10vw, 140px) var(--pad) clamp(50px, 7vw, 90px);
  text-align: center;
}
.intro__quote {
  font-family: var(--serif);
  font-size: clamp(26px, 4.4vw, 60px);
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.intro__quote em { font-style: normal; color: var(--rose); }
.intro__text { max-width: 44ch; margin-bottom: 16px; }

.marquee {
  overflow: hidden;
  padding: clamp(14px, 2vw, 26px) 0;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
  width: max-content;
  font-family: var(--script);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.3;
  color: var(--rose);
  white-space: nowrap;
}
.marquee__track span { padding-inline: 4px; }
.marquee__track i {
  width: 9px; height: 9px;
  border-radius: 50% 0 50% 50%;
  background: var(--rose-2);
  opacity: 0.55;
  rotate: 45deg;
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
}
.services__media {
  position: sticky;
  top: 110px;
  justify-self: center;
  width: min(100%, 380px);
}
.services__sprig {
  position: absolute;
  left: -34%; bottom: -9%;
  width: 78%;
  max-width: none;
  rotate: -8deg;
  filter: var(--flora-filter) drop-shadow(0 14px 18px rgb(130 63 74 / 0.18));
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .services__sprig { transform-origin: 20% 90%; animation: sway-b 6.5s ease-in-out infinite alternate; }
}

.service-list { margin-top: clamp(26px, 4vw, 46px); border-top: 1px solid var(--line); }
.service-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2.4vw, 34px);
  align-items: baseline;
  padding: clamp(18px, 2.2vw, 28px) 4px;
  border-bottom: 1px solid var(--line);
  transition: opacity 1.1s var(--ease) calc(var(--d, 0) * 90ms), transform 1.3s var(--ease) calc(var(--d, 0) * 90ms), padding 0.5s var(--ease), background-color 0.5s;
}
.service-list li:hover { padding-left: 18px; background: linear-gradient(90deg, var(--card), transparent); }
.service-list__num {
  font-family: var(--script);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
  color: var(--rose-2);
  min-width: 1.6em;
}
.service-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: 0.03em;
  color: var(--ink);
}
.service-list p { margin-top: 4px; max-width: 46ch; }
.services__note { margin-top: 26px; font-size: 0.94em; }
.services__note a { color: var(--rose); text-underline-offset: 4px; }

/* ==========================================================================
   Prices
   ========================================================================== */

.prices { padding-top: clamp(30px, 4vw, 60px); }
.price-card {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(54px, 8vw, 96px) clamp(22px, 6vw, 76px) clamp(36px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: 360px 360px 26px 26px;
  background: linear-gradient(180deg, var(--paper), var(--card));
  box-shadow: var(--shadow);
  text-align: center;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}
.price-card__sprig {
  position: absolute;
  right: -7%; top: 9%;
  width: clamp(120px, 26%, 200px);
  rotate: 14deg;
  filter: var(--flora-filter) drop-shadow(0 12px 16px rgb(130 63 74 / 0.16));
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .price-card__sprig { transform-origin: 15% 85%; animation: sway-b 7s ease-in-out infinite alternate; }
}
.price-card__head { margin-bottom: clamp(22px, 3vw, 36px); }
.price-card__group + .price-card__group { margin-top: clamp(24px, 3.4vw, 40px); }
.price-card__group-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rose-2);
}
.price-card__group-title::before,
.price-card__group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 2px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 23px);
  letter-spacing: 0.03em;
  color: var(--ink);
  text-align: left;
  transition: color 0.4s, transform 0.5s var(--ease);
}
.price-list li:hover { color: var(--rose); transform: translateX(4px); }
.price-list--small li { font-size: clamp(15px, 1.5vw, 18px); padding-block: 8px; }
.price-list__dots {
  flex: 1;
  min-width: 18px;
  translate: 0 -4px;
  border-bottom: 1px dotted currentColor;
  opacity: 0.35;
}
.price-list__price {
  flex: none;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 500;
  color: var(--rose);
  white-space: nowrap;
}
.price-list__cur { font-size: 0.82em; opacity: 0.85; }
.price-card__cta { margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 700px) {
  .price-card { border-radius: 200px 200px 22px 22px; }
  .price-card__sprig { right: -4%; top: 4%; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-soft) 85%, transparent) 18%, color-mix(in srgb, var(--bg-soft) 85%, transparent) 82%, transparent); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 34px);
  max-width: var(--max);
  margin-inline: auto;
}
.gallery__item { aspect-ratio: 3 / 4; }
.gallery__item--wide { aspect-ratio: 3 / 4; }
@media (min-width: 701px) {
  .gallery__item:nth-child(3n + 2) { translate: 0 clamp(18px, 3.4vw, 48px); }
}

.gallery__btn {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  isolation: isolate;
}
.gallery__item:nth-child(4n + 1) .gallery__btn { border-radius: 999px 999px 22px 22px; }
.gallery__item:nth-child(4n + 3) .gallery__btn { border-radius: 22px 22px 999px 999px; }
.gallery__btn picture, .gallery__btn img { width: 100%; height: 100%; }
.gallery__btn img {
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease), filter 0.8s;
}
.gallery__btn[data-photo="9"] img {
  object-position: 8% center;
}
.gallery__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgb(130 63 74 / 0.4));
  opacity: 0;
  transition: opacity 0.6s;
}
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.12); }
.gallery__btn:hover::after, .gallery__btn:focus-visible::after { opacity: 1; }

/* image un-masks as it scrolls in */
.gallery__item.reveal { clip-path: inset(12% 6% 12% 6% round 22px); transition-duration: 1.2s, 1.4s; transition-property: opacity, transform, clip-path; transition-timing-function: var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.gallery__item.reveal.is-in { clip-path: inset(-12% -12% -12% -12% round 22px); }

/* ==========================================================================
   In motion (reel)
   ========================================================================== */

.motion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
}
.motion__media { justify-self: end; width: min(100%, 360px); }
.arch--tall { aspect-ratio: 9 / 15; }
.motion__body { max-width: 30em; }
.motion__body > p:not(.script-label) { margin-top: 20px; }
.motion__flora {
  position: absolute !important;
  right: 0; top: 4%;
  width: clamp(120px, 17vw, 260px);
  opacity: 0.9;
  filter: var(--flora-filter);
  pointer-events: none;
}

.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-family: var(--serif);
  color: var(--ink);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 11px; height: 11px;
  border-radius: 50% 0 50% 50%;
  background: var(--rose-2);
  rotate: 45deg;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
}
.about__body > p:not(.script-label) { margin-top: 18px; max-width: 34em; }
.about__hello { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); color: var(--rose); }
.values { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 30em; }
.values li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  letter-spacing: 0.03em;
  color: var(--ink);
}
.values span { font-family: var(--script); font-size: 26px; line-height: 1; color: var(--rose-2); }
.signature {
  margin-top: 26px;
  font-family: var(--script);
  font-size: clamp(54px, 6vw, 84px);
  line-height: 1;
  color: var(--rose);
  rotate: -4deg;
  transform-origin: left;
}
.about__media { position: relative; justify-self: center; width: min(100%, 380px); }
.arch--small {
  position: absolute;
  left: -24%; bottom: -8%;
  width: 46%;
  border: 6px solid var(--bg);
  border-radius: 999px;
  aspect-ratio: 1;
}
.arch--small::after { display: none; }

/* ==========================================================================
   Aftercare
   ========================================================================== */

.care__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  max-width: var(--max);
  margin-inline: auto;
  counter-reset: care;
}
.care__list li {
  padding: clamp(22px, 2.4vw, 34px) clamp(16px, 1.8vw, 26px);
  border: 1px solid var(--line);
  border-radius: 120px 120px 20px 20px;
  background: var(--card);
  text-align: center;
  transition: opacity 1.1s var(--ease) calc(var(--d, 0) * 90ms), transform 1.3s var(--ease) calc(var(--d, 0) * 90ms), background-color 0.5s, box-shadow 0.5s;
}
.care__list li:hover { background: var(--paper); box-shadow: var(--shadow); }
.care__num {
  display: block;
  font-family: var(--script);
  font-size: 54px;
  line-height: 1.1;
  color: var(--rose-2);
}
.care__list h3 {
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.care__list p { margin-top: 8px; font-size: 0.92em; line-height: 1.6; }

/* ==========================================================================
   Contact + footer
   ========================================================================== */

.contact {
  overflow: clip;
  text-align: center;
  padding-block: clamp(110px, 16vw, 230px);
  background:
    radial-gradient(42% 34% at 50% 52%, color-mix(in srgb, var(--bg-soft) 95%, transparent), transparent 100%),
    radial-gradient(38% 40% at 10% 62%, color-mix(in srgb, var(--bg-deep) 70%, transparent), transparent 100%);
}
.contact__inner { display: grid; justify-items: center; max-width: min(940px, 94vw); margin-inline: auto; z-index: 1; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.contact__meta { margin-top: 26px; font-family: var(--serif); font-size: 0.92em; letter-spacing: 0.06em; color: var(--ink); opacity: 0.8; }

/* Studio Location & Interactive Map Card */
.location-card {
  margin-top: clamp(40px, 6vw, 68px);
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  text-align: left;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.location-card:hover {
  box-shadow: 0 44px 80px -30px rgb(130 63 74 / 0.35);
}
:root[data-theme="dark"] .location-card {
  background: color-mix(in srgb, var(--paper) 60%, transparent);
  border-color: var(--line);
  box-shadow: 0 40px 70px -30px rgb(0 0 0 / 0.7);
}

.location-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
  gap: 16px;
}

.location-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rose) 12%, transparent);
  color: var(--rose);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.location-card__badge svg {
  width: 15px; height: 15px;
  fill: currentColor;
}

.location-card__address {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.location-card__landmark {
  font-size: 0.95em;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0.9;
}

.location-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-block: 8px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  font-size: 0.88em;
  color: var(--ink-soft);
}
.location-card__detail-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.location-card__detail-item svg {
  width: 15px; height: 15px;
  stroke: var(--rose);
  stroke-width: 1.8;
  fill: none;
}

.location-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.btn--sm {
  padding: 10px 20px;
  font-size: 13.5px;
  border-radius: 999px;
  gap: 8px;
}
.btn--sm svg {
  width: 15px; height: 15px;
}

/* Map frame & interactive pill */
.location-card__map-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: #eef2f5;
  overflow: hidden;
}
.location-card__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
:root[data-theme="dark"] .location-card__map-frame {
  background: #1b1e22;
}
:root[data-theme="dark"] #studio-map .leaflet-tile {
  filter: brightness(0.8) invert(0.92) hue-rotate(195deg) contrast(1.1);
}

.location-card__map-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12.5px;
  font-family: var(--serif);
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 24px -6px rgb(0 0 0 / 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.location-card__map-pill:hover {
  transform: translateY(-2px);
  background: var(--paper);
}
.location-card__map-pill svg {
  width: 13px; height: 13px;
  stroke: var(--rose);
  stroke-width: 2.2;
  fill: none;
}

.location-card__pin-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e53e3e;
}
.location-card__pin-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgb(229 62 62 / 0.4);
  animation: pulse-ring 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

/* Custom Studio Pin & Leaflet enhancements */
.studio-map-pin {
  background: transparent;
  border: 0;
}
.studio-map-pin__body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgb(184 98 115 / 0.45));
  transition: transform 0.2s ease;
}
.studio-map-pin:hover .studio-map-pin__body {
  transform: scale(1.12);
}
.studio-map-pin__ring {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgb(184 98 115 / 0.4);
  animation: pulse-ring 2s infinite;
}

.map-popup {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: #1a1a1a;
  padding: 2px;
}
.map-popup strong {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--rose-dark);
  display: block;
  margin-bottom: 3px;
}
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.35);
  border: 1px solid var(--line);
}
.leaflet-control-zoom {
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 8px 20px -6px rgb(0 0 0 / 0.25) !important;
  border: 1px solid var(--line) !important;
}
.leaflet-control-zoom a {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line) !important;
}
.leaflet-control-zoom a:hover {
  background: color-mix(in srgb, var(--rose) 15%, var(--paper)) !important;
  color: var(--rose) !important;
}
.leaflet-container {
  font-family: inherit;
}
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgb(255 255 255 / 0.75) !important;
  backdrop-filter: blur(4px);
  border-top-left-radius: 6px;
  padding: 2px 6px !important;
}
:root[data-theme="dark"] .leaflet-control-attribution {
  background: rgb(20 15 18 / 0.75) !important;
  color: #aaa !important;
}
:root[data-theme="dark"] .leaflet-control-attribution a {
  color: var(--rose-soft) !important;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

@media (max-width: 760px) {
  .location-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .location-card__content {
    padding: 26px 20px;
    text-align: center;
    align-items: center;
  }
  .location-card__details {
    justify-content: center;
  }
  .location-card__buttons {
    justify-content: center;
    width: 100%;
  }
  .location-card__map-frame {
    height: 240px;
    min-height: 240px;
    border-top: 1px solid var(--line);
  }
}
.contact__flora {
  position: absolute !important;
  max-width: none;
  filter: var(--flora-filter);
  pointer-events: none;
}
.contact__flora--l { left: 0; bottom: 0; width: clamp(170px, 27vw, 430px); transform-origin: 0 100%; }
.contact__flora--r { right: 0; top: 6%; width: clamp(120px, 19vw, 300px); transform-origin: 100% 30%; }
@media (prefers-reduced-motion: no-preference) {
  .contact__flora--l { animation: sway-a 7.5s ease-in-out infinite alternate; }
  .contact__flora--r, .motion__flora { transform-origin: 100% 30%; animation: sway-b 9s ease-in-out infinite alternate; }
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 44px var(--pad) 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer__brand { font-family: var(--script); font-size: 40px; line-height: 1.2; color: var(--rose); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-family: var(--serif); letter-spacing: 0.05em; color: var(--ink); }
.site-footer nav a { text-decoration: none; padding: 6px 0; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-footer__copy { font-size: 13px; opacity: 0.75; }

/* ==========================================================================
   Lightbox (native dialog)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease), display 0.45s allow-discrete, overlay 0.45s allow-discrete;
}
.lightbox[open] { opacity: 1; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop {
  background: rgb(45 8 24 / 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: background-color 0.45s, backdrop-filter 0.45s, display 0.45s allow-discrete, overlay 0.45s allow-discrete;
}
.lightbox[open]::backdrop { background: rgb(45 8 24 / 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@starting-style { .lightbox[open]::backdrop { background: rgb(45 8 24 / 0); backdrop-filter: blur(0); } }

.lightbox__track {
  display: flex;
  width: 100%; height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(16px, 6vw, 90px) 70px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  overflow: hidden;
}
.lightbox__slide picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  pointer-events: none;
}
.lightbox__slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.7);
  pointer-events: auto;
}
.lightbox .icon-btn { position: absolute; color: #fff; background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox .icon-btn:hover { background: rgb(255 255 255 / 0.26); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav[disabled] { opacity: 0.3; cursor: default; }
.lightbox__count {
  position: absolute;
  left: 50%; bottom: 20px;
  translate: -50% 0;
  font-family: var(--serif);
  letter-spacing: 0.2em;
  font-size: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .site-header { min-height: 64px; }

  .services, .motion, .about { grid-template-columns: minmax(0, 1fr); }
  .services__media { position: relative; top: auto; width: min(74%, 330px); }
  .motion__media { justify-self: center; width: min(74%, 330px); }
  .motion__body, .about__body { justify-self: center; }
  .about__media { order: -1; width: min(70%, 330px); margin-left: 12%; }
}

/* tablets held upright: keep the lettering clear of the lower spray */
@media (min-width: 701px) and (max-width: 1100px) and (orientation: portrait) {
  .hero { place-items: start center; padding-top: 24vh; }
  .hero__content { width: 76vw; margin-top: 0; }
  .flora--bl { width: 56vw; }
  .flora--tr { width: 38vw; }
}

@media (max-width: 700px) {
  .hero__content { width: min(90vw, 560px); margin-top: 0; }
  .flora--bl { width: min(78vw, 430px); }
  .flora--tr { width: min(49vw, 280px); }
  .hero { padding-bottom: 34vh; padding-top: 25vh; place-items: start center; }
  .hero__subtitle { letter-spacing: 0.06em; }
  .is-ready .hero__subtitle { letter-spacing: 0.06em; }

  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item:last-child {
    grid-column: span 2;
    width: 100%;
    max-width: calc(50% - clamp(6px, 1.2vw, 17px));
    justify-self: center;
  }
  .lightbox__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html:not(.is-ready),
  html:not(.is-ready) body {
    overflow: auto !important;
    overscroll-behavior: auto !important;
    touch-action: auto !important;
    height: auto;
  }
  .reveal, .gallery__item.reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero__line { -webkit-mask-image: none; mask-image: none; animation: none !important; }
  .preloader__lid, .preloader__stage { transition-duration: 0.01s; }
  * { animation-duration: 0.01s !important; animation-iteration-count: 1 !important; }
}

@media print {
  .preloader, .site-header, .hero__canvas, body::before { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
