/* взаимно · москва — warm Moscow-indie editorial stylesheet */

:root {
  --cream: #F6F3EC;
  --paper: #FFFDF9;
  --sand: #EAE4D7;
  --sand-deep: #DDD5C4;
  --terracotta: #D95A2B;
  --terracotta-btn: #C44A1D;
  --terracotta-btn-hover: #AE3E15;
  --terracotta-soft: #FBECE5;
  --cobalt: #1D4FB8;
  --cobalt-hover: #163E94;
  --cobalt-soft: #E8EFFD;
  --plum: #2F2344;
  --plum-soft: #EFEBF5;
  --ink: #1D1B18;
  --ink-muted: #565047;
  --ink-subtle: #70695E;
  --white: #FFFFFF;

  --font-display: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --border: 2px solid var(--ink);
  --shadow-ink: 4px 4px 0 var(--ink);
  --shadow-ink-sm: 3px 3px 0 var(--ink);
  --shadow-soft: 0 14px 36px rgba(29, 27, 24, 0.08);
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.58;
  color: var(--ink);
  background-color: var(--cream);
  /* Subtle warm risograph paper speckling via pure CSS radial dots */
  background-image: radial-gradient(rgba(29, 27, 24, 0.045) 1px, transparent 0);
  background-size: 22px 22px;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-ink-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: var(--plum);
}

.btn-terracotta {
  background: var(--terracotta-btn);
  color: var(--white);
}

.btn-terracotta:hover {
  background: var(--terracotta-btn-hover);
}

.btn-cobalt {
  background: var(--cobalt);
  color: var(--white);
}

.btn-cobalt:hover {
  background: var(--cobalt-hover);
}

.btn-arch {
  width: 12px;
  height: 13px;
  border-radius: 99px 99px 2px 2px;
  background: rgba(255, 255, 255, 0.32);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1.5px solid rgba(29, 27, 24, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-block: 10px;
}

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

.brand-logo {
  height: 50px;
  width: auto;
}

.brand-city {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding-block: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* ==================== HERO ==================== */
.hero {
  padding: 54px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
}

.eyebrow-dots {
  display: inline-flex;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-terracotta {
  background: var(--terracotta);
}

.dot-cobalt {
  background: var(--cobalt);
}

.eyebrow-dots .dot-cobalt {
  margin-left: -3px;
  box-shadow: 0 0 0 1.5px var(--paper);
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  background: var(--sand);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.hero-pills li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plum);
  flex-shrink: 0;
}

/* Hero Poster Card */
.hero-visual {
  position: relative;
  padding-bottom: 18px;
}

.poster-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 24px 24px 32px;
}

.poster-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed rgba(29, 27, 24, 0.22);
}

.poster-kicker {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--plum);
}

.poster-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.arches-stage {
  padding: 8px 4px 14px;
}

.arches-illustration {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.poster-legend {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1.5px dashed rgba(29, 27, 24, 0.22);
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.poster-legend .legend-item:last-child {
  padding-right: 124px;
}

.swatch {
  width: 16px;
  height: 18px;
  border-radius: 10px 10px 3px 3px;
  margin-top: 3px;
  flex-shrink: 0;
}

.swatch-terracotta { background: var(--terracotta); }
.swatch-cobalt { background: var(--cobalt); }
.swatch-plum { background: var(--plum); }

.legend-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
}

.legend-item span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Subtle floating door sticker badge in hero corner */
.floating-sticker {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 118px;
  transform: rotate(5deg);
  transition: transform 0.2s ease;
  filter: drop-shadow(0 8px 16px rgba(29, 27, 24, 0.18));
}

.floating-sticker:hover {
  transform: rotate(2deg) scale(1.04);
}

/* ==================== PRINCIPLES BAND ==================== */
.principles {
  background: var(--plum);
  color: var(--cream);
  padding: 64px 0;
  border-top: var(--border);
  border-bottom: var(--border);
}

.principles-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.principles-head h2 {
  color: var(--cream);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
}

.principles-head p {
  color: rgba(246, 243, 236, 0.84);
  max-width: 44ch;
  font-size: 15.5px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.principle-item {
  background: rgba(255, 253, 249, 0.08);
  border: 1.5px solid rgba(246, 243, 236, 0.24);
  border-radius: var(--radius-md);
  padding: 24px;
}

.principle-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: var(--terracotta-btn);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.principle-item:nth-child(2) .principle-num {
  background: var(--cobalt);
}

.principle-item:nth-child(3) .principle-num {
  background: var(--cream);
  color: var(--plum);
}

.principle-item h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.principle-item p {
  color: rgba(246, 243, 236, 0.86);
  font-size: 15px;
}

/* ==================== SECTION HEADERS ==================== */
.section-head {
  margin-bottom: 32px;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--terracotta-btn);
  margin-bottom: 10px;
}

.section-head h2,
.pairings-top h2,
.sticker-copy h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 800;
}

/* ==================== TWO PATHS (TABS) ==================== */
.paths-section {
  padding: 84px 0;
}

.role-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 7px;
  background: var(--sand);
  border: var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.role-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.role-tab:hover {
  background: rgba(255, 253, 249, 0.7);
}

.role-tab.is-active[data-role-tab="space"] {
  background: var(--terracotta-btn);
  color: var(--white);
  border-color: var(--ink);
}

.role-tab.is-active[data-role-tab="brand"] {
  background: var(--cobalt);
  color: var(--white);
  border-color: var(--ink);
}

.role-tab.is-active .tab-dot {
  background: var(--white);
}

.tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.role-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ink);
  padding: 36px;
}

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

.panel-space {
  border-top: 8px solid var(--terracotta);
}

.panel-brand {
  border-top: 8px solid var(--cobalt);
}

.panel-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.badge-terracotta {
  background: var(--terracotta-soft);
  color: var(--terracotta-btn);
}

.badge-cobalt {
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.panel-main h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.panel-copy {
  color: var(--ink-muted);
  font-size: 16px;
  margin-bottom: 22px;
  max-width: 52ch;
}

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.format-chips span {
  padding: 6px 13px;
  background: var(--cream);
  border: 1.5px solid rgba(29, 27, 24, 0.25);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.panel-perks {
  background: var(--cream);
  border: 1.5px solid rgba(29, 27, 24, 0.16);
  border-radius: var(--radius-md);
  padding: 24px;
}

.panel-perks h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 16px;
}

.perk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.perk-list li {
  padding-left: 16px;
  border-left: 3px solid var(--terracotta);
}

.panel-brand .perk-list li {
  border-left-color: var(--cobalt);
}

.perk-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.perk-list span {
  display: block;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ==================== PAIRINGS ==================== */
.pairings-section {
  padding: 24px 0 88px;
}

.pairings-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.filter-pill:hover {
  background: var(--sand);
}

.filter-pill.is-active {
  background: var(--ink);
  color: var(--cream);
}

.pairings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pairing-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-ink-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.pairing-card[hidden] {
  display: none;
}

.pairing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--terracotta) 0%, var(--terracotta) 42%, var(--plum) 42%, var(--plum) 58%, var(--cobalt) 58%, var(--cobalt) 100%);
}

.pairing-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.neighborhood {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--plum);
  background: var(--plum-soft);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.format-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.pairing-card h3 {
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.24;
}

.side-space {
  color: var(--terracotta-btn);
}

.pair-x {
  color: var(--plum);
  margin-inline: 5px;
  font-weight: 800;
}

.side-brand {
  color: var(--cobalt);
}

.pairing-desc {
  color: var(--ink-muted);
  font-size: 15px;
}

.pairing-mutual {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1.5px dashed rgba(29, 27, 24, 0.2);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pairing-mutual dt {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 4px;
}

.pairing-mutual dd {
  margin: 0;
  font-size: 13.8px;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ==================== HOW IT WORKS ==================== */
.how-section {
  padding: 76px 0;
  background: var(--sand);
  border-top: var(--border);
  border-bottom: var(--border);
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-ink-sm);
  padding: 28px 24px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 54px;
  border-radius: 28px 28px 8px 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 18px;
  border: var(--border);
}

.step-terracotta { background: var(--terracotta); }
.step-cobalt { background: var(--cobalt); }
.step-plum { background: var(--plum); }

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--ink-muted);
  font-size: 15px;
}

/* ==================== DOOR STICKER SECTION ==================== */
.sticker-section {
  padding: 88px 0 40px;
}

.sticker-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ink);
  padding: 40px;
}

.sticker-frame {
  position: relative;
  background: linear-gradient(145deg, #E8E2D5 0%, #DFD8C8 100%);
  border: 1.5px solid rgba(29, 27, 24, 0.22);
  border-radius: var(--radius-md);
  padding: 36px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.glass-sheen {
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(122deg, transparent 36%, rgba(255, 255, 255, 0.34) 44%, rgba(255, 255, 255, 0.08) 51%, transparent 57%);
  pointer-events: none;
}

.sticker-art {
  width: min(260px, 82%);
  transform: rotate(-3deg);
  filter: drop-shadow(0 12px 22px rgba(29, 27, 24, 0.16));
  position: relative;
  z-index: 1;
}

.sticker-caption {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  text-align: center;
  position: relative;
  z-index: 1;
}

.sticker-copy h2 {
  margin-bottom: 16px;
}

.sticker-copy p + p {
  margin-top: 14px;
}

.sticker-copy p:not(.section-kicker) {
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 48ch;
}

.sticker-copy strong {
  color: var(--ink);
}

/* ==================== FINAL CTA ==================== */
.cta-section {
  padding: 56px 0 88px;
}

.cta-box {
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--plum);
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-mark {
  width: 72px;
  margin-bottom: 18px;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--ink-muted);
  font-size: 16.5px;
  max-width: 46ch;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1.5px solid rgba(29, 27, 24, 0.16);
  background: var(--paper);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.footer-brand p {
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 34ch;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

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

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

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

.footer-note {
  font-size: 12.5px;
  color: var(--ink-subtle);
}

/* ==================== MODAL ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(29, 27, 24, 0.56);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 30px 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--sand);
}

.modal-head {
  padding-right: 36px;
  margin-bottom: 20px;
}

.modal-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--plum);
  margin-bottom: 6px;
}

.modal-head h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.modal-head p {
  font-size: 14.5px;
  color: var(--ink-muted);
}

.modal-role-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.role-radio {
  position: relative;
  cursor: pointer;
}

.role-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-radio-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: var(--border);
  background: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.role-radio input:checked + .role-radio-space {
  background: var(--terracotta-btn);
  color: var(--white);
}

.role-radio input:checked + .role-radio-brand {
  background: var(--cobalt);
  color: var(--white);
}

.role-radio input:focus-visible + .role-radio-pill {
  outline: 3px solid var(--cobalt);
  outline-offset: 2px;
}

.field {
  margin-bottom: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
}

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

.form-error {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--terracotta-soft);
  border: 1.5px solid var(--terracotta-btn);
  color: var(--terracotta-btn);
  font-size: 13.5px;
  font-weight: 600;
}

.modal-disclaimer {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-subtle);
}

.modal-success {
  text-align: center;
  padding: 14px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.modal-success[hidden] {
  display: none;
}

.modal-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.modal-success p {
  color: var(--ink-muted);
  font-size: 15px;
  max-width: 38ch;
}

.success-note {
  background: var(--cream);
  border: 1.5px dashed rgba(29, 27, 24, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding: 36px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .poster-card {
    padding-bottom: 42px;
  }

  .poster-legend .legend-item:last-child {
    padding-right: 104px;
  }

  .floating-sticker {
    right: 10px;
    bottom: -16px;
    width: 96px;
  }

  .principles-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .role-panel {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .pairings-grid {
    grid-template-columns: 1fr;
  }

  .sticker-showcase {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 28px;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .container {
    padding-inline: 18px;
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .brand-logo {
    height: 44px;
  }

  .brand-city {
    display: none;
  }

  .btn-sm {
    padding: 9px 14px;
    font-size: 13.5px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .role-tabs {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
    width: 100%;
  }

  .role-tab {
    justify-content: center;
    padding: 12px 16px;
    font-size: 15px;
  }

  .pairing-mutual {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 36px 20px;
  }

  .modal-card {
    padding: 24px 18px;
  }
}
