/* Estação — photo-reportage | high-contrast-bw */
:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --gray-100: #f0f0f0;
  --gray-200: #d4d4d4;
  --gray-400: #888;
  --gray-600: #444;
  --accent: #1a1a1a;
  --container: 1140px;
  --space-xs: 12px;
  --space-sm: 24px;
  --space-md: 36px;
  --space-lg: 48px;
  --space-xl: 72px;
  --radius: 0;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.65; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* ── HEADER: split-nav ── */
.site-header {
  border-bottom: 2px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-sm) 0;
  gap: var(--space-sm);
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  justify-self: start;
}

.logo span { font-weight: 400; font-style: italic; }

.nav-left, .nav-right {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.nav-left { justify-self: start; }
.nav-right { justify-self: end; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--black);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── HERO: carousel-single ── */
.hero-carousel {
  position: relative;
  border-bottom: 2px solid var(--black);
  overflow: hidden;
}

.hero-slides { position: relative; }

.hero-slide {
  display: none;
  position: relative;
}

.hero-slide.is-active { display: block; }

.hero-slide img,
.hero-slide svg {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10,10,10,0.85));
  color: var(--white);
  padding: var(--space-xl) var(--space-sm) var(--space-md);
}

.hero-caption .container { padding: 0; }

.hero-category {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 720px;
}

.hero-excerpt {
  margin-top: var(--space-xs);
  font-size: 1rem;
  max-width: 560px;
  opacity: 0.9;
}

.hero-nav {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-sm);
  display: flex;
  gap: 4px;
  z-index: 10;
}

.hero-nav button {
  width: 44px;
  height: 44px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.hero-nav button:hover {
  background: var(--white);
  color: var(--black);
}

.hero-dots {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 0;
}

.hero-dots button.is-active { background: var(--white); }

/* ── SECTION HEADINGS ── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--space-lg) 0 var(--space-sm);
  border-bottom: 1px solid var(--black);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.section-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
}

/* ── MOSAIC TILES ── */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.mosaic-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--black);
  background: var(--gray-100);
}

.mosaic-tile img,
.mosaic-tile svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic-tile:hover img,
.mosaic-tile:hover svg { transform: scale(1.03); }

.mosaic-tile:nth-child(1) { grid-column: span 7; grid-row: span 2; min-height: 480px; }
.mosaic-tile:nth-child(2) { grid-column: span 5; min-height: 234px; }
.mosaic-tile:nth-child(3) { grid-column: span 5; min-height: 234px; }
.mosaic-tile:nth-child(4) { grid-column: span 4; min-height: 280px; }
.mosaic-tile:nth-child(5) { grid-column: span 8; min-height: 280px; }

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(10,10,10,0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-sm);
  color: var(--white);
}

.mosaic-cat {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.mosaic-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.mosaic-tile:nth-child(1) .mosaic-title { font-size: 1.75rem; }

.mosaic-date {
  font-size: 0.75rem;
  margin-top: 6px;
  opacity: 0.75;
}

/* ── HORIZONTAL THUMB CARDS ── */
.card-list { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-xl); }

.card-horizontal {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--space-sm);
}

.card-horizontal:last-child { border-bottom: none; }

.card-thumb {
  overflow: hidden;
  border: 1px solid var(--black);
  aspect-ratio: 4/3;
}

.card-thumb img,
.card-thumb svg { width: 100%; height: 100%; object-fit: cover; }

.card-meta {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-xs);
}

.card-excerpt { font-size: 0.9375rem; color: var(--gray-600); }

/* ── ARTICLE: split-content-rail ── */
.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0 var(--space-xl);
}

.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-block { margin-bottom: var(--space-md); }

.sidebar-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-bottom: 2px solid var(--black);
  padding-bottom: 6px;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.sidebar-cats { list-style: none; }
.sidebar-cats li { margin-bottom: 6px; font-size: 0.875rem; }
.sidebar-cats a { border-bottom: 1px solid var(--gray-200); }

.sidebar-author {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.sidebar-author img,
.sidebar-author svg { width: 48px; height: 48px; border: 1px solid var(--black); }

.sidebar-author-name { font-size: 0.875rem; font-weight: 600; }
.sidebar-author-role { font-size: 0.75rem; color: var(--gray-600); }

.sidebar-related { list-style: none; }
.sidebar-related li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
}

.article-main { min-width: 0; }

.article-header { margin-bottom: var(--space-md); }

.article-category {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.article-deck {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-size: 0.875rem;
}

.article-byline img,
.article-byline svg { width: 56px; height: 56px; border: 1px solid var(--black); }

.article-hero {
  margin: var(--space-md) 0;
  position: relative;
}

.article-hero img,
.article-hero svg {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border: 1px solid var(--black);
}

.article-hero-caption {
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-top: var(--space-xs);
  font-style: italic;
}

/* magazine-breakout */
.article-body { font-size: 1.0625rem; }
.article-body p { margin-bottom: var(--space-sm); }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: var(--space-md) 0 var(--space-xs);
  font-weight: 700;
}

.article-body blockquote {
  border-left: 4px solid var(--black);
  padding: var(--space-xs) var(--space-sm);
  margin: var(--space-md) 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.4;
}

.article-body .breakout {
  width: calc(100% + var(--space-lg));
  margin-left: calc(var(--space-lg) * -0.5);
  margin-block: var(--space-md);
  border: 1px solid var(--black);
}

.article-body .breakout img,
.article-body .breakout svg { width: 100%; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--gray-200);
}

.tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--black);
  padding: 4px 12px;
}

/* ── PAGE CONTENT ── */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 2px solid var(--black);
  margin-bottom: var(--space-lg);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
}

.page-subtitle {
  margin-top: var(--space-sm);
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
}

.page-content {
  max-width: 720px;
  padding-bottom: var(--space-xl);
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: var(--space-md) 0 var(--space-xs);
}

.page-content p { margin-bottom: var(--space-sm); }
.page-content ul, .page-content ol { margin: var(--space-xs) 0 var(--space-sm) var(--space-sm); }
.page-content li { margin-bottom: 6px; }

/* ── CONTACT FORM ── */
.contact-form { max-width: 560px; }

.form-group { margin-bottom: var(--space-sm); }

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--black);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
}

.form-group textarea { min-height: 160px; resize: vertical; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn:hover {
  background: var(--white);
  color: var(--black);
  opacity: 1;
}

/* ── FOOTER: three-column ── */
.site-footer {
  border-top: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 0.875rem; }
.footer-col a:hover { opacity: 0.7; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.footer-tagline { font-size: 0.875rem; opacity: 0.7; line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid var(--gray-600);
  padding-top: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs);
  font-size: 0.75rem;
  opacity: 0.7;
}

/* cookie notice: inline-footer-note */
.cookie-note {
  font-size: 0.6875rem;
  opacity: 0.6;
  margin-top: var(--space-xs);
  line-height: 1.5;
}

/* ── UTILITIES ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-left, .nav-right { display: none; }
  .nav-left.is-open, .nav-right.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--black);
    padding: var(--space-sm);
    z-index: 99;
  }
  .nav-toggle { display: block; justify-self: end; }

  .mosaic-tile:nth-child(n) {
    grid-column: span 12;
    min-height: 240px;
  }

  .card-horizontal { grid-template-columns: 1fr; }
  .card-thumb { max-height: 200px; }

  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-slide img, .hero-slide svg { height: 360px; }
}
