/* =========================================================
   Marina Vale — Portfolio
   ========================================================= */

:root {
  --bg: #f4f2ee;
  --bg-2: #ebe8e2;
  --ink: #141414;
  --ink-2: #3a3936;
  --muted: #7a766f;
  --line: rgba(20, 20, 20, .12);
  --accent: #a5643f;
  --dark: #121211;
  --light: #f4f2ee;

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1520px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
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 {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.no-scroll { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
::selection { background: var(--ink); color: var(--bg); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 180px); }

/* ---------- Typography ---------- */
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(244, 242, 238, .75); }

.h2 {
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 400;
  margin: 20px 0 0; max-width: 16ch;
}
.h2 em { font-size: 1.06em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; margin: 18px 0 12px; }

/* ---------- Links & buttons ---------- */
.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; padding-bottom: 4px;
}
.link-arrow::after {
  content: ""; width: 18px; height: 1px; background: currentColor;
  transition: width .5s var(--ease-out);
}
.link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.link-arrow:hover::after, a:hover > .link-arrow::after { width: 34px; }
.link-arrow:hover::before, a:hover > .link-arrow::before { transform: scaleX(1); transform-origin: left; }
.link-arrow--light { color: var(--light); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 100px; overflow: hidden;
  background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  isolation: isolate; transition: color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn span { display: inline-block; transition: transform .4s var(--ease-out); }
.btn--small { height: 42px; padding: 0 22px; }
.btn--light { background: var(--light); color: var(--ink); }
.btn--light:hover { color: var(--light); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  transition: background .3s var(--ease);
}
.icon-btn:hover { background: rgba(127, 127, 127, .15); }

.slider-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.slider-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slider-btn.swiper-button-disabled { opacity: .3; pointer-events: none; }
.arr { position: relative; width: 16px; height: 1px; background: currentColor; display: block; }
.arr::after {
  content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.arr--l { transform: rotate(180deg); }
.arr--up { transform: rotate(-90deg); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--dark); color: var(--light);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter);
  transition: transform 1.1s var(--ease-io);
}
.loader__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.loader__name { font-family: var(--serif); font-style: italic; font-size: clamp(32px, 5vw, 64px); line-height: 1; }
.loader__count { font-size: clamp(56px, 12vw, 180px); line-height: .8; letter-spacing: -.05em; font-weight: 300; font-variant-numeric: tabular-nums; }
.loader__bar { margin-top: 28px; height: 1px; background: rgba(255, 255, 255, .15); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--light); }
body.is-loaded .loader { transform: translateY(-100%); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ink); mix-blend-mode: normal;
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), opacity .3s, background .3s;
  opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor__label { font-size: 12px; font-weight: 500; color: var(--bg); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.has-label { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--accent); }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.is-down { transform: scale(.85); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--light);
  transition: transform .6s var(--ease-out), color .4s var(--ease), background .4s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; background: var(--bg);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out);
  border-bottom: 1px solid var(--line);
}
.header.is-solid, .header.is-open { color: var(--ink); }
.header.is-solid::before, .header.is-open::before { transform: scaleY(1); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  position: relative; height: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 17px; letter-spacing: .02em;
}
.logo__text { display: flex; flex-direction: column; font-size: 15px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.logo__text small { font-size: 11px; font-weight: 400; opacity: .65; letter-spacing: .02em; }

.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 8px; height: var(--header-h);
  padding: 0 16px; font-size: 14px; font-weight: 500; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 26px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__link:hover::after, .nav__item.is-open .nav__link::after { transform: scaleX(1); transform-origin: left; }
.chev { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease-out); }
.nav__item.is-open .chev { transform: translateY(1px) rotate(-135deg); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header:not(.is-solid):not(.is-open) .btn--small { background: var(--light); color: var(--ink); }
.header:not(.is-solid):not(.is-open) .btn--small:hover { color: var(--light); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease-out), visibility 0s .6s;
}
.nav__item.is-open .mega { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
.mega__inner {
  max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 56px;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 48px;
}
.mega__col { display: flex; flex-direction: column; gap: 4px; }
.mega__col, .mega__card { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s var(--ease-out); }
.nav__item.is-open .mega__col, .nav__item.is-open .mega__card { opacity: 1; transform: none; transition: opacity .7s .15s, transform .8s .15s var(--ease-out); }
.nav__item.is-open .mega__col + .mega__col { transition-delay: .22s; }
.nav__item.is-open .mega__card { transition-delay: .3s; }
.mega__title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mega__col a { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.5; width: fit-content; transition: color .3s, transform .4s var(--ease-out); }
.mega__col a:hover { color: var(--accent); transform: translateX(8px); }
.mega__card { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; align-content: start; }
.mega__card-img { grid-row: span 3; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; }
.mega__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mega__card:hover img { transform: scale(1.06); }
.mega__card-title { font-size: 20px; letter-spacing: -.02em; }
.mega__card-text { font-size: 14px; color: var(--muted); line-height: 1.5; }
.mega__card .link-arrow { align-self: end; }

.backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 10, .45);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.backdrop.is-visible { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }

/* Burger & mobile menu */
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }
.burger.is-active span:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-active span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.mobile-menu__nav > * { opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .4s; }
.mobile-menu.is-open .mobile-menu__nav > * { opacity: 1; transform: none; transition: opacity .8s, transform .9s var(--ease-out); }
.mobile-menu.is-open .mobile-menu__nav > *:nth-child(1) { transition-delay: .25s; }
.mobile-menu.is-open .mobile-menu__nav > *:nth-child(2) { transition-delay: .3s; }
.mobile-menu.is-open .mobile-menu__nav > *:nth-child(3) { transition-delay: .35s; }
.mobile-menu.is-open .mobile-menu__nav > *:nth-child(4) { transition-delay: .4s; }
.mobile-menu.is-open .mobile-menu__nav > *:nth-child(5) { transition-delay: .45s; }
.m-link, .m-acc__head {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  font-size: 34px; letter-spacing: -.03em; line-height: 1; padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left;
}
.plus { position: relative; width: 14px; height: 14px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.m-acc.is-open .plus::after { transform: rotate(0); }
.m-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.m-acc.is-open .m-acc__body { grid-template-rows: 1fr; }
.m-acc__body > div { overflow: hidden; display: flex; flex-direction: column; }
.m-acc__body a { padding: 10px 0; font-size: 18px; color: var(--ink-2); }
.m-acc__body a:first-child { padding-top: 18px; }
.m-acc__body a:last-child { padding-bottom: 18px; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); margin-top: 40px; }

/* ---------- Search ---------- */
.search {
  position: fixed; inset: 0; z-index: 200; background: rgba(244, 242, 238, .97);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
  overflow-y: auto;
}
.search.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.search__inner { max-width: 1100px; margin: 0 auto; padding: 16vh var(--gutter) 80px; transform: translateY(30px); transition: transform .8s var(--ease-out); }
.search.is-open .search__inner { transform: none; }
.search__field { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.search__field input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--ink);
  font-size: clamp(24px, 4vw, 48px); letter-spacing: -.03em;
}
.search__field input::placeholder { color: rgba(20, 20, 20, .3); }
.search__field input::-webkit-search-cancel-button { display: none; }
.search__close { font-size: 13px; font-weight: 500; color: var(--muted); }
.search__close:hover { color: var(--ink); }
.search__suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.search__suggest span { margin-right: 6px; }
.search__suggest button { border: 1px solid var(--line); border-radius: 100px; padding: 6px 16px; transition: background .3s, color .3s; }
.search__suggest button:hover { background: var(--ink); color: var(--bg); }
.search__results { list-style: none; margin: 40px 0 0; padding: 0; }
.search__results li { opacity: 0; transform: translateY(10px); animation: resultIn .6s var(--ease-out) forwards; animation-delay: calc(var(--i) * 50ms); }
.search__results a { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease-out); }
.search__results a:hover { padding-left: 12px; }
.search__results .r-type { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search__results .r-title { font-size: 22px; letter-spacing: -.02em; }
.search__results .r-desc { font-size: 14px; color: var(--muted); }
.search__results .r-empty { padding: 20px 0; color: var(--muted); }
@keyframes resultIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--dark); color: var(--light); overflow: hidden; }
.hero__swiper { height: 100%; }
.hero__slide { position: relative; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.55) 100%); }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s var(--ease); }
.swiper-slide-active .hero__media img, .swiper-slide-active .hero__media video { transform: scale(1); }
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(110px, 16vh, 170px); z-index: 2; }
.hero__title {
  font-size: clamp(44px, 8vw, 128px); line-height: .96; letter-spacing: -.045em; font-weight: 400;
  margin: 22px 0 36px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__anim { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
.hero__cta.hero__anim { transition-delay: .35s; }
.hero__ready .swiper-slide-active .hero__title .line > span { transform: none; transition-delay: .25s; }
.hero__ready .swiper-slide-active .hero__title .line:nth-child(2) > span { transition-delay: .35s; }
.hero__ready .swiper-slide-active .hero__anim { opacity: 1; transform: none; transition-delay: .4s; }
.hero__ready .swiper-slide-active .hero__cta.hero__anim { transition-delay: .65s; }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero .eyebrow { color: rgba(244, 242, 238, .8); }

.play-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; }
.play-ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); position: relative; transition: transform .5s var(--ease-out), background .4s; }
.play-ico::after { content: ""; position: absolute; left: 21px; top: 18px; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; transition: border-color .4s; }
.play-link:hover .play-ico { transform: scale(1.1); background: var(--light); }
.play-link:hover .play-ico::after { border-left-color: var(--ink); }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero__pagination { display: flex; gap: 14px; flex: 1; max-width: 520px; }
.hero__bullet { flex: 1; text-align: left; padding-top: 14px; position: relative; font-size: 12px; letter-spacing: .08em; color: rgba(244,242,238,.55); transition: color .4s; }
.hero__bullet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(244,242,238,.25); }
.hero__bullet i { position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--light); }
.hero__bullet.is-active { color: var(--light); }
.hero__bullet.is-done i { width: 100%; }
.hero__pause { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; opacity: .85; }
.hero__pause:hover { opacity: 1; }
.i-pause { width: 10px; height: 12px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.hero__pause.is-paused .i-pause { width: 0; height: 0; border-right: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hero__scroll { position: absolute; right: var(--gutter); top: 50%; z-index: 5; width: 1px; height: 80px; background: rgba(255,255,255,.25); overflow: hidden; display: none; }
.hero__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 30px; background: var(--light); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(280%); } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* clip lives on the image, not the observed box: a fully clipped target never intersects */
[data-reveal="clip"] { opacity: 1; transform: none; }
[data-reveal="clip"] img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.5s var(--ease-io), transform 2s var(--ease-out); }
[data-reveal="clip"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1.08); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 72px); }
.intro__item { border-top: 1px solid var(--line); padding-top: 28px; }
.intro__item p { color: var(--muted); margin: 0 0 24px; max-width: 38ch; }

/* ---------- Manifesto ---------- */
.manifesto { padding-top: 0; }
.manifesto__text {
  font-size: clamp(28px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -.035em; margin: 0; max-width: 22ch;
}
.manifesto__text .w { opacity: .14; transition: opacity .3s linear; }
.manifesto__text .w.is-on { opacity: 1; }

/* ---------- Process (sticky) ---------- */
.process { position: relative; height: calc(var(--steps) * 100vh); background: var(--dark); color: var(--light); }
.process__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.process__grid { display: grid; grid-template-columns: 1fr 1.1fr 56px; gap: clamp(32px, 5vw, 96px); align-items: center; }
.process .h2 { margin-bottom: clamp(32px, 6vh, 72px); }
.process__texts { display: grid; }
.process__text { grid-area: 1 / 1; max-width: 42ch; }
.process__text > * { opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.process__text.is-active > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); }
.process__text.is-active h3 { transition-delay: .08s; }
.process__text.is-active p { transition-delay: .16s; }
.process__num { display: block; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.process__text h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.02em; margin: 6px 0 10px; }
.process__text p { color: rgba(244,242,238,.65); margin: 0; }
.process__visual { position: relative; aspect-ratio: 4/5; max-height: 76vh; width: 100%; overflow: hidden; border-radius: 4px; justify-self: end; }
.process__img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io); }
.process__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 1.6s var(--ease-out); }
.process__img.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.process__img.is-active img { transform: scale(1); }
.process__img.was-active { clip-path: inset(0 0 0 0); z-index: 1; }
.process__pager { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; font-size: 12px; letter-spacing: .08em; padding-left: 20px; }
.process__pager span { color: rgba(244,242,238,.35); transition: color .4s; }
.process__pager span.is-active { color: var(--light); }
.process__track { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(244,242,238,.2); }
.process__track i { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--light); }

/* ---------- Split ---------- */
.split__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.split__row + .split__row { margin-top: clamp(80px, 12vw, 180px); }
.split__row--rev .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 5/6; overflow: hidden; border-radius: 4px; }
.split__media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.split__content p { color: var(--muted); max-width: 46ch; margin: 28px 0 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.stats strong { display: block; font-size: clamp(36px, 4vw, 56px); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13px; color: var(--muted); }
.line-shape { position: absolute; left: 32px; bottom: 0; width: 1px; height: 80px; background: var(--light); z-index: 2; }
.is-in .line-shape { animation: lineGrow 4s var(--ease-io) .8s forwards; }
@keyframes lineGrow { 0% { height: 80px; } 15% { height: 60%; } 35% { height: 80px; } 65% { height: 60%; } 100% { height: 60%; } }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.slider-nav { display: flex; gap: 10px; }

/* ---------- Services cards ---------- */
.services { background: var(--bg-2); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.card { display: block; }
.card__img { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; margin-bottom: 24px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); filter: saturate(.85); transition: transform 1.4s var(--ease-out), filter .8s; }
.card:hover .card__img img { transform: scale(1.07); filter: saturate(1); }
.card__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent); }
.card__title { font-size: clamp(22px, 2vw, 30px); font-weight: 400; letter-spacing: -.02em; margin: 4px 0 10px; }
.card p { color: var(--muted); margin: 0 0 20px; max-width: 40ch; }

/* ---------- Projects slider ---------- */
.projects__swiper { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); overflow: hidden; }
.projects__swiper .swiper-wrapper { cursor: grab; }
.projects__swiper .swiper-wrapper:active { cursor: grabbing; }
.project { width: clamp(280px, 34vw, 560px); }
.project__img { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.4s var(--ease-out); pointer-events: none; }
.project:hover .project__img img { transform: scale(1.06); }
.project__meta { display: flex; justify-content: space-between; margin-top: 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project__title { font-size: clamp(24px, 2.4vw, 36px); font-weight: 400; letter-spacing: -.03em; margin: 6px 0 0; }
.projects__swiper > .projects__bar.swiper-scrollbar { position: relative; left: auto; bottom: auto; width: auto; max-width: calc(var(--max) - var(--gutter) * 2); height: 1px; margin: 56px var(--gutter) 0 0; background: var(--line); border-radius: 0; }
.projects__bar .swiper-scrollbar-drag { background: var(--ink); border-radius: 0; height: 3px; top: -1px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 34px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee__group span { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.03em; white-space: nowrap; }
.marquee__group span:nth-child(4n+1) { font-family: var(--serif); font-style: italic; }
.marquee__group i { font-style: normal; color: var(--accent); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.testimonials { text-align: left; }
.testi__swiper { margin-top: 40px; }
.testi { background: var(--bg); }
.testi__quote { font-size: clamp(26px, 3.6vw, 54px); line-height: 1.14; letter-spacing: -.03em; margin: 0; max-width: 24ch; }
.testi__author { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.testi__author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testi__author strong { display: block; font-weight: 500; }
.testi__author span { font-size: 14px; color: var(--muted); }
.testi__quote, .testi__author { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
.swiper-slide-active .testi__quote, .swiper-slide-active .testi__author { opacity: 1; transform: none; transition-delay: .2s; }
.swiper-slide-active .testi__author { transition-delay: .35s; }
.testi__nav { display: flex; align-items: center; gap: 20px; margin-top: 56px; }
.testi__fraction { font-size: 13px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }

/* ---------- Journal ---------- */
.journal { padding-top: 0; }
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.post__img { aspect-ratio: 3/2; overflow: hidden; border-radius: 4px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.post:hover .post__img img { transform: scale(1.06); }
.post__meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.tag { border: 1px solid var(--line); border-radius: 100px; padding: 3px 12px; font-size: 12px; color: var(--ink); }
.post__title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; margin: 14px 0 10px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease-out); display: inline; }
.post:hover .post__title { background-size: 100% 1px; }
.post p { color: var(--muted); margin: 14px 0 0; font-size: 15px; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); }
.cta__col { position: relative; min-height: clamp(380px, 52vw, 640px); overflow: hidden; display: flex; align-items: flex-end; color: var(--light); padding: clamp(32px, 4vw, 64px); }
.cta__col + .cta__col { border-left: 1px solid rgba(255,255,255,.1); }
.cta__col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease-out); }
.cta__col:hover img { opacity: .7; transform: scale(1); }
.cta__col::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0) 60%); }
.cta__content { position: relative; z-index: 2; }
.cta__title { font-size: clamp(32px, 4.4vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 28px; max-width: 12ch; transition: transform .8s var(--ease-out); }
.cta__col:hover .cta__title { transform: translateY(-6px); }

/* ---------- Newsletter ---------- */
.newsletter__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.news-form__row { display: flex; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.news-form__row input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 20px; color: var(--ink); }
.news-form__row input::placeholder { color: rgba(20,20,20,.35); }
.news-form.is-error .news-form__row { border-color: #b3261e; animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--ink); margin-top: 3px; }
.news-form__msg { min-height: 1.6em; margin: 14px 0 0; font-size: 14px; }
.news-form__msg.is-ok { color: #2f6b3a; }
.news-form__msg.is-err { color: #b3261e; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--light); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.footer__brand p { color: rgba(244,242,238,.55); font-size: 14px; margin: 28px 0 0; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; }
.footer__cols span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,242,238,.45); margin-bottom: 8px; }
.footer__cols a { font-size: 15px; width: fit-content; transition: color .3s, transform .4s var(--ease-out); }
.footer__cols a:hover { color: var(--accent); transform: translateX(4px); }
.footer__word { font-size: clamp(64px, 17.5vw, 300px); line-height: .8; letter-spacing: -.06em; white-space: nowrap; margin: clamp(48px, 8vw, 120px) 0 0; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(244,242,238,.25); transform: translateY(var(--fy, 30%)); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 28px 0 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(244,242,238,.55); position: relative; }
.footer__legal, .footer__social { display: flex; gap: 22px; }
.footer__bottom a:hover { color: var(--light); }
.to-top { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: var(--light); transition: background .4s, color .4s; }
.to-top:hover { background: var(--light); color: var(--ink); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,10,.92); display: grid; place-items: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.modal__box { position: relative; width: min(1200px, 100%); transform: translateY(40px) scale(.97); transition: transform .8s var(--ease-out); }
.modal.is-open .modal__box { transform: none; }
.modal__box video { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 4px; }
.modal__close { position: absolute; right: 0; top: -40px; color: var(--light); font-size: 13px; font-weight: 500; }

/* ---------- Responsive ---------- */
@media (min-width: 1100px) { .hero__scroll { display: block; } }

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav, .header__actions .btn--small { display: none; }
  .burger { display: block; }
  .intro__grid, .services__grid, .journal__grid { grid-template-columns: 1fr 1fr; }
  .intro__item:last-child, .journal .post:last-child { grid-column: span 2; }
  .split__row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr; }
  .newsletter__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .intro__grid, .services__grid, .journal__grid { grid-template-columns: 1fr; }
  .intro__item:last-child, .journal .post:last-child { grid-column: auto; }
  .split__row, .split__row--rev { grid-template-columns: 1fr; }
  .split__row--rev .split__media { order: 0; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .hero__controls { bottom: 24px; }
  .hero__pause-label { display: none; }
  .hero__cta { gap: 18px; }

  .process__grid { grid-template-columns: 1fr; gap: 24px; align-content: center; }
  .process .h2 { margin-bottom: 0; font-size: 34px; }
  .process__visual { order: -1; aspect-ratio: 4/3; max-height: 34vh; justify-self: stretch; }
  .process__pager { display: none; }
  .process__head .eyebrow { display: none; }

  .cta { grid-template-columns: 1fr; }
  .cta__col + .cta__col { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .stats { gap: 12px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .to-top { position: absolute; right: 0; top: 24px; }
  .search__results a { grid-template-columns: 1fr; gap: 4px; }
  .news-form__row { flex-direction: column; align-items: stretch; }
  .news-form__row input { padding: 8px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}
