:root {
  --bg: #120e0e;
  --surface: #1b1414;
  --surface-alt: #241a1a;
  --text: #f3ece9;
  --text-muted: #b4a29d;
  --border: rgba(243, 236, 233, 0.14);
  --accent: #bf8f4f;
  --accent-2: #9d5a4e;
  --secondary: #2a1e1e;
  --on-accent: #171111;
  --dark-band: #0a0707;
  --radius: 10px;
  --radius-btn: 6px;
  --font-heading: Candara, Optima, 'Segoe UI', sans-serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
  --section-pad: 104px;
  --header-h: auto;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main {
  flex: 1 0 auto;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(26px, 4.2vw, 42px);
}

h3 {
  font-size: clamp(20px, 2.4vw, 26px);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }
}

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  padding: 18px 0 0;
}

.brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 40px;
  height: 43px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
}

.nav-row {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  padding: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  position: absolute;
  right: 24px;
  top: 18px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  list-style: none;
  padding: 14px 0 16px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current='page'] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.independence-notice {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.independence-notice p {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 10px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
    padding: 14px 0;
  }

  .brand-row {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-row {
    border-top: none;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  }

  .nav-row.is-open {
    display: block;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .site-nav a {
    display: block;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a[aria-current='page'] {
    border-bottom-color: var(--border);
  }
}

.hero-quiet {
  background: var(--surface-alt);
  padding: var(--section-pad) 0;
}

.hero-quiet .accent-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 18px;
}

.hero-quiet h1 {
  max-width: 16ch;
  margin: 0 0 22px 0;
}

.hero-quiet .lede {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 18px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--surface {
  background: var(--surface);
}

.section--alt {
  background: var(--surface-alt);
}

.section--dark {
  background: var(--dark-band);
}

.section-head {
  margin-bottom: 48px;
  max-width: 62ch;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
}

.cat-rows {
  border-top: 1px solid var(--border);
}

.cat-row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr auto;
  gap: 24px 40px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.cat-row h3 {
  font-size: 22px;
  letter-spacing: -0.5px;
}

.cat-row p {
  color: var(--text-muted);
  margin: 0;
}

.cat-row .cat-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}

.cat-row:hover {
  box-shadow: none;
}

.cat-row:hover h3 {
  color: var(--accent);
}

@media (max-width: 768px) {
  .cat-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.regions-band {
  text-align: center;
  padding: var(--section-pad) 0;
}

.regions-band .frame {
  max-width: 52ch;
  margin: 0 auto 48px;
  color: var(--text-muted);
}

.regions-type {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 56px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
}

.regions-type span {
  position: relative;
}

.look-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

.look-item {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.look-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}

.look-item h3 {
  margin-bottom: 12px;
}

.look-item p {
  color: var(--text-muted);
  margin: 0;
}

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

.approach {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) 1.4fr;
  gap: 48px 64px;
  align-items: start;
}

.approach-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.approach-cols p {
  color: var(--text-muted);
  margin: 0;
}

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

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

.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .intro {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 18px;
}

.catalog {
  padding: 64px 0 var(--section-pad);
}

.catalog-close {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 62ch;
  color: var(--text-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.card-tall {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-tall .card-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card-tall .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-tall .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.card-tall .card-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.3;
  margin: 0;
}

.card-tall .card-loc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.card-tall .card-desc {
  color: var(--text-muted);
  flex: 1;
  margin: 0;
}

.card-tall .btn {
  margin-top: auto;
}

.feat-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feat-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}

.feat-row .thumb {
  width: 120px;
  height: 120px;
  overflow: hidden;
  align-self: stretch;
}

.feat-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feat-row .feat-copy {
  padding: 24px 8px 24px 0;
  text-align: left;
}

.feat-row .feat-copy h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 8px;
}

.feat-row .feat-copy .loc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.feat-row .feat-copy .category-tag {
  margin-bottom: 10px;
}

.feat-row .feat-copy p {
  color: var(--text-muted);
  margin: 0;
}

.feat-row .feat-action {
  padding-right: 24px;
}

@media (max-width: 768px) {
  .feat-row {
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto auto;
  }

  .feat-row .thumb {
    width: 96px;
    height: 96px;
    grid-row: 1 / 2;
  }

  .feat-row .feat-copy {
    padding: 20px 20px 12px 0;
  }

  .feat-row .feat-action {
    grid-column: 1 / -1;
    padding: 0 20px 20px;
  }

  .feat-row .feat-action .btn {
    width: 100%;
  }
}

.flag-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.flag-card {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 0 40px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.flag-card.is-flip {
  grid-template-columns: 1fr 40%;
}

.flag-card.is-flip .flag-photo {
  order: 2;
}

.flag-card.is-flip .flag-body {
  order: 1;
}

.flag-photo {
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  min-height: 260px;
}

.flag-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.flag-body {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.flag-body h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 8px;
}

.flag-body .loc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.flag-body .category-tag {
  margin-bottom: 16px;
}

.flag-body .flag-desc {
  color: var(--text-muted);
  flex: 1;
}

.flag-body .flag-rule {
  height: 1px;
  background: var(--border);
  margin: 24px 0 20px;
  border: 0;
}

@media (max-width: 768px) {
  .flag-card,
  .flag-card.is-flip {
    grid-template-columns: 1fr;
  }

  .flag-card.is-flip .flag-photo,
  .flag-card.is-flip .flag-body {
    order: initial;
  }

  .flag-photo,
  .flag-photo img {
    min-height: 220px;
  }
}

.story-stack {
  padding: 64px 0 var(--section-pad);
  max-width: 760px;
}

.story-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.story-block:first-child {
  padding-top: 24px;
}

.story-block:last-child {
  border-bottom: 0;
}

.story-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}

.story-block h2 {
  margin-bottom: 24px;
}

.story-block p {
  color: var(--text-muted);
  margin-bottom: 1.1em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  padding: 64px 0 var(--section-pad);
  align-items: start;
}

.contact-intro p {
  color: var(--text-muted);
  max-width: 42ch;
}

.contact-email {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--accent);
  text-decoration: none;
}

.contact-email:hover {
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-agree {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0;
}

.form-agree input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-agree label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-agree label a {
  color: var(--accent);
}

.form-error {
  display: none;
  color: var(--accent-2);
  font-size: 13px;
  margin-top: 8px;
}

.form-error.is-visible {
  display: block;
}

.form-agree[aria-invalid='true'] input {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.confirm-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.confirm-panel h2 {
  margin-bottom: 16px;
}

.confirm-panel p {
  color: var(--text-muted);
  margin-bottom: 1em;
}

.confirm-panel .ref {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.legal-body {
  padding: 64px 0 var(--section-pad);
  max-width: 760px;
}

.legal-body h1 {
  margin-bottom: 12px;
}

.legal-body > p:first-of-type {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-body h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 40px 0 16px;
}

.legal-body h3 {
  margin: 28px 0 12px;
}

.legal-body p,
.legal-body li {
  color: var(--text-muted);
}

.legal-body ul {
  padding-left: 1.2em;
  margin-bottom: 1em;
}

.legal-body li {
  margin-bottom: 0.5em;
}

.sitemap-list {
  padding: 48px 0 var(--section-pad);
  list-style: none;
}

.sitemap-list li {
  border-bottom: 1px solid var(--border);
}

.sitemap-list a {
  display: block;
  padding: 18px 0;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.sitemap-list a:hover {
  color: var(--accent);
}

.site-footer {
  background: var(--dark-band);
  color: var(--text);
  margin-top: auto;
}

.footer-upper {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) 1fr;
  gap: 48px 64px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-blurb {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 42ch;
  margin-bottom: 20px;
}

.footer-regions {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.footer-mail-wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  padding: 0 0 40px;
}

.footer-mail {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--accent);
  text-decoration: none;
}

.footer-mail:hover {
  color: var(--text);
}

.footer-lower {
  background: #060404;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 36px 24px 48px;
}

.footer-lower .ind-notice {
  max-width: 64ch;
  margin: 0 auto 20px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 20px;
}

.footer-legal a,
.footer-legal button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-requisites {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.85;
  max-width: 70ch;
  margin: 0 auto;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .footer-upper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 16px;
  pointer-events: none;
}

.consent[hidden] {
  display: none !important;
}

.consent__panel {
  pointer-events: auto;
  width: min(100%, 720px);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.consent__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.consent__text {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.consent__opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.consent__opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.consent__opt input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent__actions .btn {
  font-size: 14px;
  padding: 10px 16px;
}

@media (max-width: 480px) {
  .consent__actions .btn {
    width: 100%;
  }

  :root {
    --section-pad: 72px;
  }

  .page-hero {
    padding: 48px 0 36px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.category-tag {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
