/* LavenderKates — boutique portfolio site
   Palette: deep aubergine + warm ivory, with the owner's own lavender as the
   primary accent (sampled from her real logo + favorite color) instead of
   the brass/gold this started with. --gold stays defined as a secondary
   accent in case it's wanted again, but lavender now does the accent work. */

:root {
  --ink: #2a1f28;
  --bg: #faf8fd;
  --bg-deep: #f3ecfa;
  --card: #ffffff;
  --plum: #472542;
  --plum-deep: #2c1729;
  --lavender: #a98fd0;
  --lavender-deep: #8a6bb0;
  --lilac: #cdbdec;
  --lilac-soft: #e8ddf7;
  --lilac-pale: #f4eefb;
  --gold: #ad8a52;
  --line: #e6dccb;
  --muted: #6f6169;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
}

a { color: inherit; }

.eyebrow {
  font-family: "EB Garamond", serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lavender);
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--lilac);
}
.site-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}
.brand { text-decoration: none; text-align: left; line-height: 1; }
.brand .name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  letter-spacing: 0.08em;
  color: var(--lavender-deep);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand .sub {
  display: block;
  margin-top: 5px;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lavender);
  white-space: nowrap;
}
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  margin: 0 auto;
}
.brand-logo + .sub {
  text-align: center;
  margin-top: 2px;
}
nav.main-nav { display: flex; gap: clamp(14px, 2.4vw, 34px); flex-wrap: nowrap; }
nav.main-nav a {
  text-decoration: none;
  font-size: clamp(0.66rem, 1.1vw, 0.78rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
nav.main-nav a:hover { border-bottom-color: var(--lavender); }

/* Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,23,41,0.15) 0%, rgba(44,23,41,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 24px 80px;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}
.hero-content .eyebrow { color: #ddccf0; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  margin: 0.3em 0 0.35em;
  max-width: 14ch;
}
.hero p.lede {
  font-size: 1.25rem;
  font-style: italic;
  max-width: 46ch;
  color: #f1e9dd;
  margin: 0 0 1.6em;
}
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 34px;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background 0.2s, color 0.2s;
}
.btn-light { color: #fff; }
.btn-light:hover { background: #fff; color: var(--lavender-deep); }
.btn-dark { color: var(--lavender-deep); border-color: var(--lavender-deep); }
.btn-dark:hover { background: var(--lavender-deep); color: #fff; }
.btn-gold { color: var(--lavender-deep); border-color: var(--lavender-deep); }
.btn-gold:hover { background: var(--lavender-deep); color: #fff; }

/* Sections */
section { padding: 100px 0; }
section.deep { background: var(--bg-deep); border-top: 1px solid var(--lilac); border-bottom: 1px solid var(--lilac); }
section.plum { background: var(--lilac); color: var(--ink); border-top: 1px solid var(--lavender); }
section.plum h2 { color: var(--lavender-deep); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
section.plum .section-head p { color: var(--muted); }

/* Gallery / featured pieces */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 46px;
}
.piece figure { margin: 0; }
.piece .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-deep);
  border: 6px solid var(--lilac);
}
.piece img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.piece:hover img { transform: scale(1.04); }
.piece figcaption { margin-top: 20px; text-align: center; }
.piece h3 { font-size: 1.4rem; margin-bottom: 0.2em; }
.piece p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* A single framed photo for the storefronts page, sitting beside the shop cards */
.shops-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 6px solid var(--lilac);
  border-radius: 18px 18px 6px 6px;
}
.shops-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Storefront cards */
.shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.shop-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 2px solid var(--lilac);
  padding: 40px 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.shop-card:hover { border-color: var(--lavender-deep); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(169, 143, 208, 0.25); }
.shop-card.is-coming-soon {
  cursor: default;
  opacity: 0.65;
  border-style: dashed;
}
.shop-card.is-coming-soon:hover { border-color: var(--lilac); transform: none; box-shadow: none; }
.shop-card .soon {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-card .mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.shop-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 18px; }
.shop-card span.go {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-grid img { width: 100%; display: block; }
.about-grid .prose p { margin-bottom: 1.2em; }
.pull-quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--lavender-deep);
  border-left: 2px solid var(--lilac);
  padding-left: 24px;
  margin: 1.6em 0;
}

/* Contact */
.contact-block { text-align: center; max-width: 560px; margin: 0 auto; }
.contact-block .email {
  display: inline-block;
  margin-top: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--lavender-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--lilac);
}
.social-row { margin-top: 34px; display: flex; gap: 26px; justify-content: center; }
.social-row a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.social-row a:hover { border-bottom-color: var(--lavender); }

/* Collage banner — sprig motif + wordmark on a solid lilac panel */
.collage-banner {
  background: var(--lilac);
  text-align: center;
  padding: 56px 24px 46px;
  border-top: 1px solid var(--lavender);
  border-bottom: 1px solid var(--lavender);
}
.collage-banner img.sprig { height: 130px; width: auto; margin-bottom: 6px; }
.collage-banner .est {
  font-family: "EB Garamond", serif;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--plum);
  margin: 6px 0 18px;
}
.collage-banner img.wordmark-big { height: 56px; width: auto; }

/* Small sprig divider between collage sections */
.sprig-divider { text-align: center; padding: 44px 0; }
.sprig-divider img { height: 64px; width: auto; opacity: 0.9; }

/* Softer, rounded photo frames for the collage feel */
.piece .frame, .atmosphere-grid .shot {
  border-radius: 18px 18px 6px 6px;
}

/* Montage tiles — bold-lilac collage cards with a sprig border strip,
   thick soft-purple photo frames, and the brand lockup, echoing the
   owner's own promo graphics. */
.collage-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
  margin-top: 20px;
}
.collage-tile {
  background: var(--lilac);
  aspect-ratio: 1 / 1;
  padding: 26px 26px 26px 12px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
}
.collage-tile .sprig-strip {
  background-image: url("images/sprig-motif.png");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 30px auto;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}
.collage-tile .collage-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.collage-tile .collage-grid.duo {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
.collage-tile .cframe {
  border: 9px solid var(--lilac-soft);
  background: #fff;
  overflow: hidden;
}
.collage-tile .cframe.main { grid-row: 1 / 3; }
.collage-tile .collage-grid.duo .cframe { grid-row: auto; }
.collage-tile .cframe img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}
.collage-tile .brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}
.collage-tile .brand-block .vf {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
}
.collage-tile .brand-block .est-line {
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 4px 0;
}
.collage-tile .brand-block img.mini-sprig {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.collage-tile .brand-block img.mini-wordmark {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-top: 2px;
}
@media (max-width: 520px) {
  .collage-tile { aspect-ratio: auto; padding: 20px 20px 20px 10px; }
}

/* Atmosphere grid (uncaptioned "peek inside the collection" shots) */
.atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.atmosphere-grid .shot {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-deep);
  border: 6px solid var(--lilac);
}
.atmosphere-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.atmosphere-grid .shot:hover img { transform: scale(1.06); }

/* Prose (legal/policy pages) */
.prose { max-width: 700px; margin: 0 auto; }
.prose h1 { font-size: 2.4rem; margin-bottom: 0.3em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; color: var(--lavender-deep); }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5em; }

/* Footer */
footer.site {
  background: var(--lilac);
  color: var(--plum-deep);
  text-align: center;
  padding: 50px 24px 34px;
  font-size: 0.85rem;
  border-top: 3px solid var(--lavender-deep);
  border-bottom: 3px solid var(--lavender-deep);
}
footer.site .name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum-deep);
  display: block;
  margin-bottom: 14px;
}
footer.site .footer-logo {
  height: 44px;
  width: auto;
  margin: 0 auto 14px;
  filter: brightness(0) invert(1);
}
footer.site .sprig-footer {
  height: 54px;
  width: auto;
  display: block;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
footer.site a { color: var(--plum-deep); text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .links { margin-top: 10px; }
footer.site .links a { margin: 0 10px; }

/* Mobile menu toggle (hamburger) — hidden on desktop, shown under 680px */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--lavender-deep);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
}
.menu-toggle.is-open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 100%; }
.menu-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 100%; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}
@media (max-width: 680px) {
  .menu-toggle { display: flex; }
  .site-inner { position: relative; }

  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--lilac);
    padding: 4px 24px 14px;
    box-shadow: 0 12px 20px rgba(169, 143, 208, 0.18);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
  }
  nav.main-nav a:last-child { border-bottom: none; }
}
