/* ==========================================================================
   MAGNA CARTA TATTOO — DESIGN SYSTEM & EDITORIAL STYLES
   Inspired by Haute Horlogerie, Swiss Art Monographs & Antique European Ateliers
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  /* Dark Mode (Default Atelier Noir) */
  --bg-canvas: #111112;
  --bg-elevated: #18181b;
  --bg-container: #201f20;
  --bg-container-high: #2a2a2b;
  --bg-container-highest: #353436;
  
  --text-primary: #f4f1ea;
  --text-secondary: #cfc5bb;
  --text-muted: #8e8883;
  
  --accent-gold: #d2c4b7;
  --accent-bronze: #9e9286;
  --accent-inverse: #111112;
  
  --border-subtle: rgba(158, 146, 134, 0.18);
  --border-strong: rgba(158, 146, 134, 0.45);
  --border-accent: rgba(210, 196, 183, 0.5);

  --font-editorial: 'Bodoni Moda', 'Playfair Display', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme (Exhibition / Monograph Ivoire) */
body.light-theme {
  --bg-canvas: #fcf9f3;
  --bg-elevated: #f6f3ed;
  --bg-container: #f0eee8;
  --bg-container-high: #ebe8e2;
  --bg-container-highest: #dedad2;
  
  --text-primary: #1c1c18;
  --text-secondary: #4c463f;
  --text-muted: #7e766e;
  
  --accent-gold: #675d52;
  --accent-bronze: #332b22;
  --accent-inverse: #fcf9f3;
  
  --border-subtle: rgba(126, 118, 110, 0.22);
  --border-strong: rgba(103, 93, 82, 0.45);
  --border-accent: rgba(103, 93, 82, 0.6);
}

/* Base Reset & Zero-Radius Geometry */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Strict Zero Radius as per DESIGN.md */
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* Typography Utilities */
.font-editorial {
  font-family: var(--font-editorial);
}

.label-caps {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

h1, h2, h3, h4 {
  font-family: var(--font-editorial);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Layout Containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Hairline Wireframe Borders */
.border-subtle {
  border: 1px solid var(--border-subtle);
}

.border-b-subtle {
  border-bottom: 1px solid var(--border-subtle);
}

.border-t-subtle {
  border-top: 1px solid var(--border-subtle);
}

/* TOP EDITORIAL HEADER & NAVIGATION */
.header-editorial {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(17, 17, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.4s ease;
}

body.light-theme .header-editorial {
  background-color: rgba(252, 249, 243, 0.88);
}

.nav-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-seal {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

.brand-text h2 {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Compact Language Selector Dropdown — Exact Width Match (PT, ES, FR, UK) */
.lang-dropdown-container {
  position: relative;
  width: 58px;
}

.lang-trigger-btn {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.45rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-trigger-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-container);
}

.lang-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-top: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  z-index: 150;
}

.lang-menu-dropdown.show {
  display: flex;
}

.lang-option-btn {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  display: block;
  transition: var(--transition-smooth);
}

.lang-option-btn:last-child {
  border-bottom: none;
}

.lang-option-btn:hover,
.lang-option-btn.active {
  background: var(--bg-container-high);
  color: var(--text-primary);
}

/* Brand Gothic Logo Styling */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-for-dark {
  display: block;
}

.logo-for-light {
  display: none;
}

body.light-theme .logo-for-dark {
  display: none;
}

body.light-theme .logo-for-light {
  display: block;
}

.gate-logo-img {
  height: 85px;
  width: auto;
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: contain;
}

/* Minimalist Sun/Moon Theme Toggle */
.theme-toggle-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-container);
}

.theme-toggle-btn .material-symbols-outlined {
  font-size: 1.15rem;
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.7rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* BUTTONS — Zero Radius, Sharp Precision */
.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-canvas);
  border: 1px solid var(--text-primary);
  padding: 0.85rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--accent-bronze);
  border-color: var(--accent-bronze);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  padding: 0.85rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background-color: var(--bg-container);
  border-color: var(--text-primary);
}

/* HERO SECTION */
.hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title .italic-accent {
  font-style: italic;
  color: var(--accent-gold);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

@media (max-width: 640px) {
  .hero-trust-strip {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust-item .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--accent-gold);
}

.hero-visual-frame {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
}

.hero-visual-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%) contrast(108%);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.hero-visual-frame:hover img {
  filter: grayscale(80%) contrast(112%);
  transform: scale(1.02);
}

/* SECTION HEADERS (Monographic standard) */
.section-editorial {
  padding: 90px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  margin-bottom: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-tag {
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.section-subtitle {
  max-width: 540px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* HIGHLIGHTS SECTION (Guest Artists & Convenções) */
.highlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  transition: border-color 0.3s ease;
}

.highlight-card:hover {
  border-color: var(--border-strong);
}

@media (max-width: 860px) {
  .highlight-card {
    grid-template-columns: 1fr;
  }
}

.highlight-image-box {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.highlight-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(90%);
  transition: var(--transition-smooth);
}

.highlight-card:hover .highlight-image-box img {
  filter: grayscale(30%);
  transform: scale(1.03);
}

.highlight-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .highlight-content {
    padding: 1.5rem;
  }
}

.highlight-badge {
  display: inline-block;
  background: var(--bg-container-high);
  border: 1px solid var(--border-strong);
  color: var(--accent-gold);
  padding: 0.3rem 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.highlight-dates {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.highlight-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.highlight-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.highlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* THE PROTOCOL SECTION (Triagem & Rigor) */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .protocol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .protocol-grid {
    grid-template-columns: 1fr;
  }
}

.protocol-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.protocol-card:hover {
  border-color: var(--accent-gold);
  background: var(--bg-container);
}

.protocol-step-num {
  font-family: var(--font-editorial);
  font-size: 2.2rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.protocol-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.protocol-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* RESIDENT ARTISTS SECTION */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .artists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .artists-grid {
    grid-template-columns: 1fr;
  }
}

.artist-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.artist-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.artist-portrait-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-container);
  position: relative;
}

.artist-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.artist-card:hover .artist-portrait-wrap img {
  filter: grayscale(40%);
  transform: scale(1.05);
}

.artist-card-info {
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.artist-name-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.artist-card h3 {
  font-size: 1.35rem;
}

.artist-badge-status {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.artist-role-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.artist-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.tag-spec {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.artist-card-cta {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

/* ARTIST DETAIL MONOGRAPH MODAL / PAGE */
.monograph-dossier {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 3rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
}

@media (max-width: 900px) {
  .monograph-dossier {
    grid-template-columns: 1fr;
  }
}

.tech-sheet-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.82rem;
}

.tech-sheet-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.tech-sheet-table td {
  padding: 0.75rem 0.5rem;
}

.tech-sheet-table td:first-child {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 35%;
}

.gallery-grid-portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .gallery-grid-portfolio {
    grid-template-columns: 1fr;
  }
}

.portfolio-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-thumb:hover img {
  transform: scale(1.06);
}

/* CONSULTATION & QUOTE FORM */
.quote-section {
  padding: 90px 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  background: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-gold);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* FOOTER */
.footer-editorial {
  padding: 80px 0 40px;
  background: var(--bg-canvas);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-col h4 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  background: var(--bg-container);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* CONFIDENTIAL PREVIEW GATE (Password Protected Modal) */
.preview-gate-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 18, 0.96);
  backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.preview-gate-box {
  background: #18181b;
  border: 1px solid rgba(210, 196, 183, 0.4);
  max-width: 480px;
  width: 100%;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.gate-seal {
  width: 54px;
  height: 54px;
  border: 1px solid #d2c4b7;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  color: #d2c4b7;
}

.gate-badge {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #9e9286;
  margin-bottom: 0.8rem;
}

.gate-title {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  color: #f4f1ea;
}

.gate-subtitle {
  font-size: 0.85rem;
  color: #cfc5bb;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gate-input {
  background: #111112;
  border: 1px solid rgba(158, 146, 134, 0.4);
  color: #f4f1ea;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-align: center;
  outline: none;
}

.gate-input:focus {
  border-color: #d2c4b7;
}

.gate-error {
  color: #ffb4ab;
  font-size: 0.78rem;
  display: none;
}
