/* Sorted & Sold — site styles */
:root {
  --tangerine: #C4461A;
  --tangerine-dark: #B8401A;
  --marigold: #F2B035;
  --gold: #F6C453;
  --avocado: #3D4A1E;
  --peach: #F7CDB4;
  --coral: #E8845C;
  --cream: #FBF1E1;
  --card: #FFF8EC;
  --espresso: #2B1A10;
  --muted: #4A3A30;
  --line: #B49A7A;
  --footer-text: #E8D9C4;
  --serif: Fraunces, Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; font-variation-settings: "SOFT" 100, "WONK" 1; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
a { color: var(--tangerine); }
a:hover { color: var(--espresso); }
input, select, textarea, button { font: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 112px; padding-bottom: 112px; }
.amp, .accent { font-style: italic; color: var(--tangerine); }
.on-dark .accent, .on-dark .amp { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, .serif { font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; }
h2 { margin: 0; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.05; }
.lead { font-size: 20px; color: var(--muted); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
}
.btn-primary { background: var(--tangerine); color: var(--cream); }
.btn-primary:hover { background: var(--espresso); color: var(--cream); }
.btn-outline { border: 2px solid var(--espresso); color: var(--espresso); background: transparent; }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark:hover { background: var(--tangerine); color: var(--cream); }
.btn-sm { min-height: 48px; padding: 0 24px; }

/* Announcement banner */
.announce {
  background: var(--espresso); color: var(--cream);
  text-align: center; font-size: 16px; line-height: 1.4;
  position: sticky; top: 0; z-index: 100;
  padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; align-items: baseline;
}
.announce strong { font-family: var(--serif); font-weight: 800; font-size: 18px; color: var(--gold); letter-spacing: 0; }
.announce a { color: var(--marigold); font-weight: 700; text-underline-offset: 4px; }
.announce a:hover { color: var(--cream); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.logo { text-decoration: none; color: var(--espresso); font-family: var(--serif); font-size: 32px; font-weight: 850; letter-spacing: -0.02em; line-height: 1; }
.logo:hover { color: var(--espresso); }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; font-size: 16px; font-weight: 600; }
.site-nav a:not(.btn) { color: var(--espresso); text-decoration: none; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 3px;
  text-decoration-color: var(--marigold); text-underline-offset: 8px;
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero h1 { margin: 0; font-size: clamp(52px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.03em; }
.hero .lead { margin-top: 28px; font-size: 21px; max-width: 460px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-art { flex: 1 1 420px; min-width: 0; position: relative; }
.badge {
  position: absolute; left: -28px; bottom: 40px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--avocado); color: var(--cream); display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--serif); font-weight: 800; font-size: 19px; line-height: 1.1; transform: rotate(-12deg);
}

/* Photo placeholders (swap for <img> later) */
.photo { display: flex; align-items: flex-end; padding: 18px; font-size: 13px; color: var(--muted); background: #F4C76B; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero { height: 480px; border-radius: 260px 260px 28px 28px; justify-content: center; padding: 24px 0 32px; font-size: 14px; }
.skyline { width: 100%; height: auto; max-height: 100%; }
.photo-about { flex: 1 1 360px; min-width: 0; height: 420px; background: var(--peach); border-radius: 28px 210px 28px 28px; padding: 24px; font-size: 14px; }
.bg-gold { background: #F4C76B; } .bg-salmon { background: #F7A98B; } .bg-sage { background: #C9C79A; }

/* Category band */
.band { background: var(--marigold); overflow: hidden; white-space: nowrap; padding: 18px 0; font-family: var(--serif); font-weight: 800; font-size: 26px; }
.band-track { display: flex; width: max-content; animation: band-scroll 40s linear infinite; }
.band:hover .band-track { animation-play-state: paused; }
.band span { display: inline-flex; gap: 28px; padding-right: 28px; }
@keyframes band-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }
.band b { color: var(--tangerine); font-weight: inherit; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 56px; }
.step { border-radius: 28px; padding: 32px; min-height: 300px; display: flex; flex-direction: column; }
.step .num { font-family: var(--serif); font-weight: 800; font-size: 56px; line-height: 1; }
.step h3 { margin: 48px 0 6px; font-size: 22px; }
.step p { margin: 0; font-size: 16px; }
.step:nth-child(1) { background: var(--tangerine); color: var(--cream); }
.step:nth-child(2) { background: var(--marigold); }
.step:nth-child(3) { background: var(--peach); }
.step:nth-child(4) { background: var(--avocado); color: var(--cream); }

/* Promise */
.dark { background: var(--avocado); color: var(--cream); }
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.split > h2 { flex: 1 1 380px; }
.promise { flex: 1 1 460px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; font-size: 20px; }
.promise li { display: flex; gap: 16px; align-items: center; }
.promise li::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--marigold); }
.promise li:nth-child(2)::before { background: var(--peach); }
.promise li:nth-child(3)::before { background: var(--coral); }

/* New in town */
.callout { background: var(--marigold); border-radius: 32px; padding: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; justify-content: space-between; }
.callout > div { flex: 1 1 520px; min-width: 0; }
.callout h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 16px; }
.callout p { margin: 0; font-size: 20px; max-width: 580px; }
.callout .btn { flex: none; }

/* Sales preview (home) */
.section-head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-head a { font-weight: 700; }
.sale-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.sale-tile { text-decoration: none; color: var(--espresso); display: flex; flex-direction: column; gap: 18px; }
.sale-tile:hover { color: var(--espresso); }
.sale-tile:hover h3 { text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 3px; }
.sale-tile .photo { height: 260px; border-radius: 24px; }
.sale-tile:nth-child(1) .photo { border-radius: 130px 130px 24px 24px; }
.sale-tile:nth-child(3) .photo { border-radius: 24px 130px 24px 24px; }
.dates { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tangerine-dark); }
.sale-tile h3 { margin: 4px 0 0; font-family: var(--serif); font-weight: 800; font-size: 28px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; padding-bottom: 112px; }
.about > div:last-child { flex: 1 1 460px; min-width: 0; }
.about h2 { margin-bottom: 20px; }
.about .lead { max-width: 480px; }

/* FAQ */
.faq-bg { background: var(--peach); }
.faq { max-width: 900px; }
.faq h2 { margin-bottom: 40px; }
.faq details { border-top: 2px solid var(--espresso); padding: 24px 0; }
.faq details:last-child { border-bottom: 2px solid var(--espresso); }
.faq summary { font-size: 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--tangerine); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 0; font-size: 17px; color: var(--muted); }

/* Consultation */
.consult { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.consult > div { flex: 1 1 360px; min-width: 0; }
.consult h2 { font-size: clamp(42px, 5vw, 66px); line-height: 1.02; margin-bottom: 20px; }
.consult .lead { margin-bottom: 24px; }
.phone-big { font-family: var(--serif); font-weight: 800; font-size: 30px; text-decoration: none; }
.form-card { flex: 1 1 520px; min-width: 0; background: var(--card); border: 2px solid var(--espresso); border-radius: 32px; padding: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .form-card .full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select { min-height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--espresso); }
.field textarea { padding: 14px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; resize: vertical; color: var(--espresso); }
.field :focus, .signup input:focus { outline: 3px solid var(--marigold); outline-offset: 1px; }
.form-note { margin: 0; font-size: 15px; color: var(--muted); }

/* Sales page */
.page-title { padding-top: 64px; padding-bottom: 40px; }
.page-title h1 { margin: 0; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.filters button { min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 600; cursor: pointer; background: transparent; color: var(--espresso); border: 2px solid var(--espresso); }
.filters button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); }
.sale-list { display: flex; flex-direction: column; gap: 28px; padding-bottom: 96px; }
.sale-card { background: var(--card); border: 2px solid var(--espresso); border-radius: 32px; display: flex; flex-wrap: wrap; overflow: hidden; }
.sale-card[hidden] { display: none; }
.sale-card .photo { flex: 1 1 340px; min-height: 280px; }
.sale-body { flex: 2 1 480px; min-width: 0; padding: 36px 40px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.sale-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.pill { font-size: 13px; font-weight: 700; background: var(--marigold); padding: 4px 14px; border-radius: 999px; }
.sale-body h2 { font-size: 38px; }
.sale-body p { margin: 0; color: var(--muted); }
.sale-body .hours { font-size: 16px; font-weight: 600; color: var(--espresso); }
.sale-body .btn { align-self: flex-start; margin-top: 8px; }
.empty { margin: 0; padding: 48px; border: 2px dashed var(--line); border-radius: 32px; text-align: center; color: var(--muted); }
.signup-band { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.signup-band h2 { flex: 1 1 400px; font-size: clamp(34px, 3.8vw, 50px); }
.signup { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 10px; }
.signup input { flex: 1 1 240px; min-height: 56px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--card); }
.signup .btn { background: var(--marigold); color: var(--espresso); padding: 0 30px; }
.signup .btn:hover { background: var(--cream); }

/* Scheduling-now panel (stands in for sale listings) */
.coming-soon { background: var(--card); border: 2px solid var(--espresso); border-radius: 32px; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 14px; }
.coming-soon h3 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.coming-soon > p:not(.dates) { margin: 0; font-size: 19px; color: var(--muted); max-width: 640px; }
.coming-soon .signup { margin-top: 14px; max-width: 620px; flex: none; }
.coming-soon .signup input { border: 1px solid var(--line); background: #fff; }
.coming-soon .signup .btn { background: var(--tangerine); color: var(--cream); }
.coming-soon .signup .btn:hover { background: var(--espresso); }

/* Footer */
.site-footer { background: var(--espresso); color: var(--footer-text); font-size: 15px; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer .logo { color: var(--cream); font-size: 28px; }
.site-footer .amp { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--footer-text); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

/* Mobile */
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .site-header { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; gap: 8px 20px; }
  .site-nav .btn { width: 100%; }
  .hero { padding-top: 24px; padding-bottom: 64px; gap: 48px; }
  .hero-text, .hero-art, .callout > div, .split > h2, .promise, .about > div, .photo-about, .consult > div, .form-card, .sale-body, .sale-card .photo, .signup, .signup-band h2 { flex-basis: 100%; }
  .photo-hero { height: 360px; }
  .badge { left: -8px; width: 104px; height: 104px; font-size: 16px; }
  .form-card { grid-template-columns: 1fr; padding: 24px; }
  .sale-body { padding: 28px 24px; }
  .about { padding-bottom: 72px; }
}
