/* ============================================================
   HUOT HOME FINDS — style.css
   Palette: Cream #F7F3EC | Warm White #FCFAF7 | Sage #A9B49A
            Olive #69755C | Antique Brass #A67C52 | Dark Brown #4B4035
   Fonts: Cormorant Garamond, Libre Baskerville, Lora
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #F7F3EC;
  color: #4B4035;
  font-family: 'Lora', Georgia, serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
ul { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: #4B4035;
}

/* ---------- CONTAINERS ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* ---------- SECTION COMMON ---------- */
.section {
  padding: 6rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
  color: #4B4035;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.section__subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #69755C;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FCFAF7;
  border-bottom: 1px solid rgba(169, 180, 154, 0.3);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #4B4035;
}

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4B4035;
  transition: color 0.2s ease;
}

.nav__links a:hover { color: #A67C52; }

.nav__badge {
  font-size: 0.6rem;
  background-color: #A9B49A;
  color: #FCFAF7;
  padding: 0.1em 0.5em;
  border-radius: 20px;
  vertical-align: middle;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4B4035;
}

/* ---------- IMAGE PLACEHOLDERS ---------- */
.img-placeholder {
  background-color: #EDE8DF;
  border: 1.5px dashed #A9B49A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A9B49A;
  width: 100%;
}

.img-placeholder::after {
  content: attr(data-label);
  text-align: center;
  padding: 1rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85em 2.2em;
  border-radius: 50px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn--primary {
  background-color: #A67C52;
  color: #FCFAF7;
  border-color: #A67C52;
}

.btn--primary:hover {
  background-color: #4B4035;
  border-color: #4B4035;
}

.btn--outline {
  background-color: transparent;
  color: #FCFAF7;
  border-color: rgba(252, 250, 247, 0.7);
}

.btn--outline:hover {
  background-color: rgba(252, 250, 247, 0.15);
  border-color: #FCFAF7;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #4B4035;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* For the placeholder div version */
.hero .img-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  border: none;
  background-color: #4B4035;
  color: rgba(169, 180, 154, 0.5);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(75,64,53,0.35) 0%, rgba(75,64,53,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero__eyebrow {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A9B49A;
  margin-bottom: 1.2rem;
}

.hero__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  color: #FCFAF7;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero__tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(252,250,247,0.85);
  margin-bottom: 2rem;
}

/* ---------- LATEST FINDS ---------- */
.latest-finds {
  background-color: #FCFAF7;
}

.finds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.find-card {
  background-color: #F7F3EC;
  border: 1px solid rgba(169, 180, 154, 0.25);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.find-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(75, 64, 53, 0.1);
}

.find-card .img-placeholder,
.find-card__img {
  height: 240px;
  object-fit: cover;
}

.find-card__body {
  padding: 1.4rem 1.6rem 1.8rem;
}

.find-card__title {
  font-size: 1.25rem;
  margin: 0.6rem 0 0.5rem;
}

.find-card__desc {
  font-size: 0.9rem;
  color: #69755C;
  line-height: 1.65;
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-block;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0.8em;
  border-radius: 20px;
}

.badge--coming-soon { background-color: #A9B49A; color: #FCFAF7; }
.badge--researching { background-color: rgba(166,124,82,0.15); color: #A67C52; border: 1px solid #A67C52; }
.badge--framing     { background-color: rgba(105,117,92,0.12); color: #69755C; border: 1px solid #69755C; }
.badge--soon        { background-color: rgba(75,64,53,0.1);    color: #4B4035; border: 1px solid #4B4035; }
.badge--sold        { background-color: #4B4035; color: #FCFAF7; }

/* ---------- WORKBENCH ---------- */
.workbench {
  background-color: #F7F3EC;
}

.notebook {
  background-color: #FCFAF7;
  border: 1px solid rgba(169,180,154,0.3);
  border-left: 4px solid #A9B49A;
  padding: 2.5rem 3rem;
  max-width: 680px;
  margin: 0 auto;
}

.notebook__list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.notebook__item {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #4B4035;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.notebook__icon {
  color: #A9B49A;
  font-style: normal;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- COMING SOON ---------- */
.coming-soon {
  background-color: #FCFAF7;
}

.preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.preview-card {
  background-color: #F7F3EC;
  border: 1px solid rgba(169,180,154,0.25);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(75,64,53,0.1);
}

.preview-card .img-placeholder,
.preview-card__img {
  height: 260px;
  object-fit: cover;
}

.preview-card__body {
  padding: 1.4rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.preview-card__title {
  font-size: 1.2rem;
  margin: 0.2rem 0 0.1rem;
}

.preview-card__desc {
  font-size: 0.9rem;
  color: #69755C;
  line-height: 1.65;
  flex: 1;
}

.preview-card__body .btn {
  align-self: flex-start;
  margin-top: 0.6rem;
}

/* ---------- ABOUT ---------- */
.about {
  background-color: #F7F3EC;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about .img-placeholder,
.about__photo {
  height: 500px;
  object-fit: cover;
  object-position: top;
}

.about__text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4B4035;
  margin-bottom: 1.5rem;
}

.about__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 300;
  color: #A67C52;
  border-left: 3px solid #A9B49A;
  padding-left: 1.5rem;
  margin: 1.8rem 0 2rem;
  line-height: 1.4;
}

/* ---------- CONTACT ---------- */
.contact {
  background-color: #FCFAF7;
  text-align: center;
}

.contact__inner {
  margin: 0 auto;
}

.contact__text {
  font-style: italic;
  color: #69755C;
  margin: 0.8rem 0 2rem;
  font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: #4B4035;
  color: #F7F3EC;
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer__brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: #F7F3EC;
}

.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A9B49A;
  transition: color 0.2s ease;
}

.footer__link:hover { color: #FCFAF7; }

.footer__copy {
  font-size: 0.75rem;
  color: rgba(247,243,236,0.45);
  letter-spacing: 0.05em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .finds__grid,
  .preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about .img-placeholder,
  .about__photo {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FCFAF7;
    border-top: 1px solid rgba(169,180,154,0.3);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    align-items: flex-start;
  }

  .nav__links.is-open { display: flex; }
  .nav__toggle { display: block; }

  .finds__grid,
  .preview__grid {
    grid-template-columns: 1fr;
  }

  .notebook {
    padding: 1.8rem 1.5rem;
  }

  .section { padding: 4rem 0; }
}