/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --white: #FFFFFF;
  --ink: #1C1B19;
  --ink-soft: #55524C;
  --yellow: #F5B700;
  --yellow-deep: #B8850A;
  --paper: #FAF9F6;
  --line: #E9E6DF;
  --tab-bg: #F4EFE3;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================
   LOGO — text-based, dossier-stamp signature
   ============================================ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo .logo-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 3px;
  transition: background 0.15s ease;
  color: var(--ink-soft);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--yellow);
  color: var(--ink);
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 8px 32px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  display: inline-block;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 4px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn-fill {
  background: var(--yellow);
  border-color: var(--yellow);
}
.btn-fill:hover {
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
  color: var(--white);
}

/* ============================================
   DOSSIER TABS (structural signature)
   ============================================ */
.file-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--tab-bg);
  color: var(--ink-soft);
  padding: 6px 14px 6px 10px;
  border-radius: 2px 8px 8px 2px;
  border-left: 3px solid var(--yellow-deep);
  margin-bottom: 20px;
}

/* ============================================
   SECTIONS / CARDS
   ============================================ */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 32px;
}
.section-head {
  max-width: 60ch;
  margin-bottom: 40px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head p { color: var(--ink-soft); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(28,27,25,0.08); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card-body .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow-deep);
  display: block;
  margin-bottom: 8px;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.card-body p { color: var(--ink-soft); font-size: 0.95rem; }

/* ============================================
   STAT STRIP
   ============================================ */
.stat-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ============================================
   ARTICLES + PAGER
   ============================================ */
.article-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.article-row:first-child { padding-top: 0; }
.article-row .thumb { aspect-ratio: 4/3; border-radius: 5px; overflow: hidden; }
.article-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-row h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.article-row .meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--yellow-deep);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
}
.article-row p { color: var(--ink-soft); }

@media (max-width: 620px) {
  .article-row { grid-template-columns: 1fr; }
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.pager button {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  color: var(--ink-soft);
}
.pager button:hover { border-color: var(--ink); color: var(--ink); }
.pager button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}
.pager button:disabled { opacity: 0.35; cursor: not-allowed; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid .g-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-grid .g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-grid .g-item:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   EMBASSY / INFO BLOCKS
   ============================================ */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.info-block:last-child { border-bottom: none; }
.info-block.reverse .info-media { order: 2; }
.info-media { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; }
.info-media img { width: 100%; height: 100%; object-fit: cover; }
.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.info-block p { color: var(--ink-soft); margin-bottom: 12px; }

@media (max-width: 800px) {
  .info-block, .info-block.reverse { grid-template-columns: 1fr; }
  .info-block.reverse .info-media { order: 0; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 32px 32px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.site-footer .logo { color: var(--paper); }
.site-footer .logo .logo-mark { border-color: var(--paper); color: var(--paper); }
.footer-note {
  max-width: 40ch;
  color: rgba(250,249,246,0.65);
  font-size: 0.92rem;
  margin-top: 10px;
}
.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow);
  margin-bottom: 14px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(250,249,246,0.75); font-size: 0.92rem; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(250,249,246,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   SCROLL-REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.4s; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-anim { animation: floatSlow 5s ease-in-out infinite; }

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.fade-in { animation: fadeIn 0.8s ease both; }

@keyframes countUp {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.stat-num.animated { animation: countUp 0.6s ease both; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .float-anim, .fade-in, .stat-num.animated {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}

/* ============================================
   PAGE HEADER (interior pages)
   ============================================ */
.page-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 32px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.page-header p { color: var(--ink-soft); max-width: 60ch; }
