/* ============================================
   THE ASH TREE — main.css
   Palette: Cream / Forest Green / Umber Brown
   ============================================ */

:root {
  --cream:       #f5f0e8;
  --cream-dark:  #ede4d3;
  --green:       #3a5a40;
  --green-light: #588157;
  --brown:       #6b4f3a;
  --brown-light: #a07850;
  --ink:         #1c1a17;
  --muted:       #8a7f72;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', sans-serif;

  --nav-h:       72px;
  --max-w:       1200px;
  --gap:         clamp(1.5rem, 4vw, 3rem);
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ──────────────────────────── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--brown);
  line-height: 1.2;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.btn--outline {
  border: 1px solid var(--green);
  color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--cream);
}

.btn--solid {
  background: var(--green);
  color: var(--cream);
  border: 1px solid var(--green);
}
.btn--solid:hover {
  background: transparent;
  color: var(--green);
}

/* ── NAV ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap);
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(107, 79, 58, 0.12);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--brown);
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  transition: transform 8s ease;
}

.hero:hover .hero__image { transform: scale(1.03); }

/* Placeholder — replace with real <img> */
.hero__image--placeholder {
  background:
    linear-gradient(160deg,
      rgba(88,129,87,0.35) 0%,
      rgba(107,79,58,0.25) 50%,
      rgba(160,120,80,0.4) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(58,90,64,0.08) 0px,
      rgba(58,90,64,0.08) 1px,
      transparent 1px,
      transparent 12px
    );
  background-color: var(--cream-dark);
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) var(--gap) 3rem;
  gap: 1.5rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-light);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--ink);
}
.hero__title em {
  color: var(--green);
  font-style: italic;
}

.hero__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 28ch;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ── FEATURED WORKS ──────────────────────── */
.featured {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gap);
}

.featured__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.featured__see-all {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--brown-light);
  transition: color 0.2s;
}
.featured__see-all:hover { color: var(--green); }

.featured__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.work-card {
  overflow: hidden;
  cursor: pointer;
}

.work-card--tall { grid-row: 1 / 3; }

.work-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: var(--cream-dark);
  transition: transform 0.6s ease;
}

.work-card--tall .work-card__img { height: 100%; aspect-ratio: unset; }

.work-card:hover .work-card__img { transform: scale(1.04); }

/* Placeholder colours — swap for real images */
.work-card__img--1 {
  background: linear-gradient(135deg, #7a9e7e 0%, #4a7c59 60%, #3a5a40 100%);
}
.work-card__img--2 {
  background: linear-gradient(135deg, #c4a882 0%, #a07850 100%);
}
.work-card__img--3 {
  background: linear-gradient(135deg, #8faa8b 0%, #6b8f71 100%);
}

.work-card__info {
  padding: 0.75rem 0 0;
}
.work-card__info h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
}
.work-card__info span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── QUOTE BAND ──────────────────────────── */
.quote-band {
  background: var(--green);
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
  text-align: center;
}

.quote-band blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  max-width: 70ch;
  margin: 0 auto 1.5rem;
}

.quote-band cite {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  font-style: normal;
}

/* ── FOOTER ──────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem var(--gap);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer .nav__logo { color: var(--cream-dark); }

.footer__left p {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.footer__right a {
  font-size: 0.85rem;
  color: var(--cream-dark);
  transition: color 0.2s;
}
.footer__right a:hover { color: var(--green-light); }

.footer__social {
  display: flex;
  gap: 1.25rem;
}
.footer__social a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__copy {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  color: var(--muted);
  border-top: 1px solid rgba(245,240,232,0.08);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* ── COMING SOON (shop / blog) ───────────── */
.coming-soon {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.coming-soon__bg {
  position: absolute;
  inset: 0;
  filter: blur(18px) brightness(0.55) saturate(0.8);
  transform: scale(1.08); /* hide blur edges */
}

.coming-soon__bg--shop {
  background: linear-gradient(135deg,
    #3a5a40 0%, #a07850 40%, #6b4f3a 70%, #588157 100%);
}

.coming-soon__bg--blog {
  background: linear-gradient(160deg,
    #6b4f3a 0%, #3a5a40 50%, #c4a882 100%);
}

.coming-soon__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,26,23,0.35);
}

.coming-soon__content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  padding: var(--gap);
}

.coming-soon__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.65);
  margin-bottom: 1.25rem;
}

.coming-soon__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.coming-soon__line {
  width: 48px;
  height: 1px;
  background: var(--cream);
  opacity: 0.5;
  margin: 0 auto 1.5rem;
}

.coming-soon__text {
  font-size: 1rem;
  font-weight: 300;
  max-width: 36ch;
  color: rgba(245,240,232,0.8);
  line-height: 1.7;
  margin: 0 auto 2rem;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 55svh auto;
  }

  .hero__text {
    padding: 2.5rem var(--gap) 5rem;
  }

  .hero__scroll-hint { display: none; }

  .featured__grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-card--tall { grid-row: auto; }
  .work-card--tall .work-card__img { aspect-ratio: 3/4; }

  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    padding: 2rem var(--gap);
    border-bottom: 1px solid var(--cream-dark);
    gap: 1.5rem;
  }

  .footer {
    grid-template-columns: 1fr;
  }
  .footer__right { text-align: left; align-items: flex-start; }
}