/* =========================================================
   Verse & Vertex — Editorial Stylesheet
   Palette: copper, cream, charcoal
   Typography: Play / Merriweather / Syne Mono
   ========================================================= */

:root {
  --copper: #b87333;
  --copper-deep: #8b5a2b;
  --copper-light: #d49968;
  --copper-glow: rgba(184, 115, 51, 0.18);
  --cream: #f5f0e8;
  --cream-warm: #ede5d6;
  --paper: #faf6ef;
  --charcoal: #1a1714;
  --ink: #2b2622;
  --muted: #8a8278;
  --gray-soft: #c9c4bc;
  --rule: rgba(26, 23, 20, 0.12);

  --font-display: "Play", "Merriweather", Georgia, serif;
  --font-body: "Merriweather", Georgia, "Times New Roman", serif;
  --font-mono: "Syne Mono", "Courier New", monospace;

  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(5rem, 12vw, 10rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea { font: inherit; color: inherit; }

/* -------------------- Base -------------------- */
html { font-size: 17px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--copper); color: var(--paper); }

/* -------------------- Typography -------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.eyebrow,
.mono,
.section-marker,
nav a,
.btn,
label,
.caption {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.italic-serif {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

/* -------------------- Layout -------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section + .section { border-top: 1px solid var(--rule); }

/* -------------------- Bird motif (reusable) -------------------- */
/* The flying-bird shape from the V&V logo, used throughout */
.bird {
  display: inline-block;
  width: 1em;
  height: 0.75em;
  color: var(--copper);
  vertical-align: -0.05em;
  flex-shrink: 0;
}
.bird svg { width: 100%; height: 100%; display: block; }

@keyframes bird-glide {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(0, -6px, 0) rotate(-1.5deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
.brand img { width: 38px; height: 38px; border-radius: 4px; }
.brand .amp { color: var(--copper); padding-inline: 0.15em; }
.nav-links {
  display: flex;
  gap: 2.2rem;
}
.nav-links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block: 0.4rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--copper);
  transition: right 0.4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--charcoal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.nav-cta:hover { background: var(--charcoal); color: var(--cream); }
.nav-cta .arrow { color: var(--copper); transition: transform 0.35s var(--ease); }
.nav-cta:hover .arrow { transform: translateX(4px); color: var(--copper-light); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid var(--charcoal);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--charcoal);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--charcoal);
  transition: transform 0.35s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* -------------------- Buttons -------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--copper);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--charcoal); border-color: var(--copper); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { color: var(--copper); transition: color 0.35s var(--ease), transform 0.35s var(--ease); }
.btn:hover .arrow { color: var(--charcoal); transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--ghost::before { background: var(--charcoal); }
.btn--ghost:hover { color: var(--cream); border-color: var(--charcoal); }
.btn--ghost:hover .arrow { color: var(--copper-light); }

.btn--copper {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--paper);
}
.btn--copper::before { background: var(--charcoal); }
.btn--copper:hover { color: var(--cream); border-color: var(--charcoal); }
.btn--copper .arrow { color: var(--cream); }

/* -------------------- HERO -------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 8%; right: -12%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, var(--copper-glow) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

/* Two-column editorial hero: content + product image */
.hero-grid-v2 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid-v2 {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(3rem, 6vw, 5.5rem);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.6rem);
}

.hero-marker {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-marker .rule {
  flex: 0 0 56px;
  height: 1px;
  background: var(--copper);
}

.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-block: 0.2rem 0.4rem;
}
.hero-title .amp {
  color: var(--copper);
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-body);
}
.hero-title .break { display: block; }
.hero-title em.italic-serif {
  color: var(--copper);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--ink);
  max-width: 36ch;
  line-height: 1.45;
  font-weight: 300;
  margin-block: 0.4rem;
}

.hero-copy-p {
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  max-width: 50ch;
  line-height: 1.65;
  color: var(--ink);
}

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

/* Hero product image — editorial framed photo with corner labels */
.hero-image {
  position: relative;
  margin: 0;
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  will-change: transform;
}
.hero-image:hover img { transform: scale(1.03); }

/* Subtle copper edge accents on the photo frame */
.hero-image::before,
.hero-image::after {
  content: "";
  position: absolute;
  z-index: 3;
  background: var(--copper);
  pointer-events: none;
}
.hero-image::before {
  /* top-right L bracket */
  top: 0; right: 0;
  width: 36px; height: 1px;
}
.hero-image::after {
  /* bottom-left L bracket */
  bottom: 0; left: 0;
  width: 36px; height: 1px;
}
.hero-image .hi-corner {
  position: absolute;
  top: 1rem; right: 1.2rem;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(26, 23, 20, 0.55);
  padding: 0.35rem 0.6rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-image .hi-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(to top, rgba(26, 23, 20, 0.72) 0%, rgba(26, 23, 20, 0) 100%);
  margin: 0;
}
.hero-image .hi-label .copper { color: var(--copper-light); }


/* -------------------- Section marker -------------------- */
.section-marker {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.section-marker .rule {
  flex: 0 0 48px; height: 1px; background: var(--copper);
}

.section-title {
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.section-title em {
  font-style: italic;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--copper);
}

/* -------------------- Small Things section -------------------- */
.small-things {
  background: var(--paper);
}
.small-things-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .small-things-grid { grid-template-columns: 0.95fr 1fr; gap: 5rem; }
}
.lede {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-family: var(--font-body);
  line-height: 1.4;
  color: var(--charcoal);
}
.lede strong { font-weight: 700; }
.lede em {
  font-style: italic;
  color: var(--copper);
}
.thing-list { margin-top: 1.5rem; }
.thing-list li {
  position: relative;
  padding: 1.1rem 0 1.1rem 2.2rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.5;
}
.thing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 26px;
  height: 19px;
  background: var(--copper);
  -webkit-mask: url("../img/bird.svg") no-repeat center / contain;
          mask: url("../img/bird.svg") no-repeat center / contain;
  transition: transform 0.5s var(--ease), background 0.3s var(--ease);
}
.thing-list li:hover::before {
  transform: translateY(-3px) rotate(-4deg);
  background: var(--copper-deep);
}
.thing-list li:last-child { border-bottom: 0; }
.thing-list .punch {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------- Story (Verse / Vertex) -------------------- */
.story { background: var(--cream); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
}
.story-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.story-pair > div {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 240px;
  justify-content: space-between;
}
.story-pair > div + div { border-left: 1px solid var(--rule); }
.story-pair .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--copper-deep);
  text-transform: uppercase;
}
.story-pair .word {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--charcoal);
}
.story-pair .word em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--copper);
}
.story-pair .gloss {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--ink);
  font-size: 1rem;
}

.story-text > p { font-size: 1.05rem; max-width: 48ch; }
.story-text > p + p { margin-top: 1.1rem; }
.story-text .dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 0.9;
  float: left;
  padding: 0.35rem 0.6rem 0 0;
  color: var(--copper);
  font-weight: 700;
}
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  padding: 2rem 0 2rem 1.4rem;
  border-left: 3px solid var(--copper);
  margin-top: 2rem;
  max-width: 24ch;
}
.story-quote em {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--copper);
  font-weight: 300;
}

/* -------------------- What We Make -------------------- */
.what-we-make { background: var(--charcoal); color: var(--cream); }
.what-we-make .section-marker { color: var(--copper-light); }
.what-we-make .section-marker .rule { background: var(--copper-light); }
.what-we-make .section-title { color: var(--cream); }
.what-we-make-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .what-we-make-grid { grid-template-columns: 1fr 1fr; }
}
.what-we-make p {
  font-size: 1.05rem;
  max-width: 50ch;
  color: var(--cream);
  opacity: 0.92;
}
.what-we-make p + p { margin-top: 1.1rem; }

.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245, 240, 232, 0.18);
  border: 1px solid rgba(245, 240, 232, 0.18);
}
.tag-grid .tag {
  background: var(--charcoal);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 130px;
  transition: background 0.35s var(--ease);
}
.tag-grid .tag:hover { background: #221d18; }
.tag-grid .tag .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-light);
}
.tag-grid .tag .label {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.1;
  color: var(--cream);
}

.what-we-make .btn--copper { margin-top: 2rem; }

/* -------------------- Featured Pieces (product gallery) -------------------- */
.pieces { background: var(--cream); position: relative; overflow: hidden; }
.pieces::before {
  content: "";
  position: absolute;
  right: -8%; top: 20%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--copper-glow) 0%, transparent 60%);
  pointer-events: none;
}
.pieces-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
@media (min-width: 900px) {
  .pieces-head { grid-template-columns: 1.4fr 1fr; }
}
.pieces-head .lede {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink);
  max-width: 42ch;
  line-height: 1.5;
}

.pieces-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 2.2vw, 2rem);
  position: relative;
}
@media (min-width: 640px)  { .pieces-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pieces-grid { grid-template-columns: repeat(3, 1fr); } }

/* Asymmetric heights — magazine layout on desktop */
@media (min-width: 1000px) {
  .pieces-grid .piece:nth-child(6n+1) .piece-image,
  .pieces-grid .piece:nth-child(6n+5) .piece-image { aspect-ratio: 3 / 4; }
  .pieces-grid .piece:nth-child(6n+2) .piece-image,
  .pieces-grid .piece:nth-child(6n+4) .piece-image { aspect-ratio: 1 / 1; }
  .pieces-grid .piece:nth-child(6n+3) .piece-image,
  .pieces-grid .piece:nth-child(6n+6) .piece-image { aspect-ratio: 4 / 5; }
}

.piece {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.piece-image {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  overflow: hidden;
  isolation: isolate;
}
.piece-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.piece:hover .piece-image img { transform: scale(1.05); }

/* Placeholder state — shown when no product photo yet */
.piece-image.is-placeholder,
.piece-image:not(:has(img)) {
  background:
    radial-gradient(circle at 65% 35%, var(--cream-warm) 0%, var(--gray-soft) 100%);
}
.piece-image.is-placeholder::after,
.piece-image:not(:has(img))::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/bird.svg") no-repeat center / 55% auto;
  opacity: 0.4;
  filter: sepia(1) hue-rotate(345deg) saturate(2.2) brightness(0.85);
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.piece:hover .piece-image.is-placeholder::after,
.piece:hover .piece-image:not(:has(img))::after {
  transform: scale(1.05) translateY(-6px);
  opacity: 0.55;
}

/* Overlay caption strip on hover */
.piece-image::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--copper);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.55s var(--ease);
  z-index: 2;
}
.piece:hover .piece-image::before { transform: scaleX(1); }

.piece-meta {
  padding-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.piece-meta .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
.piece-meta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  color: var(--charcoal);
}
.piece-meta .price {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--ink);
  font-size: 0.95rem;
}
.piece-meta .link {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.piece:hover .piece-meta .link {
  color: var(--copper);
  gap: 0.75rem;
}

.pieces-foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  justify-content: center;
}

/* -------------------- Newsletter -------------------- */
.newsletter {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.newsletter::after {
  content: "";
  position: absolute;
  left: -10%; bottom: -40%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--copper-glow) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .newsletter-grid { grid-template-columns: 1fr 1.05fr; }
}
.newsletter h2 { max-width: 14ch; }
.newsletter .pct {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--copper);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.newsletter .pct sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  vertical-align: super;
  color: var(--copper-deep);
  margin-left: 0.4rem;
}
.newsletter p { font-size: 1.04rem; max-width: 46ch; }
.newsletter p + p { margin-top: 1rem; }

.kit-form {
  background: var(--cream);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--rule);
  display: grid;
  gap: 1.1rem;
  position: relative;
}
.kit-form::before {
  content: "Newsletter";
  position: absolute;
  top: -0.7rem; left: 1.4rem;
  background: var(--cream);
  padding-inline: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--copper-deep);
}
.kit-form .field { display: grid; gap: 0.4rem; }
.kit-form label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.kit-form input[type="text"],
.kit-form input[type="email"] {
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.kit-form input:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--cream);
}
.kit-form .small-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.4rem;
}
.kit-form .small-note .dot { color: var(--copper); }

/* -------------------- Find your piece (closing CTA) -------------------- */
.find {
  background: var(--cream);
  text-align: center;
}
.find .section-marker { justify-content: center; }
.find h2 { margin-inline: auto; }
.find p { max-width: 46ch; margin: 1.5rem auto 0; font-size: 1.05rem; }
.find .actions {
  margin-top: 2.4rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.footer-brand img { width: 64px; height: 64px; border-radius: 6px; }
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.footer-brand p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.96rem;
  max-width: 36ch;
  opacity: 0.85;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-light);
  font-weight: 400;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-col a:hover { opacity: 1; color: var(--copper-light); }
.footer-bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}
.footer-bottom .dot { color: var(--copper); margin-inline: 0.6rem; }

/* -------------------- Inner page hero (contact/legal) -------------------- */
.inner-hero {
  padding-block: clamp(5rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: "";
  position: absolute;
  top: 10%; right: -15%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--copper-glow) 0%, transparent 60%);
  pointer-events: none;
}
.inner-hero h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 14ch;
}
.inner-hero .lead {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
  max-width: 42ch;
  margin-top: 1.4rem;
  line-height: 1.5;
}

/* -------------------- Contact page -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
.contact-info {
  display: grid;
  gap: 1.6rem;
}
.contact-card {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 1.6rem;
}
.contact-card .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 0.6rem;
}
.contact-card .value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--charcoal);
  word-break: break-word;
}
.contact-card .value a:hover { color: var(--copper); }
.contact-card .note {
  margin-top: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
}

/* Editorial contact form — underlined fields, numbered labels,
   2-col on desktop (name + email side by side), 1-col on mobile */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 2.2rem) clamp(1.4rem, 2.5vw, 2rem);
  position: relative;
}
.contact-form::before {
  content: "Send us a message";
  position: absolute;
  top: -0.65rem; left: 1.6rem;
  background: var(--paper);
  padding-inline: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--copper-deep);
}
.contact-form::after {
  /* small bird flying out the bottom-right corner of the form card */
  content: "";
  position: absolute;
  bottom: 1rem; right: 1rem;
  width: 36px; height: 26px;
  background: var(--copper);
  opacity: 0.18;
  -webkit-mask: url("../img/bird.svg") no-repeat center / contain;
          mask: url("../img/bird.svg") no-repeat center / contain;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.contact-form:focus-within::after { opacity: 0.35; transform: translate(-2px, -3px); }

/* Each .field is a column with label on top, input/textarea below + an animated copper rule */
.contact-form .field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  grid-column: span 2;       /* full width by default */
}
/* Name + Email sit side-by-side on the first row */
.contact-form .field:nth-of-type(1),
.contact-form .field:nth-of-type(2) { grid-column: span 1; }

/* Numbered editorial label */
.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.contact-form label::before {
  content: "—";
  color: var(--copper);
}

/* Underlined inputs — no boxes, just a hairline that animates copper on focus */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.55rem 0 0.7rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal);
  width: 100%;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
          appearance: none;
}
.contact-form textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.6;
  padding-top: 0.7rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
  font-style: italic;
}
.contact-form input:hover,
.contact-form textarea:hover { border-color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--charcoal);
}
/* Animated copper underline that draws in on focus, layered over the hairline */
.contact-form .field::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--copper);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.contact-form .field:focus-within::after { transform: scaleX(1); }

/* Required asterisk in copper */
.contact-form input:required + .req,
.contact-form textarea:required + .req { color: var(--copper); }

/* Submit + footnote span both columns */
.contact-form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.6rem;
}
.contact-form .form-note {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.contact-form .form-note::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--copper);
  display: inline-block;
}

/* Mobile — single column, button full-width */
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; padding: 1.4rem 1.2rem 1.8rem; }
  .contact-form .field,
  .contact-form .field:nth-of-type(1),
  .contact-form .field:nth-of-type(2) { grid-column: 1 / -1; }
  .contact-form button[type="submit"] { width: 100%; justify-content: center; }
  .contact-form::after { display: none; }
}

/* -------------------- Legal pages -------------------- */
.legal {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 900px) {
  .legal { grid-template-columns: 220px 1fr; }
}
.legal-toc {
  position: relative;
}
@media (min-width: 900px) {
  .legal-toc { position: sticky; top: 90px; align-self: start; }
}
.legal-toc h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 1rem;
  font-weight: 400;
}
.legal-toc ol { padding-left: 0; }
.legal-toc li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--rule);
}
.legal-toc li::before {
  content: "›";
  color: var(--copper);
  margin-right: 0.5rem;
  font-weight: 700;
}
.legal-toc a:hover { color: var(--copper); }

.legal-body h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin-block: 2.5rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 100px;
}
.legal-body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-body p, .legal-body li {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 70ch;
}
.legal-body p + p { margin-top: 1rem; }
.legal-body ul { margin: 0.6rem 0 1rem 1.2rem; list-style: none; }
.legal-body ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}
.legal-body ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 700;
}
.legal-body strong { color: var(--charcoal); }
.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* -------------------- Cookie banner -------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 90;
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.4rem 1.6rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  border: 1px solid var(--copper);
  max-width: 760px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  margin: 0;
  flex: 1 1 280px;
  line-height: 1.5;
}
.cookie-banner p a { color: var(--copper-light); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner .ck-btn {
  padding: 0.7rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cookie-banner .ck-btn--primary {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--charcoal);
}
.cookie-banner .ck-btn--primary:hover { background: var(--copper-light); border-color: var(--copper-light); }
.cookie-banner .ck-btn:hover { background: var(--cream); color: var(--charcoal); }

/* -------------------- Reveal animations -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==============================================================
   Responsive — tablet & mobile refinements
   Breakpoints used in this file:
     - 1000px : 3-col gallery
     - 960px  : 2-col hero
     - 900px  : 2-col legal/story/newsletter/whatwemake
     - 800px  : mobile nav, header collapse
     - 640px  : 2-col gallery, footer 1-col
     - 500px  : tightest mobile — story pair stacks
   ============================================================== */

/* The "mobile-only" CTA inside the nav menu (shown only on small viewports) */
.nav-mobile-cta { display: none; }

/* -------------------- ≤ 1100px tweaks (small laptops) -------------------- */
@media (max-width: 1100px) {
  :root {
    --section-y: clamp(3rem, 8vw, 7rem);
  }
}

/* -------------------- ≤ 960px (hero stacks) -------------------- */
@media (max-width: 959px) {
  /* Hero image becomes landscape on tablet portrait — less vertical scroll */
  .hero-image { aspect-ratio: 5 / 4; }

  /* Pull the radial copper glow back so it doesn't bleed past the image */
  .hero::before { width: 80vw; height: 80vw; top: 4%; right: -25%; }

  /* Legal layout already collapses, but tighten the TOC */
  .legal-toc { position: static !important; }
}

/* -------------------- ≤ 800px (mobile nav, single-column shop content) -------------------- */
@media (max-width: 800px) {
  :root {
    --section-y: clamp(2.5rem, 9vw, 4rem);
    --gutter: clamp(1rem, 4vw, 1.5rem);
  }

  /* Header: brand left, toggle right, menu below as a row */
  .site-header .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 0.8rem;
    padding-block: 0.85rem;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; font-size: 0.95rem; }
  .site-header .brand img { width: 32px; height: 32px; }
  .site-header > .container > nav { grid-column: 1 / -1; grid-row: 2; }
  .site-header .nav-cta-wrap { display: none; } /* desktop CTA hidden on mobile */
  .nav-toggle { display: inline-flex; grid-column: 2; grid-row: 1; }

  /* Menu list: hidden by default, opens to full-width flow row below the header bar */
  .nav-links {
    display: none;
    flex-direction: column;
    padding: 0.4rem 0 1.2rem;
    gap: 0;
    border-top: 1px solid var(--rule);
    margin-top: 0.4rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--rule); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 0.2rem;       /* touch-friendly ~48px tall */
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }
  .nav-links a::after { display: none; } /* underline animation off on mobile */

  /* The mobile-only "Shop on Etsy" CTA inside the menu */
  .nav-mobile-cta { display: block; padding-top: 1rem; border-bottom: 0; }
  .nav-mobile-cta .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 0.78rem;
  }

  /* Hero: stack, slightly smaller title, square photo */
  .hero { padding-block: clamp(2.2rem, 7vw, 4rem) clamp(2.5rem, 8vw, 4.5rem); }
  .hero-title { font-size: clamp(2.1rem, 9.5vw, 3.3rem); line-height: 1; }
  .hero-sub   { font-size: clamp(1rem, 4.2vw, 1.2rem); }
  .hero-copy-p { font-size: 0.98rem; }
  .hero-image { aspect-ratio: 1 / 1; }

  /* Buttons should comfortably wrap, but not shrink too small */
  .hero-actions { gap: 0.65rem; }
  .hero-actions .btn { padding: 0.9rem 1.2rem; font-size: 0.72rem; }

  /* Section titles a touch smaller on small phones */
  .section-title { font-size: clamp(1.8rem, 8.5vw, 2.6rem); }

  /* Story / What-we-make / Newsletter — already stacked at 900px; tighten internals */
  .story-text > p, .what-we-make p, .newsletter p { font-size: 1rem; }
  .story-quote { font-size: clamp(1.4rem, 5.5vw, 1.9rem); padding: 1.2rem 0 1.2rem 1rem; }
  .lede { font-size: clamp(1.15rem, 4.5vw, 1.4rem); }

  /* "What We Make" tag grid — keep 2-col but trim padding */
  .tag-grid .tag { min-height: 100px; padding: 1.1rem 0.9rem; }
  .tag-grid .tag .label { font-size: 1rem; }

  /* Newsletter big % a bit smaller */
  .newsletter .pct { font-size: clamp(3.5rem, 22vw, 6rem); }

  /* Kit form — comfy tap targets, prevent iOS zoom on focus (≥16px) */
  .kit-form input[type="text"],
  .kit-form input[type="email"],
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    font-size: 16px;
    padding: 0.95rem 0.9rem;
  }
  .kit-form button.btn,
  .contact-form button.btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.2rem;
  }

  /* Footer brand block stays as a row but tighter on phones */
  .footer-brand img { width: 52px; height: 52px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.65rem;
  }

  /* Cookie banner: stack vertically, full-width buttons */
  .cookie-banner {
    left: 0.8rem; right: 0.8rem; bottom: 0.8rem;
    padding: 1.1rem 1.2rem;
    align-items: stretch;
  }
  .cookie-banner p { font-size: 0.88rem; }
  .cookie-banner .actions { width: 100%; justify-content: flex-end; }
  .cookie-banner .ck-btn { flex: 1 1 auto; padding: 0.85rem 0.9rem; }

  /* Inner-page hero tighter on phones */
  .inner-hero { padding-block: clamp(2.5rem, 8vw, 5rem) clamp(2rem, 5vw, 3rem); }
  .inner-hero h1 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .inner-hero .lead { font-size: 1rem; margin-top: 1rem; }

  /* Contact page — input rows stack already (grid 1fr); just spacing */
  .contact-card { padding: 1.2rem; }
  .contact-card .value { font-size: 1.15rem; }

  /* Legal pages — TOC becomes a horizontal scrollable strip if very long */
  .legal { padding-block: clamp(2rem, 6vw, 3rem); gap: 1.8rem; }
  .legal-toc li { padding-block: 0.45rem; font-size: 0.68rem; }
  .legal-body h2 { margin-block: 2rem 0.8rem; }
  .legal-body p, .legal-body li { font-size: 0.98rem; line-height: 1.7; }
}

/* -------------------- ≤ 640px (gallery to 1-col is handled in .pieces-grid) -------------------- */
@media (max-width: 640px) {
  /* Single product card per row — show full image */
  .pieces-grid .piece-image { aspect-ratio: 4 / 5 !important; }

  /* Hero copy paragraph max-width can be narrower */
  .hero-copy-p { max-width: 100%; }
}

/* -------------------- ≤ 500px (smallest phones — stack the Verse / Vertex pair) -------------------- */
@media (max-width: 500px) {
  /* Story word-pair stacks; border becomes top instead of left */
  .story-pair { grid-template-columns: 1fr; }
  .story-pair > div { min-height: 0; padding: 1.3rem; }
  .story-pair > div + div { border-left: 0; border-top: 1px solid var(--rule); }

  /* Tag grid drops to 1 col so labels never get cramped */
  .tag-grid { grid-template-columns: 1fr; }

  /* Hero buttons go full-width to feel tappable */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Find-section CTAs likewise */
  .find .actions { flex-direction: column; width: 100%; }
  .find .actions .btn { width: 100%; justify-content: center; }
}

/* -------------------- Hover gating (avoid sticky hover on touch) -------------------- */
@media (hover: none) {
  .btn:hover::before,
  .btn--copper:hover::before,
  .btn--ghost:hover::before { transform: translateY(101%); }
  .piece:hover .piece-image img { transform: none; }
  .hero-image:hover img { transform: none; }
}

/* tiny tweaks */
.center { text-align: center; }
.muted { color: var(--muted); }
.copper { color: var(--copper); }
.no-wrap { white-space: nowrap; }
