/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  --sage: #8B9D8B;
  --sage-deep: #6E826E;
  --sage-tint: #C9D2C7;
  --cream: #F7F4EF;
  --ivory: #FAF8F4;
  --linen: #E9E3DA;
  --charcoal: #2F2F2F;
  --taupe: #B7AAA0;
  --hairline: rgba(47, 47, 47, 0.12);
  --hairline-soft: rgba(47, 47, 47, 0.07);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: var(--sans);

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1200px;
  --textw: 700px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Density — compact is the production default */
body[data-density="compact"] {
  --section-y: 64px;
  --section-y-tab: 48px;
  --section-y-mob: 40px;
}

/* ── Reset & base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 48px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
img { max-width: 100%; height: auto; display: block; }
blockquote, p, h1, h2, h3, h4, h5, h6 { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; font: inherit; }
a { color: inherit; }

section {
  padding: var(--section-y, 64px) 0;
  position: relative;
}
@media (max-width: 1024px) { section { padding: var(--section-y-tab, 48px) 0; } }
@media (max-width: 720px)  { section { padding: var(--section-y-mob, 40px) 0; } }

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

/* ── Type system ───────────────────────────────────────────────────── */
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: #4a4a4a;
  text-wrap: pretty;
}
.body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
  text-wrap: pretty;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--sage);
  border: 1px solid var(--sage);
  border-radius: 0;
  cursor: pointer;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(47, 47, 47, 0.35);
}
.btn-ghost:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--ivory); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--charcoal);
  transition: color .35s var(--ease), border-color .35s var(--ease), letter-spacing .35s var(--ease);
}
.btn-link:hover { color: var(--sage-deep); border-color: var(--sage-deep); letter-spacing: 0.22em; }

/* ── Ornament ──────────────────────────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  color: var(--sage);
}
.ornament .ln { display: block; width: 56px; height: 1px; background: var(--sage); opacity: .55; }
.ornament .dot { width: 5px; height: 5px; background: var(--sage); transform: rotate(45deg); opacity: .85; }
.ornament.dim .ln, .ornament.dim .dot { background: var(--taupe); }
body[data-ornaments="off"] .ornament { display: none; }

/* ── Placeholder image ─────────────────────────────────────────────── */
.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--linen);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.42) 0 1px,
    transparent 1px 9px
  );
  color: rgba(47,47,47,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ph.warm  { background-color: var(--cream); }
.ph.sage  { background-color: var(--sage-tint); color: rgba(47,47,47,0.6); }
.ph.deep  { background-color: #d8cfc3; }
.ph.taupe { background-color: #c9bdb1; }
.ph .ph-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 9px;
  background: rgba(250,248,244,0.78);
  color: rgba(47,47,47,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ── Scroll reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ── Navigation ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .55s var(--ease), border-color .55s var(--ease);
}
.nav.is-scrolled {
  background: rgba(250, 248, 244, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav-inner > .brand   { justify-self: start; }
.nav-inner > .nav-links { justify-self: center; }
.nav-inner > .nav-cta { justify-self: end; }
.nav-inner > .menu-btn { grid-column: 3; justify-self: end; }

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--charcoal);
  line-height: 0;
}
.brand img { height: 30px; width: auto; transition: opacity .35s var(--ease); }
.brand:hover img { opacity: .78; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.nav-links a:hover { color: var(--sage-deep); border-color: var(--sage); }

.nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--sage);
  padding: 11px 18px;
  text-decoration: none;
  transition: background .35s var(--ease);
}
.nav-cta:hover { background: var(--sage-deep); }

.menu-btn {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--charcoal);
  padding: 8px;
  cursor: pointer;
  align-items: center;
}
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ── Mobile drawer ─────────────────────────────────────────────────── */
.drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
}
.drawer.is-open { transform: translateY(0); }
.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; padding: 0 var(--gutter);
  border-bottom: 1px solid var(--hairline-soft);
  flex-shrink: 0;
}
.drawer-body {
  flex: 1; display: flex; flex-direction: column;
  gap: 4px; padding: 32px var(--gutter);
  overflow-y: auto;
}
.drawer-link {
  font-family: var(--serif);
  font-size: 34px; line-height: 1.4;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.drawer-link em { color: var(--sage-deep); font-style: italic; }
.drawer-foot {
  padding: 24px var(--gutter) 40px;
  border-top: 1px solid var(--hairline-soft);
  display: flex; flex-direction: column; gap: 10px;
  flex-shrink: 0;
}

/* ── Sticky CTA pill ───────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 22px; left: 50%;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  z-index: 45;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 22px;
  background: rgba(47,47,47,0.96);
  color: var(--ivory);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(47,47,47,0.18);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .35s var(--ease);
}
.sticky-cta.in {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
body[data-contact-visible="1"] .sticky-cta {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 24px) !important;
}
.sticky-cta:hover { background: var(--sage-deep); }
.pill-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
@media (max-width: 540px) {
  .sticky-cta { left: 16px; right: 16px; width: auto; transform: translate(0, 24px); }
  .sticky-cta.in { transform: translate(0, 0); }
  body[data-contact-visible="1"] .sticky-cta { transform: translate(0, 24px) !important; }
}

/* ── Hero ──────────────────────────────────────────────────────────── */
#top { padding: 0; }
.hero {
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(100px, 12vw, 120px) var(--gutter) clamp(48px, 8vw, 80px);
  background: #F1EEE8;
}
.hero-frame {
  position: relative;
  width: 100%;
  max-width: 1080px;
  overflow: hidden;
  padding: clamp(28px, 5.5vw, 72px) clamp(20px, 5vw, 80px);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(24px, 3vw, 40px);
  background: #FCFAF6;
  box-shadow:
    0 1px 1px rgba(58, 53, 44, 0.02),
    0 2px 4px rgba(58, 53, 44, 0.025),
    0 8px 16px rgba(58, 53, 44, 0.025),
    0 24px 40px rgba(58, 53, 44, 0.03),
    0 48px 80px rgba(58, 53, 44, 0.025);
}
.hero-eyebrow { color: var(--sage-deep); white-space: nowrap; }
@media (max-width: 380px) {
  .hero-eyebrow { white-space: normal; text-align: center; max-width: 220px; line-height: 1.5; }
}
.hero-logo { width: min(540px, 70vw); height: auto; display: block; margin-top: -8px; }
.hero-ornament { display: flex; align-items: center; gap: 14px; color: var(--sage); margin-top: -8px; }
.hero-ornament .ln { width: 56px; height: 1px; background: var(--sage); opacity: .6; }
.hero-ornament .dot { width: 5px; height: 5px; background: var(--sage); transform: rotate(45deg); }
body[data-ornaments="off"] .hero-ornament { display: none; }
.hero-title { max-width: 760px; text-align: center; }
.hero-title em { font-style: italic; color: var(--sage-deep); }
.hero-sub { max-width: 540px; text-align: center; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.hero-meta {
  width: 100%;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(47,47,47,0.6);
  padding-top: clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--hairline-soft);
  margin-top: clamp(10px, 2vw, 20px);
}
.hero-meta-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: meta-ticker 26s linear infinite;
}
.hero-meta-track span { white-space: nowrap; }
.hero-meta-track .meta-sep { color: var(--sage); opacity: 0.55; letter-spacing: 0; }
@keyframes meta-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── About ─────────────────────────────────────────────────────────── */
.about-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 820px) { .about-wrap { grid-template-columns: 1fr; } }
.about-aside {
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
  position: sticky; top: 110px;
}
@media (max-width: 820px) {
  .about-aside { position: static; flex-direction: row; align-items: center; gap: 24px; }
  .about-ph { max-width: 160px !important; flex-shrink: 0; }
}
@media (max-width: 480px) {
  .about-aside { flex-direction: column; align-items: flex-start; }
  .about-ph { max-width: 200px !important; }
}
.about-ph { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; overflow: hidden; }
.about-ph-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-aside-meta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(47,47,47,0.65);
  line-height: 1.9;
}
.about-body { display: flex; flex-direction: column; gap: 28px; max-width: var(--textw); }
.about-body .h-section em { font-style: italic; color: var(--sage-deep); }
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
  color: var(--charcoal);
  padding-left: 22px;
  border-left: 1px solid var(--sage);
  margin: 14px 0;
  max-width: 620px;
}
.about-sign { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--sage-deep); margin-top: 4px; }

/* ── Products carousel ─────────────────────────────────────────────── */
.prod-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 720px) {
  .prod-head { grid-template-columns: 1fr; }
  .prod-controls { justify-self: start; }
}
.prod-head h2 { max-width: 640px; }
.prod-head h2 em { font-style: italic; color: var(--sage-deep); }
.prod-controls { display: inline-flex; gap: 6px; }
.pc-btn {
  appearance: none;
  width: 50px; height: 50px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--charcoal);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pc-btn:hover:not(:disabled) { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.pc-btn:disabled { opacity: .3; cursor: default; }

.prod-track-wrap { position: relative; }
.prod-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((min(var(--maxw), 100vw - 2 * var(--gutter)) - 48px) / 3);
  column-gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 32px;
  scrollbar-width: none;
}
.prod-track::-webkit-scrollbar { display: none; }
@media (max-width: 1023px) {
  .prod-track { grid-auto-columns: calc((min(var(--maxw), 100vw - 2 * var(--gutter)) - 24px) / 2); }
}
@media (max-width: 639px) {
  .prod-track { grid-auto-columns: calc(100vw - 2 * var(--gutter)); }
}

.pcard {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  text-decoration: none; color: inherit;
  padding: 6px;
}
.pcard-img { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; transition: transform .8s var(--ease); }
.pcard:hover .pcard-img { transform: scale(0.985); }
.pcard-img .inner { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard-img .inner { transform: scale(1.05); }
.pcard-meta { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 16px; }
.pcard-name { font-family: var(--serif); font-size: 22px; letter-spacing: -0.005em; color: var(--charcoal); line-height: 1.2; }
.pcard-price { font-family: var(--mono); font-size: 12px; color: rgba(47,47,47,0.55); letter-spacing: 0.06em; }
.pcard-desc { grid-column: 1 / -1; font-family: var(--sans); font-size: 14px; color: #565656; line-height: 1.55; }
.pcard-cta {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .4s var(--ease), color .4s var(--ease);
}
.pcard:hover .pcard-cta { gap: 14px; color: var(--charcoal); }

.prod-foot {
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.prod-dots { display: inline-flex; gap: 8px; }
.prod-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--linen);
  transition: background .35s var(--ease), width .35s var(--ease);
}
.prod-dot.is-active { background: var(--sage); width: 22px; border-radius: 4px; }
.prod-foot-link {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  border-bottom: 1px solid var(--charcoal); padding-bottom: 4px;
}

/* ── Custom Orders ─────────────────────────────────────────────────── */
.cust-head {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  display: flex; flex-direction: column; gap: 18px;
  align-items: center;
}
.cust-head h2 em { font-style: italic; color: var(--sage-deep); }
.cust-grid {
  max-width: var(--maxw);
  margin: clamp(48px, 6vw, 88px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
@media (max-width: 820px) { .cust-grid { grid-template-columns: 1fr; gap: 18px; } }
.step {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  background: #F1EEE8;
  display: flex; flex-direction: column; gap: 22px;
  border: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow .55s var(--ease), background .55s var(--ease), border-color .55s var(--ease);
}
.step:hover {
  background: #F3F0EA;
  border-color: #E7E4DE;
  box-shadow:
    0 1px 1px rgba(58, 53, 44, 0.016),
    0 1px 2px rgba(58, 53, 44, 0.02),
    0 5px 10px rgba(58, 53, 44, 0.02),
    0 14px 24px rgba(58, 53, 44, 0.024),
    0 29px 48px rgba(58, 53, 44, 0.02);
}
.step-top { display: flex; justify-content: space-between; align-items: center; }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: var(--sage-deep);
  line-height: 1;
}
.step-icon {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(139,157,139,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--sage-deep);
}
.step-title { font-family: var(--serif); font-size: 28px; line-height: 1.2; letter-spacing: -0.005em; color: var(--charcoal); }
.step-body { font-family: var(--sans); font-size: 15px; line-height: 1.7; color: #4b4b4b; }
.step-connector {
  position: absolute;
  top: 50%; right: -22px;
  width: 36px; height: 1px;
  background: var(--sage);
  opacity: .5;
}
@media (max-width: 820px) { .step-connector { display: none; } }
.step:last-child .step-connector { display: none; }
.cust-cta-row {
  max-width: var(--maxw);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 var(--gutter);
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}

/* ── Contact form ──────────────────────────────────────────────────── */
.form-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form-aside { display: flex; flex-direction: column; gap: 22px; max-width: 380px; }
.form-aside h2 { margin-top: -0.18em; }
.form-aside h2 em { font-style: italic; color: var(--sage-deep); }
.meta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(47,47,47,0.65);
  line-height: 1.9;
  display: grid; gap: 4px;
}
.meta a { color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.etsy-card {
  border: 1px solid var(--hairline);
  padding: 22px;
  display: grid; gap: 14px;
  background: rgba(255,255,255,0.5);
}
.etsy-card h4 { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--sage); }
.etsy-card p { font-size: 14px; line-height: 1.6; color: #4b4b4b; }

form { display: grid; gap: 22px; }
.row { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(47,47,47,0.75);
}
.field input,
.field select,
.field textarea {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  line-height: 1.5;
  border-radius: 0;
  width: 100%;
  transition: border-color .35s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 0; border-color: var(--sage); }
.field.err input,
.field.err select,
.field.err textarea { border-color: #B05D5D; }
.err-msg {
  font-family: var(--sans);
  font-size: 12px;
  color: #B05D5D;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  height: 0;
  overflow: hidden;
}
.field.err .err-msg { opacity: 1; transform: translateY(0); height: auto; }
.field-optional::after {
  content: "optional";
  margin-left: 8px;
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--taupe);
}
.file-up {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--hairline);
  flex-wrap: wrap;
}
.file-up input[type="file"] { display: none; }
.file-choose-btn {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.file-choose-btn:hover { border-color: var(--sage); color: var(--sage-deep); }
.fname { font-size: 13px; color: rgba(47,47,47,0.55); }
.submit-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin-top: 4px;
}
.privacy {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(47,47,47,0.6);
}
#submit-btn:disabled { opacity: .65; cursor: wait; }

/* Form success state */
.form-success {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.form-success[hidden] { display: none; }
.seal {
  width: 76px; height: 76px;
  border-radius: 999px;
  background: rgba(139,157,139,0.14);
  color: var(--sage-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.form-success h2 em { font-style: italic; color: var(--sage-deep); }

/* ── Footer ────────────────────────────────────────────────────────── */
footer { background: var(--ivory); border-top: 1px solid var(--hairline-soft); }
.ft-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) { .ft-wrap { grid-template-columns: 1fr; gap: 28px; } }
.ft-brand-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ft-brand { display: inline-block; line-height: 0; max-width: 100%; text-decoration: none; }
.ft-brand img { height: auto; width: 280px; max-width: 100%; }
.ft-tag {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: #4b4b4b;
  max-width: 360px;
  line-height: 1.5;
}
.ft-col h5 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(47,47,47,0.7);
}
.ft-col ul { display: grid; gap: 10px; }
.ft-col a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.ft-col a:hover { color: var(--sage-deep); border-color: var(--sage); }
.ft-foot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px var(--gutter) 36px;
  border-top: 1px solid var(--hairline-soft);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(47,47,47,0.65);
}
@media (max-width: 540px) { .ft-foot { justify-content: center; text-align: center; } }
.socials { display: inline-flex; gap: 10px; }
.socials a {
  width: 30px; height: 30px;
  border: 1px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(47,47,47,0.65);
  text-decoration: none;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.socials a:hover { border-color: var(--sage); color: var(--sage-deep); }
/* ════════════════════════════════════════════════════════════════════
   Inquire section — handwritten notecard with flip-on-submit
   Append to the END of site/css/styles.css.
   Uses tokens already declared at the top of that file
   (--sage, --sage-deep, --ivory, --cream, --hairline, --serif, etc.).
   ════════════════════════════════════════════════════════════════════ */

/* ── Section header ──────────────────────────────────────────────── */
.inq-head {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.inq-head h2 em { font-style: italic; color: var(--sage-deep); }
.inq-head .ornament { margin-top: 4px; }

/* ── Notecard shell (perspective container for the flip) ─────────── */
#contact .card {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 760px;
  position: relative;
  perspective: 2400px;
  /* Override the default <article> spacing — none of the card chrome
     comes from .card itself; it's on the flip faces. */
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(0.7, 0.05, 0.25, 1);
}
.flip-inner.is-flipped { transform: rotateY(180deg); }
.flip-face {
  background: var(--ivory);
  box-shadow:
    0 1px 1px rgba(58, 53, 44, 0.02),
    0 2px 4px rgba(58, 53, 44, 0.025),
    0 8px 16px rgba(58, 53, 44, 0.025),
    0 24px 40px rgba(58, 53, 44, 0.03),
    0 48px 80px rgba(58, 53, 44, 0.025);
  padding: clamp(40px, 5vw, 64px);
  padding-top: clamp(36px, 4.5vw, 56px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip-front { position: relative; }
.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  visibility: hidden;
  transition: visibility 0s linear 1.05s;
}
.flip-inner.is-flipped .flip-back {
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.flip-inner.is-flipped .flip-front { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
}

/* ── L3 masthead (Q tile + wordmark + tagline) ───────────────────── */
#contact .card .lh {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  text-align: left;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sage);
}
#contact .card .lh .q-tile {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
#contact .card .lh .q-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Q descender extends below baseline — nudge up so it optically centers. */
  transform: translateY(-1px);
}
#contact .card .lh .stack {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}
#contact .card .lh .wordmark-img {
  display: block;
  height: clamp(22px, 2.2vw, 30px);
  width: auto;
  max-width: 100%;
}
#contact .card .lh .tagline {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(47, 47, 47, 0.5);
}
@media (max-width: 540px) {
  #contact .card .lh { grid-template-columns: auto 1fr; gap: 16px; }
  #contact .card .lh .wordmark-img { height: 20px; }
  #contact .card .lh .tagline { font-size: 8.5px; letter-spacing: 0.18em; }
}

/* ── Card body — editorial prose form ────────────────────────────── */
#contact .card form { display: block; }
.card-body {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.85;
  color: var(--charcoal);
  letter-spacing: -0.005em;
}
.card-body .greet {
  display: block;
  font-style: italic;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.card-body p { margin: 0 0 22px; }

/* Inline blanks — tight single-line inputs that sit inside running prose */
.blank-input,
.blank-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--sans);
  font-size: 0.66em;
  font-weight: 400;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--charcoal);
  padding: 0 6px 3px;
  margin: 0 4px;
  line-height: 1.3;
  vertical-align: baseline;
  border-radius: 0;
  transition: border-color .35s var(--ease), color .35s var(--ease);
  min-width: 9ch;
  max-width: 100%;
}
.blank-input::placeholder { color: rgba(47, 47, 47, 0.4); font-style: normal; }
.blank-input:focus,
.blank-select:focus { outline: 0; border-bottom-color: var(--sage); }
.blank-input.wide  { min-width: 16ch; width: 16ch; }
.blank-input.xwide { min-width: 22ch; width: 22ch; }
.blank-select {
  min-width: 22ch;
  padding-right: 22px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--charcoal) 50%),
    linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
  background-position:
    calc(100% - 12px) 8px,
    calc(100% - 7px) 8px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.blank-input.err,
.blank-select.err {
  border-bottom-color: #B05D5D;
  color: #B05D5D;
}

/* Long block (the "Here's what I have in mind" textarea) */
.blank-block {
  display: block;
  width: 100%;
  margin: 14px 0 6px;
  padding: 16px 14px;
  min-height: 110px;
  font-family: var(--sans);
  font-size: 0.66em;
  line-height: 1.55;
  color: var(--charcoal);
  background: rgba(139, 157, 139, 0.05);
  border: 0;
  border-bottom: 1px solid var(--charcoal);
  resize: vertical;
  border-radius: 0;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.blank-block::placeholder { color: rgba(47, 47, 47, 0.4); }
.blank-block:focus {
  outline: 0;
  border-bottom-color: var(--sage);
  background: rgba(139, 157, 139, 0.08);
}
.blank-block.err { border-bottom-color: #B05D5D; }

/* ── Signature row (Yours, ___ + attach pill) ─────────────────────── */
.card-sign {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.card-sign .yours {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--charcoal);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.card-sign .yours .sig-input {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage-deep);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 0 6px 3px;
  font-size: 0.95em;
  line-height: 1.2;
  min-width: 11ch;
  width: 14ch;
  max-width: 100%;
  transition: border-color .35s var(--ease);
}
.card-sign .yours .sig-input::placeholder {
  color: rgba(47, 47, 47, 0.3);
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.7em;
  letter-spacing: 0.04em;
}
.card-sign .yours .sig-input:focus { outline: 0; border-bottom-color: var(--sage); }
.card-sign .yours .sig-input.err { border-bottom-color: #B05D5D; color: #B05D5D; }

.attach {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(47, 47, 47, 0.5);
}
.attach input { display: none; }
.attach label {
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.attach label:hover { border-color: var(--sage); color: var(--sage-deep); }
.attach .fname {
  color: var(--charcoal);
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--sans);
  font-size: 12px;
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attach .fname[hidden] { display: none; }

/* ── Error summary (peach left-accent strip) ─────────────────────── */
.err-summary {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid #B05D5D;
  background: rgba(176, 93, 93, 0.05);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #8a4747;
  line-height: 1.6;
}
.err-summary b { color: #B05D5D; font-weight: 600; }
.err-summary[hidden] { display: none; }

/* ── Card foot (privacy line + submit button) ────────────────────── */
.card-foot {
  max-width: 760px;
  margin: 22px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.card-foot .privacy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(47, 47, 47, 0.5);
}
.card-foot button[disabled] { opacity: .65; cursor: wait; }

/* ── Flip-back (thank-you) styling ────────────────────────────────── */
.flip-back .seal {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(139, 157, 139, 0.14);
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.flip-back .thanks-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 22ch;
}
.flip-back .thanks-h em { font-style: italic; color: var(--sage-deep); }
.flip-back .thanks-p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #4b4b4b;
  margin: 0;
  max-width: 38ch;
}
.flip-back .thanks-sig {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(47, 47, 47, 0.5);
  margin-top: 4px;
}
.flip-back .thanks-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
/* Override the generic .btn-link inside the flip-back so it reads as
   a quiet tertiary action rather than a full charcoal-bordered link. */
.flip-back .btn-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.flip-back .btn-link:hover { color: var(--charcoal); border-color: var(--charcoal); }

/* ── Etsy aside (below the card) ─────────────────────────────────── */
.inq-aside {
  max-width: 760px;
  margin: clamp(48px, 5vw, 72px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--hairline-soft);
  padding-top: clamp(28px, 3vw, 40px);
}
@media (max-width: 640px) {
  .inq-aside { grid-template-columns: 1fr; }
}
.inq-aside .copy {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  color: #4b4b4b;
  line-height: 1.5;
  max-width: 46ch;
}
.inq-aside .copy b {
  font-style: normal;
  color: var(--charcoal);
  font-weight: 500;
}
