/* =========================================================
   JURMIR EVENTS
   ========================================================= */
:root {
  --ivory: #f5efe7;
  --cream: #ebe2d6;
  --sand: #d9cbb8;
  --ink: #1b1916;
  --ink-soft: #5d554c;
  --forest: #1d3328;
  --forest-2: #284538;
  --peach: #f4a37f;
  --peach-soft: #f8c9b1;
  --rose: #e2457c;
  --gold: #b8956a;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --pad: clamp(16px, 4vw, 64px);
  --radius: 22px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; font-family: var(--serif); }
::selection { background: var(--peach); color: var(--ink); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow--light { color: rgba(245, 239, 231, .7); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--peach); display: inline-block; box-shadow: 0 0 0 4px rgba(244, 163, 127, .25); }

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 132px);
  line-height: .92;
  letter-spacing: -.02em;
}
.title em { color: var(--forest-2); }

/* split helpers */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--peach);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn .arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); }
.btn--peach { --bg: var(--peach); --fg: var(--ink); }
.btn--peach::before { background: var(--ivory); }
.btn--pill { padding: 12px 22px; font-size: 13px; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; color: var(--forest); }
.preloader__panel { position: absolute; left: 0; right: 0; height: 51%; background: var(--ivory); will-change: transform; }
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; }
.preloader__inner { position: relative; width: min(440px, 76vw); display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
.preloader__logo { position: relative; width: 100%; aspect-ratio: 1400 / 586; }
.preloader__logo-ghost, .preloader__logo-fill {
  position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("../img/logo-jurmir-2.png") center / contain no-repeat;
  mask: url("../img/logo-jurmir-2.png") center / contain no-repeat;
}
.preloader__logo-ghost { opacity: .1; }
.preloader__logo-fill { clip-path: inset(0 100% 0 0); }
.preloader__bar { height: 1px; background: rgba(29, 51, 40, .15); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--forest); transform-origin: left; transform: scaleX(0); }
.preloader__meta { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.preloader__count { font-variant-numeric: tabular-nums; color: var(--forest); }
@media (max-width: 480px) { .preloader__meta > span:first-child { display: none; } .preloader__meta { justify-content: center; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--ink); mix-blend-mode: difference; }
.cursor__ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(27, 25, 22, .35);
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), background .4s, border-color .4s;
}
.cursor__label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 96px; height: 96px; background: var(--peach); border-color: transparent; }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-link .cursor__ring { width: 60px; height: 60px; border-color: var(--peach); }
.cursor.is-dark .cursor__ring { border-color: rgba(245, 239, 231, .5); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 998; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 4%); }
  40% { transform: translate(4%, -3%); }
  60% { transform: translate(-3%, -5%); }
  80% { transform: translate(5%, 3%); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: transform .6s var(--ease), background .5s, padding .5s;
}
.nav.is-scrolled { background: rgba(245, 239, 231, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: block; color: var(--forest); }
.logo__img { display: block; width: 150px; aspect-ratio: 1400 / 586; background: currentColor; -webkit-mask: url("../img/logo-jurmir-2.png") center / contain no-repeat; mask: url("../img/logo-jurmir-2.png") center / contain no-repeat; }
.nav__links { display: flex; gap: 34px; font-size: 14px; }

.link-roll { display: inline-block; overflow: hidden; height: 1.4em; line-height: 1.4; }
.link-roll span { display: inline-block; position: relative; transition: transform .55s var(--ease); }
.link-roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; font-family: var(--serif); font-style: italic; font-size: 1.12em; }
.link-roll:hover span { transform: translateY(-100%); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; z-index: 120; transition: background .5s var(--ease); }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease), background .5s; }
.burger i:first-child { top: 19px; }
.burger i:last-child { top: 26px; }
.menu-open .burger { background: var(--ivory); }
.menu-open .burger i { background: var(--ink); }
.menu-open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-open .nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .logo { color: var(--ivory); }
.logo { transition: color .5s var(--ease); }

.menu { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; color: var(--ivory); transition: visibility 0s .9s; }
.menu-open .menu { pointer-events: auto; visibility: visible; transition: visibility 0s 0s; }
.menu__bg { position: absolute; inset: 0; background: var(--forest); clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .9s var(--ease); }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 44px) 44px); }
.menu__inner { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 110px var(--pad) 32px; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(245, 239, 231, .12); }
.menu__num { font-size: 11px; letter-spacing: .15em; color: var(--peach); min-width: 22px; opacity: 0; transition: opacity .6s var(--ease); }
.menu__label { display: block; overflow: hidden; font-family: var(--serif); font-size: clamp(38px, 10.5vw, 68px); line-height: 1.05; padding-bottom: .14em; margin-bottom: -.14em; }
.menu__label > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); }
.menu__label em { color: var(--peach-soft); }
.menu-open .menu__label > span { transform: none; }
.menu-open .menu__num { opacity: 1; }
.menu-open .menu__links a:nth-child(1) * { transition-delay: .18s; }
.menu-open .menu__links a:nth-child(2) * { transition-delay: .23s; }
.menu-open .menu__links a:nth-child(3) * { transition-delay: .28s; }
.menu-open .menu__links a:nth-child(4) * { transition-delay: .33s; }
.menu-open .menu__links a:nth-child(5) * { transition-delay: .38s; }
.menu-open .menu__links a:nth-child(6) * { transition-delay: .43s; }
.menu__foot { display: flex; flex-direction: column; gap: 22px; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.menu-open .menu__foot { opacity: 1; transform: none; transition-delay: .5s; }
.menu__cta { align-self: flex-start; }
.menu__contact { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.menu__contact a { color: rgba(245, 239, 231, .85); }
.menu__social { display: flex; gap: 20px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: rgba(245, 239, 231, .6); }
.menu a:active { opacity: .7; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__media {
  position: absolute; inset: 0;
  clip-path: inset(50% 50% 50% 50% round 22px);
  will-change: clip-path;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 18, 15, .6), rgba(20, 18, 15, .35)); opacity: 0; }

.hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 60px;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 10.4vw, 188px);
  line-height: .88; letter-spacing: -.035em;
  max-width: 12ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
.hero__title em { color: var(--peach); }
.hero__bottom { display: flex; align-items: flex-end; gap: 40px; margin-top: 44px; max-width: 52%; flex-wrap: wrap; }
.hero__lead { max-width: 380px; color: var(--ink-soft); font-size: 15px; }

.hero__overlay-text {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center; text-align: center;
  color: var(--ivory); pointer-events: none;
  font-family: var(--serif); font-size: clamp(40px, 7vw, 110px); line-height: .95; letter-spacing: -.02em;
}
.hero__overlay-text p { opacity: 0; transform: translateY(40px); }

.hero__scroll { position: absolute; z-index: 2; left: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-soft); }
.hero__scroll i { width: 60px; height: 1px; background: currentColor; position: relative; overflow: hidden; opacity: .5; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- Marquee ---------- */
.marquee { padding: 34px 0; background: var(--forest); color: var(--ivory); overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; font-family: var(--serif); font-size: clamp(40px, 6vw, 88px); line-height: 1; white-space: nowrap; }
.marquee__group b { font-size: .4em; color: var(--peach); font-weight: 400; }
.marquee__group em { color: var(--peach-soft); }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(100px, 18vw, 240px) var(--pad); max-width: 1500px; margin: 0 auto; }
.manifesto .eyebrow { margin-bottom: 40px; }
.manifesto__text { font-family: var(--serif); font-size: clamp(32px, 5vw, 76px); line-height: 1.08; letter-spacing: -.015em; }
.manifesto__text .word { opacity: .22; }
.manifesto__text em { color: var(--forest-2); }

/* ---------- About ---------- */
.about { padding: 0 var(--pad) clamp(100px, 14vw, 200px); }
.about__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(50px, 8vw, 110px); flex-wrap: wrap; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: clamp(24px, 4vw, 70px); align-items: start; }
.about__img figcaption { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; }
.about__img--a { grid-column: 1; }
.about__img--b { grid-column: 3; margin-top: 40%; }
.about__text { grid-column: 2; grid-row: 1; padding-top: 30%; display: flex; flex-direction: column; gap: 22px; color: var(--ink-soft); }
.about__text .lead { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.15; color: var(--ink); }
.signature { display: flex; flex-direction: column; margin-top: 16px; }
.signature__names { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--ink); line-height: 1.1; }
.signature__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.reveal-img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 2 / 3; background: var(--cream); }
.reveal-img img { will-change: transform; }
.reveal-img img { width: 100%; height: 118%; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--sand); }
.stat { padding: 34px 20px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--sand); }
.stat__num { font-family: var(--serif); font-size: clamp(56px, 6vw, 100px); line-height: 1; letter-spacing: -.03em; }
.stat__label { font-size: 13px; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { position: relative; background: var(--ink); color: var(--ivory); padding: clamp(100px, 12vw, 180px) var(--pad); border-radius: 36px 36px 0 0; }
.services .eyebrow { color: rgba(245, 239, 231, .6); }
.services .title em { color: var(--peach); }
.services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: clamp(60px, 8vw, 110px); }
.services__head .eyebrow { grid-column: 1 / -1; }
.services__intro { max-width: 420px; justify-self: end; color: rgba(245, 239, 231, .65); }
.services__list { list-style: none; border-top: 1px solid rgba(245, 239, 231, .15); }
.service {
  position: relative;
  display: grid; grid-template-columns: 80px 1.2fr 1fr 60px; align-items: center; gap: 30px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(245, 239, 231, .15);
  transition: padding .6s var(--ease), color .4s;
}
.service::before { content: ""; position: absolute; inset: 0; background: var(--peach); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.service > * { position: relative; z-index: 1; }
.service__num { font-size: 13px; color: rgba(245, 239, 231, .5); transition: color .4s; }
.service__title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 60px); line-height: 1; letter-spacing: -.02em; }
.service__desc { font-size: 15px; color: rgba(245, 239, 231, .6); max-width: 420px; transition: color .4s; }
.service__arrow { font-size: 28px; justify-self: end; transition: transform .6s var(--ease); }
@media (hover: hover) {
  .service:hover { color: var(--ink); padding-left: 24px; padding-right: 24px; }
  .service:hover::before { transform: scaleY(1); transform-origin: top; }
  .service:hover .service__num, .service:hover .service__desc { color: var(--ink); }
  .service:hover .service__arrow { transform: rotate(45deg); }
}
.services__float {
  position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
  width: 300px; height: 380px; border-radius: 18px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.6);
}
.services__float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Statement ---------- */
.statement { position: relative; height: 130vh; overflow: hidden; background: var(--ink); }
.statement__media { position: absolute; inset: 0; clip-path: inset(12% 18% round 30px); }
.statement__img { width: 100%; height: 120%; object-fit: cover; filter: brightness(.7); }
.statement__text { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ivory); font-family: var(--serif); font-size: clamp(56px, 11vw, 190px); line-height: .9; letter-spacing: -.03em; }
.statement__text em { color: var(--peach-soft); }

/* ---------- Work (horizontal) ---------- */
.work { background: var(--cream); }
.work__pin { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.work__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding: 0 var(--pad) 0 0; will-change: transform; }
.work__intro { flex: 0 0 auto; width: clamp(300px, 34vw, 520px); padding: 0 var(--pad); display: flex; flex-direction: column; gap: 26px; }
.work__hint { font-size: 13px; color: var(--ink-soft); }
.work__hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.card { flex: 0 0 auto; width: clamp(280px, 34vw, 520px); }
.card--tall { width: clamp(240px, 26vw, 400px); }
.card__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3.2; }
.card--tall .card__img { aspect-ratio: 3 / 4.2; }
.card__img img { width: 120%; max-width: none; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.06); }
.card__meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 18px; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.1; margin-top: 6px; }
.card__title em { color: var(--peach); }
.card--end { width: clamp(280px, 30vw, 440px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 40px; border-radius: var(--radius); background: var(--forest); color: var(--ivory); }
.card--end p { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 46px); line-height: 1.08; }
.work__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; height: 1px; background: var(--sand); }
.work__progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding: clamp(100px, 14vw, 200px) var(--pad); }
.process__side { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 26px; }
.process__side > p:last-of-type { max-width: 360px; color: var(--ink-soft); }
.process__img { max-width: 260px; aspect-ratio: 4 / 5; margin-top: 10px; }
.process__img img { height: 115%; }
.reviews .eyebrow { flex-wrap: wrap; justify-content: center; }
.reviews__rating { margin-left: 10px; padding: 4px 12px; border-radius: 100px; background: rgba(27, 25, 22, .08); letter-spacing: .08em; color: var(--ink); }
.footer__cols .footer__addr { font-size: 13px; letter-spacing: 0; text-transform: none; color: rgba(245, 239, 231, .55); margin: 4px 0 0; }
.process__steps { list-style: none; position: relative; padding-left: 40px; }
.process__line { position: absolute; top: clamp(100px, 14vw, 200px); bottom: clamp(100px, 14vw, 200px); left: calc(var(--pad) + (100% - 2 * var(--pad) - 60px) / 2.2 + 60px); width: 1px; background: var(--sand); }
.process__line i { display: block; width: 100%; height: 100%; background: var(--peach); transform-origin: top; transform: scaleY(0); }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 44px 0; border-bottom: 1px solid var(--sand); opacity: .25; transition: opacity .6s; }
.step.is-active { opacity: 1; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--peach); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 46px); line-height: 1.05; margin-bottom: 10px; }
.step p { color: var(--ink-soft); max-width: 460px; }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(80px, 12vw, 180px) var(--pad); background: var(--peach-soft); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 40px; overflow: hidden; }
.reviews__slider { position: relative; width: 100%; max-width: 1200px; display: grid; }
.review { grid-area: 1 / 1; opacity: 0; pointer-events: none; }
.review.is-active { opacity: 1; pointer-events: auto; }
.review p { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 70px); line-height: 1.08; letter-spacing: -.015em; }
.review cite { display: block; margin-top: 30px; font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.reviews__nav { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: .1em; }
.reviews__btn { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(27, 25, 22, .3); font-size: 18px; transition: background .4s, color .4s; }
.reviews__btn:hover { background: var(--ink); color: var(--ivory); }

/* ---------- Contact ---------- */
.contact { position: relative; color: var(--ivory); overflow: hidden; background: var(--forest); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .28; filter: grayscale(.4); }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(29, 51, 40, .96) 30%, rgba(29, 51, 40, .7)); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); padding: clamp(100px, 13vw, 190px) var(--pad); }
.contact__head { display: flex; flex-direction: column; gap: 30px; }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 120px); line-height: .92; letter-spacing: -.03em; }
.contact__title em { color: var(--peach); }
.contact__info { display: flex; flex-direction: column; gap: 6px; margin-top: auto; font-size: 15px; color: rgba(245, 239, 231, .75); }
.contact__info a { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); color: var(--ivory); line-height: 1.2; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__info a:hover { background-size: 100% 1px; }

.form { display: flex; flex-direction: column; gap: 26px; align-self: center; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(245, 239, 231, .3); color: var(--ivory); font: inherit; font-size: 17px; padding: 26px 0 10px; outline: none; resize: none; transition: border-color .4s; }
.field input:focus, .field textarea:focus { border-color: var(--peach); }
.field span { position: absolute; left: 0; top: 26px; font-size: 15px; color: rgba(245, 239, 231, .6); pointer-events: none; transform-origin: left; transition: transform .45s var(--ease), color .4s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-24px) scale(.78); color: var(--peach); }
.form__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; padding: 10px 18px; border-radius: 100px; border: 1px solid rgba(245, 239, 231, .3); font-size: 13px; cursor: pointer; transition: background .4s, color .4s, border-color .4s; }
.form__chips input:checked + span { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.form__chips input:focus-visible + span { outline: 2px solid var(--peach); outline-offset: 2px; }
.form .btn { align-self: flex-start; margin-top: 10px; }
.form__ok { max-height: 0; overflow: hidden; opacity: 0; color: var(--peach-soft); transition: opacity .6s, max-height .6s; }
.form.is-sent .form__ok { opacity: 1; max-height: 40px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--ivory); padding: 90px var(--pad) 28px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.footer__claim { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; }
.footer__claim em { color: var(--peach); }
.footer__cols { display: flex; gap: clamp(30px, 6vw, 100px); flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__cols span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 239, 231, .45); margin-bottom: 8px; }
.footer__cols a { opacity: .85; transition: opacity .3s, color .3s; }
.footer__cols a:hover { opacity: 1; color: var(--peach); }
.footer__word { display: flex; justify-content: center; font-family: var(--serif); font-size: 29vw; line-height: 1; letter-spacing: -.045em; margin: 40px 0 10px; overflow: hidden; padding: .02em 0 .16em; }
.footer__word span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; font-size: 13px; color: rgba(245, 239, 231, .55); border-top: 1px solid rgba(245, 239, 231, .12); padding-top: 22px; }
.to-top:hover { color: var(--peach); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .hero__content { justify-content: flex-start; padding-top: 140px; }
  .hero__bottom { max-width: 100%; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__text { grid-column: 1 / -1; grid-row: auto; padding-top: 0; order: -1; }
  .about__img--a { grid-column: 1; }
  .about__img--b { grid-column: 2; margin-top: 30%; }
  .service { grid-template-columns: 50px 1fr 40px; }
  .service__desc { grid-column: 2; grid-row: 2; }
  .service__arrow { grid-row: 1; grid-column: 3; }
  .process { grid-template-columns: 1fr; }
  .process__side { position: relative; top: 0; }
  .process__line { display: none; }
  .process__steps { padding-left: 0; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .hero__content { padding-top: 110px; }
  .hero__bottom { margin-top: 28px; gap: 24px; }
  .hero__lead { font-size: 14px; }
  .hero__bottom .btn { display: none; }
  .services { border-radius: 24px 24px 0 0; }
  .services__head { grid-template-columns: 1fr; }
  .services__intro { justify-self: start; }
  .service { gap: 6px 16px; padding: 28px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 24px; }
  .statement { height: 90vh; }
  .statement__media { clip-path: inset(10% 16px round 20px); }
  .step { grid-template-columns: 60px 1fr; padding: 32px 0; }
  .step__num { font-size: 34px; }
  .form__row { grid-template-columns: 1fr; }
  .reviews__btn { width: 50px; height: 50px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Landscape tablet / small laptop: copy on the left, photo card on the right */
@media (max-width: 1024px) and (min-width: 681px) and (orientation: landscape) {
  .hero__content { justify-content: center; padding-top: 100px; }
  .hero__title { font-size: clamp(56px, 9vw, 120px); }
  .hero__bottom { max-width: 55%; }
}

/* ---------- Services: tabs, panels, packages ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tab {
  padding: 16px 28px; border-radius: 100px;
  border: 1px solid rgba(245, 239, 231, .25);
  color: rgba(245, 239, 231, .75); font-size: 16px; letter-spacing: .01em;
  transition: background .45s var(--ease), color .45s, border-color .45s;
}
.tab:hover { border-color: var(--peach); color: var(--ivory); }
.tab.is-active { background: var(--peach); border-color: var(--peach); color: var(--ink); }
.tab:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
.panel[hidden] { display: none; }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 70px; background: rgba(245, 239, 231, .15); border: 1px solid rgba(245, 239, 231, .15); border-radius: 20px; overflow: hidden; }
.package { background: var(--ink); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.package__k { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); line-height: 1.05; color: var(--peach); }
.package p { color: rgba(245, 239, 231, .65); font-size: 15px; }

/* ---------- Visualisations ---------- */
.viz { padding: clamp(100px, 13vw, 190px) var(--pad); background: var(--ivory); }
.viz__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: clamp(50px, 7vw, 100px); }
.viz__head .eyebrow { grid-column: 1 / -1; }
.viz__intro { max-width: 440px; justify-self: end; color: var(--ink-soft); }
.viz__pair { max-width: 1100px; margin-left: auto; margin-right: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 44px); }
.viz__pair + .viz__pair { margin-top: clamp(50px, 7vw, 100px); }
.viz__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; }
.viz__img img { width: 100%; height: 115%; object-fit: cover; }
.viz__item figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.viz__item figcaption span { font-family: var(--serif); font-style: italic; font-size: 26px; letter-spacing: 0; color: var(--peach); text-transform: none; }
.viz__arrow { font-family: var(--serif); font-size: clamp(40px, 5vw, 80px); color: var(--peach); line-height: 1; }

.step__note { margin-top: 8px; font-size: 13px; font-style: italic; }
.step sup { font-size: .5em; color: var(--peach); }
.form__hint { margin-top: -12px; font-size: 13px; color: rgba(245, 239, 231, .6); }

@media (max-width: 1024px) {
  .packages { grid-template-columns: 1fr; }
  .viz__head { grid-template-columns: 1fr; }
  .viz__intro { justify-self: start; }
}
@media (max-width: 680px) {
  .tab { padding: 11px 16px; font-size: 13px; }
  .viz__pair { grid-template-columns: 1fr; }
  .viz__arrow { justify-self: center; transform: rotate(90deg) !important; }
}

.credit a { color: var(--ivory); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.credit a:hover { color: var(--peach); background-size: 100% 1px; }

/* Footer logo instead of the wordmark */
.footer__word { font-size: 0; padding: 0; margin: 70px 0 40px; }
.footer__logo { display: block; width: min(860px, 88%); aspect-ratio: 1400 / 586; margin: 0 auto; background: var(--ivory); -webkit-mask: url("../img/logo-jurmir-2.png") center / contain no-repeat; mask: url("../img/logo-jurmir-2.png") center / contain no-repeat; }

/* =========================================================
   SUBPAGES & SHARED COMPONENTS
   ========================================================= */

/* ---------- Nav: hamburger on every screen ---------- */
.nav__right { display: flex; align-items: center; gap: 14px; }
.burger { display: block; }
.burger i { left: 14px; right: 14px; }
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 22.5px; transition: opacity .3s, transform .5s var(--ease); }
.burger i:nth-child(3) { top: 29px; }
.menu-open .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__links a[aria-current="page"] span { color: var(--forest-2); }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 1px; background: currentColor; margin-top: -2px; }
.menu__links a[aria-current="page"] .menu__label em, .menu__links a[aria-current="page"] .menu__label > span { color: var(--peach); }
@media (max-width: 1200px) { .nav__links { gap: 22px; } }
@media (max-width: 1100px) { .nav__links { display: none; } }
@media (max-width: 560px) { .nav__cta { display: none; } }
@media (min-width: 1025px) {
  .menu__inner { flex-direction: row; align-items: flex-end; padding: 130px var(--pad) 60px; gap: 80px; }
  .menu__links { flex: 1; max-width: 900px; }
  .menu__foot { width: 340px; }
  .menu__label { font-size: clamp(44px, 5.2vw, 78px); }
}

/* ---------- Page transition ---------- */
.ptrans { position: fixed; inset: 0; z-index: 1001; pointer-events: none; }
.ptrans__panel { position: absolute; left: 0; right: 0; height: 51%; background: var(--ivory); transform: scaleY(0); }
.ptrans__panel--top { top: 0; transform-origin: top; }
.ptrans__panel--bottom { bottom: 0; transform-origin: bottom; }
.ptrans__logo { position: absolute; left: 50%; top: 50%; width: min(300px, 60vw); aspect-ratio: 1400 / 586; transform: translate(-50%, -50%); opacity: 0; background: var(--forest); -webkit-mask: url("../img/logo-jurmir-2.png") center / contain no-repeat; mask: url("../img/logo-jurmir-2.png") center / contain no-repeat; }
.is-leaving .ptrans { pointer-events: auto; }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(50px, 7vw, 100px); }

/* ---------- Page hero ---------- */
.phero { padding: clamp(130px, 16vw, 200px) var(--pad) clamp(60px, 8vw, 110px); }
.phero__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px 60px; align-items: end; }
.phero__eyebrow { grid-column: 1 / -1; gap: 12px; }
.phero__eyebrow a { color: var(--ink-soft); transition: color .3s; }
.phero__eyebrow a:hover { color: var(--peach); }
.phero__eyebrow span { opacity: .5; }
.phero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9.5vw, 168px); line-height: .9; letter-spacing: -.035em; }
.phero__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.phero__title .line > span { display: inline-block; transform: translateY(110%); }
.phero__title em { color: var(--peach); }
.phero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 14px; }
.phero__lead { font-size: 17px; color: var(--ink-soft); max-width: 460px; }
.phero__media { margin-top: clamp(50px, 7vw, 90px); height: clamp(320px, 72vh, 820px); border-radius: var(--radius); overflow: hidden; clip-path: inset(100% 0 0 0 round var(--radius)); background: var(--cream); }
.phero__media img { width: 100%; height: 120%; object-fit: cover; }
.phero--split .phero__head { grid-template-columns: 1fr; }
@media (min-width: 1025px) {
  .phero--split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: end; }
  .phero--split .phero__media { margin-top: 0; height: min(78vh, 760px); }
}
.phero--plain { padding-bottom: clamp(40px, 6vw, 80px); }
.is-return .preloader__bar, .is-return .preloader__meta { display: none; }
.is-return .preloader__logo-fill { clip-path: none !important; }
.is-return .preloader__inner { width: min(300px, 60vw); }

/* ---------- Features (alternating rows) ---------- */
.features { padding: clamp(80px, 11vw, 160px) var(--pad); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.feature + .feature { margin-top: clamp(70px, 10vw, 150px); }
.feature:nth-of-type(even) .feature__media { order: 2; }
.feature__media { aspect-ratio: 4 / 5; max-height: 80vh; }
.feature__body { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.feature__num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--peach); line-height: 1; }
.feature__title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.6vw, 72px); line-height: 1; letter-spacing: -.02em; }
.feature__body > p { color: var(--ink-soft); font-size: 16px; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.ticks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--sand); font-size: 15px; }
.ticks li:last-child { border-bottom: 1px solid var(--sand); }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 12px; color: var(--peach); font-size: 12px; }

/* ---------- Gallery + lightbox ---------- */
.gallery-sec { padding: clamp(70px, 10vw, 150px) var(--pad); }
.gallery-sec--full { padding-top: 0; }
.gallery { columns: 3; column-gap: 18px; }
.gallery--4 { columns: 4; }
.gallery__item { position: relative; display: block; break-inside: avoid; margin-bottom: 18px; border-radius: 16px; overflow: hidden; background: var(--cream); }
.gallery__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 18, 15, .55)); opacity: 0; transition: opacity .5s; }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: var(--ivory); font-family: var(--serif); font-size: 22px; line-height: 1.1; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease-out); }
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
.gallery__item.is-hidden { display: none; }
.gallery-sec__more { margin-top: 40px; display: flex; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-arrow .arrow { font-style: normal; transition: transform .5s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }
.panel__more { margin-top: 34px; color: var(--peach); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { padding: 13px 24px; border-radius: 100px; border: 1px solid var(--sand); font-size: 14px; color: var(--ink-soft); transition: background .4s, color .4s, border-color .4s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.lb { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; background: rgba(15, 14, 12, .94); opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .45s; }
.lb__figure { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 92vw; }
.lb__img { max-width: 92vw; max-height: 80vh; border-radius: 12px; object-fit: contain; }
.lb__cap { color: var(--ivory); font-family: var(--serif); font-size: 24px; text-align: center; }
.lb__count { position: absolute; top: 28px; left: var(--pad); color: rgba(245, 239, 231, .6); font-size: 13px; letter-spacing: .15em; }
.lb__btn { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(245, 239, 231, .3); color: var(--ivory); font-size: 20px; display: grid; place-items: center; transition: background .3s, color .3s; }
.lb__btn:hover { background: var(--ivory); color: var(--ink); }
.lb__close { top: 18px; right: var(--pad); }
.lb__prev { left: var(--pad); top: 50%; transform: translateY(-50%); }
.lb__next { right: var(--pad); top: 50%; transform: translateY(-50%); }
@media (max-width: 680px) { .lb__prev, .lb__next { top: auto; bottom: 24px; transform: none; } .lb__img { max-height: 70vh; } }

/* ---------- People ---------- */
.people { padding: clamp(80px, 11vw, 160px) var(--pad); }
.people__grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.person .reveal-img { aspect-ratio: 3 / 4; }
.person--offset { margin-top: 18%; }
.person__name { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; margin-top: 20px; }
.person__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }
.people__text { display: flex; flex-direction: column; gap: 22px; color: var(--ink-soft); padding-top: 10%; }
.people__text .lead { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; color: var(--ink); }

/* ---------- Values ---------- */
.values { padding: clamp(90px, 12vw, 170px) var(--pad); background: var(--forest); color: var(--ivory); border-radius: 36px; margin: 0 clamp(8px, 1.5vw, 20px); }
.values .title em { color: var(--peach); }
.values__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(245, 239, 231, .14); border: 1px solid rgba(245, 239, 231, .14); border-radius: 20px; overflow: hidden; }
.value { background: var(--forest); padding: 34px 26px 40px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.value__num { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--peach); }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; margin-top: auto; }
.value p { color: rgba(245, 239, 231, .7); font-size: 15px; }
.about--stats { padding-top: 0; }
.about--stats .stats { margin-top: clamp(70px, 9vw, 130px); }

/* ---------- Packages (light page section) ---------- */
.packages-sec { padding: clamp(90px, 12vw, 170px) var(--pad); background: var(--ink); color: var(--ivory); }
.packages-sec .title em { color: var(--peach); }
.packages-sec .packages { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 11vw, 160px) var(--pad); display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq__item { border-top: 1px solid var(--sand); }
.faq__item:last-child { border-bottom: 1px solid var(--sand); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sand); transition: background .4s, border-color .4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .4s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--peach); border-color: var(--peach); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 60px 30px 0; color: var(--ink-soft); max-width: 640px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 clamp(8px, 1.5vw, 20px) clamp(8px, 1.5vw, 20px); }
.cta-band__inner { background: var(--forest); color: var(--ivory); border-radius: 36px; padding: clamp(90px, 12vw, 170px) var(--pad); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.cta-band__inner .eyebrow { justify-content: center; }
.cta-band__title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8vw, 130px); line-height: .92; letter-spacing: -.03em; }
.cta-band__title em { color: var(--peach); }
.cta-band__actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.cta-band__phone { font-family: var(--serif); font-size: 28px; border-bottom: 1px solid rgba(245, 239, 231, .3); }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(50px, 6vw, 80px); }
.ccard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border: 1px solid var(--sand); border-radius: 20px; transition: background .5s var(--ease), color .5s, border-color .5s; }
.ccard:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.ccard__k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); transition: color .5s; }
.ccard:hover .ccard__k { color: var(--peach); }
.ccard__v { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; word-break: break-word; }
.ccard__arrow { position: absolute; top: 22px; right: 22px; transition: transform .5s var(--ease); }
.ccard:hover .ccard__arrow { transform: rotate(45deg); }
.next-steps { padding: clamp(80px, 11vw, 160px) var(--pad); }
.next-steps__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.next-steps__list li { border-top: 1px solid var(--sand); padding-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.next-steps__list span { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--peach); }
.next-steps__list h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.next-steps__list p { color: var(--ink-soft); }

/* ---------- Responsive for subpages ---------- */
@media (max-width: 1024px) {
  .phero__head { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature__media { order: 0; }
  .feature__media { aspect-ratio: 4 / 3; }
  .gallery, .gallery--4 { columns: 2; }
  .people__grid { grid-template-columns: 1fr 1fr; }
  .people__text { grid-column: 1 / -1; order: -1; padding-top: 0; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .value { min-height: 0; }
  .faq { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .next-steps__list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .gallery, .gallery--4 { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; border-radius: 12px; }
  .gallery__cap { display: none; }
  .values__grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .faq__a p { padding-right: 0; }
  .phero__media { height: 56vh; }
  .person--offset { margin-top: 30%; }
  .cta-band__inner, .values { border-radius: 24px; }
}
.nav__links, .nav__cta { transition: opacity .4s; }
.menu-open .nav__links, .menu-open .nav__cta { opacity: 0; pointer-events: none; }
@media (min-width: 1025px) { .menu__label { font-size: clamp(40px, 4.4vw, 66px); } }
.service { cursor: pointer; }
.service__link { color: inherit; }
.feature { scroll-margin-top: 110px; }

/* ---------- Wybrane historie: swipeable carousel (no scroll-jacking) ---------- */
.work { padding: clamp(90px, 11vw, 160px) 0 clamp(70px, 9vw, 130px); }
.work__wrap { position: relative; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 70px); }
.work__intro { width: auto; padding: 0 var(--pad); display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.work__intro .eyebrow { flex-basis: 100%; }
.work__controls { display: flex; align-items: center; gap: 22px; }
.work__btns { display: flex; gap: 10px; }
.work__btn { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(27, 25, 22, .3); font-size: 18px; transition: background .4s, color .4s, opacity .3s; }
.work__btn:hover { background: var(--ink); color: var(--ivory); }
.work__btn:disabled { opacity: .3; pointer-events: none; }
.work__track { display: flex; align-items: flex-start; gap: clamp(18px, 2.4vw, 40px); padding: 0 var(--pad); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; will-change: auto; }
.work__track::-webkit-scrollbar { display: none; }
.work__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.work__track.is-dragging * { pointer-events: none; }
.work__track:focus-visible { outline: 2px solid var(--peach); outline-offset: 6px; }
.card { scroll-snap-align: start; }
.card__img img { width: 100%; user-select: none; -webkit-user-drag: none; }
.card--end { align-self: stretch; min-height: 380px; }
.work__progress { position: relative; left: auto; right: auto; bottom: auto; margin: 0 var(--pad); }
@media (max-width: 680px) {
  .work__hint span { display: none; }
  .work__btn { width: 48px; height: 48px; }
  .card { width: 78vw; }
  .card--tall { width: 64vw; }
  .card--end { width: 78vw; min-height: 300px; }
}

/* ---------- Smooth photo appearance ---------- */
main img.img-fade { opacity: 0; filter: blur(14px); transition: opacity 1.1s var(--ease-out), filter 1.3s var(--ease-out); }
main img.img-fade.is-in { opacity: 1; filter: blur(0); }
.gallery__item img.img-fade { transition: opacity 1.1s var(--ease-out), filter 1.3s var(--ease-out), transform 1.2s var(--ease-out); }
/* soft placeholders so frames are never empty holes while a photo downloads */
.card__img, .viz__img, .hero__media, .statement__media { background: var(--cream); }
.lb.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(245, 239, 231, .25); border-top-color: var(--peach); animation: lbspin .8s linear infinite; }
@keyframes lbspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { main img.img-fade { opacity: 1; filter: none; } }

/* FAQ — zakończenie z zaproszeniem na konsultację */
.faq__outro { margin-top: 56px; padding: clamp(28px, 4vw, 48px); background: var(--forest); color: var(--ivory); border-radius: 20px; }
.faq__outro h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.faq__outro p { color: rgba(245, 239, 231, .78); max-width: 560px; margin-bottom: 28px; }

/* Szkolenia (O nas) */
.trainings { padding: 0 var(--pad) clamp(90px, 12vw, 170px); }
.trainings .section-head .lead { max-width: 560px; }
.trainings__grid.gallery { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.training { display: flex; flex-direction: column; gap: 12px; }
.training .gallery__item { margin-bottom: 14px; aspect-ratio: 3 / 4; }
.training .gallery__item img { height: 100%; object-fit: cover; }
.training__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-2); }
.training h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; }
.training p { color: var(--ink-soft); max-width: 420px; }
.trainings__more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(10px, 2vw, 30px); }
.trainings__more .gallery__item { margin: 0; aspect-ratio: 4 / 3; }
.trainings__more .gallery__item img { height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .trainings__grid.gallery { grid-template-columns: 1fr; }
  .trainings__more { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .trainings__more .gallery__item { aspect-ratio: 1; border-radius: 10px; }
}
