/* =========================================================
   HEAVENLIT — Fotografia & Filme · Belém do Pará
   ========================================================= */

:root {
  --paper: #ffffff;
  --paper-2: #f0f0f0;
  --ink: #0e0e0e;
  --ink-soft: #545454;
  --ink-mute: #9b9b9b;
  --line: rgba(14, 14, 14, 0.12);
  --night: #0b0b0b;
  --night-2: #161616;
  --on-night: #f4f4f4;
  --on-night-soft: rgba(244, 244, 244, 0.58);
  --gold: var(--ink); /* accent = tinta (monocromático) */

  --f-display: "Gambetta", "Times New Roman", serif;
  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::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(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

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

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.display em { font-style: italic; }
.d-xxl { font-size: clamp(64px, 13vw, 220px); line-height: 0.86; }
.d-xl  { font-size: clamp(48px, 8.4vw, 136px); }
.d-l   { font-size: clamp(40px, 5.6vw, 92px); }
.d-m   { font-size: clamp(32px, 3.8vw, 60px); line-height: 1.02; }
.d-s   { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-soft); max-width: 34em; }
.body-text p { margin: 0 0 1.1em; color: var(--ink-soft); max-width: 36em; }
.body-text p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft);
}
.section-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.on-night .section-label { color: var(--on-night-soft); }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(96px, 14vw, 200px); position: relative; }
.section--tight { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-night { background: var(--night); color: var(--on-night); }
.on-night .lead, .on-night .body-text p { color: var(--on-night-soft); }

/* ---------- Links & buttons ---------- */
.link-line {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 0;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform 0.7s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }
.link-line .arrow { transition: transform 0.6s var(--ease); }
.link-line:hover .arrow { transform: translateX(6px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 32px; border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.6s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.on-night .btn::before, .btn--light::before { background: var(--on-night); }
.on-night .btn:hover, .btn--light:hover { color: var(--night); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: transform 0.7s var(--ease), color 0.4s, background-color 0.4s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-light { color: var(--on-night); }
.site-header.is-light.is-solid { background: color-mix(in srgb, var(--night) 70%, transparent); }
.menu-toggle { justify-self: start; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 450; letter-spacing: 0.14em; text-transform: uppercase; }
.menu-toggle .bars { width: 22px; height: 8px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { bottom: 0; }
.menu-toggle:hover .bars::after { transform: scaleX(0.6); transform-origin: left; }
.logo {
  font-family: var(--f-sans); font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase;
  font-size: clamp(15px, 1.6vw, 22px); padding-left: 0.42em; /* optical center */
}
.header-right { justify-self: end; display: flex; align-items: center; gap: 28px; font-size: 13px; }
.header-right a { opacity: 0.85; transition: opacity 0.3s; }
.header-right a:hover { opacity: 1; }
.header-cta { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 450; }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--night); color: var(--on-night);
  clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-in-out);
  display: grid; grid-template-columns: 1fr 1fr; pointer-events: none;
}
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu-top { position: absolute; inset: 0 0 auto 0; height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); }
.menu-close { justify-self: start; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; gap: 12px; align-items: center; }
.menu-close .x { width: 16px; height: 16px; position: relative; }
.menu-close .x::before, .menu-close .x::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: currentColor; transform: rotate(45deg); }
.menu-close .x::after { transform: rotate(-45deg); }
.menu-nav { align-self: center; padding: calc(var(--header-h) + 24px) var(--gutter) 40px; display: flex; flex-direction: column; }
.menu-nav a {
  font-family: var(--f-display); font-size: clamp(44px, 6.4vw, 104px); line-height: 1.02;
  display: flex; align-items: baseline; gap: 18px; overflow: hidden; color: var(--on-night-soft);
  transition: color 0.4s;
}
.menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--on-night); }
.menu-nav a span.n { font-family: var(--f-mono); font-size: 12px; color: var(--on-night-soft); transform: translateY(-1.4em); }
.menu-nav a .t { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.menu.is-open .menu-nav a .t { transform: translateY(0); }
.menu.is-open .menu-nav a:nth-child(2) .t { transition-delay: 0.06s; }
.menu.is-open .menu-nav a:nth-child(3) .t { transition-delay: 0.12s; }
.menu.is-open .menu-nav a:nth-child(4) .t { transition-delay: 0.18s; }
.menu.is-open .menu-nav a:nth-child(5) .t { transition-delay: 0.24s; }
.menu.is-open .menu-nav a:nth-child(6) .t { transition-delay: 0.30s; }
.menu-visual { position: relative; overflow: hidden; }
.menu-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.8s var(--ease), transform 1.6s var(--ease); }
.menu-visual img.is-active { opacity: 1; transform: scale(1); }
.menu-foot { position: absolute; left: var(--gutter); bottom: 28px; display: flex; gap: 28px; font-size: 13px; color: var(--on-night-soft); }
.menu-foot a:hover { color: var(--on-night); }

/* ---------- Intro loader ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--night); color: var(--on-night);
  display: grid; place-items: center; transition: clip-path 1.2s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.intro.is-done { clip-path: inset(0 0 100% 0); }
.intro-logo { display: flex; overflow: hidden; font-family: var(--f-sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.42em; font-size: clamp(22px, 4vw, 52px); padding-left: 0.42em; }
.intro-logo span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.intro-sub { position: absolute; left: 50%; top: calc(50% + clamp(36px, 5vw, 64px)); transform: translateX(-50%); font-family: var(--f-display); font-style: italic; font-size: clamp(18px, 1.8vw, 24px); color: var(--on-night-soft); opacity: 0; animation: fade 1s 0.9s var(--ease) forwards; white-space: nowrap; }
.intro-count { position: absolute; right: var(--gutter); bottom: 28px; font-family: var(--f-mono); font-size: 12px; color: var(--on-night-soft); }
.intro-place { position: absolute; left: var(--gutter); bottom: 28px; font-family: var(--f-mono); font-size: 12px; color: var(--on-night-soft); }
.intro-bar { position: absolute; left: 0; bottom: 0; height: 1px; background: var(--gold); width: 0; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }

/* Page curtain (between pages) */
.curtain { position: fixed; inset: 0; z-index: 95; background: var(--night); pointer-events: none; clip-path: inset(100% 0 0 0); }
.curtain.is-in { clip-path: inset(0 0 0 0); transition: clip-path 0.8s var(--ease-in-out); }
.curtain.is-out { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-in-out); }

/* ---------- Reveal primitives ---------- */
.r-img { overflow: hidden; position: relative; background: var(--paper-2); }
.r-img img { width: 100%; height: 100%; object-fit: cover; }
.js .r-img { background: transparent; }
.js .r-img img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.4s var(--ease-in-out), transform 2s var(--ease), filter 0.9s var(--ease); }
.js .r-img.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

.js .r-up { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .r-up.is-in { opacity: 1; transform: none; }
.js .r-fade { opacity: 0; transition: opacity 1.4s var(--ease); }
.js .r-fade.is-in { opacity: 1; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .split.is-in .w > span { transform: none; }

/* Black & white → colour on hover (YK) */
.bw img { filter: grayscale(1) contrast(1.04); }
.bw:hover img, .bw:focus-visible img { filter: grayscale(0); }
@media (hover: none) { .bw img { filter: none; } }

/* Scrub text (word by word) */
.scrub .sw { opacity: 0.14; transition: opacity 0.3s linear; }
.scrub .sw.on { opacity: 1; }

/* ---------- HOME · Hero (split, Avagyan) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); min-height: 100svh; }
.hero-text { position: relative; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) var(--gutter) 120px; }
.hero-slides { position: relative; min-height: 380px; }
.hero-slide { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.hero-slide.is-active { pointer-events: auto; }
.hero-slide .eyebrow { display: block; margin-bottom: 28px; color: var(--ink-soft); }
.hero-slide h1, .hero-slide h2 { margin-bottom: 32px; }
.hero-slide .lead { margin-bottom: 36px; }
.hero-slide .line { display: block; overflow: hidden; }
.hero-slide .line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-slide.is-active .line > span { transform: none; transition-delay: calc(var(--d, 0) * 1ms + 200ms); }
.hero-slide.is-leaving .line > span { transform: translateY(-105%); transition-duration: 0.7s; transition-timing-function: var(--ease-in-out); transition-delay: 0s; }
.hero-slide .fade { opacity: 0; transition: opacity 0.6s var(--ease); }
.hero-slide.is-active .fade { opacity: 1; transition: opacity 1s 0.55s var(--ease); }

.hero-controls { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; align-items: center; gap: 24px; }
.hero-count { font-family: var(--f-mono); font-size: 12px; min-width: 56px; }
.hero-bars { display: flex; gap: 6px; flex: 1; max-width: 280px; }
.hero-bars button { flex: 1; height: 20px; position: relative; }
.hero-bars button::before, .hero-bars button i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.hero-bars button i { background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero-bars button.is-done i { transform: scaleX(1); }
.hero-arrows { display: flex; gap: 8px; margin-left: auto; }
.hero-arrows button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background 0.4s, color 0.4s; }
.hero-arrows button:hover { background: var(--ink); color: var(--paper); }

.hero-media { position: relative; overflow: hidden; background: var(--night); min-height: 100svh; }
.hero-media figure { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.4s var(--ease-in-out); }
.hero-media figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 6.5s linear; }
.hero-media figure.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero-media figure.is-active img { transform: scale(1); }
.hero-media figure.is-prev { clip-path: inset(0 0 0 0); z-index: 1; }
.hero-tag { position: absolute; right: var(--gutter); bottom: 40px; z-index: 3; color: #fff; font-family: var(--f-mono); font-size: 12px; text-shadow: 0 1px 12px rgba(0,0,0,0.3); }

/* ---------- Manifesto (YK big type, scrubbed) ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); }
.manifesto .display { font-size: clamp(36px, 5.4vw, 88px); line-height: 1.02; }
.manifesto-aside { padding-top: 0.6em; }

/* ---------- Duo images (Avagyan) ---------- */
.duo { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
.duo .a { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.duo .b { grid-column: 7 / span 5; aspect-ratio: 4 / 5; margin-top: 22vh; }
.duo .cap { grid-column: 1 / span 4; margin-top: 20px; }
.figcap { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.clickable { cursor: zoom-in; }

/* ---------- About teaser ---------- */
.about-teaser { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; }
.about-teaser .img { grid-column: 1 / span 5; aspect-ratio: 3 / 4; }
.about-teaser .txt { grid-column: 7 / span 6; }
.about-teaser .txt .display { margin: 28px 0 40px; }
.signature { font-family: var(--f-display); font-style: italic; font-size: 32px; margin: 36px 0 40px; }

/* ---------- Services index (Lundani) ---------- */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 64px; flex-wrap: wrap; }
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: var(--gutter);
  padding: 36px 0; border-bottom: 1px solid var(--line); position: relative;
}
.service .n { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.service .t { font-family: var(--f-display); font-size: clamp(40px, 6.2vw, 104px); line-height: 1; transition: transform 0.8s var(--ease), color 0.5s; }
.service .d { max-width: 300px; font-size: 14px; color: var(--ink-soft); text-align: right; }
.service-list:hover .service .t { color: var(--ink-mute); }
.service-list .service:hover .t { color: var(--ink); transform: translateX(24px); }
.service .thumb { display: none; }
.cursor-img {
  position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 5; pointer-events: none;
  overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.cursor-img.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.cursor-img img.is-active { opacity: 1; }

/* ---------- Horizontal pinned section ---------- */
.hpin { position: relative; }
.hpin-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hpin-head { display: flex; justify-content: space-between; align-items: end; padding: calc(var(--header-h) + 8px) var(--gutter) 32px; gap: 24px; }
.hpin-track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); will-change: transform; align-items: flex-end; }
.hpin-item { flex: 0 0 auto; height: 58svh; position: relative; }
.hpin-item .r-img { height: 100%; }
.hpin-item img { height: 100%; width: auto; max-width: none; }
.hpin-item.wide { aspect-ratio: 3 / 2; }
.hpin-item.tall { aspect-ratio: 4 / 5; }
.hpin-item.tall.low { height: 46svh; }
.hpin-item .r-img img { width: 100%; }
.hpin-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 20px; font-family: var(--f-mono); font-size: 12px; }
.hpin-progress .bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.hpin-progress .bar i { position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
.on-night .hpin-progress .bar { background: rgba(239,233,223,0.2); }

/* Steps (experience) inside pinned track */
.step-card { flex: 0 0 auto; width: min(78vw, 980px); height: 64svh; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); }
.step-card .r-img { height: 100%; }
.step-card .txt { display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0; }
.step-card .num { font-family: var(--f-display); font-size: clamp(80px, 10vw, 160px); line-height: 0.8; color: var(--gold); }
.step-card h3 { margin: 0 0 18px; }
.step-card p { margin: 0; color: var(--on-night-soft); max-width: 30em; }

/* ---------- Testimonials ---------- */
.quotes { position: relative; text-align: center; }
.quote-stage { position: relative; min-height: 360px; display: grid; }
.quote { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0 auto; max-width: 21em; font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 54px); line-height: 1.12; }
.quote cite { display: block; margin-top: 36px; font-style: normal; }
.quote-nav { display: flex; justify-content: center; gap: 28px; align-items: center; margin-top: 48px; font-family: var(--f-mono); font-size: 12px; }
.quote-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.4s, color 0.4s; }
.quote-nav button:hover { background: var(--ink); color: var(--paper); }

/* ---------- Verse ---------- */
.verse { text-align: center; max-width: 980px; margin: 0 auto; }
.verse p { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 3vw, 46px); line-height: 1.2; margin: 0 0 28px; }

/* ---------- Big CTA ---------- */
.cta { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; color: #fff; background: var(--night); }
.cta-bg { position: absolute; inset: -10% 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.cta-inner { position: relative; z-index: 2; padding: 120px var(--gutter); max-width: 1200px; }
.cta-inner .display { margin: 28px 0 32px; }
.cta-inner p { color: rgba(255,255,255,0.75); max-width: 30em; margin: 0 auto 48px; }

/* ---------- Footer (minimal) ---------- */
.footer { background: var(--night); color: var(--on-night); padding: clamp(80px, 10vw, 140px) var(--gutter) 28px; }
.f-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(56px, 7vw, 96px); }
.f-cta .section-label { margin-bottom: 22px; display: flex; }
.f-big { font-family: var(--f-display); font-weight: 300; font-size: clamp(40px, 6vw, 96px); line-height: 1; letter-spacing: -0.03em; display: inline-block; }
.f-big .arr { display: inline-block; margin-left: 0.4em; vertical-align: middle; font-family: var(--f-sans); font-size: 0.4em; transition: transform 0.6s var(--ease); }
.f-big:hover .arr { transform: translateX(10px); }
.f-big em { font-style: italic; }
.f-contact { display: grid; gap: 6px; text-align: right; font-size: 15px; color: var(--on-night-soft); }
.f-contact a { color: var(--on-night); }
.f-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(244,244,244,0.14); border-bottom: 1px solid rgba(244,244,244,0.14); font-size: 13px; }
.f-row .logo { font-size: 15px; justify-self: start; }
.f-nav, .f-social { display: flex; gap: clamp(16px, 2.4vw, 36px); flex-wrap: wrap; }
.f-social { justify-self: end; }
.f-nav a, .f-social a { color: var(--on-night-soft); transition: color 0.3s; }
.f-nav a:hover, .f-social a:hover { color: var(--on-night); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-family: var(--f-mono); font-size: 11px; color: var(--on-night-soft); flex-wrap: wrap; }
.f-bottom a:hover { color: var(--on-night); }
@media (max-width: 820px) {
  .f-contact { text-align: left; }
  .f-row { grid-template-columns: 1fr; justify-items: start; }
  .f-social { justify-self: start; }
}

/* Coordinates readout (YK) */
/* Focus dial — scroll indicator (camera lens ring) */
.dial {
  position: fixed; right: clamp(10px, 1.6vw, 24px); top: 50%; z-index: 40;
  height: min(62vh, 560px); width: 44px; transform: translateY(-50%);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;
  mix-blend-mode: difference; cursor: pointer; transition: opacity 0.5s var(--ease);
}
.dial i { display: block; height: 1px; width: 10px; background: #fff; opacity: 0.35; transform-origin: right center; will-change: width, opacity; }
.dial-mark {
  position: fixed; right: clamp(10px, 1.6vw, 24px); top: 50%; z-index: 41; pointer-events: none;
  width: 30px; height: 2px; margin-right: 32px; background: #d23a2a; will-change: transform; transition: opacity 0.5s var(--ease);
}
.dial.is-off, .dial-mark.is-off { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 820px) { .dial, .dial-mark { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(72px, 12vw, 180px)) var(--gutter) clamp(56px, 7vw, 100px); }
.page-hero .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(32px, 4vw, 56px); gap: 16px; flex-wrap: wrap; }
.page-hero .bottom { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); margin-top: clamp(40px, 5vw, 72px); }
.page-hero .bottom .lead { grid-column: 7 / span 5; }
.page-banner { margin: 0 var(--gutter); aspect-ratio: 21 / 9; }

/* ---------- About: chapters with sticky image (Tatiana storytelling) ---------- */
.chapters { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.chapters-media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 20px); height: calc(100svh - var(--header-h) - 40px); align-self: start; }
.chapters-media figure { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; transition: opacity 1s var(--ease); }
.chapters-media figure.is-active { opacity: 1; }
.chapters-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.chapters-media figure.is-active img { transform: scale(1); }
.chapters-list { grid-column: 7 / span 6; }
.chapter { min-height: 82svh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding: 64px 0; }
.chapter .num { font-family: var(--f-mono); font-size: 12px; color: var(--gold); margin-bottom: 28px; }
.chapter h3 { margin-bottom: 28px; }
.chapter .mob-img { display: none; }

/* Masonry gallery */
.masonry { columns: 3; column-gap: clamp(12px, 1.6vw, 24px); }
.masonry > * { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 24px); }
.masonry .r-img { background: var(--paper-2); }
.masonry img { width: 100%; height: auto; }
.js .masonry .r-img img { height: auto; }

/* Portfolio chapters */
.pf-nav { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.pf-nav .in { display: flex; gap: clamp(20px, 4vw, 56px); padding: 18px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.pf-nav a { white-space: nowrap; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); transition: color 0.3s; display: inline-flex; gap: 10px; }
.pf-nav a .mono { font-size: 11px; }
.pf-nav a.is-active, .pf-nav a:hover { color: var(--ink); }
.pf-chapter { padding-top: clamp(80px, 10vw, 160px); }
.pf-intro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); margin-bottom: clamp(48px, 6vw, 96px); align-items: end; }
.pf-intro .h { grid-column: 1 / span 7; }
.pf-intro .h .display { margin-top: 24px; }
.pf-intro .body-text { grid-column: 8 / span 5; }
.pf-intro .body-text .link-line { margin-top: 20px; }

/* Experience intro & FAQ */
.split-2 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
.split-2 .l { grid-column: 1 / span 5; }
.split-2 .r { grid-column: 7 / span 6; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px 0; font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: 0 0 auto; width: 14px; height: 14px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { overflow: hidden; color: var(--ink-soft); padding: 0 0 28px; max-width: 40em; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.testi-grid figure { margin: 0; border-top: 1px solid var(--line); padding-top: 28px; }
.testi-grid blockquote { margin: 0 0 24px; font-family: var(--f-display); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.25; }
.testi-grid figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.contact-media { position: sticky; top: 0; height: 100svh; }
.contact-media .r-img { height: 100%; }
.contact-form { padding: calc(var(--header-h) + 72px) var(--gutter) 96px; }
.contact-form .display { margin: 24px 0 24px; }
.form { margin-top: 56px; display: grid; gap: 36px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0 12px; border-radius: 0; transition: border-color 0.3s; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .hint { font-size: 13px; color: var(--ink-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chips label { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.form-done { display: none; padding: 40px 0; }
.form.is-sent { display: none; }
.form.is-sent + .form-done { display: block; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(14, 12, 10, 0.97); color: var(--on-night); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease); }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); font-family: var(--f-mono); font-size: 12px; }
.lb-close { display: inline-flex; gap: 12px; align-items: center; font-family: var(--f-sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.lb-stage { position: relative; overflow: hidden; touch-action: pan-y; }
.lb-stage img { position: absolute; inset: 0; margin: auto; max-width: calc(100% - 2 * var(--gutter)); max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; transform: scale(0.97); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.lb-stage img.is-active { opacity: 1; transform: none; }
.lb-prev, .lb-next { position: absolute; top: 0; bottom: 0; width: 30%; z-index: 2; }
.lb-prev { left: 0; cursor: w-resize; }
.lb-next { right: 0; cursor: e-resize; }
.lb-arrows { display: flex; gap: 8px; }
.lb-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239,233,223,0.24); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.lb-arrows button:hover { background: var(--on-night); color: var(--night); }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; max-width: 60vw; scrollbar-width: none; }
.lb-thumbs button { flex: 0 0 auto; width: 44px; height: 56px; opacity: 0.35; transition: opacity 0.3s; }
.lb-thumbs button.is-active, .lb-thumbs button:hover { opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .testi-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .header-right .ig { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; height: 62svh; order: -1; }
  .hero-text { padding: 40px var(--gutter) 110px; }
  .hero-slides { min-height: 420px; }
  .site-header.is-over-hero { color: #fff; }
  .manifesto { grid-template-columns: 1fr; }
  .duo .a { grid-column: 1 / span 8; }
  .duo .b { grid-column: 5 / span 8; margin-top: 40px; }
  .duo .cap { grid-column: 1 / -1; }
  .about-teaser .img { grid-column: 1 / -1; margin-bottom: 40px; aspect-ratio: 4 / 5; }
  .about-teaser .txt { grid-column: 1 / -1; }
  .service { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .service .d { text-align: left; }
  .service .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
  .service .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .service-list .service:hover .t { transform: none; }
  .cursor-img { display: none; }
  .menu { grid-template-columns: 1fr; }
  .menu-visual { display: none; }
  .page-hero .bottom .lead { grid-column: 1 / -1; }
  .page-banner { aspect-ratio: 4 / 5; }
  .chapters-media { display: none; }
  .chapters-list { grid-column: 1 / -1; }
  .chapter { min-height: 0; }
  .chapter .mob-img { display: block; aspect-ratio: 4 / 5; margin-bottom: 32px; }
  .pf-intro .h, .pf-intro .body-text { grid-column: 1 / -1; }
  .pf-intro .body-text { margin-top: 28px; }
  .split-2 .l, .split-2 .r { grid-column: 1 / -1; }
  .split-2 .r { margin-top: 40px; }
  .contact { grid-template-columns: 1fr; }
  .contact-media { position: relative; height: 56svh; }
  .contact-form { padding-top: 64px; }
  .step-card { width: 84vw; grid-template-columns: 1fr; grid-template-rows: 1fr auto; height: 70svh; }
  .step-card .num { font-size: 64px; }
  .hpin-item { height: 48svh; }
  .hpin-item.tall.low { height: 40svh; }
  .lb-thumbs { display: none; }
}

@media (max-width: 520px) {
  .masonry { columns: 1; }
  .header-right .header-cta { display: none; }
  .hero-slides { min-height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
  .js .r-img img { clip-path: none; }
  .js .r-img img, .js .r-up, .js .split .w > span { transform: none; opacity: 1; }
  .js .r-fade { opacity: 1; }
  .scrub .sw { opacity: 1; }
}

/* Home header over the split hero: invert so it reads on paper and photo */
.page-home .site-header:not(.is-solid):not(.is-light) { color: #fff; mix-blend-mode: difference; }
.hero-controls { bottom: 64px; }

/* Form states */
.form-error { margin: 0; color: #9b3b2e; font-size: 15px; }
.btn:disabled { opacity: 0.55; cursor: wait; }

/* =========================================================
   Custom cursor
   ========================================================= */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.cur { position: fixed; inset: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; z-index: 200; will-change: transform; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; transition: opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease); }
.cur-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1.5px solid #fff;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), opacity 0.4s, border-color 0.4s, background-color 0.4s;
}
.cur-label { position: fixed; left: 0; top: 0; z-index: 201; pointer-events: none; width: 0; height: 0; will-change: transform; }
.cur-label span {
  position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: grid; place-items: center; text-align: center; padding-left: 0.16em;
  font-family: var(--f-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  transform: scale(0); transition: transform 0.5s var(--ease);
  box-shadow: 0 10px 40px rgba(17, 15, 13, 0.18);
}
.cur.is-link .cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
.cur.is-link .cur-dot { opacity: 0; }
.cur.is-label .cur-ring, .cur.is-label .cur-dot { opacity: 0; }
.cur-label.is-on span { transform: scale(1); }
.cur.is-text .cur-ring { opacity: 0; }
.cur.is-text .cur-dot { width: 2px; height: 22px; margin: -11px 0 0 -1px; border-radius: 2px; }
.cur.is-down .cur-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cur.is-hidden .cur-dot, .cur.is-hidden .cur-ring { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cur { display: none; } }

/* =========================================================
   White as third surface
   ========================================================= */
:root { --white: #ffffff; }
.bg-white { background: var(--white); }
.hero-text { background: var(--white); }
.quotes { background: var(--white); }
#casamentos, #formaturas { background: var(--white); padding-bottom: clamp(80px, 10vw, 160px); }
.contact-form { background: var(--white); }
.testi-grid figure { background: var(--white); border-top: 0; padding: clamp(24px, 2.6vw, 40px); }
.faq-wrap { background: var(--white); }
.btn--white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--white::before { background: var(--ink); }
.btn--white:hover { color: var(--white); }
.chips span { background: var(--white); }
.contact-form .chips span { background: var(--paper-2); border-color: transparent; }
.contact-form .chips input:checked + span { background: var(--ink); }


/* Monochrome accent flips on dark surfaces */
.on-night, .intro, .menu, .footer, .cta, .lb { --gold: var(--on-night); }

/* SEO / local content */
.bg-soft { background: var(--paper-2); }
.hero-h1 { margin: 0 0 22px; font-size: 11px; color: var(--ink-mute); font-weight: 450; }
.local-tags { margin-top: 28px; color: var(--ink-soft); line-height: 2; max-width: 22em; }
.visit { margin-top: 72px; }
.visit-addr { font-style: normal; font-size: 18px; line-height: 1.7; margin: 22px 0 12px; }
.visit-addr a { text-decoration: underline; text-underline-offset: 4px; }
.map { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter 0.6s var(--ease); }
.map:hover iframe { filter: none; }
.f-contact { font-style: normal; }

/* Guide: places list */
.places { border-top: 1px solid var(--line); }
.place { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--gutter); padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start; }
.place .n { font-family: var(--f-mono); font-size: 12px; color: var(--ink-mute); padding-top: 10px; }
.place h3 { margin: 0 0 12px; }
.place .where { margin: 0; color: var(--ink-mute); }
.place p { margin: 0; color: var(--ink-soft); }
.place .ideal { margin-top: 14px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 820px) { .place { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; } }
