@charset "UTF-8";

:root {
  --ink: #18130c;
  --ink-soft: rgba(24, 19, 12, 0.72);
  --paper: #d9bf87;
  --paper-light: #ecd9aa;
  --paper-dark: #9f7d49;
  --brown: #3a2817;
  --brown-soft: rgba(58, 40, 23, 0.72);
  --red: #6e2117;
  --green: #3e5132;
  --blue: #263d58;
  --border: rgba(44, 31, 18, 0.75);
  --shadow: 0 18px 40px rgba(32, 20, 9, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Courier New", Courier, "Lucida Console", Monaco, monospace;
  color: var(--ink);
  background:
    linear-gradient(rgba(217, 191, 135, 0.78), rgba(217, 191, 135, 0.86)),
    url("./img/hg.jpg") center / cover fixed no-repeat;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 40%),
    radial-gradient(circle at 20% 20%, rgba(78, 48, 20, 0.18), transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(78, 48, 20, 0.2), transparent 28%);
  pointer-events: none;
  z-index: 1;
}

a {
  color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 18px 34px;
    background: rgba(255, 255, 255, 0.74);
    border-bottom: 2px solid rgba(44, 31, 18, 0.45);
     backdrop-filter: blur(8px);
}

.brand img {
  display: block;
  width: 210px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.page-wrap {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto;
  padding: 46px 0 120px 0;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
  overflow: hidden;
  border: 3px solid rgba(44, 31, 18, 0.65);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(54, 34, 15, 0.2));
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(44, 31, 18, 0.48);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(222, 196, 139, 0.96), rgba(222, 196, 139, 0.64), rgba(222, 196, 139, 0.1));
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(24, 19, 12, 0.7);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 102px);
  line-height: 0.95;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255,255,255,0.32);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(24, 19, 12, 0.82);
}

.hero-actions,
.button-grid,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stamp {
  position: absolute;
  right: 58px;
  bottom: 52px;
  z-index: 3;
  padding: 10px 18px;
  border: 4px solid rgba(110, 33, 23, 0.72);
  color: rgba(110, 33, 23, 0.72);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.section {
  margin-top: 84px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head p:last-child {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.content-panel,
.dossier-box,
.tabs-box,
.accordion-box,
.radio-panel,
.field-form {
  position: relative;
  padding: 30px;
  border: 2px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(77,45,18,0.12)),
    rgba(222, 196, 139, 0.52);
  box-shadow: var(--shadow);
}

.content-panel::before,
.dossier-box::before,
.tabs-box::before,
.accordion-box::before,
.radio-panel::before,
.field-form::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(44, 31, 18, 0.28);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid rgba(31, 22, 13, 0.92);
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #ead6a2;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(0,0,0,0.16)),
    #3a2817;
  box-shadow: 0 4px 0 rgba(20, 13, 7, 0.72);
}

.btn-dark {
  color: #f1dfaa;
  background: #18130c;
  box-shadow: 0 4px 0 rgba(20, 13, 7, 0.72);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(222, 196, 139, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.btn-paper {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(77,45,18,0.12)),
    var(--paper-light);
}

.btn-danger {
  color: #f1dfaa;
  background: var(--red);
  box-shadow: 0 4px 0 rgba(49, 11, 6, 0.72);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(44, 31, 18, 0.65);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(238, 214, 156, 0.48);
}

.badge-dark {
  color: #f1dfaa;
  background: var(--brown);
}

.badge-red {
  color: #f1dfaa;
  background: var(--red);
}

.badge-green {
  color: #f1dfaa;
  background: var(--green);
}

.badge-blue {
  color: #f1dfaa;
  background: var(--blue);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.content-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  border: 2px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(77,45,18,0.14)),
    rgba(222, 196, 139, 0.56);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border: 14px solid rgba(44, 31, 18, 0.09);
  border-radius: 50%;
}

.content-card p {
  line-height: 1.65;
  color: var(--ink-soft);
}

.content-card a {
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.content-card.is-highlight {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.2), rgba(58,40,23,0.38)),
    rgba(222, 196, 139, 0.72);
}

.card-number {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  color: rgba(24, 19, 12, 0.48);
}

.split-layout,
.form-layout,
.interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.dossier-box p {
  line-height: 1.7;
  color: var(--ink-soft);
}

.check-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 8px;
}

.image-card,
.image-box {
  position: relative;
  border: 2px solid rgba(44, 31, 18, 0.68);
  background: rgba(222, 196, 139, 0.48);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-card img,
.image-box img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: sepia(0.22) contrast(0.94) saturate(0.88);
}

.image-card span,
.image-box figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(44, 31, 18, 0.65);
  background: rgba(222, 196, 139, 0.86);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.torn {
  clip-path: polygon(0 3%, 8% 0, 20% 2%, 34% 0, 48% 2%, 60% 0, 74% 3%, 88% 0, 100% 3%, 98% 19%, 100% 35%, 97% 52%, 100% 68%, 96% 84%, 100% 100%, 86% 97%, 72% 100%, 55% 97%, 38% 100%, 22% 97%, 8% 100%, 0 96%, 3% 80%, 0 64%, 3% 48%, 0 32%, 2% 18%);
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 22px;
}

.image-box {
  height: 360px;
  margin: 0;
}

.image-box-large {
  height: 440px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-box {
  padding: 34px 22px;
  border: 2px solid var(--border);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(77,45,18,0.14)),
    rgba(222, 196, 139, 0.48);
  box-shadow: var(--shadow);
}

.stat-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 58px;
  line-height: 1;
}

.stat-box span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.field-form label {
  display: block;
  margin: 0 0 8px 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.field-form input,
.field-form select,
.field-form textarea {
  width: 100%;
  margin: 0 0 18px 0;
  padding: 15px 16px;
  border: 2px solid rgba(31, 22, 13, 0.78);
  outline: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--ink);
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.24), rgba(74,49,24,0.08)),
    rgba(238, 214, 156, 0.52);
  box-shadow: inset 0 2px 8px rgba(34, 23, 11, 0.15);
}

.field-form input:focus,
.field-form select:focus,
.field-form textarea:focus {
  border-color: var(--ink);
  box-shadow:
    inset 0 2px 8px rgba(34, 23, 11, 0.15),
    0 0 0 3px rgba(24, 19, 12, 0.12);
}

.radio-panel h3 {
  margin-bottom: 24px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.choice input {
  width: 22px;
  height: 22px;
  accent-color: var(--brown);
}

.alert {
  margin-top: 16px;
  padding: 16px 18px;
  border: 2px solid rgba(44, 31, 18, 0.55);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.alert-success {
  background: rgba(62, 81, 50, 0.18);
}

.alert-warning {
  background: rgba(159, 125, 73, 0.28);
}

.alert-danger {
  background: rgba(110, 33, 23, 0.18);
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn,
.accordion-trigger,
.modal-close {
  font-family: "Courier New", Courier, monospace;
}

.tab-btn {
  flex: 1;
  padding: 14px;
  border: 2px solid rgba(31, 22, 13, 0.78);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(238, 214, 156, 0.45);
}

.tab-btn.active {
  color: #f1dfaa;
  background: var(--brown);
}

.tab-content {
  display: none;
  line-height: 1.7;
}

.tab-content.active {
  display: block;
}

.accordion-trigger {
  width: 100%;
  padding: 17px;
  border: 2px solid rgba(31, 22, 13, 0.78);
  margin-bottom: 10px;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(238, 214, 156, 0.45);
}

.accordion-trigger.active {
  color: #f1dfaa;
  background: var(--brown);
}

.accordion-content {
  display: none;
  padding: 4px 18px 18px 18px;
  line-height: 1.7;
}

.modal-demo {
  margin-top: 24px;
  text-align: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: timeline;
}

.timeline-item {
  position: relative;
  padding: 30px;
  border: 2px solid var(--border);
  background: rgba(222, 196, 139, 0.52);
  box-shadow: var(--shadow);
}

.timeline-item span {
  display: block;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(24, 19, 12, 0.55);
}

.timeline-item p {
  line-height: 1.7;
  color: var(--ink-soft);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(24, 19, 12, 0.68);
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: min(620px, 100%);
  padding: 42px;
  border: 3px solid rgba(44, 31, 18, 0.85);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(77,45,18,0.16)),
    var(--paper);
  box-shadow: 0 30px 80px rgba(0,0,0,0.46);
}

.modal-content p {
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(31, 22, 13, 0.78);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  background: rgba(238, 214, 156, 0.45);
}

.footer {
  position: relative;
  z-index: 5;
  padding: 34px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.legal a {
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.smoke {
  position: fixed;
  inset: auto -10% -10% -10%;
  height: 50vh;
  background:
    radial-gradient(circle at 15% 70%, rgba(255,255,255,0.08), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.06), transparent 34%),
    radial-gradient(circle at 85% 60%, rgba(255,255,255,0.08), transparent 26%);
  filter: blur(30px);
  opacity: 0.7;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
  z-index: 2;
}

.sparks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}

.spark {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 0, 0.95) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 0, 0, 0) 100%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 18px rgba(255, 114, 31, 0.5);
  opacity: 0;
  animation: rise linear infinite;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(0, -30px, 0) scale(1.06);
  }
}

@keyframes rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  70% {
    opacity: 0.95;
  }

  100% {
    transform: translate3d(var(--spark-x), -105vh, 0) scale(0.2);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .site-header,
  .main-nav {
    flex-direction: column;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 480px;
    padding: 46px 28px;
  }

  .stamp {
    right: 30px;
    bottom: 28px;
    font-size: 18px;
  }

  .card-grid,
  .split-layout,
  .form-layout,
  .interactive-grid,
  .stats-grid,
  .timeline,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-box,
  .image-box-large {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .page-wrap {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .site-header {
    padding: 18px;
  }

  .brand img {
    width: 180px;
  }

  .main-nav {
    gap: 13px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .content-panel,
  .dossier-box,
  .tabs-box,
  .accordion-box,
  .radio-panel,
  .field-form,
  .content-card,
  .timeline-item {
    padding: 22px;
  }

  .button-grid,
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .tabs {
    flex-direction: column;
  }
}





.legal-page .legal-hero {
  min-height: 420px;
}

.legal-info,
.legal-text {
  position: relative;
  z-index: 2;
}

.legal-info p,
.legal-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(24, 19, 12, 0.82);
}

.legal-info strong {
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.legal-info a,
.legal-text a {
  font-weight: 900;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal-page .content-card {
  min-height: 340px;
}

.legal-page .content-card p {
  font-size: 16px;
}