/* Fontes servidas pelo próprio site (mesmos arquivos do Google Fonts, só latin e latin-ext): sem esperar servidor externo pra desenhar o texto */
/* latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/anton-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/anton-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0D0D0C;
  --ink: #ECE9E3;
  --paper: #F4F2EE;
  --muted: #9C978E;
  --soft: #CFCAC1;
  --line: #3A3936;
  --ghost: #1F1F1D;
  --frame: #1A1918;
  /* vermelho de destaque: contraste 4.9:1 com o preto, então serve pra texto pequeno e pro botão com texto preto */
  --accent: #F2352B;
  --gutter: clamp(16px, 2.8vw, 40px);
  --nav: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Archivo', system-ui, sans-serif;
}

* { box-sizing: border-box; }
/* sem zoom de toque duplo no celular (passar foto rápido dava zoom); o zoom com dois dedos continua */
html { touch-action: manipulation; }
/* rolagem suave só nos cliques do menu (home.js); chegar por link com #albuns vai direto, sem rolar desde o topo */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* no celular o toque deixa o :hover "preso" no link; ali o vermelho fica só no :active */
@media (hover: hover) { a:hover { color: var(--accent); } }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Navegação */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav--fixed { position: fixed; left: 0; right: 0; }
.nav__logo { font-family: var(--display); font-size: 26px; letter-spacing: 0.02em; }
/* ★: marca registrada do Vinícius, sempre em branco (fica no canto direito do menu) */
.star { color: var(--paper); font-family: var(--sans); font-style: normal; }
.nav__where.star { font-size: 20px; line-height: 1; color: var(--paper); }
.nav__links { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav__links a.on { color: var(--accent); }
.nav__where { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Blocos de tela cheia (home) */
.block { position: relative; min-height: 100svh; }

/* Abertura: só a marca, forte, no preto */
.intro {
  height: 100svh;
  min-height: 520px;
  padding: var(--nav) var(--gutter) 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* A marca desce com a rolagem e vira a marca d'água do bloco das fotos (home.js).
   Fica entre as fotos laterais (z 1) e a principal (z 3). */
.intro__mark {
  position: relative;
  z-index: 2;
  transform-origin: center center;
  will-change: transform;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: min(26.5vw, 52svh);
  line-height: 0.8;
  text-align: center;
  color: var(--paper);
  white-space: nowrap;
  /* marca d'água: não bloqueia clique nas fotos e não dá pra selecionar/copiar */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.intro__mark span { display: inline-block; animation: introIn 1.4s var(--ease) both; }
.intro__mark span + span { animation-delay: 0.12s; }
/* o recorte tem folga (negativo) em volta: a linha é mais baixa que a letra (line-height 0.8) e cortava o topo dos S */
@keyframes introIn { from { opacity: 0; transform: translateY(30%); clip-path: inset(-25% -5% 125% -5%); } to { opacity: 1; transform: none; clip-path: inset(-25% -5% -25% -5%); } }
.intro__bar {
  margin-top: 5svh;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: var(--muted);
  animation: fadeIn 1s ease 0.8s backwards;
}
.intro__bar em { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--ink); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Hero com carrossel automático */
.hero {
  --reel: min(64svh, 62vw);
  height: 100svh;
  min-height: 560px;
  padding: var(--nav) 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.reel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 32px);
  height: var(--reel);
}
.frame {
  position: relative;
  flex-shrink: 0;
  height: var(--reel);
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  background: var(--frame);
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.5s ease;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--0 { z-index: 3; }
.frame--1 { z-index: 1; height: calc(var(--reel) * 0.73); opacity: 0.6; }
.frame--2 { z-index: 1; height: calc(var(--reel) * 0.58); opacity: 0.35; }
.frame:hover { opacity: 1; }
.frame--0 img { animation: reveal 0.7s ease; }
/* entrada do carrossel acompanha a rolagem (home.js) */
.reel, .hero__bar { will-change: transform, opacity; }
@keyframes reveal { from { opacity: 0.2; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--paper); }
.corner--tl { left: 14px; top: 14px; border-left-width: 1px; border-top-width: 1px; }
.corner--tr { right: 14px; top: 14px; border-right-width: 1px; border-top-width: 1px; }
.corner--bl { left: 14px; bottom: 14px; border-left-width: 1px; border-bottom-width: 1px; }
.corner--br { right: 14px; bottom: 14px; border-right-width: 1px; border-bottom-width: 1px; }
.rec {
  position: absolute;
  right: 30px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--paper);
}
.rec .dot { animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.hero__bar {
  position: relative;
  z-index: 3;
  margin-top: 4svh;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__sig { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hero__sig i { width: 60px; height: 1px; background: var(--ink); }
.dots { display: flex; gap: 8px; }
.dots span { width: 10px; height: 3px; background: var(--line); transition: all 0.4s ease; }
.dots span.on { width: 28px; background: var(--accent); }
.hero__count { color: var(--muted); margin-left: auto; }
.hero__count b { color: var(--ink); font-weight: 400; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--muted);
  border-radius: 12px;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  background: var(--ink);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Entrada dos elementos quando aparecem na tela */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s ease, transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-curtain] img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.08);
  transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-curtain].in img { clip-path: inset(0 0 0 0); transform: none; }

/* Seções */
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.big-serif {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.035em;
}
.h-display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, min(7vw, 11svh), 96px);
  line-height: 0.95;
  text-transform: uppercase;
}

/* Bastidores: fotos inteiras (3:4), alturas desencontradas, tudo numa tela */
.pov {
  /* altura da maior foto: limitada pela altura da tela e pela largura disponível */
  /* --sum: soma das larguras das fotos em unidades de altura; --gaps: espaços entre elas (home.js recalcula pela quantidade de fotos) */
  --sum: 2.95;
  --gaps: 72px;
  --ph: min(calc(100svh - var(--nav) - 18svh - 125px), calc((100vw - 2 * var(--gutter) - var(--gaps)) / var(--sum)));
  padding: calc(var(--nav) + 3svh) var(--gutter) 4svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2svh;
}
.pov__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pov__title { font-size: clamp(56px, min(10vw, 15svh), 220px); }
.pov__row { display: flex; align-items: flex-start; gap: 24px; }
/* --k: altura relativa da foto, --m: desnível; vêm do home.js */
.pov figure { --h: calc(var(--ph) * var(--k, 1)); margin: calc(var(--ph) * var(--m, 0)) 0 0; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.pov figure > div { overflow: hidden; }
.pov figure img { height: var(--h); width: auto; aspect-ratio: 3 / 4; object-fit: cover; }
/* foto ainda não escolhida no painel: quadro vazio no formato das outras */
.pov__empty { height: var(--h); aspect-ratio: 3 / 4; background: var(--frame); }
.pov figcaption { width: calc(var(--h) * 0.75); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Álbuns */
.albums {
  --card-h: min(56svh, 820px);
  padding: calc(var(--nav) + 3svh) 0 5svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.albums__head { padding: 0 var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 4svh; }
.albums__nav { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; }
.round {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #4A4844;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.round--solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.round:disabled { opacity: 0.3; cursor: default; }
/* botões e links ficam vermelhos: ao passar o mouse no PC e no toque no celular (:active) */
.round { transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
@media (hover: hover) { .round:not(:disabled):hover { background: var(--accent); border-color: var(--accent); color: var(--bg); } }
.round:not(:disabled):active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
a:active { color: var(--accent); }
.btn:active { color: var(--bg); background: var(--paper); }
.albums__track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  padding: 0 var(--gutter) 8px;
  scrollbar-width: none;
}
.albums__track::-webkit-scrollbar { display: none; }
.card { flex-shrink: 0; width: calc(var(--card-h) * 0.77); scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; }
.card__img { position: relative; aspect-ratio: 400 / 520; background: var(--frame); overflow: hidden; }
/* sombreado sutil em toda capa (carrossel e topo do álbum), como texto de story: sombra difusa nas letras
   e um degradê leve embaixo; o nome branco não some em foto clara */
.card__img::after, .cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(13, 13, 12, 0.4), rgba(13, 13, 12, 0)); }
.card__title, .cover h1 { text-shadow: 0 0.02em 0.08em rgba(0, 0, 0, 0.35), 0 0.04em 0.3em rgba(0, 0, 0, 0.3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.8s var(--ease), clip-path 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); transition-delay: 0s; }
.card__title {
  position: absolute;
  z-index: 2;
  left: -6px;
  right: -6px;
  /* linha de base das letras exatamente na borda de baixo: na Anton ela fica a 0.0765em do fim da linha
     (as redondas, O e S, descem um fio abaixo dela e esse fio fica escondido) */
  bottom: -0.0765em;
  font-family: var(--display);
  font-size: calc(var(--card-h) * 0.23);
  line-height: 1;
  color: var(--paper);
  text-transform: uppercase;
  white-space: nowrap;
}
/* estrela na capa: branca, ou preta quando o canto da foto é claro (home.js). Aparece ao passar o mouse
   no PC e no toque no celular (card--tap, antes de abrir o álbum); o nome fica vermelho junto */
.card__star {
  position: absolute;
  z-index: 2;
  top: calc(var(--card-h) * 0.035);
  right: calc(var(--card-h) * 0.035);
  font-size: calc(var(--card-h) * 0.075);
  line-height: 1;
  color: var(--paper);
  opacity: 0;
  transform: scale(0.4) rotate(-72deg);
  transition: opacity 0.35s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.card__star--dark { color: var(--bg); }
.card__title { transition: color 0.3s ease; }
.card--tap .card__star { opacity: 1; transform: none; }
.card--tap .card__title, .card--tap .card__meta span:last-child { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__star { opacity: 1; transform: none; }
  .card:hover .card__title { color: var(--accent); }
}
.card__meta { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (hover: hover) { .card:hover .card__meta span:last-child { color: var(--accent); } }

/* Faixa VISION */
.vision { height: 100svh; overflow: hidden; background: #53514C; }
/* os olhos da foto padrão ficam entre 20% e 40% da altura: enquadra por ali em qualquer tela */
.vision img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.vision__mark {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: min(32.6vw, 62svh);
  line-height: 0.8;
  text-align: center;
  color: rgba(244, 242, 238, 0.92);
  white-space: nowrap;
}
.js .vision__mark[data-reveal] { transform: translateY(-50%) scale(1.12); letter-spacing: 0.04em; transition: opacity 1.2s ease, transform 1.6s var(--ease), letter-spacing 1.6s var(--ease); }
.js .vision__mark[data-reveal].in { transform: translateY(-50%); letter-spacing: 0; }
.js .vision[data-curtain] img { clip-path: none; transform: scale(1.15); transition: transform 2.4s var(--ease); }
.js .vision[data-curtain].in img { transform: none; }

/* Sobre */
.about { padding: calc(var(--nav) + 3svh) var(--gutter) 6svh; align-items: center; }
/* foto inteira em 3:4, a coluna encolhe pra largura da foto */
.about__photo { grid-column: span 5; position: relative; justify-self: start; width: fit-content; max-width: 100%; }
.about__photo > div { overflow: hidden; }
.about__photo > div > img { height: min(76svh, 1200px); width: auto; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__text { min-width: 0; }
.about__kid { position: absolute; right: -72px; bottom: -40px; margin: 0; width: 190px; display: flex; flex-direction: column; gap: 10px; }
.about__kid img { width: 190px; aspect-ratio: 7 / 9; object-fit: cover; border: 8px solid var(--bg); transform: rotate(3deg); }
.about__kid figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; text-align: right; }
.about__text { grid-column: 7 / span 6; display: flex; flex-direction: column; justify-content: center; gap: 4svh; }
.about__text > div:first-child { display: flex; flex-direction: column; gap: 2.6svh; }
.about__name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(56px, min(9vw, 12svh), 200px); line-height: 0.9; text-transform: uppercase; }
.about__text p { margin: 0; font-size: clamp(16px, 2svh, 20px); line-height: 1.5; color: var(--soft); }
/* o texto do Sobre todo na mesma letra do primeiro parágrafo */
.about__text p.lead, .about__text p.sobre-texto { font-size: clamp(18px, 2.5svh, 24px); line-height: 1.45; color: var(--ink); }
.about__text p.small { color: var(--muted); }
.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tags span { padding: 11px 18px; border: 1px solid var(--line); border-radius: 40px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Contato e rodapé (último bloco) */
.last { display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--nav) + 8svh); overflow: hidden; }
.contact { padding: 0 var(--gutter); align-items: end; }
.contact__cta { grid-column: span 6; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.contact__cta h2 { margin: 0; font-size: clamp(48px, min(5.8vw, 10svh), 130px); line-height: 0.98; font-weight: 500; letter-spacing: -0.03em; }
.btn {
  height: 60px;
  padding: 0 30px;
  border-radius: 40px;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}
@media (hover: hover) { .btn:hover { color: var(--bg); background: var(--paper); } }
.contact__list { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 18px; font-size: 20px; }
.contact__list a { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.contact__list a span:last-child { color: var(--muted); }
.contact__list a[hidden] { display: none; }
.footer { padding: 6svh var(--gutter) 0; display: flex; flex-direction: column; gap: 28px; overflow: hidden; }
/* direitos à esquerda, links (página do álbum) à direita */
.footer__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
/* faixa vermelha no fim do site (a da opção C do canvas): VS VISION em preto, de ponta a ponta */
.footer__mark {
  font-family: var(--display);
  font-size: min(25.8vw, 40svh);
  line-height: 0.78;
  text-align: center;
  color: var(--bg);
  background: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  margin: 0 calc(-1 * var(--gutter));
  padding-top: 0.12em;
}

/* Página do álbum */
/* capa limitada pela altura da tela também, pra caber inteira em notebook */
.cover { position: relative; margin: 0 var(--gutter); height: clamp(320px, min(50vw, calc(100svh - var(--nav) - 110px)), 1100px); border-radius: 14px; overflow: hidden; background: var(--frame); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: coverIn 1.6s var(--ease) both; }
@keyframes coverIn { from { transform: scale(1.12); } to { transform: none; } }
.cover h1 {
  position: absolute;
  z-index: 2;
  /* rente à borda esquerda da foto (a Anton tem uma folguinha antes da primeira letra) */
  left: -0.04em;
  right: 0;
  bottom: -0.0765em;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(90px, min(24vw, 42svh), 380px);
  line-height: 1;
  color: var(--paper);
  text-transform: uppercase;
  white-space: nowrap;
  animation: markUp 1.3s var(--ease) 0.2s both;
}
@keyframes markUp { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.album-meta { padding: 56px var(--gutter) 90px; align-items: start; }
.album-meta__info { grid-column: span 4; display: flex; flex-direction: column; gap: 10px; }
/* texto do álbum na letra do "Through my vision." (serifada itálica) */
.album-meta p { grid-column: 7 / span 6; margin: 0; font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1.2; letter-spacing: 0; text-wrap: balance; }
/* fileiras montadas em album.js: cada foto cresce na proporção dela, então a fileira fecha na largura toda com uma altura só */
.masonry { padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.masonry__row { display: flex; gap: 20px; }
.masonry__row > * { flex: 1 1 0%; min-width: 0; }
.masonry button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--frame);
  cursor: zoom-in;
  overflow: hidden;
}
.masonry img { width: 100%; height: auto; object-fit: cover; transition: transform 0.8s var(--ease); }
.masonry button:hover img { transform: scale(1.03); }
.masonry span { position: absolute; right: 12px; bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--paper); mix-blend-mode: difference; }
.next { margin: 150px var(--gutter) 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.next__title { font-family: var(--display); font-size: clamp(88px, 14vw, 200px); line-height: 0.85; text-transform: uppercase; }
.footer--small { padding: 80px var(--gutter) 40px; }
@media (hover: hover) { .footer--small .footer__row a:hover { color: var(--accent); } }
.empty { padding: 160px var(--gutter); text-align: center; }

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(13, 13, 12, 0.97);
  color: var(--ink);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox { touch-action: pinch-zoom; user-select: none; -webkit-user-select: none; }
.lightbox img { -webkit-user-drag: none; }
.lightbox img { max-width: calc(100vw - 180px); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox__close { position: absolute; top: 20px; right: var(--gutter); }
.lightbox__prev { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox__next { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; }

/* Rolagem por blocos: só em telas grandes, onde cada bloco cabe inteiro */
@media (min-width: 961px) and (min-height: 620px) {
  html { scroll-snap-type: y mandatory; }
  .block { scroll-snap-align: start; scroll-snap-stop: always; }
}

/* Responsivo */
@media (max-width: 960px) {
  .hero { --reel: min(58svh, 70vw); }
  .frame--2 { display: none; }
  .dots { display: none; }
  .block { min-height: 0; }
  .pov { --ph: 70vw; padding-top: calc(var(--nav) + 64px); }
  .pov__top { flex-direction: column; align-items: flex-start; }
  .pov__title { font-size: 17vw; }
  /* 2 por linha; com número ímpar de fotos, a última fica no meio */
  .pov__row { flex-wrap: wrap; justify-content: center; gap: 28px 16px; }
  .pov figure { width: calc(50% - 8px); flex-shrink: 1; }
  .pov figure:nth-child(n) { margin-top: 0; }
  .pov figure img { width: 100%; height: auto; }
  .pov__empty { width: 100%; height: auto; }
  .pov figcaption { width: auto; flex-direction: column; gap: 4px; }
  .intro__bar { flex-wrap: wrap; justify-content: center; text-align: center; }
  .albums { --card-h: 100vw; padding-top: 96px; }
  /* no celular a faixa vira uma tira larga (como no PC) pra caber o olhar inteiro, fechado */
  .vision { height: 62vw; min-height: 0; }
  .vision img { scale: 1.1; transform-origin: 51% 33%; }
  .about { padding-top: 96px; }
  .about__photo { grid-column: span 12; margin-bottom: 72px; width: auto; justify-self: stretch; }
  .about__photo > div > img { width: 100%; height: auto; }
  .about__kid { right: 12px; width: 140px; }
  .about__kid img { width: 140px; }
  .about__text { grid-column: span 12; }
  .last { min-height: 0; padding-top: 110px; }
  .contact__cta, .contact__list { grid-column: span 12; }
  .contact__list { margin-top: 56px; }
  .footer { padding-top: 80px; }
  /* capa do álbum reta e de ponta a ponta da tela */
  .cover { margin: 0; border-radius: 0; }
  .album-meta__info, .album-meta p { grid-column: span 12; }
  /* no celular a letra acompanha a largura da tela (uns 19px), pra caber numa linha na maioria dos subtítulos */
  .album-meta p { margin-top: 24px; font-size: clamp(17px, 4.8vw, 22px); }
  .masonry, .masonry__row { gap: 12px; }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 160px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
}
@media (max-width: 600px) {
  .nav__links { gap: 16px; font-size: 12px; }
  .hero { --reel: min(56svh, 74vw); }
  .hero__sig { display: none; }
  .albums__head { flex-direction: column; align-items: flex-start; }
  .card { width: 78vw; }
  .card__title { font-size: 22vw; }
  .footer__row { flex-direction: column; gap: 8px; }
  .next { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .hero.in .frame, .frame--0 img, .rec .dot, .intro__mark span, .intro__bar, .scroll-cue::after, .cover img, .cover h1 { animation: none; }
  .js .hero:not(.in) .frame { clip-path: none; }
  .hero__mark { transition: none; }
  .js [data-reveal], .js [data-curtain] img, .js .vision__mark[data-reveal] { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .vision__mark[data-reveal] { transform: translateY(-50%); }
}

/* Carregamento: VS com a bolinha vermelha pulsando, por cima de tudo até a página estar pronta
   (store.js tira; também aparece ao trocar de página). Se o JS falhar, some sozinho em 6 s. */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.18s ease, visibility 0s;
  animation: loaderFailsafe 0s linear 6s forwards;
}
.loader--out { opacity: 0; visibility: hidden; animation: none; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s; }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader__mark { display: flex; align-items: flex-end; gap: 0.1em; font-family: var(--display); font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: 0.02em; color: var(--paper); }
.loader__dot { width: 0.17em; height: 0.17em; margin-bottom: 0.08em; border-radius: 50%; background: var(--accent); animation: loaderPulse 1s ease-in-out infinite; }
@keyframes loaderPulse { 0%, 100% { transform: scale(0.7); opacity: 0.45; } 50% { transform: scale(1.15); opacity: 1; } }
/* as animações de entrada esperam o carregamento sair, pra não acontecerem escondidas */
.is-loading .intro__mark span, .is-loading .intro__bar, .is-loading .cover img, .is-loading .cover h1 { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .loader__dot { animation: none; opacity: 1; } }
