:root {
  --color-orange: #e07d0f;
  --color-green: #57653e;
  --color-green-dark: #3a4529;
  --color-footer: #3d4438;
  --color-cream: #f6f5f0;
  --color-grey-bg: #eeeeec;
  --color-text: #2a2a28;
  --color-text-muted: #6b6b68;
  --color-border: #dcdcd6;
  --color-sold: #c23b2f;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

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

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--green { background: var(--color-green); color: #fff; }
.btn--green:hover { background: var(--color-green-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--color-green);
  color: var(--color-green);
}
.btn--outline:hover { background: var(--color-green); color: #fff; }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255,255,255,0.12); }

.btn--block { display: block; width: 100%; text-align: center; }

/* ---------- Header ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #6b6b6b;
  text-transform: uppercase;
}

.logo__accent { color: var(--color-orange); }

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

.site-nav a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--color-text);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* ---------- Hero slider ---------- */

.hero-slider {
  position: relative;
  overflow: hidden;
  height: 60vh;
  min-height: 420px;
  max-height: 640px;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 75%);
}

.hero-slide__text {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
}

.hero-slide__text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: #fff;
  max-width: 560px;
}

.hero-slide__text p {
  max-width: 420px;
  font-size: 1.05rem;
  margin-bottom: 1.5em;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }
.hero-arrow:hover { background: rgba(0,0,0,0.35); }

/* ---------- Sections ---------- */

.section { padding: 72px 0; scroll-margin-top: 74px; }
.section--cream { background: var(--color-cream); }
.section--grey { background: var(--color-grey-bg); }
.section--footer-adjacent { padding-bottom: 88px; }

.section-eyebrow {
  color: var(--color-green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75em;
}

.section-heading { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.section-intro {
  max-width: 640px;
  color: var(--color-text-muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col img { border-radius: 4px; }

/* ---------- Instagram section ---------- */

.instagram-section {
  text-align: center;
  padding: 64px 0;
}

.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.5em;
  color: var(--color-green);
}

.instagram-handle:hover { text-decoration: underline; }

/* ---------- Sale CTA banner ---------- */

.sale-cta-banner {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.sale-cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,24,14,0.82) 0%, rgba(20,24,14,0.35) 70%, rgba(20,24,14,0.1) 100%);
}

.sale-cta-banner__text {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  color: #fff;
}

.sale-cta-banner__text .section-eyebrow { color: #d9e0c9; }

.sale-cta-banner__text h2 {
  color: var(--color-orange);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

/* ---------- Gallery grid ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 3px;
}

/* ---------- Sale grid ---------- */

.sale-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.sale-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}

.sale-hero__text {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.sale-hero__text .section-eyebrow { color: #cfe0b0; }
.sale-hero__text h1 { color: #fff; max-width: 500px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-bar a {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.filter-bar a.is-active,
.filter-bar a:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  font-weight: 600;
}

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

.sale-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sale-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-grey-bg);
}

.sale-card__media img { width: 100%; height: 100%; object-fit: cover; }

.price-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
}

.price-tag__was {
  display: block;
  background: #000;
  color: #fff;
  padding: 3px 10px;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.6);
}

.price-tag__now {
  display: block;
  background: var(--color-sold);
  color: #fff;
  padding: 3px 10px;
}

.status-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
}

.status-badge--sold { background: var(--color-sold); color: #fff; }
.status-badge--reserved { background: #b8860b; color: #fff; }
.status-badge--available { background: var(--color-green); color: #fff; }

.sale-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sale-card__body h3 { font-size: 1.15rem; margin-bottom: 0.15em; }
.sale-card__size { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 0.75em; }
.sale-card__descriptor { font-size: 0.92rem; color: var(--color-text-muted); flex: 1; }

.sale-card .btn { margin-top: 16px; align-self: flex-start; }

.value-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--color-cream);
  border-radius: 4px;
  padding: 32px;
}

.value-point { display: flex; gap: 16px; }
.value-point__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-green);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-point h4 { margin-bottom: 0.2em; font-size: 1rem; }
.value-point p { margin: 0; color: var(--color-text-muted); font-size: 0.92rem; }

/* ---------- Sale item detail ---------- */

.item-detail {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
}

.item-gallery__main {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-grey-bg);
  margin-bottom: 12px;
}

.item-gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.item-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.item-gallery__thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.75;
}

.item-gallery__thumbs img.is-active { opacity: 1; border-color: var(--color-green); }

.item-info .category-tag {
  display: inline-block;
  background: var(--color-cream);
  color: var(--color-green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.item-info h1 { font-size: 2rem; margin-bottom: 0.3em; }

.item-price-block {
  background: var(--color-cream);
  border-radius: 4px;
  padding: 24px;
  margin: 20px 0;
}

.item-price-block .was { text-decoration: line-through; color: var(--color-text-muted); font-size: 1.1rem; }
.item-price-block .now { font-family: var(--font-display); font-size: 2.2rem; color: var(--color-green-dark); font-weight: 700; }
.item-price-block .saving { color: var(--color-sold); font-weight: 700; margin-top: 4px; }

.item-size { font-weight: 600; margin-bottom: 1em; }

.extras-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.extras-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.spec-sheet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  padding: 10px 18px;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-bottom: 1.5em;
}

.sold-notice {
  background: var(--color-sold);
  color: #fff;
  padding: 14px 18px;
  border-radius: 3px;
  font-weight: 600;
  margin-bottom: 1.5em;
}

/* ---------- Contact page ---------- */

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

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail h4 { margin-bottom: 0.2em; font-size: 1rem; }
.contact-detail p { margin: 0; color: var(--color-text-muted); }
.contact-detail a { color: var(--color-green); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-footer);
  color: rgba(255,255,255,0.85);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 40px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1em;
}

.site-footer p { color: rgba(255,255,255,0.75); }

.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.6em; }
.footer-nav a { color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: #fff; }

.logo--footer { color: #fff; }
.logo--footer .logo__accent { color: var(--color-orange); }

.social-links { display: flex; gap: 14px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-links a:hover { background: rgba(255,255,255,0.25); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .two-col, .contact-grid, .item-detail { grid-template-columns: 1fr; }
  .sale-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 32px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 24px; border-bottom: 1px solid var(--color-border); }
  .sale-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-arrow {
    width: 36px;
    height: 36px;
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .hero-slide__text { justify-content: flex-end; padding-bottom: 90px; }
  .hero-slide__text p { max-width: 78%; }
  .section { padding: 48px 0; }
}
