/*
Theme Name: MOA
Theme URI: https://moamasaz.pl
Author: Weboski
Author URI: https://weboski.pl
Description: Motyw MOA - masaże lecznicze i relaksacyjne, Andrychów. Klasyczny motyw PHP z blokami ACF (Blocks V3).
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: moa
*/

/* =========================================================
   MOA — main.css  (mobile-first, desktop @ 992px)
   ========================================================= */

/* ===== FONTS ===== */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== VARIABLES ===== */
:root {
  /* colors */
  --ink: #2b211b;
  --cream: #f7f2ec;
  --sand: #eee6dc;
  --mocha: #ad8a74;
  --gold: #d1b399;
  --muted: #6b5c4f;
  --coral: #e2897f;
  --coral-light: #eaa198;
  --dark: #140f0d;
  --white: #fff;

  /* fonts */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --gutter: 24px;
  --container: 1280px;
  --header-h: 88px;

  /* transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --fast: 0.3s;
  --slow: 0.9s;
}

@media (min-width: 992px) {
  :root {
    --gutter: 80px;
    --header-h: 120px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-kerning: normal;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: clip;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
blockquote,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  text-wrap: balance;
}

em {
  font-style: italic;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

::selection {
  background: var(--mocha);
  color: var(--cream);
}

.icon {
  display: inline-block;
  flex: none;
  color: currentColor;
  vertical-align: middle;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform var(--fast) var(--ease);
}

.skip-link:focus-visible {
  transform: none;
}

/* subtle linen texture on light sections */
.is-textured {
  position: relative;
  isolation: isolate;
}

.is-textured::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/img/tekstura-len-1200.webp') center / cover;
  opacity: 0.1;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ===== COMPONENTS ===== */
:is(.eyebrow, .has-eyebrow > p:first-child:has(+ :is(h1, h2, h3, h4))) {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 11px / 1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

:is(.eyebrow, .has-eyebrow > p:first-child:has(+ :is(h1, h2, h3, h4)))::before {
  content: '';
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--mocha);
}

.btn,
.btn-ghost,
.btn-booksy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.btn {
  padding: 16px 26px;
  background: var(--coral);
  color: var(--ink);
  font: 500 14px / 1.2 var(--sans);
}

.btn:hover {
  background: var(--coral-light);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 14px 22px;
  border: 1px solid rgba(43, 33, 27, 0.45);
  color: var(--ink);
  font: 500 11px / 1.2 var(--sans);
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

.btn-ghost .icon {
  width: 14px;
  height: 14px;
  transition: transform var(--fast) var(--ease);
}

.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn-ghost:hover .icon {
  transform: translateX(3px);
}

.btn-ghost.is-light {
  border-color: rgba(247, 242, 236, 0.45);
  color: var(--cream);
}

.btn-ghost.is-light:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn-booksy {
  padding: 13px 24px;
  background: var(--cream);
  color: var(--ink);
  font: 500 14px / 1.2 var(--sans);
}

.btn-booksy img {
  width: 74px;
  height: auto;
}

.btn-booksy:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-booksy.is-coral {
  background: var(--coral);
}

.btn-booksy.is-coral:hover {
  background: var(--coral-light);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
}

.circle-icon,
.circle-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(43, 33, 27, 0.35);
  border-radius: 50%;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--fast) var(--ease);
}

.contact-link:hover {
  opacity: 0.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px / 1.3 var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.text-link .icon {
  transition: transform var(--fast) var(--ease);
}

.deco-word {
  position: absolute;
  z-index: 0;
  font: italic 300 120px / 1 var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  white-space: nowrap;
  color: rgba(43, 33, 27, 0.045);
  pointer-events: none;
  user-select: none;
}

/* section head (eyebrow + h2 + text) */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-head-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.section-head h2,
.section-head-main h2 {
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: -1px;
}

.section-head h2 em,
.section-head-main h2 em {
  color: var(--mocha);
}

.section-head > .section-head-text p,
.section-head-side p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* horizontal scroller (mobile) */
.scroller-track {
  display: flex;
  gap: 16px;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scroller-track::-webkit-scrollbar {
  display: none;
}

.scroller-track > li {
  flex: 0 0 calc((100vw - var(--gutter) - 16px) * 0.75);
  scroll-snap-align: start;
}

.scroller-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.scroller-bar {
  position: relative;
  width: calc(100% - 78px);
  height: 2px;
  background: rgba(43, 33, 27, 0.12);
}

.scroller-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 2px;
  background: var(--ink);
  will-change: transform;
}

.scroller-count {
  font: italic 300 15px / 1 var(--serif);
  color: var(--mocha);
  font-variant-numeric: lining-nums;
}

/* ===== FADE-IN SYSTEM ===== */
.js .fade-in,
.js .fade-up,
.js .fade-left,
.js .fade-right {
  opacity: 0;
  transition-property: opacity, transform;
  transition-timing-function: var(--ease);
  transition-duration: 900ms;
}

.js .fade-in { transform: translate3d(0, 0, 0); }
.js .fade-up { transform: translate3d(0, 32px, 0); }
.js .fade-left { transform: translate3d(-40px, 0, 0); }
.js .fade-right { transform: translate3d(40px, 0, 0); }

.js .fade-in.is-animated,
.js .fade-up.is-animated,
.js .fade-left.is-animated,
.js .fade-right.is-animated {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fade-in[data-delay],
.fade-up[data-delay],
.fade-left[data-delay],
.fade-right[data-delay] {
  transition-delay: var(--anim-delay, 0ms);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  color: var(--cream);
  transition: transform 0.6s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 2 * var(--gutter), var(--container));
  height: var(--header-h);
  margin-inline: auto;
  border-bottom: 1px solid rgba(247, 242, 236, 0.18);
  transition: height 0.4s var(--ease), border-color 0.4s var(--ease);
}

.header-call {
  justify-self: start;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.85;
}

.header-logo {
  position: relative;
  grid-column: 2;
  /* own compositor layer: the logo is rasterised once and scaled smoothly
     (bilinear, anti-aliased) instead of re-rasterised each frame, which made thin lines jump */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: scale 0.5s var(--ease);
}

@media (hover: hover) {
  .header-logo:hover,
  .header-logo:focus-visible {
    scale: 0.96;
  }
}

.header-logo img {
  width: auto;
  height: 34px;
}

.header-logo .is-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.header-logo img {
  transition: opacity 0.4s var(--ease);
}

.header-nav {
  display: none;
}

.menu-toggle {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 14px 0 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.3s;
}

.menu-toggle span:last-child {
  width: 14px;
}

.site-header.is-solid {
  background: rgba(247, 242, 236, 0.88);
  color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.site-header.is-solid .site-header-inner {
  height: 68px;
  border-color: transparent;
}

.site-header.is-solid .header-logo .is-light {
  opacity: 0;
}

.site-header.is-solid .header-logo .is-dark {
  opacity: 1;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-menu-open {
  background: transparent;
  color: var(--cream);
  transform: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header.is-menu-open .header-logo .is-light {
  opacity: 1;
}

.site-header.is-menu-open .header-logo .is-dark {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  width: 24px;
  transform: translateY(-7.5px) rotate(-45deg);
}

/* mobile menu panel */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  background: var(--ink);
  color: var(--cream);
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-io), opacity 0.4s var(--ease), visibility 0s 0.8s;
}

.site-menu.is-open {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s var(--ease-io), opacity 0.2s var(--ease), visibility 0s;
}

.site-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  height: 100%;
}

.site-menu .menu {
  display: flex;
  flex-direction: column;
}

.site-menu .menu-item {
  border-bottom: 1px solid rgba(247, 242, 236, 0.12);
}

.site-menu .menu-item a {
  display: block;
  padding: 14px 0;
  font: 300 38px / 1.1 var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  transition: color var(--fast) var(--ease), padding var(--fast) var(--ease);
}

.site-menu .menu-item a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.site-menu .sub-menu {
  display: none;
  padding: 0 0 14px 16px;
}

.site-menu .menu-item.is-open > .sub-menu {
  display: block;
}

.site-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 15px;
}

.site-menu-footer .icon {
  color: var(--gold);
}

/* ===== HERO (Swiper) ===== */
.hero {
  --bar-h: 72px;
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 680px;
  max-height: 940px;
  overflow: hidden;
  background: var(--dark);
  color: var(--cream);
}

.hero-swiper {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  will-change: transform;
}

.hero-media picture {
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 15, 13, 0.6) 0%, rgba(20, 15, 13, 0.1) 18%, rgba(20, 15, 13, 0.15) 45%, rgba(20, 15, 13, 0.92) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: calc(var(--bar-h) + 36px);
}

.hero :is(.eyebrow, .has-eyebrow > p:first-child:has(+ :is(h1, h2, h3, h4)))::before {
  background: var(--cream);
}

.hero-text :is(h1, h2) {
  font-size: 60px;
  line-height: 0.94;
  letter-spacing: -1.8px;
}

.hero-text > p {
  max-width: 520px;
  color: rgba(247, 242, 236, 0.86);
  font-size: 15.5px;
  line-height: 1.58;
}

.hero .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-bar {
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bar-h);
  border-top: 1px solid rgba(247, 242, 236, 0.18);
  color: rgba(247, 242, 236, 0.85);
  font-size: 12px;
}

.hero-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--fast) var(--ease);
}

.hero-bar a:hover {
  color: var(--cream);
}

.hero-bar-scroll {
  display: none !important;
}

/* autoplay progress runs along the bar's top line */
.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  pointer-events: none;
}

.hero-progress i {
  display: block;
  height: 100%;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
/* intro states: slide content is driven by GSAP; bar + pager by CSS */
.js .hero-slide [data-hero-item],
.js .hero-slide [data-hero-title] {
  opacity: 0;
}

.js .hero-bar[data-hero-item] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}

.is-ready .hero-bar[data-hero-item] {
  opacity: 1;
  transform: none;
  transition-delay: 0.8s;
}

/* SplitText masks clip to the line box; tight leading makes glyphs
   (and Polish diacritics) overflow it, so widen the clip area only */
.hero-text :is(h1, h2) .split-mask-line-mask {
  overflow-clip-margin: 0.32em;
}
/* ===== ABOUT ===== */
.about {
  padding: 96px 0 88px;
}

.about-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge {
  position: relative;
  width: 116px;
  height: 116px;
  color: var(--ink);
}

.badge-ring {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.badge-ring text {
  font: 500 10.5px var(--sans);
  fill: currentColor;
  transform-box: view-box;
  transform-origin: 88px 88px;
  animation: spin 36s linear infinite;
}

.badge-sign {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48.9%;
  height: auto;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.about-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-lead p {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: -0.4px;
}

.about-lead em {
  color: var(--mocha);
}

.about-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.about-sub p {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.stats {
  margin-top: 56px;
  border-bottom: 1px solid rgba(43, 33, 27, 0.14);
}

.stats li {
  display: grid;
  grid-template-columns: 130px 1fr;
  column-gap: 20px;
  row-gap: 10px;
  padding: 28px 0;
  border-top: 1px solid rgba(43, 33, 27, 0.14);
}

.stats .icon {
  grid-column: 1;
  grid-row: 1;
  width: 24px;
  height: 24px;
  color: var(--mocha);
}

.stats strong {
  grid-column: 1;
  grid-row: 2 / span 2;
  font: 300 44px / 1 var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  letter-spacing: -1.4px;
  white-space: nowrap;
}

.stats h3 {
  grid-column: 2;
  grid-row: 2;
  padding-top: 2px;
  font: 500 14px / 1.3 var(--sans);
  font-variation-settings: normal;
}

.stats p {
  grid-column: 2;
  grid-row: 3;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.58;
}

/* ===== SERVICES ===== */
.services-head {
  padding: 8px 0 48px;
}

.services-tiles {
  position: relative;
  display: grid;
}

.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 580px;
  padding: 40px;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.tile:first-child {
  padding-bottom: 92px;
}

.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(20, 15, 13, 0.35) 0%, rgba(20, 15, 13, 0.05) 35%, rgba(20, 15, 13, 0.9) 100%);
}

.tile::after {
  content: '';
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(247, 242, 236, 0.28);
  pointer-events: none;
  transition: inset 0.8s var(--ease), border-color 0.8s var(--ease);
}

.tile:hover::after {
  inset: 12px;
  border-color: rgba(247, 242, 236, 0.5);
}

.tile-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.tile-media img,
[data-parallax] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-media img {
  transition: scale 1.4s var(--ease);
}

.tile:hover .tile-media img {
  scale: 1.04;
}

.tile-tag {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
  padding: 7px 14px;
  border: 1px solid rgba(247, 242, 236, 0.5);
  border-radius: 100px;
  font: 500 10px / 1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tile-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 560px;
}

.tile h3 {
  font-size: 46px;
  line-height: 0.98;
  letter-spacing: -1.2px;
}

.tile p {
  max-width: 440px;
  color: rgba(247, 242, 236, 0.84);
  font-size: 14.5px;
  line-height: 1.58;
}

.tile:hover .btn-ghost.is-light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.services-seam {
  position: absolute;
  top: 580px;
  left: 0;
  right: 0;
  z-index: 3;
  height: 1px;
  background: rgba(247, 242, 236, 0.45);
  pointer-events: none;
}

.services-seam img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 76px;
  max-width: none;
  height: 76px;
  translate: -50% -50%;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

/* ===== PRICING ===== */
.pricing {
  overflow: hidden;
  padding: 96px 0;
  background: var(--sand);
}

.pricing .deco-word {
  top: 40px;
  right: -30px;
  font-size: 150px;
}

.pricing .container {
  position: relative;
  z-index: 1;
}

.section-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.pricing-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.pricing-media {
  position: relative;
  aspect-ratio: 342 / 400;
  overflow: hidden;
  background: var(--ink);
}

.pricing-media picture {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.pricing-media picture.is-active {
  opacity: 1;
}

.pricing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pricing-media .chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
}

.pricing-list li {
  border-top: 1px solid rgba(43, 33, 27, 0.16);
}

.pricing-list li:last-child {
  border-bottom: 1px solid rgba(43, 33, 27, 0.16);
}

.price-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    'num label label'
    'name name name'
    'desc desc desc'
    'value value arrow';
  align-items: center;
  column-gap: 10px;
  row-gap: 10px;
  padding: 26px 0;
}

.price-num {
  grid-area: num;
  font: italic 300 15px / 1 var(--serif);
  color: var(--mocha);
}

.price-meta {
  display: contents;
}

.price-label {
  grid-area: label;
  color: var(--mocha);
  font: 500 10px / 1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.price-row h3 {
  grid-area: name;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.18;
  transition: color var(--fast) var(--ease);
}

.price-desc {
  grid-area: desc;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.price-value {
  grid-area: value;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

.price-value strong {
  font: 300 32px / 1 var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
}

.price-value span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.price-row .circle-arrow {
  grid-area: arrow;
  margin-top: 8px;
}

.price-row:hover .circle-arrow,
.price-row:focus-visible .circle-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.price-row:hover h3 {
  color: var(--mocha);
}

.pricing-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  font-size: 13.5px;
}

/* ===== PATHS ===== */
.paths {
  overflow: hidden;
  padding: 100px 0 110px;
}

.paths .deco-word {
  top: 70px;
  left: -20px;
}

.paths .container {
  position: relative;
  z-index: 1;
}

.paths .section-head {
  gap: 22px;
  margin-bottom: 56px;
}

.paths .section-head h2 {
  font-size: 38px;
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-media {
  aspect-ratio: 262 / 330;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease);
}

.path-card:hover .card-media img {
  scale: 1.05;
}

.path-card:hover .text-link .icon {
  transform: translateX(4px);
}

.card-label {
  display: inline-flex;
  align-items: center;
  font: 500 10px / 1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
  color: var(--mocha);
  font: italic 300 15px / 1 var(--serif);
  letter-spacing: 0;
}

.card-num::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--mocha);
}

.path-card h3 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.path-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== QUOTE (philosophy) ===== */
.quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0;
  background: var(--dark) url('assets/img/tekstura-ciemna-1200.webp') center / cover;
  color: var(--cream);
  text-align: center;
}

.quote .deco-word {
  top: 50%;
  left: 50%;
  translate: -50% -30%;
  font-size: 190px;
  color: rgba(247, 242, 236, 0.05);
}

.quote .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.quote-sign {
  width: 80px;
  height: 80px;
}

.quote :is(.eyebrow, .has-eyebrow > p:first-child:has(+ :is(h1, h2, h3, h4)))::before {
  background: var(--gold);
}

.quote blockquote p {
  max-width: 1060px;
  font-size: 32px;
  line-height: 1.22;
  letter-spacing: -0.4px;
}

.quote blockquote em {
  color: var(--gold);
}

.quote-divider {
  width: 1px;
  height: 48px;
  background: rgba(247, 242, 236, 0.25);
}

.quote h2 {
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--gold);
}

.quote-story {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 940px;
}

.quote-story p {
  color: rgba(247, 242, 236, 0.72);
  font-size: 14.5px;
  line-height: 1.68;
}

/* ===== TEAM ===== */
.team {
  padding: 100px 0 110px;
}

.team .section-head {
  margin-bottom: 48px;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.person-media {
  position: relative;
  aspect-ratio: 262 / 340;
  overflow: hidden;
}

.person-media picture {
  height: 100%;
}

.person-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: scale 1.2s var(--ease);
}

.person:hover .person-media img {
  scale: 1.04;
}

.person-media .chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
}

.person-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(43, 33, 27, 0.14);
}

.person h3 {
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.8px;
}

.person-role {
  color: var(--mocha);
  font: 500 10px / 1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.person p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 100px 0;
  background: var(--sand);
}

.gallery-inner {
  display: grid;
  grid-template-areas:
    'head'
    'grid'
    'link';
  gap: 36px;
}

.gallery-inner > .section-head-main {
  grid-area: head;
}

.gallery-grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-grid figure {
  overflow: hidden;
}

.gallery-grid figure:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 342 / 300;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(3) {
  aspect-ratio: 165 / 230;
}

.gallery-grid figure:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 342 / 240;
}

.gallery-grid picture {
  width: 100%;
  height: 100%;
}

.gallery-item {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 13, 0.28);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.gallery-item picture {
  transition: scale 1.2s var(--ease);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item:hover picture,
.gallery-item:focus-visible picture {
  scale: 1.05;
}

/* Fancybox - MOA theme */
.fancybox__container {
  --fancybox-bg: rgba(20, 15, 13, 0.94);
  --fancybox-color: var(--cream);
  --f-button-color: var(--cream);
  --f-button-bg: transparent;
  --f-button-hover-bg: rgba(247, 242, 236, 0.1);
  --f-button-border-radius: 50%;
  --f-thumb-border-radius: 0;
  font-family: var(--sans);
}

.fancybox__caption {
  font: italic 300 18px / 1.4 var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  color: rgba(247, 242, 236, 0.85);
}

.fancybox__infobar {
  font: 500 12px / 1 var(--sans);
  letter-spacing: 0.2em;
}

.social-link {
  grid-area: link;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 13px / 1.3 var(--sans);
}

.social-link > span:not(.circle-icon) {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.social-link:hover .circle-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* ===== CTA ===== */
.cta {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 700px;
  padding: 80px 0;
  overflow: hidden;
  background: var(--dark);
  color: var(--cream);
  text-align: center;
}

.cta-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 15, 13, 0.6) 0%, rgba(20, 15, 13, 0.5) 50%, rgba(20, 15, 13, 0.85) 100%);
}

.cta::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(247, 242, 236, 0.22);
  pointer-events: none;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: min(100% - 2 * var(--gutter) - 20px, 1100px);
}

.cta :is(.eyebrow, .has-eyebrow > p:first-child:has(+ :is(h1, h2, h3, h4)))::before {
  background: var(--gold);
}

.cta h2 {
  font-size: 52px;
  line-height: 0.96;
  letter-spacing: -1.4px;
}

.cta p {
  max-width: 560px;
  color: rgba(247, 242, 236, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.cta .buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 0 160px;
  background: var(--ink);
  color: var(--cream);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    'brand brand'
    'nav contact'
    'book book';
  gap: 44px 24px;
}

.footer-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 242, 236, 0.14);
}

.footer-brand img {
  width: 151px;
  height: auto;
}

.footer-brand p {
  max-width: 340px;
  color: rgba(247, 242, 236, 0.6);
  font-size: 14px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social .circle-icon {
  border-color: rgba(247, 242, 236, 0.35);
}

.footer-social .icon {
  width: 18.5px;
  height: 18.5px;
}

.footer-social .is-facebook .icon {
  width: 27.3px;
  height: 27.3px;
}

.footer-social .circle-icon:hover {
  background: var(--cream);
  color: var(--ink);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-col.is-nav { grid-area: nav; }
.footer-col.is-contact { grid-area: contact; }
.footer-col.is-booking { grid-area: book; }

.footer-col h2 {
  margin-bottom: 2px;
  color: var(--gold);
  font: 500 10px / 1.2 var(--sans);
  font-variation-settings: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-col .menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
}

.footer-col .menu a {
  transition: color var(--fast) var(--ease);
}

.footer-col .menu a:hover {
  color: var(--gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.footer-contact .contact-link {
  align-items: flex-start;
}

.footer-contact .icon {
  margin-top: 3px;
  color: var(--gold);
}

.footer-col > p {
  color: rgba(247, 242, 236, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.to-top {
  grid-area: brand;
  justify-self: end;
  align-self: start;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mocha);
  color: var(--cream);
  transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.to-top .icon {
  width: 18px;
  height: 18px;
}

.to-top:hover {
  background: var(--coral);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 242, 236, 0.14);
  color: rgba(247, 242, 236, 0.5);
  font-size: 12px;
}

.footer-bottom a:hover {
  color: var(--cream);
}

.footer-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
}

.footer-wave {
  position: absolute;
  inset: 0 -10%;
  will-change: transform;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* =========================================================
   DESKTOP 992px+
   ========================================================= */
@media (min-width: 992px) {
  body {
    font-size: 16px;
  }

  :is(.eyebrow, .has-eyebrow > p:first-child:has(+ :is(h1, h2, h3, h4))) {
    gap: 14px;
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  :is(.eyebrow, .has-eyebrow > p:first-child:has(+ :is(h1, h2, h3, h4)))::before {
    width: 36px;
  }

  .btn {
    padding: 18px 34px;
    font-size: 15px;
  }

  .btn-ghost {
    gap: 12px;
    padding: 15px 26px;
    font-size: 12px;
    letter-spacing: 0.15em;
  }

  .btn-ghost .icon {
    width: 16px;
    height: 16px;
  }

  .btn-booksy {
    padding: 13px 26px;
  }

  .btn-booksy img {
    width: 77px;
  }

  .chip {
    padding: 10px 16px;
    font-size: 13px;
  }

  .circle-arrow {
    width: 50px;
    height: 50px;
  }

  .circle-icon {
    width: 48px;
    height: 48px;
  }

  .deco-word {
    font-size: 300px;
  }

  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 64px;
  }

  .section-head-main {
    gap: 32px;
  }

  .section-head h2,
  .section-head-main h2 {
    font-size: clamp(56px, 5.4vw, 78px);
    line-height: 1;
    letter-spacing: -0.023em;
  }

  .section-head > .section-head-text,
  .section-head-side {
    max-width: 380px;
    flex: none;
  }

  .section-head > .section-head-text p,
  .section-head-side p {
    font-size: 16px;
  }

  .section-head-side {
    gap: 28px;
  }

  .section-head.is-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .section-head.is-center > .section-head-text {
    max-width: 560px;
  }

  .scroller-track {
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }

  .scroller-track > li {
    flex: initial;
  }

  .scroller-ui {
    display: none;
  }

  /* header */
  .header-call,
  .menu-toggle,
  .site-menu {
    display: none;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .header-nav.is-left {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .header-logo {
    grid-row: 1;
  }

  .header-nav.is-right {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .header-nav .menu {
    display: flex;
    gap: 40px;
  }

  .header-nav .menu-item {
    position: relative;
  }

  .header-nav .menu-item > a {
    position: relative;
    display: block;
    padding: 6px 0;
    font: 500 12px / 1.2 var(--sans);
    letter-spacing: 0.17em;
    text-transform: uppercase;
  }

  .header-nav .menu-item > a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
  }

  .header-nav .menu-item > a:hover::after,
  .header-nav .menu-item > a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 220px;
    padding: 14px 20px;
    background: var(--cream);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility 0s var(--fast);
  }

  .header-nav .sub-menu .sub-menu {
    top: -14px;
    left: 100%;
  }

  .header-nav .menu-item:hover > .sub-menu,
  .header-nav .menu-item:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .header-logo img {
    height: 44px;
  }

  .site-header.is-solid .site-header-inner {
    height: 80px;
  }

  .site-header.is-solid .btn-booksy {
    background: var(--white);
    box-shadow: 0 0 0 1px rgba(43, 33, 27, 0.08);
  }

  /* hero */
  .hero {
    --bar-h: 112px;
    min-height: 720px;
    max-height: 1000px;
  }

  .hero-media img {
    object-position: var(--pos-d, center);
  }

  .hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(20, 15, 13, 0.5) 0%, rgba(20, 15, 13, 0) 60%);
  }

  .hero-slide::before {
    background: linear-gradient(180deg, rgba(20, 15, 13, 0.6) 0%, rgba(20, 15, 13, 0.05) 20%, rgba(20, 15, 13, 0.08) 50%, rgba(20, 15, 13, 0.88) 100%);
  }

  .hero-content {
    gap: 30px;
    padding-bottom: calc(var(--bar-h) + 56px);
  }

  .hero-text :is(h1, h2) {
    font-size: clamp(88px, 9.3vw, 134px);
    line-height: 0.92;
    letter-spacing: -0.026em;
  }

  .hero-text > p {
    font-size: 18px;
    line-height: 1.6;
  }

  .hero .buttons {
    gap: 16px;
  }

  .hero-bar {
    font-size: 13px;
  }

  .hero-bar-scroll {
    display: inline-flex !important;
    font: 500 11px / 1 var(--sans);
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .hero-bar-scroll .icon {
    animation: nudge 2.4s var(--ease-io) infinite;
  }

  @keyframes nudge {
    0%, 100% { transform: translateY(-1.5px); }
    50% { transform: translateY(1px); }
  }
  /* about */
  .about {
    padding: 160px 0 140px;
  }

  .about-top {
    flex-direction: row;
    justify-content: space-between;
    gap: 64px;
  }

  .about-side {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 56px;
  }

  .badge {
    width: 176px;
    height: 176px;
  }

  .about-main {
    flex: 0 1 860px;
    gap: 52px;
  }

  .about-lead p {
    font-size: clamp(36px, 3.2vw, 46px);
    letter-spacing: -0.6px;
  }

  .about-sub {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .about-sub p {
    font-size: 16px;
  }

  .stats {
    display: grid;
    grid-template-columns: 412fr 433fr 433fr;
    margin-top: 120px;
    border-top: 1px solid rgba(43, 33, 27, 0.14);
    border-bottom: 0;
  }

  .stats li {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 52px 0 0 44px;
    border-top: 0;
    border-left: 1px solid rgba(43, 33, 27, 0.14);
  }

  .stats li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .stats .icon {
    width: 28px;
    height: 28px;
  }

  .stats strong {
    font-size: 88px;
    letter-spacing: -2.5px;
  }

  .stats h3 {
    padding: 0;
    font-size: 15px;
  }

  .stats p {
    max-width: 340px;
    font-size: 14.5px;
    line-height: 1.6;
  }

  /* services */
  .services-head {
    padding: 40px 0 88px;
  }

  .services-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .tile,
  .tile:first-child {
    min-height: clamp(640px, 57vw, 820px);
    padding: 64px 60px;
  }

  .tile::after {
    inset: 24px;
  }

  .tile:hover::after {
    inset: 18px;
  }

  .tile-tag {
    top: 58px;
    right: 60px;
    padding: 8px 16px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .tile-content {
    gap: 24px;
  }

  .tile h3 {
    font-size: clamp(56px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.025em;
  }

  .tile p {
    font-size: 16px;
    line-height: 1.6;
  }

  .services-seam {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
  }

  .services-seam img {
    top: 50%;
    width: 104px;
    height: 104px;
    translate: -50% -50%;
  }

  /* pricing */
  .pricing {
    padding: 160px 0;
  }

  .pricing .deco-word {
    top: 30px;
    right: -60px;
    font-size: 320px;
  }

  .pricing-body {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
    margin-top: 88px;
  }

  .pricing-media {
    position: sticky;
    top: 110px;
    flex: 0 0 min(500px, 39%);
    aspect-ratio: 500 / 680;
  }

  .pricing-media .chip {
    left: 24px;
    bottom: 24px;
  }

  .pricing-list {
    flex: 1;
  }

  .price-row {
    grid-template-columns: 36px 1fr 150px 50px;
    grid-template-areas: 'num meta value arrow';
    column-gap: 24px;
    padding: 36px 0;
  }

  .price-num {
    font-size: 18px;
  }

  .price-meta {
    grid-area: meta;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .price-label {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .price-row h3 {
    font-size: 28px;
    line-height: 1.15;
  }

  .price-desc {
    font-size: 14.5px;
  }

  .price-value {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding: 0;
  }

  .price-value strong {
    font-size: 38px;
    letter-spacing: -0.5px;
  }

  .price-value span {
    font-size: 13px;
  }

  .price-row .circle-arrow {
    margin: 0;
  }

  .pricing-cta {
    flex-direction: row;
    align-items: center;
    gap: 28px;
    margin-top: 44px;
    font-size: 14px;
  }

  /* paths */
  .paths {
    padding: 170px 0 190px;
  }

  .paths .deco-word {
    top: 40px;
    left: 50%;
    translate: -50% 0;
  }

  .paths .section-head {
    margin-bottom: 96px;
  }

  .paths .section-head h2 {
    max-width: 900px;
    font-size: clamp(56px, 5.4vw, 78px);
  }

  .paths-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    align-items: start;
  }

  .paths-list > li:nth-child(2) {
    padding-top: 130px;
  }

  .paths-list > li:nth-child(3) {
    padding-top: 40px;
  }

  .path-card {
    gap: 22px;
  }

  .card-media {
    aspect-ratio: 384 / 500;
  }

  .card-label {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .card-num {
    gap: 12px;
    margin-right: 12px;
    font-size: 18px;
  }

  .card-num::after {
    width: 28px;
  }

  .path-card h3 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .path-card p {
    max-width: 360px;
    font-size: 15px;
    line-height: 1.65;
  }

  /* quote */
  .quote {
    padding: 190px 0;
  }

  .quote .deco-word {
    font-size: 380px;
    translate: -50% -42%;
  }

  .quote .container {
    gap: 44px;
  }

  .quote-sign {
    width: 104px;
    height: 104px;
  }

  .quote blockquote p {
    font-size: clamp(44px, 4.2vw, 60px);
    line-height: 1.18;
    letter-spacing: -1px;
  }

  .quote-divider {
    height: 64px;
  }

  .quote h2 {
    font-size: 28px;
  }

  .quote-story {
    flex-direction: row;
    gap: 80px;
    text-align: left;
  }

  .quote-story p {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
  }

  /* team */
  .team {
    padding: 170px 0 190px;
  }

  .team .section-head {
    margin-bottom: 96px;
  }

  .team .section-head > .section-head-text {
    max-width: 400px;
  }

  .team-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .team-list > li:nth-child(2) {
    padding-top: 150px;
  }

  .person {
    gap: 24px;
  }

  .person-media {
    aspect-ratio: 600 / 720;
  }

  .person-media .chip {
    left: 24px;
    bottom: 24px;
  }

  .person-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
  }

  .person h3 {
    font-size: 58px;
    letter-spacing: -1px;
  }

  .person-role {
    font-size: 11px;
  }

  .person p {
    max-width: 520px;
    font-size: 15.5px;
    line-height: 1.68;
  }

  /* gallery */
  .gallery {
    padding: 170px 0;
  }

  .gallery-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'head link'
      'grid grid';
    row-gap: 72px;
    column-gap: 64px;
    align-items: end;
  }

  .gallery-grid {
    grid-template-columns: 496fr 240fr 496fr;
    gap: 24px;
  }

  .gallery-grid figure:nth-child(1) {
    grid-column: 1 / 3;
    aspect-ratio: 760 / 580;
  }

  .gallery-grid figure:nth-child(2) {
    grid-column: 3;
    aspect-ratio: 496 / 580;
  }

  .gallery-grid figure:nth-child(3) {
    grid-column: 1;
    aspect-ratio: 496 / 440;
  }

  .gallery-grid figure:nth-child(4) {
    grid-column: 2 / 4;
    aspect-ratio: 760 / 440;
  }

  .social-link {
    justify-self: end;
    gap: 14px;
  }

  /* cta */
  .cta {
    min-height: clamp(680px, 56vw, 800px);
  }

  .cta::after {
    inset: 24px;
  }

  .cta-content {
    gap: 36px;
  }

  .cta h2 {
    font-size: clamp(80px, 8.6vw, 124px);
    line-height: 0.94;
    letter-spacing: -0.028em;
  }

  .cta p {
    font-size: 17px;
  }

  .cta .buttons {
    flex-direction: row;
    gap: 16px;
  }

  /* footer */
  .site-footer {
    padding: 120px 0 296px;
  }

  .footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-brand {
    padding: 0;
    border: 0;
  }

  .footer-brand img {
    width: 199px;
  }

  .footer-brand p {
    max-width: 320px;
    font-size: 14.5px;
  }

  .footer-social .circle-icon {
    width: 44px;
    height: 44px;
  }

  .footer-col {
    gap: 16px;
  }

  .footer-col h2 {
    font-size: 11px;
  }

  .footer-col .menu {
    gap: 14px;
    font-size: 15px;
  }

  .footer-contact,
  .footer-col > p {
    font-size: 15px;
  }

  .to-top {
    width: 64px;
    height: 64px;
  }

  .to-top .icon {
    width: 22px;
    height: 22px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 64px;
    padding-top: 40px;
    font-size: 13px;
  }

  .footer-waves {
    height: 240px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .fade-in,
  .js .fade-up,
  .js .fade-left,
  .js .fade-right,
  .js [data-hero-item],
  .js .hero-slide [data-hero-item],
  .js .hero-slide [data-hero-title],
  .js [data-hero-title] {
    opacity: 1;
    transform: none;
  }
}
