/* Self-hosted Cormorant Garamond and Jost (variable fonts from Google Fonts,
   latin and latin-ext subsets). One file per style covers every weight used. */
/* Cormorant Garamond italic 500 600, latin-ext */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond italic 500 600, latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond normal 500 600, latin-ext */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-roman-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond normal 500 600, latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-roman-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost normal 100 900, latin-ext */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/jost-roman-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Jost normal 100 900, latin */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/jost-roman-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ivory: #faf6f1;
  --blush: #efddd6;
  --champagne: #b8956a;
  /* Champagne fails contrast as text on light backgrounds (2.6:1 on ivory).
     Use this for small gold text there; plain champagne stays for borders and
     for text on plum, where it measures 4.7:1. */
  --champagne-text: #7a5b37;
  --plum: #3d2b35;
  --orchid: #8e5b7a;
  --stone: #7a6f6a;
  --brown: #5c3922;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --header: 5.25rem;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--plum);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.02rem, 0.35vw + 0.95rem, 1.125rem);
  line-height: 1.7;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 20% 30%, #3d2b35 0.6px, transparent 0.7px),
    radial-gradient(circle at 70% 60%, #3d2b35 0.6px, transparent 0.7px);
  background-size: 3px 3px, 5px 5px;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}

.section-plum :focus-visible,
.site-footer :focus-visible { outline-color: var(--ivory); }

.promo-bar :focus-visible { outline-color: #222222; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 90;
  background: var(--plum);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus { top: 0.7rem; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--stone);
}

h1, h2, h3, .signoff em {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.4vw, 4.3rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2vw, 2.15rem);
  line-height: 1.15;
}

h1 em, h2 em, .signoff em {
  font-style: italic;
  font-weight: 500;
  color: var(--orchid);
}

.lede, .muted { color: var(--stone); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-blush { background: var(--blush); }

.section-blush .eyebrow,
.section-blush .muted { color: var(--plum); }

.section-plum .eyebrow { color: var(--champagne); }

.section-head { max-width: 40rem; margin-bottom: 2rem; }

.section-head p:last-child { margin: 0.9rem 0 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--ivory);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.btn-line {
  background: transparent;
  color: var(--plum);
}

.btn-line:hover,
.btn:hover { background: var(--orchid); border-color: var(--orchid); color: var(--ivory); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header);
  padding: 0 1.25rem;
  background: transparent;
  transition: height 0.4s var(--ease), background 0.4s var(--ease);
}

.site-header.is-compact {
  --header: 4.25rem;
  height: 4.25rem;
}

/* The blur sits on a pseudo-element: backdrop-filter on the header itself
   would trap the fixed mobile menu inside the header's box. */
.site-header.is-compact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 246, 241, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 rgba(184, 149, 106, 0.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  position: relative;
  z-index: 50;
}

.brand-mark { width: 44px; height: 44px; }

.brand-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--brown);
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 50;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--plum);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle span::before,
.nav-toggle span::after { transition: transform 0.3s var(--ease), top 0.3s var(--ease); }

/* Open menu: the three lines become an X. */
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
}

.site-nav a:not(.btn):hover { color: var(--orchid); }

.site-nav a[aria-current="true"] {
  color: var(--orchid);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

/* The sticky header sits above the hero, so the hero takes the rest of the
   screen; at full 100svh the buttons fell below the fold. */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 1rem) 0 2.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media picture { display: contents; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(38rem, calc(100% - 2rem));
  margin-left: max(1rem, calc((100vw - 1120px) / 2));
  padding: 1.6rem 1.5rem 1.7rem;
  background: rgba(250, 246, 241, 0.94);
  border-radius: 0 7rem 0 0;
}

.hero-copy .lede { margin: 1rem 0 0; max-width: 36rem; }

/* Wraps only between the two claims, never inside one. */
.hero-eyebrow span { white-space: nowrap; }

@media (max-width: 480px) {
  .hero-eyebrow { letter-spacing: 0.14em; }
}

.hero-reveal { animation: hero-in 0.9s var(--ease) both; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

/* The free-shipping bar uses Etsy's brand colours, since the offer is
   Etsy's: Blaze Orange, Mine Shaft text (5.1:1), and the white wordmark. */
.promo-bar {
  position: relative;
  z-index: 45;
  background: #f56400;
  color: #222222;
  padding: 0.55rem 3rem;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.promo-bar[hidden],
.section[hidden],
.site-nav a[hidden] { display: none; }

.promo-bar p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 0.6rem;
}

.promo-lead {
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.promo-etsy {
  display: inline-flex;
  align-items: center;
  margin-left: 0.3rem;
  line-height: 0;
  vertical-align: middle;
}

.promo-etsy img {
  width: auto;
  height: 1.45rem;
}

.promo-code {
  margin-left: 0.2rem;
  padding: 0.15rem 0.65rem;
  border: 1px dashed #f56400;
  outline: 2px solid #222222;
  border-radius: 999px;
  background: #222222;
  color: #f56400;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: copy;
}

.promo-code:hover,
.promo-code:focus-visible { background: #000000; }

/* The chip's own dark outline is its shape; keyboard focus gets a ring
   outside it instead. */
.promo-bar .promo-code:focus-visible { outline: 2px solid #222222; box-shadow: 0 0 0 4px #f56400, 0 0 0 6px #222222; }

.promo-link {
  color: #222222;
  text-underline-offset: 0.2em;
}

.promo-close {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #222222;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.promo-close:hover,
.promo-close:focus-visible { background: rgba(34, 34, 34, 0.08); }

@media (max-width: 600px) {
  .promo-bar { padding: 0.45rem 2.5rem 0.45rem 0.6rem; font-size: 0.8rem; }

  .promo-bar p { flex-wrap: nowrap; gap: 0.4rem; }

  .promo-lead { font-size: 0.66rem; letter-spacing: 0.05em; white-space: nowrap; }

  .promo-etsy { margin-left: 0.15rem; }

  .promo-etsy img { height: 1.2rem; }

  .promo-wide { display: none; }

  .promo-code { padding: 0.05rem 0.4rem; letter-spacing: 0.06em; }

  .promo-link { white-space: nowrap; }
}

/* Narrowest phones (320–374px): a little tighter so nothing runs under ×. */
@media (max-width: 374px) {
  .promo-bar { padding-left: 0.35rem; padding-right: 2.3rem; }

  .promo-bar p { gap: 0.3rem; }

  .promo-lead { font-size: 0.6rem; letter-spacing: 0.03em; }

  .promo-etsy img { height: 1.1rem; }

  .promo-code { padding: 0.05rem 0.3rem; letter-spacing: 0.04em; }

  .promo-arrow { display: none; }
}

.new-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(62%, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.new-grid .piece-card { scroll-snap-align: start; }

.new-grid .piece-open > p:not(.piece-price),
.new-grid .badge-new { display: none; }

.new-grid .piece-open h3 { font-size: 1.15rem; }

.new-cta { margin: 2.5rem 0 0; text-align: center; }

/* The section's one call to action: a size up from the standard button. */
.new-cta .btn {
  min-height: 56px;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .new-cta .btn { width: 100%; padding-inline: 0.75rem; font-size: 1rem; letter-spacing: 0.03em; }
}

@media (max-width: 374px) {
  .new-cta .btn { font-size: 0.92rem; letter-spacing: 0.01em; }
}

@media (min-width: 700px) {
  .new-grid { grid-auto-columns: minmax(30%, 1fr); }
}

@media (min-width: 1024px) {
  .new-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
}

.materials-strip {
  background: var(--blush);
  border-block: 1px solid var(--champagne);
  padding: 0.85rem 1.25rem;
}

.materials-strip p {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
}

/* Each claim stays on one line with its trailing dot, so the strip only
   wraps between claims and never starts a line with a separator. */
.materials-strip span { white-space: nowrap; }

@media (min-width: 1024px) {
  .materials-strip p { letter-spacing: 0.1em; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.story-grid,
.custom-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.arch {
  border-radius: 12rem 12rem 0 0;
  overflow: hidden;
  background: var(--blush);
}

.arch img { width: 100%; height: 100%; object-fit: cover; }

.story-portrait { aspect-ratio: 4 / 5; }

.story-copy { align-self: center; }

.prose { margin-top: 1.4rem; }

.prose p { margin: 0 0 1rem; }

.signoff {
  margin: 1.4rem 0 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.15;
}

.signoff-role {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1.4rem;
}

.filter {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--plum);
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter[aria-pressed="true"],
.filter:hover {
  background: var(--plum);
  color: var(--ivory);
}

.piece-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.piece-card { margin: 0; }

.piece-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.piece-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10rem 10rem 0 0;
  background: var(--ivory);
  aspect-ratio: 4 / 5;
}

.section-blush .piece-frame { background: var(--ivory); }

.piece-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s var(--ease);
}

.badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.3rem 0.6rem;
  background: var(--ivory);
  color: var(--orchid);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Sits bottom-left like the other badge: the arch clips the top corners. */
.badge-new {
  background: var(--plum);
  color: var(--ivory);
}

.badge + .badge-new {
  left: auto;
  right: 1rem;
}

.piece-open h3 { margin-top: 0.9rem; }

.piece-open p { margin: 0.35rem 0 0; }

.piece-price {
  margin: 0.35rem 0 0;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.piece-meta {
  color: var(--stone);
  font-size: 1rem;
}

.section-blush .piece-meta { color: var(--plum); }

.piece-etsy {
  display: inline-flex;
  margin-top: 0.7rem;
  font-weight: 400;
  text-underline-offset: 0.22em;
}

.modal {
  width: min(980px, calc(100vw - 1.5rem));
  max-height: min(90vh, 860px);
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--plum);
  overflow: auto;
}

.modal::backdrop { background: rgba(61, 43, 53, 0.58); }

.modal-layout {
  display: grid;
  gap: 1.25rem;
  padding: 1.2rem;
}

.modal-gallery { position: relative; }

.modal-gallery img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 8rem 8rem 0 0;
  background: var(--blush);
  aspect-ratio: 4 / 5;
}

.modal-nav, .modal-close {
  border: 1px solid var(--plum);
  background: var(--ivory);
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}

.modal-nav[hidden] { display: none; }

.modal-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.modal-close {
  position: sticky;
  top: 0.8rem;
  float: right;
  margin: 0.8rem 0.8rem 0 0;
  z-index: 2;
}

.modal h2 { margin-top: 0.3rem; }

.care-label {
  margin: 1.2rem 0 0.3rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  padding-top: 1rem;
  border-top: 1px solid var(--champagne);
}

.step-no {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--orchid);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.event-list, .past-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-card, .past-list li {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(250, 246, 241, 0.28);
}

.section-plum {
  background: var(--plum);
  color: var(--ivory);
}

.section-plum .muted,
.section-plum p { color: #f3e8e2; }

.section-plum .event-when { color: var(--champagne); }

.section-plum a { color: var(--ivory); }

.event-card h3 { color: var(--ivory); }

.event-when {
  margin: 0.2rem 0 0.5rem;
  color: var(--champagne);
  font-weight: 400;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 0.8rem;
}

.event-actions button,
.event-actions a {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
  min-height: 44px;
}

.event-card.is-next {
  padding: 1.5rem;
  border: 1px solid var(--champagne);
}

.event-card.is-next h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.event-card.is-next .event-when { font-size: 1.15em; }

/* An event that is on right now: champagne-lit card and a badge. */
.event-card.is-live {
  padding: 1.5rem;
  border: 2px solid var(--champagne);
  background: rgba(184, 149, 106, 0.26);
}

.event-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--champagne);
  color: var(--plum) !important;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--plum);
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.markets-follow { margin: -0.5rem 0 1.75rem; }

.markets-follow a { font-weight: 500; }

/* Real photos from the booth: kept at their own shape, in columns. */
.booth { margin-top: 3rem; }

.booth h3 {
  margin: 0.3rem 0 0;
  color: var(--ivory);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.booth-note { margin: 0.5rem 0 1.5rem; }

/* A tiled grid that always fills: large tiles span 2x2, tall tiles 1x2.
   Order in the HTML: large, tall, tall, large, then four small. That
   packs a 4x4 grid on wider screens and an even 2-column stack on phones.
   Row height follows the column width (4:3 tiles). */
.booth-grid {
  --cols: 2;
  --gap: 0.6rem;
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * 0.75);
  grid-auto-flow: dense;
  gap: var(--gap);
}

.booth-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.6rem;
  background: rgba(250, 246, 241, 0.08);
}

.booth-grid .is-large { grid-column: span 2; grid-row: span 2; }

.booth-grid .is-tall { grid-row: span 2; }

.booth-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booth-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.6rem 0.7rem 0.55rem;
  background: linear-gradient(to top, rgba(34, 24, 30, 0.82), rgba(34, 24, 30, 0));
  color: var(--ivory);
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (min-width: 700px) {
  .booth-grid { --cols: 4; --gap: 0.9rem; }

  .booth-grid figcaption { font-size: 0.88rem; padding: 2rem 0.9rem 0.7rem; }
}

.past-events { margin-top: 1.5rem; }

.markets-contact { margin: 1.5rem 0 0; }

.past-events summary {
  cursor: pointer;
  font-weight: 400;
  min-height: 44px;
}

.empty-note { margin: 0; }

.masonry {
  columns: 1;
  column-gap: 0.9rem;
}

.masonry figure {
  margin: 0 0 0.9rem;
  break-inside: avoid;
}

.masonry img {
  width: 100%;
  height: auto;
  border-radius: 8rem 8rem 0 0;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.masonry figcaption {
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--stone);
}

/* Stone and orchid text only on ivory; on blush they drop below 4.5:1. */
.section-blush figcaption,
.section-blush .error { color: var(--plum); }

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.field { display: grid; gap: 0.3rem; }

.field > span:not(.error) { font-size: 1rem; font-weight: 400; letter-spacing: 0.04em; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--stone);
  background: var(--ivory);
  border-radius: 0.9rem;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--orchid); }

/* Messages take space only when there is something to say, so the form
   keeps an even rhythm until a field needs attention. */
.error {
  display: block;
  margin: 0;
  color: var(--orchid);
  font-size: 1rem;
  line-height: 1.5;
}

.error:empty { display: none; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--plum);
  color: var(--ivory);
  padding: 2.5rem 0;
}

.footer-row {
  display: grid;
  gap: 1.2rem;
}

.footer-brand { width: 120px; height: auto; }

.footer-row p { margin: 0.35rem 0; color: #f3e8e2; }

.footer-links, .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  align-items: center;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(250, 246, 241, 0.4);
  border-radius: 50%;
}

.socials img { width: 18px; height: 18px; }

.page-simple {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 6rem 0 3rem;
}

.page-simple .wrap { max-width: 40rem; }

.status { margin: 0; color: var(--orchid); }

@media (hover: hover) {
  .piece-etsy {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }

  .piece-card:hover .piece-etsy,
  .piece-card:focus-within .piece-etsy,
  .piece-etsy:focus {
    opacity: 1;
    transform: none;
  }

  .piece-card:hover .piece-frame img,
  .piece-open:focus-visible .piece-frame img {
    transform: scale(1.03);
  }
}

@media (min-width: 768px) {
  .story-grid,
  .contact-grid,
  .custom-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }

  .contact-grid { align-items: start; }

  .story-copy { transform: translateY(2.5rem); }

  .piece-grid,
  .steps { grid-template-columns: 1fr 1fr; }

  .masonry { columns: 2; }

  .modal-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    padding: 1.5rem;
  }

  .modal-gallery img { max-height: 78vh; }

  .footer-row {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .piece-grid { grid-template-columns: 1fr 1fr 1fr; }

  .piece-card.is-featured:first-child {
    grid-column: span 2;
  }

  .piece-card.is-featured .piece-frame { aspect-ratio: 5 / 4; }

  .masonry { columns: 3; }

  .steps { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1023px) {
  .brand-name { font-size: 1.3rem; }

  .brand-sub { font-size: 0.55rem; letter-spacing: 0.26em; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 6rem 2rem;
    background: var(--ivory);
    transform: translateY(-102%);
    transition: transform 0.45s var(--ease);
  }

  .site-nav.is-open { transform: none; }

  .site-nav a:not(.btn) {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    line-height: 1.15;
    opacity: 0;
    transform: translateY(16px);
  }

  .site-nav.is-open a:not(.btn),
  .site-nav.is-open .btn {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }

  .site-nav.is-open a:nth-child(1) { transition-delay: 0.05s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.1s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.15s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.2s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 0.25s; }
  .site-nav.is-open a:nth-child(6) { transition-delay: 0.3s; }
  .site-nav.is-open a:nth-child(7) { transition-delay: 0.35s; }

  body.nav-open { overflow: hidden; }
}

@media (min-width: 1440px) {
  :root { --wrap: min(1200px, calc(100% - 4rem)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .site-nav a:not(.btn) { opacity: 1; transform: none; }
}
