:root {
  --paper: #f5f3ed;
  --white: #fff;
  --ink: #1b2c30;
  --muted: #657175;
  --line: #dce0da;
  --teal: #117a7b;
  --teal-dark: #07565c;
  --pale: #e5efea;
  --orange: #cb532f;
  --shadow: 0 12px 35px #18332b0a;
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 780;
}
h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}
h3 {
  font-size: 1.18rem;
  line-height: 1.3;
}
p + p {
  margin-top: 1rem;
}
:focus-visible {
  outline: 3px solid #dc8834;
  outline-offset: 4px;
}
::selection {
  background: #c4e2dc;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}
.section {
  padding-block: 70px;
}
.small {
  font-size: 0.85rem;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--teal);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin-top: 9px;
}
.text-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}
.text-link:hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--teal);
  color: white;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 46px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}
.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--pale);
}
.button.ghost {
  background: #ffffff12;
  border-color: #ffffff45;
  color: white;
}
.button.danger {
  background: #fff0ec;
  color: #ae3524;
  border-color: #eac9bf;
}
.button.compact {
  padding: 8px 13px;
  font-size: 0.8rem;
  min-height: 38px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.icon-button {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 50%;
  font-size: 1.6rem;
  color: inherit;
}
.icon-button:hover {
  background: #ffffff22;
}
.skip-link {
  position: fixed;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 16px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  background: #13282d;
  color: #f7f8f2;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #ffffff15;
}
.header-inner {
  max-width: 1400px;
  width: calc(100% - 64px);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 136px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  display: block;
}
.legacy-brand {
  align-items: flex-start;
}
.legacy-logo-lockup {
  display: block;
  width: 132px;
  line-height: 0;
}
.legacy-logo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.footer-brand .legacy-logo-lockup {
  width: 146px;
}
.site-header nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 0.9rem;
}
.site-header nav > a {
  color: #c5d0d0;
  padding: 8px 0;
}
.site-header nav > a:hover,
.site-header nav > a[aria-current] {
  color: white;
}
.site-header nav > a[aria-current]:not(.nav-account) {
  box-shadow: 0 2px var(--teal);
}
.site-header nav .nav-account {
  border: 1px solid #75949465;
  padding: 10px 19px;
  border-radius: 6px;
  color: #fff;
  display: flex;
  gap: 30px;
}
.menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 1.5rem;
}
.hero {
  background: #14282d;
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 570px;
}
.hero-copy {
  padding: 70px 40px 78px 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
.hero .eyebrow {
  color: #87c9c2;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(3.8rem, 6.4vw, 6.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  max-width: 640px;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #a9d6cb;
}
.hero-copy > p:not(.eyebrow) {
  color: #b9cccc;
  max-width: 420px;
  margin: 25px 0 29px;
  font-size: 1.05rem;
}
.hero-photo {
  position: relative;
  margin-right: calc((1320px - 100vw) / 2);
  min-height: 570px;
}
.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #14282d 0%, transparent 23%),
    linear-gradient(0deg, #13272ddb, transparent 50%);
}
.hero-photo-label {
  position: absolute;
  bottom: 35px;
  left: 50px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 17px;
}
.hero-photo-label .number {
  font-size: 0.75rem;
  color: #99d6ce;
  border: 1px solid #aec8c170;
  border-radius: 50%;
  padding: 9px 12px;
}
.hero-photo-label strong {
  display: block;
  font-size: 1rem;
}
.hero-photo-label span {
  font-size: 0.78rem;
  color: #b8d0cb;
}
.community-strip {
  background: #e9ece3;
  border-bottom: 1px solid var(--line);
}
.community-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  gap: 20px;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.stat strong {
  font-size: 1.4rem;
}
.stat span,
.community-strip p {
  font-size: 0.82rem;
  color: var(--muted);
}
.stat-separator {
  width: 1px;
  height: 25px;
  background: #c6cec6;
}
.category-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.chip {
  display: inline-flex;
  padding: 8px 18px;
  border: 1px solid #cfd7cf;
  border-radius: 24px;
  font-size: 0.83rem;
  background: transparent;
  align-items: center;
  gap: 7px;
}
.chip:hover,
.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.vehicle-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px #142b3013;
}
.card-image {
  display: block;
  position: relative;
  aspect-ratio: 1.5;
  background: #dce5df;
  overflow: hidden;
}
.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.vehicle-card:hover img {
  transform: scale(1.04);
}
.image-arrow {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #fff;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1.25rem;
}
.photo-placeholder,
.image-unavailable:before {
  display: grid;
  place-items: center;
  height: 100%;
  color: #54726b;
  font-size: 0.85rem;
}
.image-unavailable:before {
  content: "Photo unavailable";
}
.card-body {
  padding: 20px 22px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--teal);
  margin-bottom: 9px;
}
.sale-label {
  color: var(--orange);
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eef0e9;
  margin-top: 18px;
  padding-top: 14px;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.card-bottom strong {
  color: var(--ink);
}
.event-section {
  background: #eaece3;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.event-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 25px;
  transition: border-color 0.2s;
}
.event-card:hover {
  border-color: var(--teal);
}
.event-card h3 {
  margin: 4px 0 6px;
}
.event-card p {
  font-size: 0.88rem;
  color: var(--muted);
}
.event-card .eyebrow {
  font-size: 0.63rem;
  letter-spacing: 0.1em;
}
.date-block {
  flex: 0 0 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #d4e1d8;
  border-radius: 8px;
  overflow: hidden;
  background: #eef4ef;
  padding-bottom: 7px;
}
.date-block span {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: #dfece4;
  padding: 4px;
  width: 100%;
  text-align: center;
}
.date-block strong {
  font-size: 1.7rem;
  line-height: 1.45;
}
.event-arrow {
  margin-left: auto;
  color: var(--teal);
}
.join-banner {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  padding: 44px 50px;
  margin-block: 65px;
}
.join-banner p {
  color: #bacbc5;
  margin-top: 12px;
}
.join-banner .button {
  background: #bee2d4;
  color: #183b39;
}
.page-intro {
  padding: 54px 0 32px;
}
.page-intro .eyebrow {
  margin-bottom: 14px;
}
.page-intro > p:last-child {
  color: var(--muted);
  margin-top: 18px;
  max-width: 680px;
}
.page-intro h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
}
.search-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.filter-form {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 0.7fr auto;
  gap: 14px;
  align-items: end;
}
.filter-form.events-filter {
  grid-template-columns: 2fr 1fr auto;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field > span,
.field > label {
  font-size: 0.79rem;
  font-weight: 700;
}
.field input,
.field select,
.field textarea,
input.control,
select.control {
  border: 1px solid #cbd3ce;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 11px 13px;
  min-height: 46px;
  width: 100%;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
.field small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
}
.field input::placeholder {
  color: #89918e;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 15px;
}
.results-bar p {
  font-size: 0.85rem;
  color: var(--muted);
}
.results-bar select {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 35px 0;
  font-size: 0.85rem;
}
.empty-state {
  text-align: center;
  padding: 60px 25px;
  width: 100%;
  grid-column: 1/-1;
  background: #ffffff60;
  border: 1px dashed #cad5cb;
  border-radius: 12px;
}
.empty-state h3 {
  font-size: 1.4rem;
}
.empty-state p {
  color: var(--muted);
  margin: 12px auto;
  max-width: 470px;
}
.empty-state .button {
  margin-top: 15px;
}
.spinner {
  display: inline-block;
  width: 25px;
  height: 25px;
  border: 2px solid #b7cfc7;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  padding-block: 27px;
}
.breadcrumbs a {
  color: var(--teal);
}
.detail-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 14px 0 30px;
}
.detail-top h1 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  margin: 10px 0;
}
.detail-top p {
  color: var(--muted);
}
.detail-top .price {
  font-size: 1.7rem;
  white-space: nowrap;
}
.vehicle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}
.featured-photo {
  display: block;
  width: 100%;
  background: #dfe7df;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.5;
}
.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.photo-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 7px 13px;
  border-radius: 20px;
  background: #12292ddb;
  color: #fff;
  font-size: 0.75rem;
}
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 14px 0;
}
.thumbnail-grid button {
  padding: 0;
  border-radius: 7px;
  overflow: hidden;
  background: #dce4dc;
  aspect-ratio: 1.3;
  border: 2px solid transparent;
}
.thumbnail-grid button:hover {
  border-color: var(--teal);
}
.thumbnail-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.panel h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.panel h3 {
  margin-bottom: 12px;
}
.panel .subheading {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -8px;
  margin-bottom: 24px;
}
.detail-facts {
  margin: 0;
}
.detail-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0e9;
}
.detail-facts > div:last-child {
  border: 0;
}
.detail-facts dt {
  color: var(--muted);
  font-size: 0.85rem;
}
.detail-facts dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec-list li {
  padding: 12px 0;
  border-bottom: 1px solid #edf0e9;
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
}
.spec-list li:before {
  content: "✓";
  color: var(--teal);
}
.prose {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 96px;
}
.legal-page .page-intro {
  max-width: 760px;
  margin-bottom: 34px;
}
.legal-page .page-intro h1 {
  margin: 10px 0 16px;
}
.legal-page .page-intro p:last-child {
  color: var(--muted);
  max-width: 690px;
}
.legal-document {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(26px, 5vw, 52px);
  box-shadow: 0 12px 30px #0c242a0a;
}
.legal-document section + section {
  border-top: 1px solid #edf0e9;
  margin-top: 28px;
  padding-top: 28px;
}
.legal-document h2 {
  font-size: 1.22rem;
  margin: 0 0 10px;
}
.legal-document p,
.legal-document li {
  color: #405258;
  line-height: 1.72;
}
.legal-document ul {
  margin: 10px 0 0;
  padding-left: 22px;
}
.legal-document a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-meta {
  color: var(--muted) !important;
  font-size: 0.88rem;
}
.legal-notice {
  background: var(--pale);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
  color: #365159 !important;
  margin: 24px 0 0;
  padding: 16px 18px;
}
.event-detail {
  max-width: 920px;
  margin: 0 auto;
}
.event-detail .panel {
  padding: 40px;
}
.event-detail h1 {
  margin: 14px 0 26px;
}
.event-information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 35px;
}
.event-information h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 7px;
}
.notice {
  background: var(--pale);
  border: 1px solid #cfddd0;
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 0.88rem;
  margin: 20px 0;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  gap: 80px;
  align-items: center;
  padding: 70px 0;
}
.auth-story h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}
.auth-story p {
  margin-top: 24px;
  max-width: 460px;
  color: var(--muted);
}
.auth-story .auth-photo {
  height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 30px;
}
.auth-box {
  background: white;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.auth-box h2 {
  font-size: 1.85rem;
  margin-bottom: 10px;
}
.auth-box > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.span-2 {
  grid-column: 1/-1;
}
.form-actions {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 24px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.form-actions p {
  font-size: 0.8rem;
  color: var(--muted);
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
}
.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}
.auth-links {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 20px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-links a {
  color: var(--teal);
  font-weight: 600;
}
.password-wrap {
  display: flex;
  position: relative;
}
.password-wrap input {
  padding-right: 65px;
}
.password-wrap button {
  position: absolute;
  right: 7px;
  top: 8px;
  background: none;
  color: var(--teal);
  padding: 5px;
  font-size: 0.78rem;
}
.dashboard {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 35px;
  align-items: start;
  padding: 40px 0 70px;
}
.dashboard-nav {
  position: sticky;
  top: 115px;
}
.dashboard-nav .member-card {
  padding: 20px 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #d6e7dc;
  color: var(--teal);
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 12px;
}
.dashboard-nav h2 {
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}
.dashboard-nav a,
.dashboard-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 0.88rem;
  text-align: left;
  background: none;
  color: var(--muted);
  font-weight: 600;
}
.dashboard-nav a:hover,
.dashboard-nav button:hover {
  background: #e7ede4;
}
.dashboard-nav a[aria-current] {
  background: #dceae0;
  color: var(--teal-dark);
}
.dashboard-nav .nav-label {
  margin: 22px 15px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.dashboard-heading {
  margin-bottom: 27px;
}
.dashboard-heading h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.dashboard-heading p {
  color: var(--muted);
  font-size: 0.9rem;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.overview-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.overview-card strong {
  display: block;
  font-size: 1.7rem;
}
.overview-card span {
  font-size: 0.82rem;
  color: var(--muted);
}
.photo-management {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.photo-tile {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  padding: 12px;
}
.photo-tile > button {
  padding: 0;
  width: 100%;
  display: block;
  aspect-ratio: 1.4;
  border-radius: 5px;
  overflow: hidden;
  background: #e5eae2;
  margin-bottom: 12px;
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-tile.hidden-photo img {
  opacity: 0.45;
}
.photo-tile input {
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.photo-tile .actions {
  gap: 6px;
}
.upload-box {
  padding: 28px;
  border: 2px dashed #c7d8ca;
  border-radius: 10px;
  background: #f4f8f0;
  margin-bottom: 25px;
}
.upload-box input {
  max-width: 100%;
  font-size: 0.9rem;
}
.upload-box p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 8px 0 18px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.83rem;
  background: white;
  text-align: left;
}
th {
  background: #edf1e9;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 16px;
  white-space: nowrap;
}
td {
  padding: 16px;
  border-top: 1px solid #e9ede5;
  vertical-align: middle;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
td .actions {
  flex-wrap: nowrap;
}
td:first-child {
  min-width: 160px;
}
.badge {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #e3f0e7;
  color: #29724b;
  white-space: nowrap;
}
.badge.muted {
  color: #77715d;
  background: #edeade;
}
.table-search {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.table-search input {
  flex: 1;
  min-width: 0;
}
.feedback {
  padding: 12px 16px;
  border-radius: 7px;
  font-size: 0.88rem;
  background: #e6f2e7;
  color: #1f633d;
  margin-top: 15px;
}
.feedback.error {
  background: #fff0ea;
  color: #a43825;
  border: 1px solid #edc5b9;
}
.feedback:empty {
  display: none;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  box-shadow: 0 10px 35px #0002;
  max-width: 90vw;
  border: 1px solid #c7d8c7;
}
.support-banner {
  background: #fff0da;
  color: #7c5016;
  padding: 14px;
  text-align: center;
  font-size: 0.87rem;
  position: relative;
  z-index: 31;
}
.support-banner button {
  margin-left: 15px;
  font-size: 0.82rem;
}
.lightbox {
  border: 0;
  border-radius: 0;
  background: #0c161af5;
  color: #fff;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px 30px;
  overflow: hidden;
}
.lightbox::backdrop {
  background: #000b;
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
}
.lightbox-toolbar,
.lightbox-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.lightbox-toolbar {
  justify-content: end;
  margin-bottom: 15px;
}
.lightbox-count {
  margin-right: auto;
  color: #bdccc8;
}
.lightbox-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.lightbox.actual-size .lightbox-stage {
  display: block;
  text-align: center;
}
.lightbox.actual-size img {
  max-width: none;
  max-height: none;
}
.lightbox-bottom {
  justify-content: space-between;
  margin-top: 15px;
}
.lightbox-bottom .button {
  color: #fff;
  border-color: #56635f;
}
.lightbox-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #c1cdc9;
}
.modal-open {
  overflow: hidden;
}
.edit-dialog {
  max-width: 650px;
  width: calc(100% - 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 30px;
  color: var(--ink);
}
.edit-dialog::backdrop {
  background: #0b202b99;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.dialog-heading h2 {
  font-size: 1.6rem;
}
.site-footer {
  background: #12272c;
  color: #d3ded9;
  padding: 42px 0;
}
.footer-inner {
  width: min(1320px, calc(100% - 80px));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}
.footer-inner p {
  font-size: 0.8rem;
  color: #aabeb7;
  margin-top: 10px;
}
.footer-inner nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 45px;
  font-size: 0.83rem;
  padding-top: 18px;
}
.footer-note {
  line-height: 1.9;
  text-align: right;
}
.reset-container {
  max-width: 510px;
  margin: 65px auto;
  padding: 0 16px;
}
.danger-zone {
  border-color: #e4c7bf;
}
.danger-zone h2 {
  font-size: 1.15rem;
  color: #a73826;
}
.danger-zone p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.gallery-summary {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.83rem;
}
@media (max-width: 1400px) {
  .hero-photo {
    margin-right: -40px;
  }
  .hero h1 {
    font-size: 6.2vw;
  }
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 48px);
  }
  .hero-copy {
    padding-right: 20px;
  }
  .hero-photo {
    margin-right: -24px;
  }
  .hero-grid,
  .hero-photo {
    min-height: 490px;
  }
  .hero h1 {
    font-size: 6.6vw;
  }
  .filter-form {
    grid-template-columns: repeat(4, 1fr);
  }
  .filter-form > .field:first-child {
    grid-column: span 2;
  }
  .filter-form .button {
    grid-column: span 2;
  }
  .vehicle-grid {
    gap: 18px;
  }
  .card-body {
    padding: 18px;
  }
  .card-bottom {
    display: block;
  }
  .card-bottom > span:last-child {
    display: none;
  }
  .vehicle-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 23px;
  }
  .auth-layout {
    gap: 40px;
  }
  .dashboard {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }
  .photo-management {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    width: calc(100% - 48px);
  }
  .footer-note {
    display: none;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    width: calc(100% - 28px);
    min-height: 114px;
  }
  .brand:not(.legacy-brand) img {
    width: 150px;
    height: 56px;
  }
  .legacy-logo-lockup,
  .footer-brand .legacy-logo-lockup {
    width: 106px;
  }
  .menu-toggle {
    display: block;
    padding: 10px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 114px;
    left: 0;
    right: 0;
    background: #13282d;
    padding: 18px 24px 25px;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    border-top: 1px solid #ffffff22;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav > a {
    padding: 10px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy {
    padding: 42px 0 30px;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 12vw, 5.5rem);
    max-width: 570px;
  }
  .hero-copy > p:not(.eyebrow) {
    margin: 21px 0;
    font-size: 0.97rem;
    max-width: 410px;
  }
  .hero-photo {
    margin: 0 -18px;
    min-height: 300px;
  }
  .hero-photo:after {
    background:
      linear-gradient(0deg, #13272de3, transparent 65%),
      linear-gradient(180deg, #14282d, transparent 22%);
  }
  .hero-photo-label {
    bottom: 22px;
    left: 25px;
  }
  .community-strip .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }
  .community-strip p {
    display: none;
  }
  .stat strong {
    font-size: 1.15rem;
  }
  .stat span {
    font-size: 0.75rem;
  }
  .stat-separator {
    height: 20px;
  }
  .section {
    padding-block: 42px;
  }
  .section-heading {
    align-items: start;
    gap: 20px;
  }
  .section-heading .text-link {
    font-size: 0.8rem;
    margin-top: 10px;
  }
  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .card-body {
    padding: 15px;
  }
  .vehicle-card h3 {
    font-size: 1rem;
  }
  .card-meta {
    font-size: 0.6rem;
    letter-spacing: 0.03em;
  }
  .card-bottom {
    padding-top: 10px;
    margin-top: 12px;
    font-size: 0.7rem;
  }
  .image-arrow {
    width: 28px;
    height: 28px;
    bottom: 10px;
    right: 10px;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    padding: 20px;
    gap: 18px;
  }
  .join-banner {
    padding: 28px;
    display: block;
    margin-block: 40px;
  }
  .join-banner .button {
    margin-top: 24px;
  }
  .join-banner h2 {
    font-size: 1.9rem;
  }
  .page-intro {
    padding-top: 35px;
  }
  .page-intro h1 {
    font-size: 2.8rem;
  }
  .filter-form {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .filter-form > .field:first-child {
    grid-column: 1/-1;
  }
  .filter-form .button {
    grid-column: auto;
  }
  .search-panel {
    padding: 18px;
  }
  .results-bar {
    align-items: start;
    gap: 12px;
  }
  .results-bar select {
    max-width: 140px;
    font-size: 0.8rem;
  }
  .filter-form.events-filter {
    grid-template-columns: 1fr auto;
  }
  .filter-form.events-filter > .field:first-child {
    grid-column: 1/-1;
  }
  .detail-top {
    display: block;
    margin-top: 0;
  }
  .detail-top .price {
    margin-top: 15px;
  }
  .vehicle-layout {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 23px;
  }
  .thumbnail-grid {
    gap: 9px;
  }
  .event-detail .panel {
    padding: 25px;
  }
  .event-information {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .auth-layout {
    display: block;
    padding: 35px 0;
  }
  .auth-story {
    margin-bottom: 28px;
  }
  .auth-story h1 {
    font-size: 2.6rem;
  }
  .auth-story p {
    margin-top: 16px;
  }
  .auth-photo {
    display: none;
  }
  .auth-box {
    padding: 25px;
  }
  .dashboard {
    display: block;
    padding-top: 20px;
  }
  .dashboard-nav {
    position: static;
    margin-bottom: 28px;
  }
  .dashboard-nav .member-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px;
  }
  .member-card .avatar {
    margin: 0;
    flex-shrink: 0;
  }
  .dashboard-nav nav {
    display: flex;
    overflow: auto;
    gap: 5px;
    padding-bottom: 8px;
  }
  .dashboard-nav nav a,
  .dashboard-nav nav button {
    white-space: nowrap;
    width: auto;
    padding: 10px 13px;
    font-size: 0.8rem;
  }
  .dashboard-nav .nav-label {
    display: none;
  }
  .dashboard-heading h1 {
    font-size: 1.9rem;
  }
  .overview-grid {
    gap: 10px;
  }
  .overview-card {
    padding: 15px;
  }
  .overview-card strong {
    font-size: 1.35rem;
  }
  .overview-card span {
    font-size: 0.73rem;
  }
  .form-grid {
    gap: 17px;
  }
  .photo-management {
    gap: 12px;
  }
  .photo-tile {
    padding: 10px;
  }
  .photo-tile .button {
    font-size: 0.7rem;
    padding: 6px 9px;
  }
  .footer-inner {
    width: calc(100% - 36px);
    flex-direction: column;
    gap: 23px;
  }
  .footer-inner nav {
    padding-top: 0;
    gap: 15px 30px;
  }
  .lightbox {
    padding: 12px;
  }
  .lightbox-caption {
    display: none;
  }
  .lightbox-toolbar {
    gap: 8px;
  }
  .lightbox-zoom {
    padding: 8px 12px;
    min-height: 40px;
  }
  .edit-dialog {
    padding: 23px;
  }
  .support-banner {
    text-align: left;
    font-size: 0.8rem;
  }
  .support-banner button {
    margin: 8px 0 0;
  }
  .pagination {
    gap: 12px;
    font-size: 0.75rem;
  }
  .pagination .button {
    padding: 10px 13px;
  }
  .results-bar p {
    font-size: 0.8rem;
  }
}
@media (max-width: 420px) {
  .vehicle-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 3.6rem;
  }
  .card-image {
    aspect-ratio: 1.6;
  }
  .card-bottom {
    display: flex;
  }
  .card-bottom > span:last-child {
    display: inline;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-card {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .photo-management {
    grid-template-columns: 1fr 1fr;
  }
  .stat-separator {
    display: none;
  }
  .community-strip .container {
    gap: 16px;
  }
  .event-card .date-block {
    flex-basis: 54px;
  }
  .table-search {
    flex-wrap: wrap;
  }
}
.dashboard-heading h1,
.member-card h2 {
  overflow-wrap: anywhere;
}
.dashboard > div {
  min-width: 0;
}
.dashboard .section-heading {
  flex-wrap: wrap;
}
.table-search {
  flex: 1;
}
.table-search select {
  max-width: 200px;
}
.table-wrap td:nth-child(2) {
  min-width: 100px;
}
.photo-tile .field {
  margin-bottom: 8px;
}
.support-banner {
  position: sticky;
  top: 88px;
  z-index: 29;
}
body:has(.support-banner) .dashboard-nav {
  top: 180px;
}
@media (max-width: 760px) {
  .dashboard .section-heading {
    display: block;
  }
  .dashboard .section-heading > .button {
    margin-top: 16px;
  }
  .table-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .table-search input {
    grid-column: 1/-1;
  }
  .table-search select {
    max-width: none;
  }
  .dashboard-nav h2 {
    font-size: 1rem;
  }
  .overview-card strong {
    overflow-wrap: anywhere;
  }
  .results-bar {
    flex-wrap: wrap;
  }
  .support-banner {
    top: 74px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
