:root {
  --cream: #f9f2df;
  --butter: #f3e1b8;
  --sage: #c9d4af;
  --sage-deep: #88956c;
  --rust: #a6521c;
  --rust-dark: #723111;
  --ink: #3f291f;
  --card: rgba(255, 250, 239, 0.82);
  --border: rgba(114, 49, 17, 0.14);
  --shadow: 0 18px 50px rgba(92, 58, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.8), transparent 38%),
    repeating-linear-gradient(
      135deg,
      rgba(243, 225, 184, 0.18) 0,
      rgba(243, 225, 184, 0.18) 14px,
      rgba(255, 248, 232, 0.34) 14px,
      rgba(255, 248, 232, 0.34) 32px
    ),
    linear-gradient(180deg, #fffdf7 0%, var(--cream) 48%, #f5ecd6 100%);
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.compact-main,
.subpage-main {
  padding-top: 2rem;
}

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 250, 239, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(166, 82, 28, 0.25);
}

.brand-name,
h1,
h2,
h3,
.button,
.note-value,
.offer-tag {
  font-family: "Bookman Old Style", "Palatino Linotype", "URW Bookman", serif;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rust-dark);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(63, 41, 31, 0.82);
}

.site-nav a[aria-current="page"] {
  color: var(--rust-dark);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 2.5rem;
}

.hero-home {
  padding-top: 2.6rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  color: var(--rust-dark);
}

.hero-text {
  max-width: 58ch;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff8ef;
  background: linear-gradient(180deg, #c86627 0%, var(--rust) 100%);
  box-shadow: 0 12px 24px rgba(166, 82, 28, 0.24);
}

.button-secondary {
  border-color: rgba(114, 49, 17, 0.14);
  background: rgba(255, 255, 255, 0.45);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(114, 49, 17, 0.1);
  font-size: 0.92rem;
}

.availability-intro {
  max-width: 42rem;
  margin-bottom: 1.4rem;
}

.hero-card,
.story-card,
.offer-card,
.feature-panel,
.testimonial,
.contact-card,
.info-strip article {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2rem;
  border-radius: 2rem;
  min-height: 34rem;
  border-color: rgba(114, 49, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.58) 0%, rgba(247, 238, 219, 0.34) 100%);
  box-shadow: none;
}

.sunburst {
  position: absolute;
  inset: 14% auto auto 50%;
  width: 19rem;
  height: 19rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(201, 212, 175, 0.68) 0%,
    rgba(201, 212, 175, 0.2) 58%,
    transparent 100%
  );
}

.hero-card-wash {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  height: 58%;
  border-radius: 1.8rem;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0) 0%, rgba(255, 248, 235, 0.8) 38%, rgba(255, 248, 235, 0.94) 100%);
}

.hero-mascot {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 22rem;
  margin: auto 0 0;
  border-radius: 1.6rem;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid rgba(114, 49, 17, 0.08);
  box-shadow: 0 18px 30px rgba(114, 49, 17, 0.12);
}

.hero-card .hero-card-wash {
  display: none;
}

.hero-note {
  position: relative;
  z-index: 1;
  max-width: 20rem;
  margin: 0;
  padding: 0.1rem 0 0;
  text-align: left;
}

.note-label {
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(114, 49, 17, 0.6);
}

.note-value {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--rust-dark);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 4rem;
}

.info-strip article {
  padding: 1.2rem 1.3rem;
  border-radius: 1.4rem;
}

.info-strip span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(63, 41, 31, 0.72);
}

.info-strip strong {
  font-size: 1.1rem;
  color: var(--rust-dark);
}

section {
  margin-bottom: 4rem;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 1.5rem;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quick-link-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.7rem;
  background: rgba(255, 250, 239, 0.78);
  box-shadow: var(--shadow);
}

.quick-link-card p:last-child {
  margin-bottom: 0;
}

.subpage-hero {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.subpage-title {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.96;
  color: var(--rust-dark);
}

.subpage-copy {
  max-width: 58ch;
  font-size: 1.03rem;
  line-height: 1.75;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: var(--rust-dark);
}

.story-grid,
.offer-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.inventory-grid {
  align-items: stretch;
}

.story-card,
.offer-card {
  padding: 1.4rem;
  border-radius: 1.6rem;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  color: var(--rust-dark);
}

.story-card p,
.offer-card p,
.feature-panel p,
.testimonial p,
.contact-section p {
  line-height: 1.7;
}

.featured {
  background:
    linear-gradient(180deg, rgba(201, 212, 175, 0.35) 0%, rgba(255, 250, 239, 0.88) 100%);
}

.offer-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(166, 82, 28, 0.12);
  color: var(--rust);
  font-size: 0.85rem;
  font-weight: 700;
}

.inventory-card {
  display: flex;
  flex-direction: column;
}

.inventory-card-upcoming {
  background:
    linear-gradient(180deg, rgba(201, 212, 175, 0.22) 0%, rgba(255, 250, 239, 0.88) 100%);
}

.inventory-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
  border-radius: 1.2rem;
  object-fit: cover;
  background: rgba(201, 212, 175, 0.18);
}

.inventory-meta {
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sage-deep);
}

.inventory-card .button {
  margin-top: auto;
}

.inventory-empty {
  max-width: 52rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  background:
    linear-gradient(180deg, rgba(255, 249, 235, 0.92) 0%, rgba(201, 212, 175, 0.24) 100%);
  box-shadow: var(--shadow);
}

.inventory-empty h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.inventory-empty p {
  max-width: 58ch;
  line-height: 1.8;
}

.inventory-empty-upcoming h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.gallery-card,
.gallery-empty {
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background: rgba(255, 250, 239, 0.84);
  box-shadow: var(--shadow);
}

.gallery-card {
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(201, 212, 175, 0.18);
}

.gallery-copy {
  padding: 1rem 1.1rem 1.2rem;
}

.gallery-title {
  margin-bottom: 0.45rem;
  font-family: "Bookman Old Style", "Palatino Linotype", "URW Bookman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--rust-dark);
}

.gallery-copy p:last-child,
.gallery-empty p:last-child {
  margin-bottom: 0;
  line-height: 1.7;
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 2rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.feature-panel,
.testimonial,
.contact-card {
  padding: 1.6rem;
  border-radius: 1.8rem;
}

.feature-list {
  padding-left: 1.2rem;
  margin: 0;
  line-height: 1.8;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 249, 235, 0.8) 0%, rgba(201, 212, 175, 0.32) 100%);
}

.testimonial p {
  margin-bottom: 1rem;
  font-size: 1.22rem;
}

.testimonial span,
.contact-label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.contact-section-single {
  grid-template-columns: 1fr;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-card .button {
  margin-top: 0.8rem;
}

.social-card p {
  line-height: 1.7;
}

.social-links {
  display: grid;
  gap: 0.75rem;
}

.social-links .form-note {
  margin: 0;
}

.contact-form {
  display: none;
}

.active-form {
  display: block;
}

.contact-form-single {
  display: block;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(114, 49, 17, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(166, 82, 28, 0.18);
  border-color: rgba(166, 82, 28, 0.48);
}

.form-note {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: rgba(63, 41, 31, 0.72);
}

.form-status {
  margin-top: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(201, 212, 175, 0.28);
  color: var(--rust-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status-error {
  background: rgba(166, 82, 28, 0.14);
}

.button:disabled {
  cursor: wait;
  opacity: 0.8;
  transform: none;
}

.admin-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 28, 18, 0.48);
  backdrop-filter: blur(10px);
}

.admin-panel {
  position: relative;
  width: min(1080px, calc(100% - 1rem));
  max-height: calc(100vh - 1rem);
  margin: 0.5rem auto;
  padding: 1.4rem;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 250, 239, 0.96) 0%, rgba(249, 242, 223, 0.96) 100%);
  box-shadow: 0 24px 80px rgba(63, 41, 31, 0.24);
}

.admin-close {
  display: block;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--rust-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 212, 175, 0.24);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-badge.has-unread {
  background: rgba(166, 82, 28, 0.16);
  color: var(--rust-dark);
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.admin-card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background: rgba(255, 250, 239, 0.82);
  box-shadow: var(--shadow);
}

.admin-card-wide {
  grid-column: 1 / -1;
}

.admin-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(114, 49, 17, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-listings {
  display: grid;
  gap: 0.9rem;
}

.admin-messages {
  display: grid;
  gap: 0.9rem;
}

.admin-listing {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.6);
}

.admin-message {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.6);
}

.admin-message.is-unread {
  background: rgba(255, 249, 235, 0.9);
  border-color: rgba(166, 82, 28, 0.18);
}

.admin-message-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.admin-message-top h4 {
  margin: 0;
  font-family: "Bookman Old Style", "Palatino Linotype", "URW Bookman", serif;
  color: var(--rust-dark);
}

.admin-message-top span {
  font-size: 0.84rem;
  color: rgba(63, 41, 31, 0.68);
}

.admin-listing h4 {
  margin: 0 0 0.35rem;
  font-family: "Bookman Old Style", "Palatino Linotype", "URW Bookman", serif;
  font-size: 1.1rem;
  color: var(--rust-dark);
}

.admin-listing p {
  margin-bottom: 0.55rem;
}

.admin-gallery-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.8rem;
  border-radius: 1rem;
  object-fit: cover;
  background: rgba(201, 212, 175, 0.18);
}

.admin-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-mini-button {
  border: 1px solid rgba(114, 49, 17, 0.14);
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 940px) {
  .site-header,
  .hero,
  .quick-links,
  .story-grid,
  .offer-grid,
  .feature-layout,
  .contact-layout,
  .contact-section,
  .info-strip {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    border-radius: 1.4rem;
    padding: 1rem;
  }

  .site-header,
  .brand,
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .hero-card {
    min-height: auto;
    padding-top: 1.8rem;
  }

  h1 {
    max-width: 100%;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .hero-card,
  .story-card,
  .offer-card,
  .feature-panel,
  .testimonial,
  .contact-card {
    border-radius: 1.4rem;
  }

  .hero-card {
    padding: 1.2rem;
  }

  .hero-mascot {
    min-height: 18rem;
  }

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

  .button {
    width: 100%;
  }

  .admin-panel {
    width: calc(100% - 0.5rem);
    margin: 0.25rem auto;
    padding: 1rem;
    border-radius: 1.4rem;
  }

  .admin-header,
  .admin-header-tools,
  .admin-actions,
  .admin-listing-actions {
    flex-direction: column;
  }
}
