:root {
  --bg: #0d0d0f;
  --surface: #151517;
  --surface-alt: #1d1d20;
  --text: #f0f0f2;
  --text-muted: #a8a8ae;
  --border: rgba(240, 240, 242, 0.15);
  --accent: #c7ccd4;
  --accent-2: #8f7c52;
  --secondary: #222226;
  --on-accent: #111113;
  --deep: #08080a;
  --radius: 6px;
  --btn-radius: 0px;
  --font-heading: Baskerville, 'Baskerville Old Face', Georgia, serif;
  --font-body: 'Segoe UI', Arial, sans-serif;
  --max-width: 1080px;
  --section-pad: 76px;
  --h1-size: clamp(36px, 5.5vw, 58px);
  --h2-size: clamp(24px, 3.6vw, 36px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-2);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.15;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: clamp(18px, 2.4vw, 24px); }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.independence-notice {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

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

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  min-height: 56px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-lockup:hover {
  color: var(--text);
}

.brand-lockup img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-center a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-center a:hover {
  color: var(--text);
  background: var(--secondary);
}

.nav-center a[aria-current="page"] {
  color: var(--accent-2);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-right a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  white-space: nowrap;
}

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

.nav-right a[aria-current="page"] {
  color: var(--accent-2);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .brand-lockup {
    grid-column: 1;
    grid-row: 1;
  }

  .hamburger {
    display: flex;
    justify-content: center;
    grid-column: 2;
    grid-row: 1;
  }

  .nav-center,
  .nav-right {
    display: none !important;
  }

  .mobile-nav-wrapper {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    padding: 4px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .mobile-nav-wrapper.is-open {
    display: flex;
  }

  .mobile-nav-wrapper a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .mobile-nav-wrapper a:last-child {
    border-bottom: none;
  }

  .mobile-nav-wrapper a[aria-current="page"] {
    color: var(--accent-2);
  }
}

@media (min-width: 901px) {
  .mobile-nav-wrapper {
    display: none !important;
  }
}

main {
  min-height: 50vh;
}

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

.section--alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
}

.section--surface {
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
}

.fade-in {
  opacity: 0;
  transition: opacity 240ms ease;
}

.fade-in.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

.hero-corner {
  position: relative;
  padding: calc(var(--section-pad) + 20px) 0 calc(var(--section-pad) + 80px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
  overflow: visible;
}

.hero-corner::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-top: 2px solid var(--accent-2);
  border-left: 2px solid var(--accent-2);
  pointer-events: none;
}

.hero-corner__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: start;
}

.hero-corner__h1 {
  grid-column: 1;
  grid-row: 1;
  max-width: 520px;
}

.hero-corner__intro {
  grid-column: 2;
  grid-row: 1 / 3;
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 17px;
}

.hero-corner__notice {
  grid-column: 1;
  grid-row: 2;
  margin-top: 24px;
  max-width: 480px;
}

.hero-corner__photo {
  position: absolute;
  bottom: -60px;
  right: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  width: clamp(200px, 28vw, 320px);
  aspect-ratio: 1;
  border: 1px solid var(--border);
  overflow: hidden;
  z-index: 2;
}

.hero-corner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

  .hero-corner__intro {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }

  .hero-corner__notice {
    grid-row: 3;
  }

  .hero-corner__photo {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 32px 0 0 auto;
    width: min(280px, 70vw);
  }
}

.category-rows {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
}

.category-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.category-row:first-child {
  border-top: 1px solid var(--border);
}

.category-row h3 {
  font-size: clamp(18px, 2.2vw, 22px);
}

.category-row p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
}

.category-row__link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent-2);
}

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

.mission-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
}

.mission-split__rule {
  background: var(--border);
  width: 1px;
}

.mission-split__left h2 {
  margin-bottom: 20px;
}

.mission-split__right p {
  color: var(--text-muted);
}

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

  .mission-split__rule {
    display: none;
  }
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 40px;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.step-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 20px;
}

.step-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.step-item p {
  color: var(--text-muted);
  font-size: 14px;
}

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

  .steps-row::before {
    display: none;
  }
}

.about-three {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.about-three__lead {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 16px;
}

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

.about-col {
  border: 1px solid var(--border);
  padding: 28px 24px;
  background: var(--surface);
}

.about-col h3 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--accent-2);
}

.about-col p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

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

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

.closing-band h2 {
  margin-bottom: 20px;
}

.closing-band p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 16px;
}

.closing-band__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.page-header {
  padding: calc(var(--section-pad) - 16px) 0 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
}

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

.page-header__intro {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 640px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: var(--section-pad) 0;
}

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

.card-quiet__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.card-quiet__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-quiet__name {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-2);
}

.card-quiet__location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card-quiet__desc {
  color: var(--text-muted);
  font-size: 15px;
  flex: 1;
  margin-bottom: 20px;
}

.card-quiet__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  align-self: flex-start;
}

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

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

.grand-band {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.grand-band:first-child {
  border-top: 1px solid var(--border);
}

.grand-band__photo-wrap {
  position: relative;
  margin-bottom: 28px;
  overflow: hidden;
}

.grand-band__photo-wrap img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}

.grand-band__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: rgba(8, 8, 10, 0.78);
}

.grand-band__overlay h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin: 0;
}

.grand-band__content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.grand-band__location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.grand-band__desc {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.grand-band__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-2);
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: var(--section-pad) 0;
}

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

.card-city--image-bottom {
  flex-direction: column-reverse;
}

.card-city__img {
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

.card-city__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-city__name {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-2);
}

.card-city__location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card-city__desc {
  color: var(--text-muted);
  font-size: 15px;
  flex: 1;
  margin-bottom: 20px;
}

.card-city__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  align-self: flex-start;
}

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

  .card-city--image-bottom {
    flex-direction: column;
  }
}

.catalog-closing {
  padding: 40px 0 var(--section-pad);
  border-top: 1px solid var(--border);
}

.catalog-closing p {
  color: var(--text-muted);
  max-width: 640px;
}

.catalog-closing a {
  color: var(--accent-2);
  font-weight: 600;
}

.editorial-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: var(--section-pad) 0;
  align-items: start;
}

.editorial-index {
  position: sticky;
  top: 80px;
}

.editorial-index ul {
  list-style: none;
}

.editorial-index li {
  margin-bottom: 8px;
}

.editorial-index a {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color 0.2s, border-color 0.2s;
}

.editorial-index a:hover {
  color: var(--text);
  border-left-color: var(--accent-2);
}

.editorial-prose section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.editorial-prose section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.editorial-prose h2 {
  margin-bottom: 20px;
}

.editorial-prose p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

  .editorial-index {
    position: static;
  }

  .editorial-index ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .editorial-index a {
    border-left: none;
    padding-left: 0;
  }
}

.contact-intro-band {
  background: var(--surface-alt);
  padding: var(--section-pad) 0 48px;
}

.contact-form-section {
  padding: 48px 0 var(--section-pad);
}

.contact-form {
  max-width: 720px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}

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

.form-agree input {
  margin-top: 4px;
  flex-shrink: 0;
}

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

.form-agree label a {
  color: var(--accent-2);
  text-decoration: underline;
}

.form-error {
  font-size: 13px;
  color: #c47070;
  margin-top: 6px;
}

.btn-submit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-submit:hover:not(:disabled) {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--text);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-email-display {
  margin-top: 20px;
  font-size: 15px;
}

.contact-email-display a {
  color: var(--accent-2);
}

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

.confirmation-panel {
  max-width: 560px;
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--surface);
}

.confirmation-panel h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.confirmation-panel p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.confirmation-ref {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--accent-2);
  margin: 16px 0;
}

.btn-secondary {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  cursor: pointer;
  margin-top: 16px;
}

.btn-secondary:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

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

.legal-content h1 {
  margin-bottom: 8px;
}

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

.legal-content h2 {
  margin: 32px 0 14px;
  font-size: 22px;
}

.legal-content h3 {
  margin: 20px 0 10px;
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 12px 0 12px 24px;
}

.legal-content a {
  color: var(--accent-2);
}

.cookie-settings-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.cookie-settings-btn:hover {
  color: var(--accent-2);
}

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

.sitemap-page p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sitemap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  align-items: center;
  line-height: 2;
}

.sitemap-links a {
  color: var(--accent-2);
  font-weight: 600;
}

.sitemap-links .dot {
  color: var(--text-muted);
  user-select: none;
}

.site-footer {
  background: var(--surface-alt);
  margin-top: auto;
}

.footer-notice {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.footer-notice .independence-notice {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.footer-brand-band {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.footer-brand-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}

.footer-brand-inner .brand-lockup img {
  width: 32px;
  height: 32px;
}

.footer-blurb {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.62;
}

.footer-links-band {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.footer-link-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-group a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-link-group a:hover {
  color: var(--text);
}

.footer-bottom {
  padding: 20px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.cookie-settings-prominent {
  margin-bottom: 24px;
}

.footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.footer-bottom-right a {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom-right .sep {
  color: var(--border);
}

.consent-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  max-width: 380px;
  width: calc(100% - 48px);
  background: var(--surface-alt);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  padding: 24px;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.consent-banner__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

.consent-banner__link {
  font-size: 13px;
  color: var(--accent-2);
  display: inline-block;
  margin-bottom: 16px;
}

.consent-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.consent-category__info {
  flex: 1;
}

.consent-category__name {
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.consent-category__desc {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.consent-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.consent-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.consent-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--secondary);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.consent-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}

.consent-toggle input:checked + .consent-toggle__slider {
  background: var(--accent-2);
}

.consent-toggle input:checked + .consent-toggle__slider::before {
  transform: translateX(20px);
  background: var(--text);
}

.consent-toggle input:disabled + .consent-toggle__slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.consent-btn:hover {
  border-color: var(--accent);
}

.consent-btn--primary {
  border-color: var(--accent);
}

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

.consent-manage {
  width: 100%;
  margin-bottom: 4px;
}

.consent-panel-detail[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .consent-banner {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    border-radius: var(--radius) var(--radius) 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-corner {
    padding: 56px 0 48px;
  }
}
