:root {
  --orange: #f36b21;
  --orange-dark: #d95310;
  --black: #171719;
  --ink: #242426;
  --gray: #6d6d71;
  --line: #d7d7d4;
  --surface: #f1f1ef;
  --white: #ffffff;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

.narrow-container {
  max-width: 800px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  background: var(--black);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar a {
  color: #ff8a4d;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 190px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 66px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 12px 9px;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  height: 3px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 2px solid var(--orange);
  border-radius: 2px;
  background: var(--orange);
  color: var(--black);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 13px;
}

.button-outline {
  background: transparent;
  border-color: var(--black);
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--black);
  border-color: var(--black);
}

.contact-reveal { min-width: 0; }
.contact-reveal summary { list-style: none; }
.contact-reveal summary::-webkit-details-marker { display: none; }
.contact-reveal[open] > summary.button {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: none;
}
.contact-reveal-link {
  color: var(--black);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}
.contact-reveal-link:hover,
.contact-reveal-link:focus-visible { color: var(--orange-dark); }
.contact-reveal-panel {
  display: grid;
  gap: 1px;
  margin-top: 10px;
  overflow: hidden;
  background: var(--black);
  border: 2px solid var(--black);
  border-radius: 2px;
}
.contact-reveal-panel a {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  background: var(--white);
  color: var(--black);
  overflow-wrap: anywhere;
}
.contact-reveal-panel a:hover,
.contact-reveal-panel a:focus-visible { background: #fff3eb; }
.contact-reveal-panel span {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-reveal-panel strong { font-size: 12px; line-height: 1.35; }

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  width: 44px;
  height: 44px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border: 2px solid var(--black);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  height: 2px;
  display: block;
  background: var(--black);
}

.mobile-menu nav {
  position: absolute;
  top: 88px;
  right: 0;
  left: 0;
  display: grid;
  padding: 12px 24px 24px;
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 9px solid var(--black);
}

.hero::before {
  position: absolute;
  top: 0;
  right: calc(50% - 600px);
  width: 44%;
  height: 100%;
  background: var(--orange);
  content: "";
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 54px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ff945a;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(46px, 6.2vw, 86px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 span {
  display: block;
  color: var(--orange-dark);
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #4f4f52;
  font-size: 19px;
  line-height: 1.6;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
}

.hero-notes span {
  position: relative;
  padding-left: 17px;
  color: #57575a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-notes span::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--orange);
  content: "";
}

.hero-art {
  position: relative;
  z-index: 1;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  box-shadow: 28px 28px 0 rgba(255, 255, 255, 0.24);
}

.hero-art-photo {
  overflow: hidden;
  background: #d8d8d5;
}

.hero-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-year {
  position: absolute;
  top: 24px;
  left: 28px;
  color: #a0a0a0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.number-plate {
  position: relative;
  z-index: 2;
  color: var(--orange);
  font-size: clamp(120px, 15vw, 210px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
}

.road-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.road-lines span {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 3px;
  background: #3c3c3f;
  transform: rotate(-14deg);
}

.road-lines span:nth-child(1) { top: 28%; }
.road-lines span:nth-child(2) { top: 54%; }
.road-lines span:nth-child(3) { top: 78%; }

.hero-stamp {
  position: absolute;
  right: 24px;
  bottom: 22px;
  padding: 10px 12px;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-3deg);
}

.section {
  padding-block: 104px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 50px;
}

.split-heading h2,
.event-copy h2,
.membership-inner h2,
.club-form h2,
.press-main h2,
.dark-cta h2,
.center-cta h2,
.legal-page h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-lead {
  margin: 0;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.feature-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.feature-card:last-child { border-right: 0; }

.feature-index {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-card h3,
.activity-grid h3,
.empty-event h3,
.download-grid h3,
.product-card h3 {
  margin: auto 0 14px;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.feature-card p {
  margin: 0 0 26px;
  color: var(--gray);
  line-height: 1.6;
}

.feature-card a {
  font-size: 13px;
  font-weight: 900;
}

.feature-card-dark {
  background: var(--black);
  color: var(--white);
}

.feature-card-dark h3,
.feature-card-orange h3 { color: var(--white); }
.feature-card-dark p { color: #bcbcbf; }

.feature-card-orange {
  background: var(--orange);
  color: var(--black);
}

.feature-card-orange .feature-index { color: var(--black); }
.feature-card-orange p { color: #3d2a1e; }

.home-story-section { background: #f4f4f1; border-top: 1px solid var(--line); }
.home-story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; gap: 72px; }
.home-story-photos { min-height: 760px; display: grid; grid-template-rows: minmax(430px, 1.35fr) minmax(250px, .65fr); gap: 14px; }
.home-photo-placeholder { position: relative; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; overflow: hidden; background: repeating-linear-gradient(135deg, #ededeb 0, #ededeb 18px, #e4e4e1 18px, #e4e4e1 36px); border: 2px dashed #9a9a96; color: var(--black); }
.home-photo-placeholder::before { position: absolute; top: 24px; right: 24px; width: 62px; height: 46px; border: 4px solid var(--orange); content: ""; }
.home-photo-placeholder::after { position: absolute; top: 39px; right: 43px; width: 18px; height: 18px; background: var(--orange); border-radius: 50%; content: ""; }
.home-photo-placeholder span { color: var(--orange-dark); font-size: 10px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.home-photo-placeholder strong { max-width: 300px; font-size: clamp(27px, 3vw, 42px); letter-spacing: -.045em; line-height: 1; }
.home-photo-placeholder small { max-width: 330px; color: var(--gray); font-size: 12px; line-height: 1.5; }
.home-story-copy { align-self: center; }
.home-story-copy h2 { margin: 0 0 30px; font-size: clamp(43px, 5vw, 70px); letter-spacing: -.065em; line-height: .98; }
.home-story-copy > p:not(.eyebrow) { margin: 0 0 20px; color: var(--gray); font-size: 16px; line-height: 1.82; }
.home-story-link { display: inline-flex; margin-top: 10px; padding-bottom: 5px; border-bottom: 3px solid var(--orange); font-size: 13px; font-weight: 900; }
.home-club-story { background: var(--black); color: var(--white); border-top: 0; }
.home-club-story h2 { color: var(--white); }
.home-club-story .home-story-copy > p:not(.eyebrow) { color: #c3c3c7; }
.home-club-story .home-story-copy strong { color: var(--white); }
.home-story-link-light { color: var(--white); }
.home-photo-dark { background: repeating-linear-gradient(135deg, #222225 0, #222225 18px, #2a2a2e 18px, #2a2a2e 36px); border-color: #66666b; color: var(--white); }
.home-photo-dark small { color: #bcbcc1; }
.home-photo-dark::before { border-color: var(--orange); }

.event-callout {
  background: var(--surface);
}

.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.event-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  border: 14px solid var(--white);
  outline: 2px solid var(--black);
}

.event-number {
  color: var(--black);
  font-size: clamp(120px, 19vw, 235px);
  font-weight: 900;
  letter-spacing: -0.1em;
  transform: translateX(-12px) rotate(-6deg);
}

.event-ribbon {
  position: absolute;
  z-index: 2;
  top: 35px;
  right: -55px;
  width: 220px;
  padding: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-align: center;
  transform: rotate(38deg);
}

.event-route {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  padding-top: 12px;
  border-top: 3px solid var(--black);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.event-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.7;
}

.text-link {
  font-size: 14px;
  font-weight: 900;
}

.membership-banner {
  background: var(--orange);
  border-bottom: 9px solid var(--black);
}

.membership-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.membership-inner h2 {
  max-width: 800px;
}

.membership-inner .eyebrow { color: var(--black); }

.page-hero {
  padding-block: 92px;
  border-bottom: 9px solid var(--black);
}

.page-hero-grid {
  min-height: 270px;
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: center;
  gap: 70px;
}

.page-hero h1 {
  font-size: clamp(58px, 8vw, 104px);
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.65;
}

.page-hero-orange { background: var(--orange); }
.page-hero-orange .eyebrow { color: var(--black); }
.page-hero-light { background: var(--surface); }

.page-hero-dark {
  background: var(--black);
  color: var(--white);
}

.page-hero-dark h1,
.page-hero-dark p:not(.eyebrow) { color: var(--white); }
.page-hero-dark p:not(.eyebrow) { color: #b9b9bd; }

.page-number {
  color: var(--black);
  font-size: clamp(130px, 19vw, 240px);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.8;
  text-align: right;
}

.page-number.outlined {
  color: var(--white);
  text-shadow: -3px -3px 0 var(--black), 3px -3px 0 var(--black), -3px 3px 0 var(--black), 3px 3px 0 var(--black);
}

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

.form-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: start;
  gap: 70px;
}

.form-sidebar {
  position: sticky;
  top: 130px;
}

.form-sidebar h2 {
  margin: 0;
  font-size: 39px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.steps-list {
  display: grid;
  gap: 28px;
  margin: 40px 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: flex;
  gap: 16px;
}

.steps-list li > span {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.steps-list strong { font-size: 15px; }
.steps-list p { margin: 5px 0 0; color: var(--gray); font-size: 13px; line-height: 1.5; }

.help-box {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--orange);
}

.help-box strong { margin-bottom: 5px; }
.help-box a { font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }

.club-form {
  display: grid;
  gap: 46px;
  padding: 48px;
  background: var(--white);
  border-top: 7px solid var(--orange);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.club-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.club-form legend {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--black);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.club-form legend span {
  color: var(--orange-dark);
  font-size: 12px;
  letter-spacing: 0.13em;
}

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

.club-form label:not(.check-label) {
  display: grid;
  gap: 9px;
  color: #48484c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.full-field { grid-column: 1 / -1; }

.club-form input:not([type="checkbox"]),
.club-form select,
.club-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid #c8c8c7;
  border-radius: 0;
  color: var(--black);
  outline: none;
}

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

.club-form input:focus,
.club-form select:focus,
.club-form textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 3px rgba(243, 107, 33, 0.18);
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  color: #555559;
  font-size: 13px;
  line-height: 1.5;
}

.check-label input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--orange-dark);
}

.form-trap { display: none !important; }
.form-submit { justify-self: start; min-width: 220px; }
.form-note { margin: -28px 0 0; color: var(--gray); font-size: 12px; }

.route-mark {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--orange);
  font-size: clamp(35px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.route-mark span {
  padding: 18px;
  border: 4px solid var(--orange);
}

.route-mark b { font-size: 44px; }

.empty-event {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 38px;
  padding: 34px;
  background: var(--surface);
  border-left: 7px solid var(--orange);
}

.empty-event-date {
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  background: var(--black);
  color: var(--white);
}

.empty-event-date span { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: 0.16em; }
.empty-event-date strong { font-size: 68px; letter-spacing: -0.08em; }
.empty-event h3 { margin: 0 0 12px; }
.empty-event p:not(.eyebrow) { max-width: 660px; margin: 0; color: var(--gray); line-height: 1.65; }

.surface-section { background: var(--surface); }
.compact-heading { max-width: 720px; margin: 0; font-size: clamp(35px, 4vw, 56px); font-weight: 900; letter-spacing: -0.05em; line-height: 1; }

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: var(--line);
  border: 1px solid var(--line);
}

.activity-grid article {
  min-height: 260px;
  padding: 32px;
  background: var(--white);
}

.activity-grid article > span { color: var(--orange-dark); font-size: 12px; font-weight: 900; }
.activity-grid h3 { margin-top: 65px; }
.activity-grid p { margin: 0; color: var(--gray); line-height: 1.6; }

.dark-cta {
  background: var(--black);
  color: var(--white);
}

.dark-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.dark-cta h2 { color: var(--white); }

.press-mark {
  justify-self: end;
  color: var(--orange);
  font-size: clamp(96px, 15vw, 180px);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.75;
}

.press-mark span {
  display: block;
  color: var(--black);
  font-size: 17px;
  letter-spacing: 0.4em;
  text-align: right;
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: start;
  gap: 80px;
}

.press-main > p:not(.eyebrow) {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.75;
}

.press-main .button { margin-top: 32px; }

.press-contact {
  display: grid;
  gap: 14px;
  padding: 34px;
  background: var(--orange);
  border-top: 7px solid var(--black);
}

.contact-label { margin-bottom: 20px; font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.press-contact a { font-weight: 800; overflow-wrap: anywhere; }
.press-contact address { margin-top: 15px; font-style: normal; line-height: 1.6; }

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

.download-grid article {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.download-preview {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-preview { padding: 15px; background: var(--white); color: var(--black); font-size: 20px; font-weight: 900; letter-spacing: -0.08em; }
.logo-preview span { color: var(--orange); font-size: 36px; }
.info-preview { background: var(--black); color: var(--orange); font-size: 45px; font-weight: 900; }
.download-grid h3 { margin: 0 0 9px; font-size: 22px; }
.download-grid p { margin: 0 0 22px; color: var(--gray); font-size: 13px; line-height: 1.5; }
.download-grid a { font-size: 13px; font-weight: 900; }

.center-cta { text-align: center; }
.center-cta h2 { max-width: 760px; margin-inline: auto; }
.center-cta .button { margin-top: 30px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
}

.product-art {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dededb;
}

.product-art::before,
.product-art::after {
  content: "";
}

.product-art span {
  position: relative;
  z-index: 2;
  color: var(--orange);
  font-size: 66px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.product-shirt::before {
  position: absolute;
  width: 250px;
  height: 265px;
  background: var(--black);
  clip-path: polygon(25% 0, 40% 9%, 60% 9%, 75% 0, 100% 18%, 84% 42%, 74% 35%, 74% 100%, 26% 100%, 26% 35%, 16% 42%, 0 18%);
}

.product-sticker::before {
  position: absolute;
  width: 255px;
  height: 175px;
  background: var(--white);
  border: 12px solid var(--black);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.product-cap::before {
  position: absolute;
  width: 245px;
  height: 165px;
  background: var(--black);
  border-radius: 150px 150px 38px 38px;
}

.product-cap::after {
  position: absolute;
  width: 180px;
  height: 55px;
  margin: 125px 0 0 155px;
  background: var(--black);
  border-radius: 0 100% 40% 100%;
  transform: rotate(10deg);
}

.product-plate::before {
  position: absolute;
  width: 300px;
  height: 175px;
  background: var(--white);
  border: 12px solid var(--black);
  box-shadow: inset 0 0 0 5px var(--orange);
}

.product-info {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 25px;
  background: var(--white);
}

.product-info p { margin: 0 0 7px; color: var(--orange-dark); font-size: 10px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.product-card h3 { margin: 0; font-size: 24px; }
.product-info a { flex: 0 0 auto; font-size: 13px; font-weight: 900; }
.product-badge { position: absolute; top: 18px; left: 18px; padding: 7px 11px; background: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }

.gadget-note { background: var(--orange); }
.gadget-note-inner { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 35px; }
.gadget-note strong { font-size: 25px; }
.gadget-note p { margin: 0; line-height: 1.6; }
.gadget-note .contact-reveal { min-width: 290px; }
.gadget-note .contact-reveal > summary { width: 100%; }

.contact-hero-mark {
  justify-self: end;
  color: var(--orange);
  font-size: clamp(80px, 13vw, 150px);
  font-weight: 900;
  letter-spacing: -0.09em;
  transform: rotate(-5deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 55px;
}

.contact-cards { display: grid; border-top: 1px solid var(--line); }

.contact-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 27px 48px 27px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card span { color: var(--orange-dark); font-size: 10px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.contact-card strong { font-size: 21px; line-height: 1.45; overflow-wrap: anywhere; }
.contact-card b { position: absolute; top: 50%; right: 5px; color: var(--orange-dark); font-size: 23px; transform: translateY(-50%); }
.contact-form { gap: 28px; }

.legal-page h3 {
  margin: 40px 0 12px;
  color: var(--black);
  font-size: 24px;
}

.legal-page p { color: var(--gray); font-size: 16px; line-height: 1.8; }
.legal-page a { color: var(--orange-dark); font-weight: 800; }
.legal-note { margin-top: 42px; padding: 20px; background: var(--surface); border-left: 5px solid var(--orange); font-size: 13px !important; }

.site-footer {
  padding-top: 70px;
  background: var(--black);
  color: var(--white);
  border-top: 9px solid var(--orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-brand img {
  width: 230px;
  height: 88px;
  padding: 6px;
  object-fit: contain;
  background: var(--white);
}

.footer-brand p { max-width: 430px; margin: 22px 0 0; color: #aaaab0; line-height: 1.7; }
.footer-title { margin: 0 0 22px; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 13px; }
.footer-grid address { margin-bottom: 16px; color: #b8b8bd; font-style: normal; line-height: 1.7; }
.footer-grid > div:last-child a { display: block; margin-top: 10px; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #3b3b3e;
  color: #8e8e93;
  font-size: 12px;
}

.footer-bottom div { display: flex; gap: 12px; }

.footer-credit {
  padding: 14px 24px;
  background: #0d0d0f;
  border-top: 1px solid #2d2d30;
  color: #85858a;
  font-size: 11px;
  text-align: center;
}

.footer-credit a { color: var(--orange); font-weight: 800; }

.form-feedback {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-left: 5px solid;
  font-size: 14px;
  line-height: 1.5;
}

.form-feedback.success { background: #edf8f0; border-color: #238a43; color: #155c2c; }
.form-feedback.error { background: #fff0ef; border-color: #c6332c; color: #84201b; }
.form-submit:disabled { cursor: wait; opacity: 0.65; }

.official-membership-form { gap: 50px; }
.official-form-heading { padding: 26px; background: var(--black); color: var(--white); border-left: 8px solid var(--orange); text-align: center; }
.official-form-heading > span { display: block; margin-bottom: 9px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .2em; }
.official-form-heading h2 { color: var(--white); font-size: clamp(30px, 4vw, 45px); text-transform: uppercase; }
.official-form-heading p { margin: 12px 0 0; color: #b9b9bd; font-size: 13px; }
.vehicle-photo-upload { padding: 22px; background: var(--surface); border: 2px dashed #a9a9a6; }
.vehicle-photo-upload > span { color: var(--black); font-size: 14px; }
.vehicle-photo-upload input { padding: 14px !important; background: var(--white) !important; }
.vehicle-photo-upload small { color: var(--gray); font-size: 11px; font-weight: 500; }
.membership-declaration { margin-bottom: 25px; padding: 25px; background: var(--orange); border-left: 7px solid var(--black); }
.membership-declaration > span { display: block; margin-bottom: 10px; font-size: 20px; font-weight: 900; letter-spacing: .15em; text-align: center; }
.membership-declaration p { margin: 0; color: #39281e; line-height: 1.7; }
.signature-grid { margin-bottom: 22px; }
.declaration-check { padding: 16px; background: var(--surface); border-left: 4px solid var(--orange); }
.privacy-declaration { margin-top: 34px; padding: 22px; background: #f5f5f3; border-top: 3px solid var(--black); }
.privacy-declaration strong { display: block; margin-bottom: 10px; font-size: 15px; }
.privacy-declaration p { margin: 0; color: var(--gray); font-size: 13px; line-height: 1.7; }
.payment-box { display: grid; grid-template-columns: .65fr 1.35fr; gap: 1px; background: var(--black); border: 3px solid var(--black); }
.payment-box > div { display: grid; align-content: center; gap: 8px; padding: 25px; background: var(--white); }
.payment-box > div:first-child { background: var(--orange); }
.payment-box span { font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.payment-box strong { font-size: 25px; }
.payment-box > div:first-child strong { font-size: 40px; letter-spacing: -.05em; }
.payment-box small { color: #4b3326; }
.payment-box code { display: block; padding: 12px; background: var(--black); color: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 900; letter-spacing: .035em; overflow-wrap: anywhere; }

.public-events-grid { display: grid; gap: 18px; }
.public-event-card { display: grid; grid-template-columns: 155px 1fr auto; align-items: center; gap: 34px; padding: 26px; background: var(--surface); border-left: 7px solid var(--orange); }
.public-event-date { min-height: 130px; display: grid; place-content: center; justify-items: center; background: var(--black); color: var(--white); }
.public-event-date strong { color: var(--orange); font-size: 57px; line-height: 1; }
.public-event-date span { margin-top: 7px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.public-event-card h3 { margin: 0 0 10px; font-size: 27px; letter-spacing: -.04em; }
.public-event-card p:not(.eyebrow) { margin: 0; color: var(--gray); line-height: 1.6; }
.public-event-card > a { font-size: 13px; font-weight: 900; }
.public-event-image { grid-column: 1 / -1; height: 330px; margin: -26px -26px 0; overflow: hidden; background: #dcdcd9; }
.public-event-image img { width: 100%; height: 100%; object-fit: cover; }
.event-location { display: block; margin-top: 12px; color: var(--black); font-size: 12px; font-weight: 800; }

.event-detail-hero .page-hero-grid { grid-template-columns: 1fr 280px; }
.event-detail-hero h1 { font-size: clamp(48px, 7vw, 88px); }
.event-detail-date { min-height: 220px; display: grid; place-content: center; justify-items: center; background: var(--orange); color: var(--black); }
.event-detail-date strong { font-size: 96px; letter-spacing: -.08em; line-height: .9; }
.event-detail-date span { margin-top: 12px; font-size: 13px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.event-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 55px; }
.event-detail-main { min-width: 0; }
.event-detail-image { height: min(54vw, 560px); margin-bottom: 42px; overflow: hidden; background: var(--surface); border-left: 8px solid var(--orange); }
.event-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.content-gallery { min-width: 0; margin-bottom: 42px; }
.content-gallery .event-detail-image { margin-bottom: 0; }
.content-gallery-square .event-detail-image { height: min(56vw, 650px); }
.content-gallery-square .event-detail-image img { object-fit: contain; background: var(--surface); }
.content-gallery-status { margin: 10px 0 0; color: var(--gray); font-size: 12px; font-weight: 800; text-align: right; }
.content-gallery-thumbs { min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.content-gallery-thumbs button { position: relative; width: 100%; height: 105px; padding: 0; overflow: hidden; background: #ddd; border: 3px solid transparent; cursor: pointer; touch-action: manipulation; }
.content-gallery-thumbs button:hover,
.content-gallery-thumbs button:focus-visible,
.content-gallery-thumbs button.active { border-color: var(--orange); }
.content-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.content-gallery-thumbs span { position: absolute; right: 6px; bottom: 6px; width: 23px; height: 23px; display: grid; place-items: center; background: var(--black); color: var(--white); font-size: 10px; font-weight: 900; }
.event-detail-main h2 { margin: 0; font-size: clamp(34px, 4vw, 55px); letter-spacing: -.05em; line-height: 1; }
.event-detail-description { margin: 25px 0 0; color: var(--gray); font-size: 18px; line-height: 1.8; white-space: pre-line; }
.event-detail-sidebar { position: sticky; top: 130px; display: grid; gap: 0; padding: 30px; background: var(--surface); border-top: 7px solid var(--orange); }
.event-detail-sidebar > div { display: grid; gap: 7px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-detail-sidebar > div:first-child { padding-top: 0; }
.event-detail-sidebar span { color: var(--orange-dark); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.event-detail-sidebar strong { font-size: 17px; line-height: 1.45; }
.event-detail-sidebar .button { width: 100%; margin-top: 28px; }
.event-detail-sidebar .contact-reveal { margin-top: 28px; }
.event-detail-sidebar .contact-reveal .button { margin-top: 0; }
.event-detail-back { margin-top: 19px; font-size: 12px; font-weight: 900; text-align: center; }
.content-detail-square { height: min(56vw, 650px); }
.content-detail-square img { object-fit: contain; background: var(--surface); }
.content-detail-placeholder { position: relative; height: min(56vw, 650px); margin-bottom: 42px; }
.event-detail-sidebar .content-detail-secondary { margin-top: 12px; }

.press-news-section { background: var(--black); color: var(--white); }
.press-news-section h2 { color: var(--white); }
.press-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #3b3b3e; border: 1px solid #3b3b3e; }
.press-news-grid.press-news-count-1 { grid-template-columns: 1fr; }
.press-news-grid.press-news-count-2 { grid-template-columns: repeat(2, 1fr); }
.press-news-grid article { min-height: 300px; display: flex; flex-direction: column; padding: 30px; background: #202023; }
.press-news-image { height: 190px; margin: -30px -30px 25px; overflow: hidden; background: #343438; }
.press-news-image img { width: 100%; height: 100%; object-fit: cover; }
.press-news-grid article > span { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.press-news-grid h3 { margin: 35px 0 15px; font-size: 25px; letter-spacing: -.04em; }
.press-news-grid p { display: -webkit-box; margin: 0; overflow: hidden; color: #b6b6bb; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.press-news-grid a { margin-top: auto; padding-top: 25px; color: var(--orange); font-size: 13px; font-weight: 900; }

.product-photo { background: #e6e6e3; }
.product-photo img { width: 100%; height: 360px; object-fit: cover; }
.spare-part-placeholder { place-content: center; gap: 8px; background: var(--black); color: var(--orange); text-align: center; }
.spare-part-placeholder span { font-size: clamp(68px, 9vw, 130px); line-height: .8; }
.spare-part-placeholder small { position: relative; z-index: 2; color: var(--white); font-size: 11px; font-weight: 900; letter-spacing: .24em; }
.product-availability { display: block; margin-top: 8px; color: var(--gray); font-size: 12px; font-weight: 700; }
.catalog-empty { padding: 45px; background: var(--surface); border-left: 7px solid var(--orange); }
.catalog-empty strong { font-size: 25px; }
.catalog-empty p { margin: 10px 0 0; color: var(--gray); line-height: 1.6; }

body.admin-mode { background: #ececea; }
body.admin-mode > .topbar,
body.admin-mode > .site-header,
body.admin-mode > .site-footer { display: none; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; background: #ececea; color: var(--black); }
.admin-sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: 248px; display: flex; flex-direction: column; padding: 28px 18px; background: var(--black); color: var(--white); }
.admin-logo { display: flex; align-items: baseline; gap: 8px; padding: 0 12px 32px; border-bottom: 1px solid #3a3a3e; }
.admin-logo span { color: var(--orange); font-size: 44px; font-weight: 900; letter-spacing: -.09em; }
.admin-logo b { font-size: 11px; letter-spacing: .19em; }
.admin-sidebar nav { display: grid; gap: 5px; margin-top: 28px; }
.admin-sidebar nav button { display: flex; align-items: center; gap: 13px; padding: 12px; background: transparent; border: 0; color: #b9b9be; cursor: pointer; font-size: 14px; font-weight: 800; text-align: left; }
.admin-sidebar nav button span { width: 30px; height: 30px; display: grid; place-items: center; background: #303034; color: var(--orange); font-size: 11px; }
.admin-sidebar nav button:hover,
.admin-sidebar nav button.active { background: var(--orange); color: var(--black); }
.admin-sidebar nav button.active span,
.admin-sidebar nav button:hover span { background: var(--black); color: var(--white); }
.admin-back { margin-top: auto; padding: 14px 12px; border-top: 1px solid #3a3a3e; color: #a7a7ac; font-size: 12px; font-weight: 800; }

.admin-main { grid-column: 2; min-width: 0; padding: 36px 45px 70px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.admin-topbar p { margin: 0 0 4px; color: var(--gray); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.admin-topbar h1 { margin: 0; font-size: 40px; letter-spacing: -.05em; }
.admin-user { display: flex; align-items: center; gap: 12px; padding: 9px 13px; background: var(--white); border: 1px solid #d7d7d4; }
.admin-user > span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--orange); font-weight: 900; }
.admin-user div { display: grid; gap: 3px; }
.admin-user b { max-width: 220px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-user a { color: var(--gray); font-size: 11px; }
.admin-alert { margin-bottom: 22px; padding: 15px 18px; border-left: 5px solid; font-size: 13px; font-weight: 800; }
.admin-alert.success { background: #e8f6ec; border-color: #2b8b48; color: #1d6334; }
.admin-alert.error { background: #fff0ef; border-color: #c6332c; color: #84201b; }
.admin-loading { min-height: 300px; display: grid; place-items: center; background: var(--white); color: var(--gray); font-weight: 800; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.admin-stats button { min-height: 170px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; background: var(--white); border: 1px solid #d8d8d5; cursor: pointer; text-align: left; }
.admin-stats button:hover { border-color: var(--orange); transform: translateY(-2px); }
.admin-stats span { color: var(--gray); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.admin-stats strong { margin-top: 20px; font-size: 53px; letter-spacing: -.07em; }
.admin-stats b { margin-top: auto; color: var(--orange-dark); font-size: 11px; }
.admin-panel { margin-top: 25px; padding: 28px; background: var(--white); border: 1px solid #d8d8d5; }
.admin-panel-title { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding-bottom: 22px; border-bottom: 2px solid var(--black); }
.admin-panel-title h2 { margin: 0; font-size: 26px; letter-spacing: -.04em; }
.admin-panel-title button { background: transparent; border: 0; color: var(--orange-dark); cursor: pointer; font-size: 12px; font-weight: 900; }
.admin-table > div { display: grid; grid-template-columns: 14px 1.2fr 1fr .8fr .7fr; align-items: center; gap: 13px; padding: 16px 5px; border-bottom: 1px solid #e1e1de; font-size: 12px; }
.admin-table > div > span { color: var(--gray); }
.admin-table > div > b { justify-self: end; }
.status-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: #999; }
.status-new { background: var(--orange); }
.status-contacted { background: #347ec5; }
.status-approved { background: #2a9149; }
.status-rejected { background: #c33c34; }
.admin-empty { padding: 35px 0; color: var(--gray); text-align: center; }

.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 23px; }
.admin-section-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.admin-section-heading p { margin: 5px 0 0; color: var(--gray); font-size: 13px; }
.admin-primary { min-height: 41px; padding: 0 18px; background: var(--orange); border: 2px solid var(--orange); color: var(--black); cursor: pointer; font-size: 12px; font-weight: 900; }
.admin-primary:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.admin-content-list { display: grid; gap: 10px; }
.admin-content-list article { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding: 20px 22px; background: var(--white); border: 1px solid #d8d8d5; }
.admin-item-id { color: var(--orange-dark); font-size: 10px; font-weight: 900; }
.admin-content-list h3 { margin: 5px 0 5px; font-size: 18px; }
.admin-content-list p { margin: 0; color: var(--gray); font-size: 12px; }
.admin-status { padding: 6px 9px; background: var(--surface); color: var(--gray); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.admin-actions { display: flex; gap: 8px; }
.admin-actions button { padding: 8px 10px; background: transparent; border: 1px solid #bdbdba; cursor: pointer; font-size: 11px; font-weight: 800; }
.admin-actions button:hover { border-color: var(--black); }
.admin-actions button.danger { color: #a82d27; }
.admin-empty-box { padding: 70px 30px; background: var(--white); border: 1px dashed #b8b8b5; text-align: center; }
.admin-empty-box strong { font-size: 22px; }
.admin-empty-box p { margin: 8px 0 0; color: var(--gray); }

.admin-editor { margin-bottom: 22px; padding: 25px; background: var(--white); border-top: 6px solid var(--orange); box-shadow: 0 12px 35px rgba(0,0,0,.08); }
.admin-editor-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 2px solid var(--black); }
.admin-editor-head h3 { margin: 0; font-size: 21px; }
.admin-editor-head button { width: 35px; height: 35px; background: transparent; border: 1px solid #bbb; cursor: pointer; font-size: 22px; }
.admin-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-editor label,
.membership-detail label { display: grid; gap: 8px; color: #505055; font-size: 11px; font-weight: 900; }
.admin-editor label.wide,
.membership-detail .wide { grid-column: 1 / -1; }
.admin-editor input,
.admin-editor select,
.admin-editor textarea,
.membership-detail select,
.membership-detail textarea { width: 100%; min-height: 44px; padding: 10px 12px; background: #fafafa; border: 1px solid #c7c7c4; border-radius: 0; outline: none; }
.admin-editor textarea,
.membership-detail textarea { resize: vertical; }
.admin-editor input:focus,
.admin-editor select:focus,
.admin-editor textarea:focus,
.membership-detail select:focus,
.membership-detail textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,107,33,.15); }
.admin-check { display: flex !important; align-items: center; grid-auto-flow: column; justify-content: start; }
.admin-check input { width: 18px; min-height: 18px; accent-color: var(--orange); }
.admin-editor-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.admin-editor-actions > button:not(.admin-primary) { min-height: 41px; padding: 0 18px; background: transparent; border: 1px solid #aaa; cursor: pointer; font-size: 12px; font-weight: 800; }
.admin-editor-actions button:disabled { cursor: wait; opacity: .6; }

.admin-photo-field { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 16px; padding: 18px; background: #f3f3f1; border: 1px solid #d1d1ce; }
.admin-photo-field > div:first-child { display: grid; gap: 6px; }
.admin-photo-field > div:first-child strong { font-size: 13px; }
.admin-photo-field > div:first-child span { color: var(--gray); font-size: 10px; line-height: 1.5; }
.admin-photo-preview { grid-row: span 2; width: 100%; height: 145px; background-color: #ddd; background-position: center; background-size: cover; }
.admin-file-label { min-height: 43px; display: flex !important; align-items: center; justify-content: center; padding: 10px 14px; background: var(--black); color: var(--white) !important; cursor: pointer; text-align: center; }
.admin-file-label input { position: absolute; width: 1px !important; height: 1px !important; min-height: 1px !important; overflow: hidden; opacity: 0; }
.admin-remove-photo { display: flex !important; grid-auto-flow: column; align-items: center; justify-content: start; gap: 8px; color: #9d2924 !important; }
.admin-remove-photo input { width: 16px !important; min-height: 16px !important; accent-color: #b62e28; }
.admin-photo-error { grid-column: 1 / -1; margin: 0; padding: 10px; background: #fff0ef; color: #84201b; font-size: 11px; font-weight: 800; }

.membership-list { display: grid; gap: 10px; }
.membership-list article { background: var(--white); border: 1px solid #d8d8d5; }
.membership-list article.open { border-color: var(--orange); }
.membership-summary { width: 100%; display: grid; grid-template-columns: 12px 1.4fr 1fr .7fr 25px; align-items: center; gap: 16px; padding: 19px 22px; background: transparent; border: 0; cursor: pointer; text-align: left; }
.membership-summary div p { margin: 4px 0 0; color: var(--gray); font-size: 11px; }
.membership-summary > span:not(.status-dot) { color: var(--gray); font-size: 12px; }
.membership-summary > b { font-size: 12px; }
.membership-summary i { color: var(--orange-dark); font-size: 20px; font-style: normal; }
.membership-detail { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 24px; background: #f7f7f5; border-top: 1px solid #ddd; }
.member-data { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #ddd; }
.member-data p { margin: 0; padding: 12px; background: var(--white); }
.member-data span { display: block; margin-bottom: 6px; color: var(--gray); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.member-data b { font-size: 12px; line-height: 1.5; }
.member-car-photo { position: relative; min-height: 270px; display: flex; align-items: flex-end; padding: 18px; background-color: #d9d9d6; background-position: center; background-size: cover; }
.member-car-photo span { position: relative; z-index: 1; margin: 0; padding: 10px 13px; background: var(--black); color: var(--white); font-size: 11px; letter-spacing: .03em; text-transform: none; }
.membership-detail > .admin-primary { align-self: end; justify-self: start; }

.admin-access-page { min-height: 70vh; display: grid; place-items: center; padding: 60px 24px; background: var(--surface); }
.admin-access-card { max-width: 540px; padding: 50px; background: var(--white); border-top: 7px solid #c6332c; text-align: center; }
.admin-access-card h1 { margin: 0; font-size: 40px; letter-spacing: -.05em; }
.admin-access-card > p:not(.eyebrow) { color: var(--gray); line-height: 1.6; }
.admin-access-card .button { margin-top: 15px; }
.admin-lock { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 22px; background: #c6332c; color: var(--white); font-size: 29px; font-weight: 900; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .header-cta { margin-left: auto; }
  .mobile-menu { margin-left: 0; }
  .hero::before { width: 38%; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 28px; }
  .hero-art { height: 380px; }
  .form-layout { grid-template-columns: 280px 1fr; gap: 35px; }
  .press-grid { grid-template-columns: 1fr 300px; gap: 40px; }
  .download-grid article { grid-template-columns: 1fr; }
  .gadget-note-inner { grid-template-columns: 150px 1fr; }
  .gadget-note .contact-reveal { grid-column: 1 / -1; justify-self: start; }
  .home-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .home-story-photos { min-height: 0; grid-template-columns: 1.35fr .65fr; grid-template-rows: 440px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-table > div { grid-template-columns: 14px 1.2fr 1fr .7fr; }
  .admin-table > div > span:nth-of-type(3) { display: none; }
}

@media (max-width: 800px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .site-header { top: 0; }
  .header-inner { min-height: 74px; }
  .brand { width: 155px; }
  .brand img { height: 55px; }
  .header-cta { display: none; }
  .mobile-menu nav { top: 74px; }
  .hero::before { top: auto; right: 0; bottom: 0; width: 100%; height: 32%; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 60px 72px; }
  .hero-copy { padding: 0; }
  .hero-art { height: 330px; margin-top: 20px; box-shadow: 14px 14px 0 rgba(255, 255, 255, 0.35); }
  .hero-lead { font-size: 17px; }
  .section { padding-block: 76px; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 270px; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-grid { grid-template-columns: 1fr; gap: 48px; }
  .membership-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding-block: 60px; }
  .page-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 40px; }
  .page-number { text-align: left; }
  .form-layout { grid-template-columns: 1fr; }
  .form-sidebar { position: static; }
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .steps-list li { display: block; }
  .steps-list li > span { margin-bottom: 12px; }
  .club-form { padding: 34px; }
  .empty-event { grid-template-columns: 150px 1fr; }
  .empty-event .button { grid-column: 1 / -1; justify-self: start; }
  .activity-grid { grid-template-columns: 1fr; }
  .dark-cta-inner { align-items: flex-start; flex-direction: column; }
  .press-grid { grid-template-columns: 1fr; }
  .press-contact { max-width: 500px; }
  .download-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 55px; }
  .footer-brand { grid-column: 1 / -1; }
  .public-event-card { grid-template-columns: 130px 1fr; }
  .public-event-card > a { grid-column: 1 / -1; }
  .event-detail-hero .page-hero-grid,
  .event-detail-layout { grid-template-columns: 1fr; }
  .event-detail-layout { gap: 40px; }
  .event-detail-date { min-height: 160px; justify-self: start; width: 210px; }
  .event-detail-date strong { font-size: 72px; }
  .event-detail-sidebar { position: static; }
  .content-gallery { margin-bottom: 32px; }
  .event-detail-image { height: min(68vw, 430px); }
  .content-gallery-square .event-detail-image { height: min(88vw, 520px); }
  .content-gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-gallery-thumbs button { height: 100px; }
  .press-news-grid { grid-template-columns: 1fr; }
  .admin-shell { display: block; padding-top: 72px; }
  .admin-sidebar { position: fixed; inset: 0 0 auto; width: auto; height: 72px; flex-direction: row; align-items: center; padding: 8px 14px; }
  .admin-logo { flex: 0 0 auto; padding: 0 16px 0 0; border: 0; }
  .admin-logo span { font-size: 33px; }
  .admin-logo b { display: none; }
  .admin-sidebar nav { min-width: 0; display: flex; gap: 4px; margin: 0; overflow-x: auto; }
  .admin-sidebar nav button { flex: 0 0 auto; padding: 9px 11px; font-size: 11px; }
  .admin-sidebar nav button span { display: none; }
  .admin-back { display: none; }
  .admin-main { padding: 26px 20px 60px; }
  .admin-content-list article { grid-template-columns: 1fr auto; }
  .admin-status { grid-column: 2; grid-row: 1; }
  .admin-actions { grid-column: 1 / -1; }
  .membership-summary { grid-template-columns: 12px 1fr auto 20px; }
  .membership-summary > span:not(.status-dot) { display: none; }
  .member-data { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .topbar { display: none; }
  .container { width: min(calc(100% - 24px), var(--max)); }
  .hero h1 { font-size: 45px; }
  .home-story-photos { grid-template-columns: 1fr; grid-template-rows: 350px 220px; }
  .home-photo-placeholder { padding: 22px; }
  .home-story-copy h2 { font-size: 43px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .hero-notes { display: grid; }
  .hero-art { height: 270px; }
  .section { padding-block: 62px; }
  .feature-card { padding: 27px; }
  .event-visual { min-height: 310px; border-width: 9px; }
  .page-hero h1 { font-size: 56px; }
  .page-hero p:not(.eyebrow) { font-size: 16px; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li { display: flex; }
  .club-form { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .payment-box { grid-template-columns: 1fr; }
  .payment-box code { font-size: 12px; }
  .form-submit { width: 100%; min-width: 0; }
  .empty-event { grid-template-columns: 1fr; }
  .empty-event-date { min-height: 125px; }
  .route-mark { justify-content: flex-start; }
  .download-grid article { padding: 14px; }
  .product-art { min-height: 290px; }
  .gadget-note-inner { grid-template-columns: 1fr; }
  .gadget-note .contact-reveal { grid-column: auto; min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
  .public-event-card { grid-template-columns: 1fr; }
  .public-event-date { min-height: 110px; }
  .event-detail-layout { gap: 34px; }
  .event-detail-image { height: 250px; border-left-width: 6px; }
  .content-gallery-square .event-detail-image { height: min(88vw, 360px); }
  .content-gallery-status { margin-top: 8px; }
  .content-gallery-thumbs { gap: 6px; }
  .content-gallery-thumbs button { height: 82px; }
  .event-detail-sidebar { padding: 20px; }
  .admin-topbar { align-items: flex-start; }
  .admin-topbar h1 { font-size: 31px; }
  .admin-user { padding: 7px; }
  .admin-user div { display: none; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .admin-stats button { min-height: 135px; padding: 16px; }
  .admin-stats strong { font-size: 42px; }
  .admin-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-panel { padding: 18px; }
  .admin-table > div { grid-template-columns: 12px 1fr auto; }
  .admin-table > div > span:not(.status-dot) { display: none; }
  .admin-section-heading { align-items: flex-start; flex-direction: column; }
  .admin-primary { width: 100%; }
  .admin-editor-grid { grid-template-columns: 1fr; }
  .admin-editor label.wide { grid-column: auto; }
  .admin-photo-field { grid-column: auto; grid-template-columns: 1fr; }
  .admin-photo-preview { grid-row: auto; height: 180px; }
  .membership-summary { grid-template-columns: 10px 1fr 20px; padding: 16px 14px; }
  .membership-summary > b { display: none; }
  .membership-detail { grid-template-columns: 1fr; padding: 16px; }
  .member-data { grid-template-columns: 1fr; }
  .member-data .wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Compatibilità della versione PHP/Aruba con installazione e pannello admin. */
.setup-banner {
  padding: 11px 24px;
  background: #fff4ec;
  border-bottom: 1px solid #f1bd9e;
  color: #6d3515;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.setup-banner a { color: var(--orange-dark); text-decoration: underline; }
.flash { padding: 16px 18px; border-left: 5px solid; font-size: 13px; font-weight: 800; line-height: 1.5; }
.flash-success { background: #edf8f0; border-color: #238a43; color: #155c2c; }
.flash-error { background: #fff0ef; border-color: #c6332c; color: #84201b; }
.full { grid-column: 1 / -1; }
.narrow { max-width: 820px; }
.notice,
.success-card { margin-bottom: 26px; padding: 25px; background: var(--surface); border-left: 7px solid var(--orange); }
.notice p,
.success-card p { margin: 10px 0 0; color: var(--gray); line-height: 1.65; }
.success-card h2 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.success-card .button { margin-top: 18px; }
.button-muted { background: transparent; border-color: #b4b4b1; color: var(--black); }

body.admin-body { background: #ececea; }
.admin-top {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 28px;
  background: var(--black);
  color: var(--white);
  border-bottom: 5px solid var(--orange);
}
.admin-brand { display: flex; align-items: baseline; gap: 8px; }
.admin-brand span { color: var(--orange); font-size: 39px; font-weight: 900; letter-spacing: -.09em; }
.admin-brand strong { font-size: 11px; letter-spacing: .19em; }
.admin-top > div { display: flex; align-items: center; gap: 18px; color: #b9b9be; font-size: 12px; font-weight: 800; }
.admin-top > div a { color: var(--white); }
.admin-body .admin-shell { min-height: calc(100vh - 76px); }
.admin-nav {
  grid-column: 1;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 28px 18px;
  background: var(--black);
  color: #b9b9be;
}
.admin-nav a { padding: 14px 15px; font-size: 13px; font-weight: 800; }
.admin-nav a:hover,
.admin-nav a.active { background: var(--orange); color: var(--black); }
.admin-body .admin-main { grid-column: 2; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.admin-title h1 { margin: 0; font-size: 40px; letter-spacing: -.05em; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dashboard-grid a { min-height: 170px; display: flex; flex-direction: column; padding: 23px; background: var(--white); border: 1px solid #d8d8d5; }
.dashboard-grid a:hover { border-color: var(--orange); transform: translateY(-2px); }
.dashboard-grid span { color: var(--gray); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-grid strong { margin-top: auto; font-size: 53px; letter-spacing: -.07em; }
.panel-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 2px solid var(--black); }
.admin-panel > h2,
.panel-head h2 { margin: 0; font-size: 26px; letter-spacing: -.04em; }
.panel-head a { color: var(--orange-dark); font-size: 12px; font-weight: 900; }
.table-wrap { width: 100%; overflow-x: auto; }
.admin-panel table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-panel th,
.admin-panel td { padding: 15px 10px; border-bottom: 1px solid #e1e1de; text-align: left; vertical-align: top; }
.admin-panel th { color: var(--gray); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.admin-panel td a { color: var(--orange-dark); font-weight: 900; }
.status { display: inline-block; padding: 6px 9px; background: var(--surface); color: var(--gray); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.status-new { background: #fff0e7; color: #a9420d; }
.status-reviewed { background: #e9f1fb; color: #275f96; }
.status-approved,
.status-published { background: #e8f6ec; color: #1d6334; }
.status-rejected { background: #fff0ef; color: #84201b; }
.actions { display: flex; align-items: center; gap: 10px; }
.actions form { margin: 0; }
.actions button { padding: 0; background: transparent; border: 0; color: #a82d27; cursor: pointer; font-size: 12px; font-weight: 900; }
.admin-form { display: grid; gap: 22px; margin-top: 24px; }
.admin-form label { display: grid; gap: 8px; color: #505055; font-size: 11px; font-weight: 900; }
.admin-form input:not([type="checkbox"]),
.admin-form select,
.admin-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; background: #fafafa; border: 1px solid #c7c7c4; border-radius: 0; outline: none; }
.admin-form textarea { resize: vertical; }
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,107,33,.15); }
.admin-form .check { display: flex; align-items: center; gap: 9px; }
.admin-form .check input { width: 18px; height: 18px; accent-color: var(--orange); }
.admin-gallery-editor { display: grid; gap: 14px; padding: 18px; background: #f3f3f1; border: 1px solid #d1d1ce; }
.admin-gallery-editor > div:first-child { display: grid; gap: 5px; }
.admin-gallery-editor > div:first-child strong { color: var(--black); font-size: 13px; }
.admin-gallery-editor > div:first-child span { color: var(--gray); font-size: 10px; font-weight: 500; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.admin-gallery-photo { position: relative; height: 145px; overflow: hidden; background: #ddd; }
.admin-gallery-photo img { width: 100%; height: 100%; object-fit: cover; }
.admin-gallery-photo > span { position: absolute; top: 7px; left: 7px; padding: 5px 7px; background: var(--black); color: var(--white); font-size: 9px; text-transform: uppercase; }
.admin-gallery-photo > b { position: absolute; right: 7px; bottom: 7px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: rgba(255,255,255,.94); color: #9d2924; font-size: 9px; }
.admin-gallery-photo input { width: 14px; height: 14px; accent-color: #b62e28; }
.admin-gallery-upload { min-height: 46px; display: flex !important; align-items: center; justify-content: center; padding: 10px 14px; background: var(--black); color: var(--white) !important; cursor: pointer; text-align: center; }
.admin-gallery-upload input { position: absolute; width: 1px !important; height: 1px !important; min-height: 1px !important; overflow: hidden; opacity: 0; }
.admin-home-photo-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 28px; }
.admin-home-photo-preview { min-height: 390px; display: grid; place-content: center; justify-items: center; gap: 8px; overflow: hidden; background: var(--black) center / cover no-repeat; color: var(--white); border-left: 8px solid var(--orange); }
.admin-home-photo-preview strong { color: var(--orange); font-size: clamp(100px, 13vw, 190px); letter-spacing: -.09em; line-height: .8; }
.admin-home-photo-preview span { color: #aaa; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.admin-home-photo-preview.has-photo { box-shadow: 18px 18px 0 var(--orange); }
.admin-home-photo-controls { display: flex; align-items: stretch; flex-direction: column; gap: 16px; }
.admin-home-photo-controls p { margin: 0; color: var(--gray); font-size: 12px; line-height: 1.7; }
.admin-home-photo-controls .button { margin-top: auto; }
.admin-remove-home { padding: 12px; background: #fff1f0; color: #9d2924 !important; }
.narrow-form { max-width: 600px; }
.record-details { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.record-details summary { cursor: pointer; font-weight: 900; }
.record-details dl { display: grid; grid-template-columns: 200px 1fr; gap: 0; margin: 20px 0 0; }
.record-details dt,
.record-details dd { margin: 0; padding: 11px; border-bottom: 1px solid var(--line); }
.record-details dt { color: var(--gray); font-size: 10px; font-weight: 900; text-transform: uppercase; }

.login-page { min-height: 70vh; display: grid; place-items: center; padding: 70px 24px; background: var(--surface); }
.login-card { width: min(100%, 590px); padding: 45px; background: var(--white); border-top: 7px solid var(--orange); box-shadow: 0 18px 45px rgba(0,0,0,.08); }
.login-card h1 { margin: 0; font-size: 42px; letter-spacing: -.05em; }
.login-card > p:not(.eyebrow) { color: var(--gray); line-height: 1.6; }
.login-card .club-form { margin-top: 25px; padding: 0; border: 0; box-shadow: none; gap: 20px; }

@media (max-width: 800px) {
  .admin-top { padding-inline: 16px; }
  .admin-top > div > span { display: none; }
  .admin-body .admin-shell { display: block; padding-top: 0; }
  .admin-nav { display: flex; gap: 3px; padding: 8px; overflow-x: auto; }
  .admin-nav a { flex: 0 0 auto; padding: 11px; font-size: 11px; }
  .admin-body .admin-main { padding: 28px 18px 60px; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-home-photo-layout { grid-template-columns: 1fr; }
  .admin-home-photo-preview { min-height: 280px; }
  .record-details dl { grid-template-columns: 1fr; }
  .record-details dd { padding-top: 0; }
}

@media (max-width: 540px) {
  .full { grid-column: auto; }
  .dashboard-grid { gap: 9px; }
  .dashboard-grid a { min-height: 135px; padding: 16px; }
  .dashboard-grid strong { font-size: 42px; }
  .login-card { padding: 28px 20px; }
}
