/* ─── Variables ─── */
:root {
  --logo-bg: #1e202a;
  --navy: #1e202a;
  --navy-deep: #14161e;
  --navy-light: #2a2d3a;
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-dark: #a8893f;
  --white: #ffffff;
  --off-white: #f5f3ef;
  --gray-100: #e8e6e1;
  --gray-400: #8a8a8a;
  --gray-600: #5a5a5a;
  --black: #0a0a0a;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.25);
  --scrollbar-track: #0a0c10;
  --scrollbar-thumb: #c9a962;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Scrollbar ─── */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 5px;
  border: 2px solid var(--scrollbar-track);
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--navy-deep);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.logo-preview img,
.modal-preview-img {
  max-width: none;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-mark img {
  height: 48px;
  width: auto;
  max-width: min(280px, 52vw);
  display: block;
  object-fit: contain;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.lang-switcher {
  display: flex;
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 100px;
  overflow: hidden;
}
.lang-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  transition: var(--transition);
}
.lang-btn:hover {
  color: var(--gold);
}
.lang-btn.active {
  background: var(--gold);
  color: var(--navy-deep);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}
.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(201, 169, 98, 0.4);
  border-radius: 100px;
  color: var(--gold);
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-close {
  display: none;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}
.nav-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-banner {
  display: block;
  width: 100%;
  line-height: 0;
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(15, 20, 25, 0.82) 0%,
    rgba(15, 20, 25, 0.58) 30%,
    rgba(15, 20, 25, 0.28) 60%,
    transparent 100%
  );
  pointer-events: none;
}
.hero-content {
  position: absolute;
  top: 44%;
  left: clamp(4rem, 10vw, 9rem);
  right: auto;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 2;
  padding: 2rem;
  max-width: 640px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(201, 169, 98, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 98, 0.4);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── Stats Bar ─── */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 3rem 5rem;
  margin: 4rem auto 5rem;
  background: rgba(26, 35, 50, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-lg);
  max-width: 960px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.stat { text-align: center; min-width: 120px; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(201, 169, 98, 0.25);
}

/* ─── Logo Sections ─── */
.logos-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}
.logo-section {
  margin-bottom: 5rem;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-icon {
  font-size: 1.25rem;
  color: var(--gold);
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.3), transparent);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.logo-grid--with-art {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.logo-grid--with-art > .logo-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  height: auto;
}
.logo-grid--with-art > .logo-card .logo-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.logo-grid--with-art > .logo-card .btn-download {
  margin-top: auto;
}
.section-art {
  overflow: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
}
.section-art:not(.section-art--stacked) {
  align-self: start;
  background: rgba(15, 20, 25, 0.6);
}
.section-art img {
  width: 100%;
  height: auto;
  display: block;
}
.section-art--stacked {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: start;
  background: transparent;
  overflow: hidden;
  width: 100%;
}
.section-art--stacked .section-art__img {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  border-radius: var(--radius-lg);
}
#section-header .section-art--stacked {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
#section-header .section-art--stacked .section-art__img {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 118%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}
#section-header .section-art--stacked .section-art__img--top {
  align-self: end;
  object-position: center bottom;
  margin-bottom: -1.5rem;
  z-index: 2;
}
#section-header .section-art--stacked .section-art__img--bottom {
  align-self: start;
  object-position: center top;
  margin-top: -1.5rem;
  z-index: 1;
}
.logo-grid-pair,
.logo-grid-trio {
  display: grid;
  grid-template-columns: subgrid;
  gap: 2rem;
  align-self: start;
}
.logo-grid-pair {
  grid-column: span 2;
}
.logo-grid-trio {
  grid-column: span 3;
}
.logo-grid-pair > .logo-card,
.logo-grid-trio > .logo-card {
  align-self: start;
  height: auto;
  min-height: 0;
}
.companion-art {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: transparent;
  align-self: start;
}
.companion-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── Logo Card ─── */
.logo-card {
  background: rgba(26, 35, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.logo-card:hover {
  border-color: rgba(201, 169, 98, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.logo-preview {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  width: 100%;
}
.logo-preview-trigger {
  cursor: pointer;
  transition: opacity var(--transition);
}
.logo-preview-trigger:hover {
  opacity: 0.92;
}
.logo-preview-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.logo-preview-trigger img {
  pointer-events: none;
  user-select: none;
}
.logo-preview--circular {
  aspect-ratio: 1 / 1;
}
.logo-preview--horizontal {
  aspect-ratio: 4 / 1;
}
.logo-preview--vertical {
  aspect-ratio: 4 / 5;
}
.logo-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.logo-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.logo-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.logo-card-body p.logo-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.logo-meta-block {
  margin-bottom: 1.25rem;
}
.logo-meta-block h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.logo-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.logo-color {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.logo-color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.logo-color-name {
  color: var(--off-white);
  font-weight: 500;
}
.logo-color code {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-family: "SF Mono", Monaco, monospace;
}
.logo-usage {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.65;
}
.logo-guides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.logo-guide-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.guide-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.5;
}
.guide-item span {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.7rem;
  margin-top: 2px;
}
.guide-item--do span { color: #6fcf97; }
.guide-item--dont span { color: #e07070; }
.logo-card-body p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.format-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: rgba(201, 169, 98, 0.1);
  color: var(--gold-light);
  border-radius: 4px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
}
.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 169, 98, 0.35);
}
.btn-download svg {
  flex-shrink: 0;
}

/* ─── Guidelines ─── */
.guidelines {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(201, 169, 98, 0.1);
}
.guidelines-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.guidelines-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.guidelines-header p {
  color: var(--gray-400);
}
.guidelines-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.guidelines-intro {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-400);
  border-top: 1px solid rgba(201, 169, 98, 0.12);
  padding-top: 1.5rem;
  margin-top: 0.25rem;
}
.section-lead {
  text-align: center;
  max-width: 560px;
  margin: -0.75rem auto 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-400);
}
.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.guideline-card {
  padding: 2rem;
  background: rgba(26, 35, 50, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: var(--transition);
}
.guideline-card:hover {
  border-color: rgba(201, 169, 98, 0.2);
}
.guideline-card--dont {
  border-color: rgba(220, 80, 80, 0.15);
}
.guideline-card--dont .guideline-icon {
  background: rgba(220, 80, 80, 0.15);
  color: #e07070;
}
.guideline-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 98, 0.15);
  color: var(--gold);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.guideline-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.guideline-lead {
  font-size: 0.875rem;
  color: var(--off-white);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  opacity: 0.9;
}
.guideline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.guideline-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.84rem;
  color: var(--gray-400);
  line-height: 1.55;
}
.guideline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}
.guideline-card--dont .guideline-list li::before {
  background: #e07070;
}
.guideline-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.palette-section,
.typography-section {
  margin-top: 4rem;
}
.palette-section h3,
.typography-section h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.color-swatch {
  background: rgba(26, 35, 50, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.swatch {
  height: 100px;
}
.swatch--border {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.swatch-info {
  padding: 1rem;
}
.swatch-info strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.swatch-info code {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-family: "SF Mono", Monaco, monospace;
}
.swatch-use {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--gray-400);
}

.type-samples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.type-sample {
  padding: 2rem;
  background: rgba(26, 35, 50, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  text-align: center;
}
.type-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
.type-serif {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--gold-light);
}
.type-serif--small {
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--off-white);
  margin: 0 0 0.75rem;
}
.type-sans {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  margin: 1rem 0 0.5rem;
}
.type-sans--small {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  margin: 0 0 0.75rem;
  color: var(--gray-400);
}
.type-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
}
.type-usage {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gray-400);
  text-align: left;
}
.type-hierarchy {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 2rem;
  background: rgba(26, 35, 50, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}
.type-hierarchy .type-label {
  display: block;
  text-align: center;
  margin-bottom: 1.25rem;
}
.type-hierarchy-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.type-hierarchy-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.type-hierarchy-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.type-hierarchy-sample--h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--off-white);
}
.type-hierarchy-sample--h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-light);
}
.type-hierarchy-sample--body {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-400);
}

/* ─── Formats Guide ─── */
.formats-guide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(201, 169, 98, 0.1);
}
.formats-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.formats-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.formats-header p {
  color: var(--gray-400);
  line-height: 1.7;
}
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.format-card {
  background: rgba(26, 35, 50, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.format-card:hover {
  border-color: rgba(201, 169, 98, 0.25);
}
.format-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  background: rgba(201, 169, 98, 0.15);
  color: var(--gold-light);
  border-radius: 4px;
  margin-bottom: 1rem;
  margin-right: 0.35rem;
}
.format-badge--alt {
  background: rgba(255, 255, 255, 0.08);
  color: var(--off-white);
}
.format-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.format-lead {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.format-block {
  margin-bottom: 1.25rem;
}
.format-block h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.format-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.format-block li {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.format-block li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.format-block p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.format-example {
  font-size: 0.85rem;
  color: var(--off-white);
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.format-example strong {
  color: var(--gold);
  font-weight: 600;
}
.nav-cta--secondary {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--off-white);
}
.nav-cta--secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid rgba(201, 169, 98, 0.1);
  padding: 4rem 2rem;
  text-align: center;
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}
.footer-brand img {
  max-width: 280px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}
.site-footer p {
  font-size: 0.875rem;
  color: var(--gray-400);
}
.footer-note {
  margin-top: 0.5rem;
  font-size: 0.75rem !important;
  opacity: 0.6;
}

/* ─── Modal ─── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  background: var(--logo-bg);
  border: 1px solid rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.modal.active .modal-content {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  border-radius: 50%;
  transition: var(--transition);
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.modal-preview-area {
  position: relative;
  padding: 0;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  /* background set per-logo via inline style */
}
.modal-preview-area--circular {
  aspect-ratio: 1 / 1;
  max-height: 380px;
}
.modal-preview-area--horizontal {
  aspect-ratio: 4 / 1;
}
.modal-preview-area--vertical {
  aspect-ratio: 4 / 5;
  max-height: 400px;
}
.modal-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.modal-header {
  text-align: center;
  padding: 1.5rem 2rem 0;
}
.modal-guidelines {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.modal-guide-section {
  margin-bottom: 1rem;
}
.modal-guide-section:last-child {
  margin-bottom: 0;
}
.modal-guide-section h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.modal-guide-section p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.modal-guide-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.modal-guide-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.download-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 2rem 2rem;
}
.modal-header h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.modal-header p {
  font-size: 0.875rem;
  color: var(--gray-400);
}
.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(15, 20, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  color: var(--white);
  transition: var(--transition);
  text-align: left;
}
.download-option:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
}
.download-option:hover svg {
  color: var(--gold);
}
.download-option-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.download-option-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.download-option-meta {
  font-size: 0.75rem;
  color: var(--gray-400);
}
.download-option svg {
  color: var(--gray-400);
  transition: var(--transition);
  flex-shrink: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-content {
    max-width: none;
    padding: 3rem 2rem;
  }
  .logo-grid--with-art {
    grid-template-columns: 1fr;
  }
  .section-art {
    height: auto !important;
    aspect-ratio: auto;
  }
  .section-art--stacked {
    gap: 1rem;
    justify-content: flex-start;
  }
  #section-header .section-art--stacked {
    grid-template-rows: auto auto;
    gap: 0.5rem;
  }
  #section-header .section-art--stacked .section-art__img {
    width: 100%;
    max-height: none;
    margin: 0;
  }
  #section-header .section-art--stacked .section-art__img--top,
  #section-header .section-art--stacked .section-art__img--bottom {
    align-self: center;
  }
  .header-actions { gap: 0.75rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(15, 20, 25, 0.3) 0%,
      rgba(15, 20, 25, 0.68) 38%,
      rgba(15, 20, 25, 0.76) 55%,
      rgba(15, 20, 25, 0.68) 72%,
      rgba(15, 20, 25, 0.42) 100%
    );
  }
  .hero-content {
    top: 44%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 2.5rem 1.5rem;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  }
  .hero-actions {
    justify-content: center;
  }
  .brand-mark img {
    height: 38px;
    max-width: min(220px, 58vw);
  }
  .lang-switcher { order: -1; }
  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 2rem;
    transition: right var(--transition);
    border-left: 1px solid rgba(201, 169, 98, 0.1);
  }
  .nav-close { display: flex; }
  .site-nav.open { right: 0; }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  .logo-guides,
  .modal-guide-row {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: 1fr;
  }
  .logo-grid-pair,
  .logo-grid-trio {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  .companion-art {
    height: auto !important;
  }
  .companion-art img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .stats-bar {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 2rem;
    margin: 3rem 1.5rem 4rem;
    max-width: none;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .guidelines { padding: 4rem 1.5rem; }
  .formats-guide { padding: 4rem 1.5rem; }
  .formats-grid { grid-template-columns: 1fr; }
  .logos-wrapper { padding: 0 1.5rem 4rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .modal-content { padding: 1.5rem; }
}
