/* Brand colors — from Moodboard 2.png / Brand Foundation.
   Change any value here to update the whole site. */
:root {
  --ivory: #f8f4ea;
  --cream: #ede6d7;
  --greige: #d7cec0;
  --taupe: #a89b8a;
  --sage: #6b7b5b;
  --forest: #3c4a34;
  --forest-dark: #2d3827;
  --oxblood: #6f1d24;
  --antique-gold: #b89b5a;
  --ink: #1a1a1a;
  --terracotta: #c97f56;
  --powder-blue: #afc4d6;

  /* Semantic aliases — what each color is used for on the page */
  --color-bg: var(--ivory);
  --color-surface: var(--cream);
  --color-text: var(--ink);
  --color-muted: var(--taupe);
  --color-accent: var(--oxblood);
  --color-accent-alt: var(--antique-gold);
  --max-width: 1080px;

  /* Typography system — matches the moodboard's four-part type scale:
     display serif (presence), script (personality), classical serif
     (clarity/body), small caps (structure/labels).
     Display + script are served via Adobe Fonts kit iac2rod (see index.html). */
  --font-display: "ambroise-firmin-std", "Playfair Display", Georgia, serif;
  --font-script: "bickham-script-pro-3", "Mrs Saint Delafield", cursive;
  --font-body: "EB Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  font-family: var(--font-body);
  color: var(--color-text);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--color-accent);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--color-accent-alt);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Outlined button — matches the brand's editorial reference set:
   bordered, small caps, arrow, no solid fill. */
.button-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  padding: 13px 30px;
  text-decoration: none;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.button-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.button-outline[hidden] {
  display: none;
}

.button-outline--gold {
  border-color: var(--antique-gold);
  color: var(--antique-gold);
}

.button-outline--gold:hover {
  background: var(--antique-gold);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 5px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.link-arrow:hover {
  color: var(--color-accent);
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--greige);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text);
}

/* ---------------------------------------------------------------- */
/* Hero — deep forest block with a framed "invitation card" and a   */
/* real photo pulled from the first active Etsy listing.            */
/* ---------------------------------------------------------------- */
.hero {
  background: var(--forest);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.hero-card {
  background: var(--ivory);
  border: 1px solid rgba(184, 155, 90, 0.5);
  margin: 24px 0 24px 24px;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card h1 {
  margin: 0 0 20px;
  line-height: 1.05;
}

.hero-card h1 .line-serif {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3rem;
  color: var(--color-text);
}

.line-script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--color-accent);
  font-size: 5rem;
  line-height: 1;
}

.hero-card p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-text);
  opacity: 0.78;
  max-width: 400px;
  margin: 0;
}

.hero-photo {
  position: relative;
  height: 480px;
  background: var(--forest-dark);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Wax-seal badge, ribbon tag, vertical caption — reused on hero and
   item-detail photos. */
.seal {
  position: absolute;
  right: 32px;
  bottom: -30px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--antique-gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-6deg);
}

.seal span {
  font-family: var(--font-script);
  font-size: 1.05rem;
  color: var(--color-accent);
  line-height: 1.15;
}

.ribbon-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-accent);
  color: var(--ivory);
  font-family: var(--font-script);
  font-size: 1.05rem;
  padding: 7px 20px 9px 16px;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
  transform: rotate(-3deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  margin-bottom: 20px;
}

.photo-vertical-label {
  position: absolute;
  right: 18px;
  top: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
}

.photo-vertical-label span {
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 244, 234, 0.75);
}

/* ---------------------------------------------------------------- */
/* Shop grid                                                         */
/* ---------------------------------------------------------------- */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin: 40px 0;
  text-align: left;
}

.listing-card {
  display: block;
  color: var(--color-text);
  text-decoration: none;
}

.listing-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--greige);
  margin-bottom: 10px;
}

.listing-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.listing-card:hover .listing-card__image-wrap img {
  transform: scale(1.04);
}

.listing-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  padding: 4px 10px;
}

.listing-card__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin: 0 0 4px;
  line-height: 1.35;
}

.listing-card__price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-accent);
  margin: 0;
}

.listings-subheading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: left;
  margin: 48px 0 0;
  color: var(--color-muted);
}

.listings-status {
  font-family: var(--font-body);
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Quote tile — a forest card mixed into the shop grid, matching the
   framed hero's dark-on-ivory pairing rather than a product photo. */
.quote-tile {
  aspect-ratio: 4 / 5;
  background: var(--forest);
  color: var(--ivory);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-tile p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.35;
  margin: 0;
}

.quote-tile .sparkle {
  width: 22px;
  height: 22px;
  color: var(--antique-gold);
}

/* ---------------------------------------------------------------- */
/* Item detail page — portrait image left, details right             */
/* ---------------------------------------------------------------- */
.item-detail__back {
  display: inline-flex;
  margin-bottom: 28px;
}

.item-detail-section {
  padding-top: 48px;
}

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

.item-detail__media {
  position: relative;
}

.item-detail__main-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--greige);
}

.item-detail__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-detail__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.item-detail__thumb {
  width: 72px;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid transparent;
  background: var(--greige);
  cursor: pointer;
  overflow: hidden;
}

.item-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-detail__thumb.is-active {
  border-color: var(--color-accent);
}

.item-detail__info .eyebrow {
  margin-bottom: 14px;
}

.item-detail__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  margin: 0 0 12px;
}

.item-detail__price {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-accent);
  margin: 0 0 24px;
}

.item-detail__description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.item-detail__description p {
  margin: 0 0 16px;
}

/* From-the-studio pull quote — dark forest band pulled from the
   piece's own description, styled the same as the shop quote tile. */
.studio-note {
  background: var(--forest);
  color: var(--ivory);
  padding-block: 64px;
  text-align: center;
}

.studio-note .eyebrow {
  color: var(--antique-gold);
}

.studio-note p.line {
  font-family: var(--font-script);
  font-size: 2rem;
  color: #e7c9a8;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ---------------------------------------------------------------- */
/* Footer — forest-dark band carrying the wordmark and contact links */
/* ---------------------------------------------------------------- */
.site-footer {
  background: var(--forest-dark);
  color: var(--ivory);
  padding-block: 56px;
  text-align: center;
}

.site-footer .footer-logo {
  display: block;
  font-family: var(--font-script);
  color: var(--antique-gold);
  font-size: 2.3rem;
  margin-bottom: 22px;
  text-decoration: none;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.footer-links a:hover {
  color: var(--antique-gold);
  opacity: 1;
}

.site-footer p.copyright {
  opacity: 0.5;
  font-size: 0.8rem;
  margin: 0;
}

.site-footer p.footer-legal {
  opacity: 0.5;
  font-size: 0.7rem;
  max-width: 560px;
  margin: 10px auto 0;
}

/* ---------------------------------------------------------------- */
/* Responsive                                                        */
/* ---------------------------------------------------------------- */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    margin: 0 16px;
  }
  .hero-photo {
    height: 320px;
  }
  .hero-card h1 .line-serif {
    font-size: 2.3rem;
  }
  .line-script {
    font-size: 3.4rem;
  }
  .item-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
