/* Preserve the original logo colors against the dark brand panels. */
[hidden] {
  display: none !important;
}

/* Figgy Builder components: schema-driven, responsive sections assembled in Studio. */
.figgy-builder-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
  padding: clamp(76px, 10vw, 150px) clamp(24px, 7vw, 112px);
  color: var(--figgy-section-text, var(--figgy-text, var(--navy, #07195d)));
  background: var(--figgy-section-bg, var(--figgy-background, #fbfaf7));
}
.figgy-builder-section:nth-of-type(even) { background: var(--figgy-section-bg, color-mix(in srgb, var(--figgy-secondary, #b8d0f5) 28%, white)); }
.figgy-builder-copy { max-width: 650px; }
.figgy-builder-copy :is(h1,h2) { margin: 12px 0 24px; font: 600 clamp(38px, 5vw, 76px)/.98 "Playfair Display", serif; letter-spacing: -.035em; }
.figgy-builder-copy :is(h1,h2) em { color: var(--figgy-section-accent, var(--figgy-accent, #4f75ad)); font-weight: 500; }
.figgy-builder-body { max-width: 610px; margin: 0 0 30px; color: inherit; opacity: .78; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.7; }
.figgy-builder-media { min-height: 460px; border-radius: 8px 80px 8px 8px; overflow: hidden; box-shadow: 0 28px 70px rgba(7,25,93,.14); }
.figgy-builder-media img { width: 100%; height: 100%; min-height: 460px; display: block; object-fit: cover; object-position: center; }
.figgy-builder-items { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--figgy-section-columns, 3), minmax(0,1fr)); gap: 18px; margin-top: 12px; }
.figgy-builder-items article { min-height: 160px; padding: 28px; border: 1px solid rgba(7,25,93,.14); border-radius: 22px; background: rgba(255,255,255,.72); }
.figgy-builder-items article span { color: #6d82aa; font: 500 11px "DM Mono", monospace; letter-spacing: .14em; }
.figgy-builder-items article p { margin: 34px 0 0; font: 600 20px/1.45 "Playfair Display", serif; }
.figgy-builder-faq { grid-column: 1 / -1; display: grid; gap: 10px; }
.figgy-builder-faq details { padding: 22px 24px; border: 1px solid rgba(7,25,93,.14); border-radius: 16px; background: white; }
.figgy-builder-faq summary { font-weight: 750; cursor: pointer; }
.figgy-builder-faq p { margin: 12px 0 0; color: #45577b; line-height: 1.65; }
.figgy-builder-cta { grid-template-columns: 1fr; justify-items: center; color: white; background: #07195d !important; text-align: center; }
.figgy-builder-cta .figgy-builder-copy { max-width: 820px; }
.figgy-builder-cta .eyebrow,.figgy-builder-cta .figgy-builder-body { color: #cddbf2; }
.figgy-builder-cta .figgy-builder-copy h2 em { color: #b8d0f5; }
.figgy-builder-cta .button { color: #07195d; background: white; }

.figgy-builder-section[data-figgy-align="center"] { text-align: center; justify-items: center; }
.figgy-builder-section[data-figgy-align="center"] .figgy-builder-copy,
.figgy-builder-section[data-figgy-align="center"] .figgy-builder-body { margin-left: auto; margin-right: auto; }
.figgy-builder-section[data-figgy-align="right"] { text-align: right; }
.figgy-builder-section[data-figgy-spacing="compact"] { padding-top: clamp(42px, 6vw, 78px); padding-bottom: clamp(42px, 6vw, 78px); }
.figgy-builder-section[data-figgy-spacing="airy"] { padding-top: clamp(100px, 13vw, 190px); padding-bottom: clamp(100px, 13vw, 190px); }
.figgy-builder-section[data-figgy-heading="small"] .figgy-builder-copy :is(h1,h2) { font-size: clamp(30px, 3.4vw, 50px); }
.figgy-builder-section[data-figgy-heading="large"] .figgy-builder-copy :is(h1,h2) { font-size: clamp(48px, 6.5vw, 92px); }
.figgy-builder-section[data-figgy-heading="display"] .figgy-builder-copy :is(h1,h2) { font-size: clamp(58px, 8.5vw, 128px); }
.figgy-builder-section[data-figgy-layout="image-first"] .figgy-builder-media { grid-column: 1; grid-row: 1; }
.figgy-builder-section[data-figgy-layout="image-first"] .figgy-builder-copy { grid-column: 2; }
.figgy-builder-section[data-figgy-layout="stacked"],
.figgy-builder-section[data-figgy-layout="grid"] { grid-template-columns: 1fr; }
.figgy-builder-section[data-figgy-image-fit="contain"] .figgy-builder-media img { object-fit: contain; background: var(--figgy-surface, #fff); }
.figgy-builder-section[data-figgy-image-position="top"] .figgy-builder-media img { object-position: top; }
.figgy-builder-section[data-figgy-image-position="bottom"] .figgy-builder-media img { object-position: bottom; }
.figgy-builder-section[data-figgy-image-position="left"] .figgy-builder-media img { object-position: left; }
.figgy-builder-section[data-figgy-image-position="right"] .figgy-builder-media img { object-position: right; }
.figgy-builder-quote { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.figgy-builder-quote .figgy-builder-copy { max-width: 980px; }
.figgy-builder-quote .figgy-builder-copy h2 { font-style: italic; }
.figgy-builder-stats .figgy-builder-items article p { font-size: clamp(25px, 3vw, 42px); }
.figgy-builder-contact .figgy-builder-items article { min-height: 115px; }

body {
  color: var(--figgy-text, var(--ink));
  background: var(--figgy-background, var(--paper));
}
body[data-figgy-body-font="serif"] { font-family: "Playfair Display", serif; }
body[data-figgy-body-font="mono"] { font-family: "DM Mono", monospace; }
body[data-figgy-heading-font="sans"] h1,
body[data-figgy-heading-font="sans"] h2,
body[data-figgy-heading-font="sans"] h3 { font-family: "Manrope", sans-serif; }
body[data-figgy-heading-font="mono"] h1,
body[data-figgy-heading-font="mono"] h2,
body[data-figgy-heading-font="mono"] h3 { font-family: "DM Mono", monospace; }
body[data-figgy-radius="square"] :is(.button,.product-image,.figgy-builder-media,.figgy-builder-items article) { border-radius: 0; }
body[data-figgy-radius="rounded"] :is(.button,.product-image,.figgy-builder-media,.figgy-builder-items article) { border-radius: 32px; }
body[data-figgy-radius="pill"] .button { border-radius: 999px; }
body[data-figgy-button-style="outline"] .button,
body[data-figgy-button-style="outline"] .figgy-nav-cta { color: var(--figgy-primary, #07195d); background: transparent; border: 2px solid currentColor; }
body[data-figgy-button-style="pill"] .button,
body[data-figgy-button-style="pill"] .figgy-nav-cta { border-radius: 999px; }
body[data-figgy-button-shape="square"] :is(.button,.figgy-nav-cta) { border-radius: 0; }
body[data-figgy-button-shape="pill"] :is(.button,.figgy-nav-cta) { border-radius: 999px; }
body[data-figgy-density="compact"] .section { padding-top: clamp(55px, 7vw, 95px); padding-bottom: clamp(55px, 7vw, 95px); }
body[data-figgy-density="airy"] .section { padding-top: clamp(100px, 12vw, 175px); padding-bottom: clamp(100px, 12vw, 175px); }
body[data-figgy-content-width="compact"] :is(.section,.figgy-builder-section) { padding-left: max(24px, calc((100vw - 1120px) / 2)); padding-right: max(24px, calc((100vw - 1120px) / 2)); }
body[data-figgy-content-width="wide"] :is(.section,.figgy-builder-section) { padding-left: clamp(24px, 4vw, 72px); padding-right: clamp(24px, 4vw, 72px); }
body[data-figgy-content-width="full"] :is(.section,.figgy-builder-section) { padding-left: clamp(20px, 2vw, 36px); padding-right: clamp(20px, 2vw, 36px); }
.figgy-nav-cta { padding: 10px 16px; color: white; background: var(--figgy-primary, #07195d); border-radius: 8px; }

:is(.hero,#shop,#story,#work,#instagram)[style*="--figgy-section-bg"] { background: var(--figgy-section-bg); color: var(--figgy-section-text, inherit); }
:is(.hero,#shop,#story,#work,#instagram)[data-figgy-align="center"] { text-align: center; }
:is(.hero,#shop,#story,#work,#instagram)[data-figgy-spacing="compact"] { padding-top: 55px; padding-bottom: 55px; }
:is(.hero,#shop,#story,#work,#instagram)[data-figgy-spacing="airy"] { padding-top: 145px; padding-bottom: 145px; }
:is(.hero,#shop,#story,#work,#instagram)[data-figgy-heading="small"] h2 { font-size: clamp(34px, 4vw, 58px); }
:is(.hero,#shop,#story,#work,#instagram)[data-figgy-heading="display"] h2 { font-size: clamp(58px, 8vw, 120px); }

@media (max-width: 760px) {
  .figgy-builder-section { grid-template-columns: 1fr; gap: 30px; padding: 68px 22px; }
  .figgy-builder-copy :is(h1,h2) { font-size: clamp(38px, 12vw, 58px); }
  .figgy-builder-media,.figgy-builder-media img { min-height: 330px; }
  .figgy-builder-items { grid-template-columns: repeat(var(--figgy-mobile-columns, 1), minmax(0,1fr)); }
  .figgy-builder-items article { min-height: 130px; }
  .figgy-builder-section[data-figgy-mobile-stack="image-first"] .figgy-builder-media { grid-row: 1; }
  .figgy-builder-section[data-figgy-mobile-stack="image-first"] .figgy-builder-copy { grid-row: 2; }
  .product-card:last-child { grid-column: auto; }
  .product-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Blue Thread Atelier compatibility layer for the original storefront components. */
:root {
  --ink: #0c1757;
  --powder: #bdd1f4;
  --pale: #f2f6fd;
  --paper: #ffffff;
  --warm: #e8f0fc;
  --black: #0c1757;
  --coral: #bdd1f4;
  --line: rgba(12,23,87,.15);
}

html { scroll-padding-top: 110px; }
body { overflow-x: hidden; }
body.menu-open { overflow: hidden; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 11px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.announcement {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px 18px;
  background: var(--ink);
  font-size: 9px;
  letter-spacing: .16em;
}

.site-header {
  height: 78px;
  padding: 0 clamp(20px,4vw,68px);
  border-bottom-color: rgba(16,32,79,.12);
  background: color-mix(in srgb, var(--figgy-background, var(--paper)) 92%, transparent);
}
.brand img { width: 144px; }
.site-header nav { align-items: center; gap: clamp(18px,2.1vw,34px); margin-left: auto; margin-right: 24px; }
.site-header nav > a:not(.figgy-nav-cta) { position: relative; padding: 10px 0; font-size: 12px; font-weight: 650; }
.site-header nav > a:not(.figgy-nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-header nav > a:not(.figgy-nav-cta):hover::after,
.site-header nav > a:not(.figgy-nav-cta):focus-visible::after { transform: scaleX(1); }
.figgy-nav-cta { padding: 11px 15px; border-radius: 0; font-size: 11px; font-weight: 750; }
.menu-button { display: none; }
.bag-button { min-width: 64px; border: 0; padding: 7px; }
.bag-button:hover { background: rgba(159,185,223,.2); }

.hero {
  width: min(1540px,100%);
  min-height: min(810px,calc(100vh - 112px));
  margin: 0 auto;
  grid-template-columns: minmax(340px,.86fr) minmax(520px,1.14fr);
  gap: clamp(40px,5.5vw,92px);
  padding: clamp(80px,8vw,128px) clamp(28px,4.5vw,72px) clamp(70px,7vw,112px);
}
.hero-copy { max-width: 620px; padding: 0; }
.hero h1 {
  max-width: 660px;
  font-size: clamp(58px,7vw,112px);
  font-family: Manrope,Arial,sans-serif;
  font-weight: 750;
  line-height: .88;
  letter-spacing: -.075em;
}
.hero h1 em { display: block; color: var(--coral); font-family: "Playfair Display",serif; font-weight: 500; letter-spacing: -.055em; }
.hero-intro { max-width: 480px; margin: 34px 0 28px; color: color-mix(in srgb,var(--ink) 76%,white); font-size: clamp(16px,1.35vw,20px); }
.hero .button { min-width: 230px; }
.hero-note { margin: 18px 0 0; font-size: 11px; }
.thread-mark { display: flex; align-items: center; gap: 13px; margin-top: 48px; color: #697694; font: 500 9px "DM Mono",monospace; letter-spacing: .12em; text-transform: uppercase; }
.thread-mark i { width: 96px; height: 25px; border-bottom: 2px dashed var(--coral); border-radius: 0 0 70% 0; transform: rotate(-4deg); }
.hero-gallery { min-height: 580px; }
.hero-tile { padding: 0; border-radius: 2px; background: var(--powder); box-shadow: 0 26px 70px rgba(16,32,79,.14); }
.hero-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tile p { z-index: 1; }
.tile-one { inset: 0 19% 7% 0; }
.tile-two { width: 36%; height: 40%; right: 0; top: 7%; }
.tile-three { width: 31%; height: 34%; right: 4%; bottom: 0; }
.hero-scroll { left: auto; right: -14px; bottom: 18px; }

.marquee { padding: 14px 24px; color: var(--ink); background: var(--powder); white-space: normal; text-align: center; }
.marquee div { animation: none; font-size: 10px; letter-spacing: .18em; }

.section { padding: clamp(92px,10vw,156px) clamp(24px,4.5vw,72px); }
.section-heading { gap: 36px; }
.section h2,.feature-copy h2 { font-family: Manrope,Arial,sans-serif; font-weight: 700; }
.section h2 em,.feature-copy h2 em { color: var(--coral); }
.collection { background: var(--paper); }
.collection-proof { grid-template-columns: 1.2fr repeat(3,.74fr); margin-bottom: 58px; border-radius: 0; background: var(--ink); box-shadow: none; }
.collection-proof-copy .eyebrow { color: var(--powder); }
.collection-proof-copy strong { font-family: Manrope,Arial,sans-serif; font-size: 23px; letter-spacing: -.025em; }

.product-grid { gap: clamp(18px,2vw,32px); }
.product-card { min-width: 0; border-radius: 0; }
.product-card-open { width: 100%; display: block; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.product-card .product-image {
  width: 100%;
  height: clamp(315px,34vw,520px);
  display: block;
  border-radius: 0;
  background-color: var(--pale);
  box-shadow: none;
  transition: transform .25s ease,box-shadow .25s ease;
}
.product-card:hover .product-image,.product-card-open:focus-visible .product-image { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(16,32,79,.13); }
.product-image:not(.has-product-photo)::before {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg,transparent 0 48%,rgba(16,32,79,.045) 48% 52%,transparent 52% 100%),
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.9),rgba(159,185,223,.42));
  box-shadow: none;
}
.product-photo-pending { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: rgba(16,32,79,.66); font: 500 9px "DM Mono",monospace; letter-spacing: .09em; text-transform: uppercase; }
.has-product-photo > .product-photo-pending,.has-product-photo .product-photo-pending { display: none; }
.product-card-badge { position: absolute; top: 15px; left: 15px; z-index: 2; padding: 7px 9px; color: var(--ink); background: rgba(247,243,234,.93); font: 600 9px "DM Mono",monospace; letter-spacing: .08em; text-transform: uppercase; }
.product-card .product-meta { align-items: flex-start; padding: 17px 52px 0 0; }
.product-meta h3 { font-size: 16px; font-weight: 750; }
.product-meta small { color: #68738e; }
.product-meta strong { font-size: 14px; font-weight: 750; }
.product-card > .quick-add { position: absolute; right: 0; bottom: -1px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; }
.product-card > .quick-add span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.product-card > .quick-add:hover { color: white; background: var(--ink); }

.feature-banner { min-height: 680px; grid-template-columns: 53% 47%; background: var(--ink); }
.feature-image { min-height: 620px; }
.feature-copy { padding: clamp(60px,8vw,122px); }
.feature-copy h2 { letter-spacing: -.065em; }
.feature-copy > p:not(.eyebrow) { font-size: 16px; }
.stitch-line { border-bottom-color: var(--coral); }
.journal { background: #eee7dc; }
.journal-grid { gap: 14px; }
.journal-card { background: var(--powder); }
.journal-card img { width: 100%; height: 100%; object-fit: cover; }

.figgy-builder-section { padding-left: clamp(24px,4.5vw,72px); padding-right: clamp(24px,4.5vw,72px); }
.figgy-builder-copy :is(h1,h2) { font-family: Manrope,Arial,sans-serif; font-weight: 720; letter-spacing: -.065em; }
.figgy-builder-copy :is(h1,h2) em { color: var(--figgy-section-accent,var(--coral)); font-family: "Playfair Display",serif; }
.figgy-builder-items article { border-radius: 0; }
.figgy-builder-stats { grid-template-columns: minmax(240px,.7fr) minmax(0,1.3fr); gap: 40px; }
.figgy-builder-stats .figgy-builder-items { grid-column: 2; grid-row: 1; margin: 0; }
.figgy-builder-stats .figgy-builder-items article { min-height: 112px; padding: 22px; border-color: rgba(16,32,79,.25); background: rgba(255,255,255,.12); }
.figgy-builder-stats .figgy-builder-items article span { color: var(--ink); }
.figgy-builder-stats .figgy-builder-items article p { margin-top: 16px; font: 700 clamp(17px,1.7vw,24px)/1.2 Manrope,sans-serif; }
.figgy-builder-process .figgy-builder-items article { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.figgy-builder-process .figgy-builder-items article span { color: var(--coral); }
.figgy-builder-process .figgy-builder-items article p { color: white; font-family: Manrope,sans-serif; font-size: 18px; }
.figgy-builder-process .button { color: var(--ink); background: white; }
.figgy-builder-faq { grid-template-columns: 1fr 1fr; gap: 12px; }
.figgy-builder-faq details { border-radius: 0; background: rgba(255,255,255,.65); }
.figgy-builder-faq summary { list-style-position: outside; font-size: 15px; }
.figgy-builder-faq p { color: inherit; opacity: .72; }
.figgy-builder-cta { min-height: 610px; }
.figgy-builder-cta .figgy-builder-copy :is(h1,h2) { max-width: 1000px; }
.figgy-builder-cta .figgy-builder-copy h2 em { color: var(--ink); }

footer { grid-template-columns: 1fr auto; padding: 70px clamp(24px,4.5vw,72px) 30px; background: var(--ink); }
footer > div { gap: clamp(15px,2.2vw,32px); }

.product-modal { background: rgba(6,16,45,.68); }
.product-modal-card { width: min(1080px,100%); max-height: min(860px,94vh); background: var(--paper); }
.product-modal-body { grid-template-columns: 52% 48%; }
.product-modal-image { min-height: 640px; }
.product-modal-copy { justify-content: flex-start; padding: clamp(38px,5vw,72px); }
.product-modal-copy h2 { font-family: Manrope,sans-serif; font-weight: 760; }
.product-badge { align-self: flex-start; margin: 0 0 15px; padding: 7px 9px; color: var(--ink); background: var(--powder); font: 600 9px "DM Mono",monospace; letter-spacing: .1em; text-transform: uppercase; }
.product-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 28px 0 0; padding: 1px; background: var(--line); }
.product-facts > div { min-width: 0; padding: 14px; background: var(--paper); }
.product-facts dt { color: #68738e; font: 500 9px "DM Mono",monospace; letter-spacing: .09em; text-transform: uppercase; }
.product-facts dd { margin: 7px 0 0; font-size: 12px; line-height: 1.45; }
.personalization-note { margin-top: 18px; padding: 16px; border-left: 3px solid var(--coral); background: white; }
.personalization-note strong { font-size: 12px; }
.personalization-note p { margin: 6px 0 0; color: #59647f; font-size: 11px; line-height: 1.55; }
.product-modal-purchase { margin-top: 24px; }
.product-custom-link,.share-product { width: max-content; padding: 5px 0; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); background: transparent; font-size: 11px; font-weight: 700; }

/* Keep the final Recent Work trio level and editorially consistent. All three
   approved photographs share a 3:4 crop, so their top and bottom edges align. */
.journal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  height: auto;
  gap: clamp(14px, 1.5vw, 24px);
}

.journal-card,
.journal-card.journal-a,
.journal-card.journal-b,
.journal-card.journal-c {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  margin-top: 0;
}

.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

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

@media (max-width: 980px) {
  .site-header nav { gap: 16px; margin-right: 12px; }
  .site-header nav > a:not(.figgy-nav-cta) { font-size: 10px; }
  .figgy-nav-cta { display: none; }
  .hero { grid-template-columns: .86fr 1.14fr; gap: 32px; }
  .hero h1 { font-size: clamp(54px,8vw,82px); }
  .collection-proof { grid-template-columns: 1fr repeat(3,.62fr); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 96px; }
  .announcement { font-size: 8px; line-height: 1.35; }
  .site-header { height: 66px; padding: 0 14px; }
  .brand img { width: 112px; }
  .menu-button { min-width: 54px; display: grid; gap: 4px; justify-items: center; margin-left: auto; padding: 7px 5px; border: 0; color: var(--ink); background: transparent; font: 650 9px "DM Mono",monospace; letter-spacing: .06em; text-transform: uppercase; }
  .menu-button i,.menu-button i::before { content: ""; width: 24px; height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-button i::before { transform: translateY(5px); }
  .menu-button[aria-expanded="true"] i { transform: rotate(45deg) translateY(2px); }
  .menu-button[aria-expanded="true"] i::before { transform: rotate(-90deg); }
  .site-header nav {
    position: fixed;
    inset: 100px 0 auto;
    z-index: 11;
    min-height: calc(100dvh - 100px);
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 34px 24px 80px;
    background: var(--paper);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .2s ease,transform .2s ease;
  }
  .site-header nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-header nav > a:not(.figgy-nav-cta),.site-header nav .figgy-nav-cta { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font: 700 clamp(25px,8vw,38px)/1.1 Manrope,sans-serif; }
  .site-header nav .figgy-nav-cta { margin-top: 24px; padding: 16px; color: white; background: var(--ink); font-size: 15px; text-align: center; }
  .header-actions { margin-left: 0; }
  .bag-button { min-width: 48px; }

  .hero { min-height: auto; display: flex; flex-direction: column; gap: 48px; padding: 72px 20px 70px; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: 540px; font-size: clamp(56px,17vw,82px); }
  .hero-intro { margin-top: 28px; font-size: 16px; }
  .thread-mark { margin-top: 36px; }
  .hero-gallery { width: calc(100% + 20px); min-height: 430px; margin: 0 -20px 0 0; }
  .tile-one { inset: 0 17% 8% 0; }
  .tile-two { width: 38%; height: 36%; }
  .tile-three { width: 35%; height: 31%; }
  .hero-tile p { font-size: 14px; }
  .marquee { padding: 12px 18px; }
  .marquee div { font-size: 8px; line-height: 1.55; }

  .section { padding: 88px 20px; }
  .section-heading { margin-bottom: 34px; }
  .section h2 { font-size: clamp(45px,14vw,68px); }
  .collection-proof { grid-template-columns: 1fr 1fr; margin-bottom: 42px; }
  .collection-proof-copy { grid-column: 1/-1; }
  .product-grid { grid-template-columns: 1fr; gap: 44px; }
  .product-card:last-child,.product-card:last-child:nth-child(odd) { grid-column: auto; }
  .product-card .product-image { height: min(118vw,520px); }
  .product-card .product-meta { padding-top: 15px; }
  .feature-banner { grid-template-columns: 1fr; min-height: 0; }
  .feature-image { min-height: 440px; }
  .feature-copy { padding: 86px 24px; }

  .figgy-builder-section { padding: 86px 20px; }
  .figgy-builder-stats { grid-template-columns: 1fr; }
  .figgy-builder-stats .figgy-builder-items { grid-column: 1; grid-row: auto; }
  .figgy-builder-faq { grid-template-columns: 1fr; }
  .figgy-builder-cta { min-height: 520px; }

  footer { grid-template-columns: 1fr; padding: 58px 22px 26px; }
  footer > div { justify-self: start; align-items: flex-start; flex-direction: column; gap: 17px; white-space: normal; }

  .product-modal { align-items: end; padding: 0; }
  .product-modal-card { width: 100%; max-height: 94dvh; }
  .product-modal-body { display: block; }
  .product-modal-image { min-height: 360px; max-height: 48vh; }
  .product-modal-copy { padding: 34px 22px 42px; }
  .product-modal-copy h2 { font-size: clamp(42px,13vw,58px); }
  .product-facts { grid-template-columns: 1fr; }
  .product-modal-footer { display: grid; grid-template-columns: 1fr 1fr; }
  .product-modal-position { grid-column: 1/-1; }
  .share-product { justify-self: end; }
}

body[data-site-theme="warm"] {
  --ink: #5b2f24;
  --powder: #e7bca2;
  --pale: #f7e9df;
  --paper: #fffaf4;
  --warm: #ead6c5;
  --black: #3d241e;
  --line: rgba(91, 47, 36, .18);
}

body[data-site-theme="coastal"] {
  --ink: #123f52;
  --powder: #a9d9df;
  --pale: #e2f2f2;
  --paper: #fbfdf9;
  --warm: #e4ded0;
  --black: #153847;
  --line: rgba(18, 63, 82, .17);
}

body[data-hero-layout="split"] .hero {
  grid-template-columns: 1fr 1fr;
}

body[data-hero-layout="split"] .tile-one {
  inset: 0;
}

body[data-hero-layout="split"] .tile-two,
body[data-hero-layout="split"] .tile-three,
body[data-hero-layout="split"] .hero-scroll {
  display: none;
}

/* Copy is stored as separate editable pieces; preserve natural word spacing
   when those pieces are rendered around an emphasized word. */
span[data-site-copy] + em[data-site-copy]::before,
em[data-site-copy] + span[data-site-copy]::before {
  content: " ";
}

@media (min-width: 761px) {
  .hero {
    grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  }

  .hero-copy,
  .hero-gallery {
    min-width: 0;
  }

  body[data-studio-preview="true"] .hero h1 {
    font-size: clamp(45px, 5.4vw, 76px);
  }
}

body[data-product-layout="editorial"] .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-product-layout="editorial"] .product-card:first-child {
  grid-row: span 2;
}

.figgy-preview-banner {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: 18px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: white;
  background: #07195d;
  box-shadow: 0 8px 30px rgba(7,25,93,.25);
  font: 700 10px "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  body[data-product-layout="editorial"] .product-grid {
    grid-template-columns: 1fr;
  }
}

body[data-studio-focus="true"] [data-photo-slot],
body[data-studio-focus="true"] [data-site-copy],
body[data-studio-focus="true"] [data-product-card],
body[data-studio-focus="true"] [data-builder-section] {
  cursor: pointer;
  transition: outline-color .18s ease, box-shadow .18s ease;
}
body[data-studio-focus="true"] [data-photo-slot]:hover,
body[data-studio-focus="true"] [data-site-copy]:hover,
body[data-studio-focus="true"] [data-product-card]:hover,
body[data-studio-focus="true"] [data-builder-section]:hover,
body[data-studio-focus="true"] .studio-selected {
  outline: 3px solid #4f7fd2;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(79,127,210,.18);
}

footer > img {
  width: 190px;
  background: transparent;
  filter: none;
  mix-blend-mode: normal;
}

.footer-wordmark {
  width: max-content;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: white;
  text-decoration: none;
  line-height: 1;
}
.footer-wordmark span { font: italic 500 42px "Playfair Display", serif; letter-spacing: -.08em; }
.footer-wordmark strong { font: 800 31px "Manrope", sans-serif; letter-spacing: -.055em; }

/* Premium storefront refinements. */
.owner-entry { opacity:.72; }
.announcement { font-size:11px; line-height:1.4; }
.product-card { border-radius:18px 18px 0 0; }
.product-image { border-radius:18px; box-shadow:0 18px 55px rgba(7,25,93,.08); transition:transform .3s ease,box-shadow .3s ease; }
.product-card:hover .product-image { transform:translateY(-4px); box-shadow:0 24px 65px rgba(7,25,93,.14); }
.product-meta h3 { font-size:15px; }
.product-meta small { font-size:12px; line-height:1.45; }
footer > img {
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: brightness(0) invert(1);
  mix-blend-mode: normal;
}
.collection-proof { display:grid; grid-template-columns:1.15fr repeat(3,.7fr); min-height:205px; margin:-12px 0 46px; border-radius:20px; background:var(--ink); overflow:hidden; box-shadow:0 24px 70px rgba(7,25,93,.12); }
.collection-proof-copy { display:flex; flex-direction:column; justify-content:center; padding:30px; color:white; }
.collection-proof-copy .eyebrow { margin-bottom:13px; color:var(--powder); }
.collection-proof-copy strong { font:600 25px 'Playfair Display',serif; }
.collection-proof-copy span { max-width:280px; margin-top:11px; color:#d5def2; font-size:12px; line-height:1.6; }
.collection-proof img { width:100%; height:100%; min-height:205px; object-fit:cover; border-left:1px solid rgba(255,255,255,.15); }

@media (max-width:760px) {
  .announcement { font-size:10px; padding:10px 14px; }
  .brand img { width:140px; }
  .product-meta h3 { font-size:14px; }
  .product-meta small { font-size:12px; }
  footer > img { width:170px; }
  .collection-proof { grid-template-columns:1fr 1fr; margin:0 0 32px; }
  .collection-proof-copy { grid-column:1 / -1; padding:24px; }
  .collection-proof-copy strong { font-size:23px; }
  .collection-proof img { min-height:170px; }
  .collection-proof img:last-child { display:none; }
}

.admin-sidebar img {
  width: 135px;
  background: transparent;
  filter: none;
  mix-blend-mode: normal;
  margin: 3px 9px 35px;
}

footer > div {
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 28px;
  white-space: nowrap;
}

footer > div > * {
  flex: 0 0 auto;
}

.bag-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 76px;
  padding: 7px 10px 7px 8px;
}

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

.bag-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
}

.bag-button .bag-icon {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.bag-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bag-icon path {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.bag-icon .bag-body {
  fill: var(--pale);
}

.bag-icon .bag-stitch {
  stroke-dasharray: 2 2;
  stroke-width: 1;
}

.bag-icon text {
  fill: var(--ink);
  font: 600 11px "DM Mono", monospace;
  letter-spacing: .02em;
}

.bag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px dashed var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font: 500 10px "DM Mono", monospace;
}

.bag-button .bag-count {
  margin: 0;
  padding: 0;
  border: 1px dashed var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.fulfillment-box {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 8px;
}

.fulfillment-box .eyebrow {
  margin-bottom: 12px;
}

.fulfillment-options {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
}

.fulfillment-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fulfillment-options input {
  accent-color: var(--ink);
  margin: 0;
}

.shipping-fields {
  margin-top: 15px;
}

.shipping-fields > label {
  display: block;
  color: #596789;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.shipping-input-row {
  display: flex;
  gap: 8px;
}

.shipping-input-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 9px 10px;
}

.shipping-input-row button {
  white-space: nowrap;
}

.shipping-estimate,
.pickup-note {
  display: block;
  color: #697694;
  font-size: 10px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.bag-total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  margin-bottom: 8px;
}

.bag-total-row strong {
  white-space: nowrap;
}

.bag-total-row.bag-total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 11px;
  font-size: 16px;
}

.fee-disclosure {
  color: #596789;
  font-size: 10px;
  line-height: 1.55;
  margin: 14px 0 8px;
}

.bag-footer > .store-payment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0;
}

.bag-footer > .store-payment-options[hidden] {
  display: none;
}

.store-payment-options article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.store-payment-options img {
  width: 58px;
  height: 58px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.store-payment-options strong,
.store-payment-options small {
  display: block;
}

.store-payment-options strong {
  font-size: 11px;
}

.store-payment-options small {
  margin-top: 3px;
  color: #637091;
  font-size: 9px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  footer > div {
    justify-self: end;
    width: 100%;
    justify-content: flex-end;
    gap: 18px;
  }
}

.workshop-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: -1;
}

.feature-image.has-photo {
  background: #8095bf;
}

.feature-image.has-photo::before,
.journal-card.has-site-photo::before {
  background: none;
}

.feature-image.has-photo .placeholder-label,
.feature-image.has-photo .stitch-line {
  display: none;
}

.site-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.has-site-photo .placeholder-label {
  display: none;
}

.hero-tile.has-site-photo::before {
  background: none;
}

.hero-tile.has-site-photo p {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  max-width: calc(100% - 40px);
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 12px rgba(7, 25, 93, 0.45);
}

.hero-tile.has-site-photo[data-caption-backdrop="on"] p {
  padding: 9px 11px;
  background: rgba(7, 25, 93, 0.72);
  border-radius: 2px;
}

.hero-tile.has-site-photo[data-caption-font="sans"] p {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.hero-tile.has-site-photo[data-caption-font="mono"] p {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-tile.has-site-photo[data-text-tone="navy"] p {
  color: var(--ink);
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.65);
}

.hero-tile.has-site-photo[data-text-tone="navy"][data-caption-backdrop="on"] p {
  background: rgba(255, 255, 255, 0.78);
}

.hero-tile.has-site-photo[data-text-tone="red"] p { color: #f13b4a; }
.hero-tile.has-site-photo[data-text-tone="green"] p { color: #31bc72; }
.hero-tile.has-site-photo[data-text-tone="yellow"] p { color: #ffd63e; }
.hero-tile.has-site-photo[data-text-tone="purple"] p { color: #a373ed; }
.hero-tile.has-site-photo[data-text-tone="orange"] p { color: #ff8a38; }
.hero-tile.has-site-photo[data-text-tone="pink"] p { color: #ff66a8; }
.hero-tile.has-site-photo[data-text-tone="light-blue"] p { color: #82ccff; }

.hero-tile.has-site-photo[data-caption-position="bottom-right"] p,
.hero-tile.has-site-photo[data-caption-position="top-right"] p {
  left: auto;
  right: 20px;
  text-align: right;
}

.hero-tile.has-site-photo[data-caption-position="top-left"] p,
.hero-tile.has-site-photo[data-caption-position="top-right"] p {
  top: 18px;
  bottom: auto;
}

.admin-help {
  max-width: 580px;
  margin: 0;
  color: #617096;
  font-size: 12px;
  line-height: 1.6;
}

.empty-catalog {
  grid-column: 1 / -1;
  padding: clamp(48px, 8vw, 96px) 8vw;
  background: var(--pale);
  text-align: center;
}

.empty-catalog .eyebrow {
  margin-bottom: 14px;
}

.empty-catalog h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -.045em;
}

.empty-catalog p:not(.eyebrow) {
  max-width: 430px;
  margin: 18px auto 0;
  color: #596789;
  line-height: 1.7;
}

.empty-catalog .button {
  margin-top: 26px;
}

.admin-product-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.admin-product {
  grid-template-columns: 52px 1fr .7fr auto;
}

.delete-product {
  border-color: rgba(141, 45, 61, .28);
  color: #8d2d3d;
}

.admin-empty-products {
  margin-top: 20px;
  padding: 26px;
  border: 1px dashed #cfd7e8;
  background: #fbfcff;
  color: var(--ink);
}

.admin-empty-products strong {
  font-size: 13px;
}

.admin-empty-products p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #617096;
  font-size: 12px;
  line-height: 1.6;
}

.instagram {
  background: #f3f0eb;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.instagram-post {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--pale);
  color: white;
  text-decoration: none;
}

.instagram-post img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.instagram-post:hover img,
.instagram-post:focus-visible img {
  transform: scale(1.035);
}

.instagram-post span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  background: rgba(7, 25, 93, .78);
  color: white;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.instagram-post span b {
  margin-left: 4px;
  font-size: 12px;
}

.instagram-follow {
  display: inline-block;
  margin-top: 28px;
  color: var(--ink);
}

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.admin-photo-card {
  overflow: hidden;
  border: 1px solid #e2e6ef;
  background: #fff;
}

.admin-photo-preview {
  position: relative;
  height: 155px;
  overflow: hidden;
  background: linear-gradient(135deg, #b8d0f5, #e9f1fc);
}

.admin-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-photo-preview span {
  position: absolute;
  left: 10px;
  top: 10px;
  min-width: 28px;
  padding: 6px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font: 500 10px "DM Mono", monospace;
}

.admin-photo-copy {
  min-height: 70px;
  padding: 13px;
}

.admin-photo-copy b,
.admin-photo-copy small {
  display: block;
}

.admin-photo-copy b {
  font-size: 12px;
}

.admin-photo-copy small {
  margin-top: 5px;
  color: #6c7897;
  font-size: 10px;
}

.admin-photo-adjustments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 13px 13px;
}

.admin-photo-adjustments .caption-text-control {
  grid-column: 1 / -1;
}

.admin-photo-adjustments label {
  color: #596789;
  font-size: 9px;
  font-weight: 700;
}

.admin-photo-adjustments select {
  display: block;
  width: 100%;
  margin-top: 5px;
  border: 1px solid #dce2ef;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 8px 6px;
  font-size: 10px;
}

.admin-photo-adjustments input {
  display: block;
  width: 100%;
  margin-top: 5px;
  border: 1px solid #dce2ef;
  background: #fff;
  color: var(--ink);
  padding: 8px 6px;
  font-size: 10px;
}

.admin-photo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px 14px;
}

.admin-photo-actions .add-button {
  flex: 1;
  cursor: pointer;
  text-align: center;
}

html {
  scroll-padding-top: 124px;
}

.admin-dashboard[hidden],
.admin-login[hidden] {
  display: none !important;
}

.photo-storage-note {
  margin: 22px 0 0;
  color: #6c7897;
  font-size: 10px;
  line-height: 1.6;
}

.website-words-card fieldset {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid #e2e6ef;
}

.website-words-card legend {
  padding: 0 6px;
  color: var(--ink);
  font: 500 10px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.website-word-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.website-word-field {
  display: grid;
  gap: 7px;
  color: #596789;
  font-size: 11px;
  font-weight: 700;
}

.website-word-field input,
.website-word-field textarea {
  width: 100%;
  border: 1px solid #dce2ef;
  background: #fff;
  color: var(--ink);
  padding: 11px;
  font: 400 12px Manrope, Arial, sans-serif;
  line-height: 1.5;
}

.website-word-field textarea {
  resize: vertical;
}

.website-words-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

body.modal-open {
  overflow: hidden;
}

.product-image.has-product-photo::before,
.product-modal-image.has-product-photo::before,
.mini-product.has-product-photo::before {
  display: none;
}

.product-modal-media {
  min-width: 0;
  background: var(--pale);
}

.product-modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  background: var(--pale);
}

.product-modal-thumbs:empty {
  display: none;
}

.product-modal-thumb {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  background: white;
  overflow: hidden;
}

.product-modal-thumb.active {
  border-color: var(--ink);
}

.product-modal-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-editor {
  margin-top: 24px;
  border-top: 1px solid #edf0f7;
  padding-top: 24px;
}

.product-editor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.product-editor-fields label,
.product-photo-editor > div:first-child {
  display: grid;
  gap: 7px;
  color: #596789;
  font-size: 11px;
  font-weight: 700;
}

.product-editor-fields input,
.product-editor-fields textarea {
  width: 100%;
  border: 1px solid #dce2ef;
  background: #fff;
  color: var(--ink);
  padding: 11px;
  font-size: 12px;
  font-weight: 400;
}

.product-editor-fields textarea {
  resize: vertical;
  line-height: 1.5;
}

.product-description-field {
  grid-column: 1 / -1;
}

.product-photo-editor {
  margin-top: 24px;
  border-top: 1px solid #edf0f7;
  padding-top: 20px;
}

.product-photo-editor > div:first-child small {
  color: #6c7897;
  font-size: 10px;
  font-weight: 400;
}

.product-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.product-photo-slot {
  display: grid;
  gap: 7px;
}

.product-photo-preview {
  position: relative;
  min-height: 116px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--pale);
  background-size: cover;
  background-position: center;
  color: #64749b;
  font: 500 9px "DM Mono", monospace;
  text-transform: uppercase;
}

.product-photo-preview.has-product-photo span {
  align-self: end;
  justify-self: stretch;
  padding: 6px;
  background: rgba(7, 25, 93, .75);
  color: white;
  text-align: center;
}

.product-photo-slot > label {
  cursor: pointer;
  text-align: center;
}

.product-editor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.product-editor-actions .button {
  min-width: 160px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 15, 54, 0.52);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.product-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.product-modal-card {
  width: min(900px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
  transform: translateY(14px) scale(.98);
  transition: transform .25s ease;
}

.product-modal.open .product-modal-card {
  transform: none;
}

.product-modal-top,
.product-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.product-modal-top .close-button {
  padding: 0 4px;
}

.product-modal-kicker {
  color: #607099;
  font: 500 10px "DM Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-modal-body {
  display: grid;
  grid-template-columns: 48% 52%;
}

.product-modal-image {
  min-height: 490px;
  background: var(--pale);
}

.product-modal-image .quick-add {
  display: none;
}

.product-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.product-modal-copy h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -.06em;
  line-height: .95;
}

.product-modal-detail {
  margin: 18px 0 0;
  color: #596789;
  font-size: 13px;
}

.product-modal-description {
  max-width: 360px;
  margin: 26px 0 0;
  color: #4e5d82;
  line-height: 1.75;
}

.product-modal-purchase {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.product-modal-purchase strong {
  margin-bottom: 4px;
  font-size: 22px;
}

.product-modal-purchase .button {
  width: 100%;
}

.product-modal-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  gap: 16px;
}

.modal-nav,
.continue-shopping {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 5px 0;
  font-size: 12px;
}

.modal-nav {
  font-weight: 700;
}

.modal-nav span {
  margin: 0 7px;
}

.continue-shopping {
  border-bottom: 1px solid currentColor;
}

.product-modal-position {
  color: #697694;
  font: 500 10px "DM Mono", monospace;
}

@media (max-width: 900px) {
  .admin-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .admin-photo-grid {
    grid-template-columns: 1fr;
  }

  .product-modal {
    padding: 12px;
  }

  .product-modal-body {
    display: block;
  }

  .product-modal-media {
    display: block;
  }

  .product-modal-image {
    min-height: 270px;
    max-height: 42vh;
  }

  .product-modal-copy {
    padding: 28px 24px 32px;
  }

  .product-modal-copy h2 {
    font-size: 45px;
  }

  .product-modal-footer {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .product-modal-position {
    order: -1;
    width: 100%;
  }

  .product-editor-fields,
  .product-photo-grid {
    grid-template-columns: 1fr;
  }

  .product-description-field {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 100px;
  }

  .site-header {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand img {
    width: 104px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .site-header nav {
    display: none;
  }

  .site-header .text-button {
    display: inline-flex;
    padding: 6px 2px;
    font-size: 10px;
    white-space: nowrap;
  }

  .site-header .owner-entry {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    gap: 4px;
  }

  .bag-button {
    padding: 8px 10px;
  }

  /* Give the work gallery enough width on a phone to show the full photos.
     The desktop three-column collage becomes a vertical, 4:3 stack so
     landscape photos are not squeezed into tall slivers and over-cropped. */
  .journal-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 16px;
  }

  .journal-card,
  .journal-card.journal-a,
  .journal-card.journal-b,
  .journal-card.journal-c {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .journal-b {
    margin-top: 0;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .empty-catalog {
    padding: 48px 24px;
  }

  .admin-product {
    grid-template-columns: 43px 1fr auto;
  }

  .admin-product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-product-actions .edit-product {
    width: 100%;
  }

  .admin-photo-grid,
  .website-word-grid {
    grid-template-columns: 1fr;
  }

  .website-words-card fieldset {
    padding: 14px;
  }

  .website-words-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .website-words-actions .button,
  .website-words-actions .edit-product {
    width: 100%;
  }
}

/* Keep the approved Threadline layer last in the legacy stylesheet cascade. */
@media (min-width: 761px) {
  .hero { grid-template-columns: minmax(340px,.86fr) minmax(520px,1.14fr); }
}
.product-card { border-radius: 0; }
.product-card .product-image { border-radius: 0; box-shadow: none; }
.product-card:hover .product-image,.product-card-open:focus-visible .product-image { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(16,32,79,.13); }
.collection-proof { border-radius: 0; box-shadow: none; }
.product-modal { background: rgba(6,16,45,.68); }
.product-modal-card { width: min(1080px,100%); max-height: min(860px,94vh); background: var(--paper); }
.product-modal-body { grid-template-columns: 52% 48%; }
.product-modal-image { min-height: 640px; }
.product-modal-copy { justify-content: flex-start; padding: clamp(38px,5vw,72px); }
.product-modal-copy h2 { font-family: Manrope,sans-serif; font-weight: 760; }

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 14px; }
  .brand img { width: 112px; }
  .site-header nav {
    position: fixed;
    inset: 100px 0 auto;
    z-index: 11;
    min-height: calc(100dvh - 100px);
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 34px 24px 80px;
    background: var(--paper);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
  }
  .site-header nav.open { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .site-header nav > a:not(.figgy-nav-cta),.site-header nav .figgy-nav-cta { display: block; }
  footer > div { justify-self: start; align-items: flex-start; flex-direction: column; gap: 17px; white-space: normal; }
  .product-modal { align-items: end; padding: 0; }
  .product-modal-card { width: 100%; max-height: 94dvh; }
  .product-modal-body { display: block; }
  .product-modal-image { min-height: 360px; max-height: 48vh; }
  .product-modal-copy { padding: 34px 22px 42px; }
  .product-modal-copy h2 { font-size: clamp(42px,13vw,58px); }
  .product-modal-footer { display: grid; grid-template-columns: 1fr 1fr; }
  .product-modal-position { grid-column: 1/-1; }
}

/* Blue Thread Atelier — approved August 2026.
   The public experience follows the exact Figstitch logo palette and uses
   embroidery texture, authentic work, and quieter editorial proportions. */
:root,
body[data-site-theme="classic"],
body[data-site-theme="warm"],
body[data-site-theme="coastal"] {
  --ink: #0c1757;
  --powder: #bdd1f4;
  --pale: #f2f6fd;
  --paper: #ffffff;
  --warm: #e8f0fc;
  --black: #0c1757;
  --coral: #bdd1f4;
  --line: rgba(12, 23, 87, .15);
}

body {
  background: #ffffff;
  color: #0c1757;
}

.announcement {
  min-height: 31px;
  padding: 7px 18px;
  background: #0c1757;
  font-size: 9px;
  letter-spacing: .2em;
}

.site-header {
  height: 82px;
  padding: 0 clamp(22px, 5vw, 80px);
  border-bottom: 1px solid rgba(12, 23, 87, .12);
  background: rgba(255, 255, 255, .94);
}

.brand img {
  width: 158px;
  mix-blend-mode: normal;
}

.site-header nav {
  gap: clamp(22px, 2.5vw, 40px);
}

.site-header nav > a:not(.figgy-nav-cta) {
  color: #0c1757;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
}

.site-header nav > a:not(.figgy-nav-cta)::after {
  height: 2px;
  background: #bdd1f4;
}

.figgy-nav-cta,
.button-dark {
  border: 1px solid #0c1757;
  border-radius: 0;
  color: #ffffff;
  background: #0c1757;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.figgy-nav-cta:hover,
.button-dark:hover,
.button-dark:focus-visible {
  color: #0c1757;
  background: #bdd1f4;
  transform: translateY(-2px);
}

.bag-button:hover {
  background: rgba(189, 209, 244, .36);
}

.hero {
  width: min(1500px, 100%);
  min-height: min(720px, calc(100vh - 113px));
  grid-template-columns: minmax(360px, .88fr) minmax(540px, 1.12fr);
  gap: clamp(42px, 6vw, 104px);
  padding: clamp(68px, 7vw, 104px) clamp(28px, 5vw, 80px) clamp(62px, 6vw, 92px);
  background: #ffffff;
}

.hero-copy {
  max-width: 590px;
  align-self: center;
}

.hero .eyebrow {
  margin-bottom: 22px;
  color: rgba(12, 23, 87, .7);
}

.hero h1 {
  max-width: 620px;
  color: #0c1757;
  font: 500 clamp(56px, 5.3vw, 84px)/.96 "Playfair Display", Georgia, serif;
  letter-spacing: -.055em;
}

.hero h1 > span,
.hero h1 > em {
  display: block;
}

.hero h1 > em {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: #0c1757;
  font: italic 500 .91em/1.02 "Playfair Display", Georgia, serif;
  letter-spacing: -.045em;
}

.hero h1 > em::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -.06em;
  left: 1%;
  height: 5px;
  border-radius: 999px;
  background: #bdd1f4;
  transform: rotate(-1deg);
}

.hero h1 span + em::before,
.hero h1 em + span::before {
  content: none;
}

.hero-intro {
  max-width: 500px;
  margin: 30px 0 25px;
  color: rgba(12, 23, 87, .78);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
}

.hero-note {
  margin-top: 15px;
  color: rgba(12, 23, 87, .62);
}

.thread-mark {
  margin-top: 36px;
  color: rgba(12, 23, 87, .62);
}

.thread-mark i {
  border-bottom-color: #bdd1f4;
}

.atelier-hero-art {
  position: relative;
  min-height: 540px;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(12, 23, 87, .1);
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(12, 23, 87, .11);
}

.atelier-hero-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 15px;
  border: 1px solid rgba(189, 209, 244, .72);
  pointer-events: none;
}

.atelier-hero-art > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 540px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.atelier-divider {
  position: relative;
  height: 148px;
  padding: 0;
  overflow: hidden;
  color: #0c1757;
  background: #ffffff;
}

.atelier-divider > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 54%;
}

.atelier-divider > div {
  position: absolute;
  right: clamp(22px, 5vw, 80px);
  bottom: 13px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .9);
  font-size: 8px;
  letter-spacing: .15em;
}

.section {
  padding: clamp(76px, 8vw, 120px) clamp(24px, 5vw, 80px);
}

.section-heading {
  align-items: end;
  margin-bottom: 42px;
}

.section h2,
.feature-copy h2,
.figgy-builder-copy :is(h1, h2) {
  color: inherit;
  font: 500 clamp(44px, 5vw, 72px)/.98 "Playfair Display", Georgia, serif;
  letter-spacing: -.045em;
}

.section h2 em,
.feature-copy h2 em,
.figgy-builder-copy :is(h1, h2) em {
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

.section-heading > p {
  color: rgba(12, 23, 87, .7);
}

.collection {
  background: #ffffff;
}

.collection-proof {
  min-height: 220px;
  grid-template-columns: 1.12fr repeat(3, .78fr);
  margin: 0 0 46px;
  border: 1px solid rgba(12, 23, 87, .12);
  background: #f2f6fd;
}

.collection-proof-copy {
  color: #0c1757;
  background: #bdd1f4;
}

.collection-proof-copy .eyebrow,
.collection-proof-copy span {
  color: rgba(12, 23, 87, .72);
}

.collection-proof-copy strong {
  color: #0c1757;
  font: 500 25px/1.15 "Playfair Display", Georgia, serif;
}

.collection-proof img {
  border-left-color: rgba(12, 23, 87, .12);
}

.product-grid {
  gap: clamp(22px, 2.4vw, 38px);
}

.product-card .product-image {
  height: clamp(330px, 36vw, 540px);
  border: 1px solid rgba(12, 23, 87, .1);
  background: #f2f6fd;
}

.product-card:hover .product-image,
.product-card-open:focus-visible .product-image {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(12, 23, 87, .12);
}

.product-card-badge {
  color: #0c1757;
  background: rgba(255, 255, 255, .94);
}

.product-meta small {
  color: rgba(12, 23, 87, .62);
}

.empty-catalog {
  min-height: 300px;
  padding: clamp(46px, 6vw, 76px);
  border: 1px solid rgba(12, 23, 87, .12);
  background: #f2f6fd;
}

.empty-catalog h3 {
  max-width: 620px;
  color: #0c1757;
  font: 500 clamp(34px, 4vw, 58px)/1 "Playfair Display", Georgia, serif;
}

.feature-banner {
  min-height: 610px;
  grid-template-columns: 52% 48%;
  color: #0c1757;
  background: #bdd1f4;
}

.feature-image {
  min-height: 610px;
  background: #f2f6fd;
}

.feature-copy {
  padding: clamp(58px, 7vw, 105px);
}

.feature-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 25px 0;
  color: rgba(12, 23, 87, .76);
  line-height: 1.75;
}

.stitch-line {
  width: 46%;
  height: 45px;
  border-bottom-color: #bdd1f4;
}

.journal {
  background: #f2f6fd;
}

.journal-grid {
  height: 430px;
  gap: 16px;
}

.journal-b {
  margin-top: 34px;
}

.figgy-builder-section {
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(68px, 8vw, 112px) clamp(24px, 5vw, 80px);
}

.figgy-builder-body {
  font-size: clamp(15px, 1.35vw, 18px);
}

.figgy-builder-items {
  gap: 14px;
}

.figgy-builder-items article {
  min-height: 128px;
  padding: 22px;
  border-radius: 0;
}

.figgy-builder-items article span {
  color: #bdd1f4;
}

.figgy-builder-items article p {
  margin-top: 22px;
  font: 650 17px/1.4 Manrope, sans-serif;
}

.figgy-builder-process {
  min-height: auto;
  color: #ffffff;
  background: #0c1757 !important;
}

.figgy-builder-process .figgy-builder-body {
  color: rgba(255, 255, 255, .78);
}

.figgy-builder-process .figgy-builder-copy :is(h1, h2) em,
.figgy-builder-process .figgy-builder-items article span {
  color: #bdd1f4;
}

.figgy-builder-process .figgy-builder-items article {
  border-color: rgba(189, 209, 244, .32);
  background: rgba(255, 255, 255, .04);
}

.figgy-builder-process .button {
  color: #0c1757;
  background: #bdd1f4;
}

.figgy-builder-faq {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.figgy-builder-faq details {
  border-color: rgba(12, 23, 87, .13);
  border-radius: 0;
  background: #ffffff;
}

footer {
  grid-template-columns: 1fr auto;
  padding: 54px clamp(24px, 5vw, 80px) 25px;
  border-top: 1px solid rgba(12, 23, 87, .14);
  color: #0c1757;
  background: #ffffff;
}

.footer-logo,
.footer-logo img {
  width: 158px;
  display: block;
}

.footer-logo img {
  height: auto;
}

footer a,
footer button {
  color: #0c1757;
}

footer p {
  color: rgba(12, 23, 87, .62);
}

.footer-wordmark {
  display: none;
}

.product-modal {
  background: rgba(12, 23, 87, .72);
}

.product-modal-card,
.product-facts > div {
  background: #ffffff;
}

.product-modal-image {
  background: #f2f6fd;
}

.personalization-note {
  border-left-color: #bdd1f4;
  background: #f2f6fd;
}

@media (min-width: 761px) {
  .hero {
    grid-template-columns: minmax(360px, .88fr) minmax(540px, 1.12fr);
  }
}

@media (max-width: 980px) and (min-width: 761px) {
  .hero {
    grid-template-columns: minmax(310px, .9fr) minmax(430px, 1.1fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 72px);
  }
}

@media (max-width: 760px) {
  .announcement {
    font-size: 7px;
  }

  .site-header {
    height: 69px;
    padding: 0 16px;
  }

  .brand img {
    width: 118px;
  }

  .site-header nav {
    inset: 100px 0 auto;
    min-height: calc(100dvh - 100px);
    padding: 28px 22px 70px;
    background: #ffffff;
  }

  .site-header nav > a:not(.figgy-nav-cta),
  .site-header nav .figgy-nav-cta {
    font-size: clamp(24px, 7vw, 32px);
  }

  .hero {
    gap: 38px;
    padding: 58px 18px 48px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  .hero h1 {
    font-size: clamp(52px, 15.6vw, 70px);
  }

  .hero-intro {
    margin-top: 25px;
    font-size: 15px;
  }

  .thread-mark {
    margin-top: 28px;
  }

  .atelier-hero-art {
    width: 100%;
    height: 310px;
    min-height: 310px;
    margin: 0;
  }

  .atelier-hero-art > img {
    min-height: 310px;
    object-position: left center;
  }

  .atelier-hero-art::before {
    inset: 10px;
  }

  .atelier-divider {
    height: 108px;
  }

  .atelier-divider > img {
    object-position: center 55%;
  }

  .atelier-divider > div {
    right: 12px;
    bottom: 7px;
    max-width: calc(100% - 24px);
    font-size: 6px;
    text-align: right;
  }

  .section {
    padding: 68px 18px;
  }

  .section h2,
  .feature-copy h2,
  .figgy-builder-copy :is(h1, h2) {
    font-size: clamp(40px, 12vw, 54px);
  }

  .collection-proof {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 34px;
  }

  .collection-proof-copy {
    grid-column: 1 / -1;
  }

  .collection-proof img {
    min-height: 155px;
  }

  .product-grid {
    gap: 36px;
  }

  .product-card .product-image {
    height: min(112vw, 500px);
  }

  .feature-image {
    min-height: 420px;
  }

  .feature-copy {
    padding: 64px 22px;
  }

  .journal-grid {
    height: auto;
  }

  .journal-b {
    margin-top: 0;
  }

  .figgy-builder-section {
    padding: 64px 18px;
  }

  .figgy-builder-faq {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 46px 20px 24px;
  }

  .footer-logo,
  .footer-logo img {
    width: 142px;
  }
}

/* Premium atelier imagery — editable through the Website photos panel. */
.workshop-photo {
  object-fit: cover;
  object-position: center top;
}

.feature-image.has-photo {
  background: #0c1757;
}

.figgy-builder-process[data-figgy-layout="grid"] {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  column-gap: clamp(38px, 5vw, 76px);
  align-items: center;
  padding-top: clamp(78px, 7vw, 104px);
  padding-bottom: clamp(78px, 7vw, 104px);
  overflow: hidden;
}

/* Keep this signature section in proportion with the rest of the storefront,
   even when the Website Designer's large-heading setting is selected. */
.figgy-builder-process[data-figgy-heading="large"] .figgy-builder-copy :is(h1, h2) {
  max-width: 620px;
  font-size: clamp(52px, 4.7vw, 68px);
}

.figgy-builder-process .figgy-builder-copy {
  grid-column: 1;
}

.figgy-builder-process .figgy-builder-media {
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 560px);
  height: clamp(520px, 42vw, 620px);
  min-height: 0;
  justify-self: end;
  border: 1px solid rgba(189, 209, 244, .34);
  border-radius: 0;
  box-shadow: 18px 18px 0 rgba(189, 209, 244, .12);
}

.figgy-builder-process .figgy-builder-media img {
  min-height: 0;
  object-fit: cover;
}

/* The custom-process photograph is portrait-oriented. Preserve the full towel
   composition so none of the finished monograms are cropped out of the frame. */
.figgy-builder-process .figgy-builder-atelier-media {
  display: grid;
  place-items: center;
  background: #faf5ed;
}

.figgy-builder-process .figgy-builder-atelier-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.figgy-builder-process .figgy-builder-items {
  grid-column: 1 / -1;
  gap: 12px;
  margin-top: clamp(22px, 2.5vw, 36px);
}

.figgy-builder-process .figgy-builder-items article {
  min-height: 108px;
  padding: 20px 22px;
}

.figgy-builder-process .figgy-builder-items article p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .feature-banner {
    grid-template-columns: 1fr;
  }

  .feature-image,
  .feature-image.has-photo {
    min-height: 390px;
  }

  .workshop-photo {
    object-position: center top;
  }

  .figgy-builder-process[data-figgy-layout="grid"] {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 58px 18px;
  }

  .figgy-builder-process[data-figgy-heading="large"] .figgy-builder-copy :is(h1, h2) {
    max-width: 340px;
    font-size: clamp(40px, 11vw, 44px);
  }

  .figgy-builder-process .figgy-builder-copy,
  .figgy-builder-process .figgy-builder-media,
  .figgy-builder-process .figgy-builder-items {
    grid-column: 1;
  }

  .figgy-builder-process .figgy-builder-media {
    grid-row: auto;
    width: 100%;
    height: min(96vw, 390px);
    min-height: 0;
    justify-self: stretch;
    box-shadow: 12px 12px 0 rgba(189, 209, 244, .12);
  }

  .figgy-builder-process .figgy-builder-media img {
    min-height: 0;
  }

  .figgy-builder-process .figgy-builder-atelier-media img {
    min-height: 0;
  }

  .figgy-builder-process .figgy-builder-items {
    gap: 10px;
    margin-top: 2px;
  }

  .figgy-builder-process .figgy-builder-items article {
    min-height: 100px;
    padding: 18px 18px 18px 48px;
  }

  .figgy-builder-process .figgy-builder-items article p {
    margin-top: 15px;
    font-size: 15px;
  }
}

/* The Figstitch Threadline — one continuous, responsive stitch through the page. */
body {
  position: relative;
}

.thread-journey {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: visible;
  z-index: 6;
  pointer-events: none;
}

body[data-thread-journey="quiet"] .thread-journey {
  opacity: .48;
}

body[data-thread-journey="off"] .thread-journey {
  display: none;
}

.thread-journey-line,
.thread-journey-shadow,
.thread-journey-heart-shadow,
.thread-journey-heart-thread,
.thread-journey-heart-highlight {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  vector-effect: non-scaling-stroke;
}

.thread-journey-line,
.thread-journey-shadow {
  stroke-dashoffset: var(--thread-progress, 1);
}

.thread-journey-shadow {
  stroke: rgba(255, 255, 255, .82);
  stroke-width: 5;
}

.thread-journey-line {
  stroke: #8eafe5;
  stroke-width: 2.2;
}

/* A dimensional first segment makes the animated half-heart feel like the
   photographed thread while the lighter page-long line stays unobtrusive. */
.thread-journey-heart-shadow,
.thread-journey-heart-thread,
.thread-journey-heart-highlight {
  stroke-dashoffset: var(--thread-heart-progress, 1);
}

.thread-journey-heart-shadow {
  stroke: rgba(255, 255, 255, .9);
  stroke-width: 6.4;
}

.thread-journey-heart-thread {
  stroke: #8eafe5;
  stroke-width: 3.5;
}

.thread-journey-heart-highlight {
  stroke: rgba(221, 234, 253, .92);
  stroke-width: .8;
  transform: translate(-.45px, -.35px);
}

.thread-journey-needle {
  opacity: 0;
  fill: none;
  stroke: #0c1757;
  stroke-width: 1.4;
  stroke-linecap: round;
  transform-origin: 0 0;
  transition: opacity .25s ease;
}

.thread-journey.is-ready:is(.is-moving, .is-complete) .thread-journey-needle {
  opacity: .9;
}

.collection-proof,
.empty-catalog,
.feature-image,
.journal-card,
.figgy-builder-process {
  position: relative;
}

.collection-proof::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(12, 23, 87, .24);
  pointer-events: none;
}

.empty-catalog {
  overflow: hidden;
}

.empty-catalog::before {
  content: "F";
  position: absolute;
  top: 26px;
  right: 30px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px dashed rgba(12, 23, 87, .42);
  border-radius: 50%;
  color: #0c1757;
  font: 500 19px "Playfair Display", Georgia, serif;
}

.empty-catalog::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 35px;
  width: 180px;
  height: 54px;
  border-top: 2px dashed #8eafe5;
  border-radius: 50%;
  transform: rotate(-9deg);
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 255, 255, .68);
  pointer-events: none;
  z-index: 2;
}

.atelier-proof-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 460px;
  margin: 0 0 28px;
}

.atelier-proof-notes span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(12, 23, 87, .18);
  color: #0c1757;
  background: rgba(255, 255, 255, .28);
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.thread-swatch {
  width: 17px;
  height: 5px;
  border-radius: 5px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12);
}

.thread-swatch-navy { background: #0c1757; }
.thread-swatch-blue { background: #8eafe5; }
.thread-swatch-white { background: #ffffff; }

.figgy-builder-process::before {
  content: "F";
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: -48px;
  color: transparent;
  opacity: .13;
  font: italic 500 clamp(180px, 25vw, 390px)/1 "Playfair Display", Georgia, serif;
  -webkit-text-stroke: 1px #bdd1f4;
  pointer-events: none;
}

.figgy-builder-process .figgy-builder-items {
  position: relative;
}

.figgy-builder-process .figgy-builder-items::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  border-top: 2px dashed rgba(189, 209, 244, .72);
}

.figgy-builder-process .figgy-builder-items article {
  position: relative;
  z-index: 1;
}

.figgy-builder-process .figgy-builder-items article::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 20px;
  width: 8px;
  height: 8px;
  border: 2px solid #bdd1f4;
  border-radius: 50%;
  background: #0c1757;
  box-shadow: 0 0 0 4px rgba(189, 209, 244, .1);
}

.journal-card::after {
  content: attr(data-stitch-note);
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 7px 9px 6px;
  border-left: 2px dashed #8eafe5;
  color: #0c1757;
  background: rgba(255, 255, 255, .9);
  font: 500 8px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.journal-card {
  outline: 1px solid rgba(12, 23, 87, .1);
  outline-offset: 6px;
}

footer .footer-thread-end {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.footer-thread-end svg {
  width: 92px;
  height: 30px;
  overflow: visible;
}

.footer-loose-thread {
  fill: none;
  stroke: #8eafe5;
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}

.footer-needle-target {
  fill: transparent;
  stroke: transparent;
}

.footer-thread-end span {
  color: rgba(12, 23, 87, .62);
  font: 500 8px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .thread-journey {
    overflow: hidden;
  }

  .thread-journey-shadow { stroke-width: 4; }
  .thread-journey-line { stroke-width: 1.7; }
  .thread-journey-heart-shadow { stroke-width: 5.2; }
  .thread-journey-heart-thread { stroke-width: 2.9; }
  .thread-journey-heart-highlight { stroke-width: .65; }

  .collection-proof::after,
  .feature-image::after {
    inset: 8px;
  }

  .empty-catalog::before {
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .empty-catalog::after {
    right: -70px;
    bottom: 22px;
  }

  .atelier-proof-notes {
    margin-bottom: 25px;
  }

  .atelier-proof-notes span {
    padding: 7px 8px;
    font-size: 8px;
  }

  .figgy-builder-process .figgy-builder-items::before {
    top: 5%;
    bottom: 5%;
    left: 25px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed rgba(189, 209, 244, .62);
  }

  .figgy-builder-process .figgy-builder-items article {
    padding-left: 52px;
  }

  .figgy-builder-process .figgy-builder-items article::before {
    top: 25px;
    right: auto;
    left: 20px;
  }

  .journal-card::after {
    right: 8px;
    bottom: 8px;
    font-size: 7px;
  }

  footer {
    min-height: 0;
    gap: 26px;
    padding: 34px 20px 22px;
  }

  footer > div {
    gap: 13px;
  }

  footer .footer-thread-end {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 0;
  }

  .footer-thread-end svg {
    width: 76px;
    flex: 0 0 76px;
  }

  footer p {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thread-journey-line,
  .thread-journey-shadow,
  .thread-journey-heart-shadow,
  .thread-journey-heart-thread,
  .thread-journey-heart-highlight {
    stroke-dashoffset: 0;
  }

  .thread-journey-needle {
    display: none;
  }
}

/* Let the embroidered wordmark sit directly on the page, with the real needle piercing it. */
.atelier-hero-art {
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.atelier-hero-art::before {
  display: none;
}

.atelier-hero-art > img {
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 760px) {
  .atelier-hero-art {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .atelier-hero-art > img {
    min-height: 0;
    object-position: center;
  }
}

/* Three Stitches — compact, tactile process cards with owner-editable emblems. */
.figgy-builder-process .figgy-builder-items article.figgy-process-step {
  min-height: 148px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  padding: 38px 18px 16px;
  border-color: rgba(189, 209, 244, .42);
  background: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(189, 209, 244, .025));
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.figgy-process-step .figgy-process-emblem {
  width: 84px;
  height: 84px;
  min-height: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 9px 10px rgba(4, 12, 54, .24));
  transition: transform .25s ease, filter .25s ease;
}

.figgy-process-step .figgy-builder-item-copy {
  min-width: 0;
}

.figgy-builder-process .figgy-process-step .figgy-builder-item-copy span {
  position: absolute;
  top: 15px;
  left: 18px;
  z-index: 2;
  padding: 4px 7px 3px;
  border: 1px solid rgba(189, 209, 244, .5);
  color: #0c1757;
  background: #faf5ed;
  box-shadow: 3px 3px 0 rgba(189, 209, 244, .16);
  font-size: 8px;
}

.figgy-builder-process .figgy-process-step .figgy-builder-item-copy p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.35;
}

@media (hover: hover) and (pointer: fine) {
  .figgy-builder-process .figgy-builder-items article.figgy-process-step:hover {
    transform: translateY(-3px);
    border-color: rgba(189, 209, 244, .72);
    background: rgba(255, 255, 255, .09);
  }

  .figgy-process-step:hover .figgy-process-emblem {
    transform: scale(1.035) rotate(-1deg);
    filter: drop-shadow(0 12px 13px rgba(4, 12, 54, .3));
  }
}

@media (max-width: 760px) {
  .figgy-builder-process .figgy-builder-items article.figgy-process-step {
    min-height: 116px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 13px;
    padding: 34px 14px 12px 48px;
  }

  .figgy-process-step .figgy-process-emblem {
    width: 64px;
    height: 64px;
  }

  .figgy-builder-process .figgy-process-step .figgy-builder-item-copy span {
    top: 12px;
    left: 49px;
  }

  .figgy-builder-process .figgy-process-step .figgy-builder-item-copy p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .figgy-builder-process .figgy-builder-items article.figgy-process-step,
  .figgy-process-step .figgy-process-emblem {
    transition: none;
  }
}

/* Custom request consultation — Blue Thread Atelier */
body.custom-request-open { overflow: hidden; }

.custom-request-dialog {
  width: min(890px, calc(100vw - 36px));
  max-width: none;
  height: min(900px, calc(100dvh - 36px));
  max-height: none;
  padding: 0;
  border: 1px solid rgba(12, 23, 87, .28);
  border-radius: 0;
  color: #0c1757;
  background: #fff;
  box-shadow: 0 36px 110px rgba(5, 14, 54, .34);
  overflow: hidden;
}

body.studio-login-open { overflow: hidden; }

.studio-login-dialog {
  width: min(930px, calc(100vw - 36px));
  max-width: none;
  padding: 0;
  border: 1px solid rgba(12, 23, 87, .28);
  border-radius: 0;
  color: #0c1757;
  background: #fff;
  box-shadow: 0 36px 110px rgba(5, 14, 54, .38);
  overflow: hidden;
}

.studio-login-dialog::backdrop {
  background: rgba(7, 19, 78, .76);
  backdrop-filter: blur(4px);
}

.studio-login-dialog[open] { animation: studio-login-in .24s ease-out; }

@keyframes studio-login-in {
  from { opacity: 0; transform: translateY(14px) scale(.99); }
  to { opacity: 1; transform: none; }
}

.studio-login-card {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
}

.studio-login-visual {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 45px 43px 52px;
  color: #fff;
  background: #0c1757;
  overflow: hidden;
}

.studio-login-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image: radial-gradient(circle at 1px 1px, #bdd1f4 1px, transparent 1.2px);
  background-size: 15px 15px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.studio-login-visual > * { position: relative; z-index: 1; }
.studio-login-brand { display: flex; align-items: center; gap: 11px; }
.studio-login-brand img { width: 46px; height: 46px; }
.studio-login-brand span { display: grid; color: #fff; font-size: 21px; font-weight: 750; letter-spacing: -.04em; }
.studio-login-brand small { margin-top: 1px; color: #bdd1f4; font: 500 8px/1 "DM Mono", monospace; letter-spacing: .22em; }
.studio-login-visual > div:nth-of-type(2) { margin-top: auto; }
.studio-login-visual p { margin: 0 0 15px; font: 500 9px/1.3 "DM Mono", monospace; letter-spacing: .19em; }
.studio-login-visual strong { font: 600 clamp(38px, 4vw, 55px)/1 "Playfair Display", serif; letter-spacing: -.04em; }
.studio-login-visual strong em { color: #bdd1f4; }
.studio-login-stitch { width: 92px; display: flex; align-items: center; margin-top: 20px; }
.studio-login-stitch span { width: 76px; border-top: 2px dashed #bdd1f4; }
.studio-login-stitch i { width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; }
.studio-login-visual svg { position: absolute; right: -38px; bottom: -13px; width: 310px; opacity: .52; }
.studio-login-visual svg path { fill: none; stroke: #bdd1f4; stroke-width: 2; }
.studio-login-visual svg path + path { stroke: #fff; stroke-width: .8; }

.studio-login-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px clamp(42px, 6vw, 72px) 48px;
  background: linear-gradient(145deg, #fff 52%, #f4f7fd);
}

.studio-login-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  color: #0c1757;
  background: transparent;
  font: 300 30px/1 Manrope, sans-serif;
  cursor: pointer;
}
.studio-login-close:hover,
.studio-login-close:focus-visible { border-color: #0c1757; background: #f2f6fd; }
.studio-login-kicker { margin: 0 0 17px; font: 500 10px/1.2 "DM Mono", monospace; letter-spacing: .18em; }
.studio-login-copy h2 { margin: 0; font: 600 clamp(43px, 5vw, 62px)/.98 "Playfair Display", serif; letter-spacing: -.045em; }
.studio-login-copy h2 em { color: #759add; }
.studio-login-copy > p:nth-of-type(2) { margin: 24px 0 25px; color: #586789; font-size: 13px; line-height: 1.72; }
.studio-login-assurance { display: grid; grid-template-columns: 35px 1fr; align-items: start; gap: 12px; margin-bottom: 27px; padding: 15px 16px; border: 1px solid rgba(12, 23, 87, .14); background: rgba(189, 209, 244, .2); }
.studio-login-assurance > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #0c1757; font-size: 13px; }
.studio-login-assurance p { display: grid; gap: 3px; margin: 0; }
.studio-login-assurance strong { font-size: 11px; }
.studio-login-assurance small { color: #657291; font-size: 10px; line-height: 1.5; }
.studio-login-continue { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; color: #fff; background: #0c1757; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.studio-login-continue:hover { background: #152875; transform: translateY(-1px); }
.studio-login-continue:focus-visible { outline: 3px solid #bdd1f4; outline-offset: 3px; }
.studio-login-cancel { align-self: center; min-height: 42px; margin-top: 9px; padding: 6px 2px; border: 0; border-bottom: 1px solid currentColor; color: #596789; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.studio-login-security { margin: 21px 0 0 !important; color: #7a849c !important; font: 500 8.5px/1.55 "DM Mono", monospace !important; text-align: center; letter-spacing: .015em; }

@media (max-width: 720px) {
  .studio-login-dialog { width: 100vw; height: 100dvh; margin: 0; border: 0; }
  .studio-login-card { min-height: 100%; grid-template-columns: 1fr; grid-template-rows: minmax(205px, 30dvh) minmax(0, 1fr); }
  .studio-login-visual { min-height: 0; padding: max(25px, env(safe-area-inset-top)) 27px 28px; }
  .studio-login-brand img { width: 42px; height: 42px; }
  .studio-login-visual > div:nth-of-type(3) { display: none; }
  .studio-login-stitch { margin-top: auto; }
  .studio-login-visual svg { width: 250px; }
  .studio-login-copy { justify-content: flex-start; padding: 43px 24px max(28px, env(safe-area-inset-bottom)); overflow-y: auto; }
  .studio-login-close { top: 8px; right: 10px; }
  .studio-login-copy h2 { font-size: clamp(43px, 13vw, 58px); }
  .studio-login-copy > p:nth-of-type(2) { margin: 20px 0; font-size: 13px; }
  .studio-login-assurance { margin-bottom: 21px; }
}

.custom-request-dialog::backdrop {
  background: rgba(12, 23, 87, .74);
  backdrop-filter: blur(3px);
}

.custom-request-dialog[open] {
  animation: custom-request-in .22s ease-out;
}

@keyframes custom-request-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.custom-request-card,
#customRequestForm {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

#customRequestForm { grid-row: 2; }
#customRequestForm[hidden] { display: none; }

.custom-request-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px clamp(20px, 4vw, 38px);
  border-bottom: 1px solid rgba(12, 23, 87, .13);
  background: rgba(255, 255, 255, .98);
}

.custom-request-kicker {
  margin: 0;
  color: #0c1757;
  font: 500 10px/1.2 "DM Mono", monospace;
  letter-spacing: .17em;
}

.custom-request-thread {
  width: 68px;
  display: block;
  margin-top: 8px;
  border-bottom: 2px dashed #bdd1f4;
}

.custom-request-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  color: #0c1757;
  background: transparent;
  font: 300 31px/1 Manrope, sans-serif;
  cursor: pointer;
}

.custom-request-close:hover,
.custom-request-close:focus-visible {
  border-color: #0c1757;
  background: #f2f6fd;
}

.custom-request-scroll {
  min-height: 0;
  padding: clamp(30px, 5vw, 54px) clamp(22px, 6vw, 64px) 42px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.custom-request-intro h2,
.custom-confirmation h2,
.custom-discard h2 {
  max-width: 700px;
  margin: 0;
  color: #0c1757;
  font: 600 clamp(40px, 6vw, 66px)/.98 "Playfair Display", serif;
  letter-spacing: -.045em;
}

.custom-request-intro h2 em,
.custom-confirmation h2 em {
  color: #6b86c4;
  font-weight: 500;
}

.custom-request-intro > p:not(.custom-request-assurance) {
  max-width: 700px;
  margin: 22px 0 0;
  color: #536188;
  font-size: 15px;
  line-height: 1.75;
}

.custom-request-assurance {
  max-width: 700px;
  display: flex;
  gap: 10px;
  margin: 20px 0 0;
  padding: 13px 16px;
  border-left: 3px solid #bdd1f4;
  color: #0c1757;
  background: #f2f6fd;
  font-size: 12px;
  line-height: 1.55;
}

.custom-product-context {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(12, 23, 87, .15);
  background: #fff;
}

.custom-product-context > span {
  grid-row: 1 / 3;
  align-self: center;
  color: #6b86c4;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.custom-product-context strong { font-size: 13px; }
.custom-product-context small { color: #657291; font-size: 10px; }

.custom-error-summary {
  margin: 26px 0 0;
  padding: 17px 19px;
  border: 1px solid #b84a61;
  border-left-width: 4px;
  background: #fff8fa;
}

.custom-error-summary strong { font: 600 18px "Playfair Display", serif; }
.custom-error-summary ul { margin: 9px 0 0; padding-left: 19px; }
.custom-error-summary li { margin: 4px 0; color: #87384a; font-size: 11px; }
.custom-error-summary a { color: inherit; }

.custom-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 22px;
  margin-top: 34px;
}

.custom-wide { grid-column: 1 / -1; }

.custom-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  color: #0c1757;
  font-size: 11px;
  font-weight: 750;
}

.custom-field > span:first-child,
.custom-choice-group legend,
.custom-photo-heading strong {
  font-size: 11px;
  font-weight: 750;
}

.custom-field b,
.custom-choice-group b { color: #7a3760; }

.custom-field i,
.custom-choice-group i,
.custom-photo-heading i {
  color: #6d7894;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.custom-field input,
.custom-field select,
.custom-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(12, 23, 87, .24);
  border-radius: 0;
  color: #0c1757;
  background: #fff;
  font: 500 14px/1.5 Manrope, sans-serif;
  outline: none;
}

.custom-field textarea { min-height: 142px; resize: vertical; }
.custom-field input::placeholder,
.custom-field textarea::placeholder { color: #7c87a1; opacity: 1; }

.custom-field input:focus,
.custom-field select:focus,
.custom-field textarea:focus {
  border-color: #0c1757;
  box-shadow: 0 0 0 3px rgba(189, 209, 244, .68);
}

.custom-field [aria-invalid="true"],
.custom-choice-group[aria-invalid="true"],
.custom-photo-field[aria-invalid="true"] { border-color: #a83c53; }

.custom-field > small:not(.field-error),
.custom-photo-heading small,
.field-helper-row small {
  color: #697591;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.field-helper-row { display: flex; justify-content: space-between; gap: 16px; }
.field-error { min-height: 0; color: #96384d; font-size: 10px; font-weight: 700; line-height: 1.4; }
.field-error:empty { display: none; }

.custom-choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.custom-choice-group legend { margin-bottom: 10px; }
.custom-choice-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.custom-choice-row label,
.custom-stack-choices label { position: relative; cursor: pointer; }
.custom-choice-row input,
.custom-stack-choices input { position: absolute; opacity: 0; pointer-events: none; }
.custom-choice-row span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(12, 23, 87, .2);
  color: #0c1757;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.custom-choice-row input:checked + span,
.custom-stack-choices input:checked + span {
  border-color: #0c1757;
  background: #f2f6fd;
  box-shadow: inset 0 -3px #bdd1f4;
}

.custom-choice-row input:focus-visible + span,
.custom-stack-choices input:focus-visible + span,
.custom-consent input:focus-visible {
  outline: 3px solid rgba(189, 209, 244, .85);
  outline-offset: 2px;
}

.custom-stack-choices { display: grid; gap: 8px; }
.custom-stack-choices span {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 12px 8px 34px;
  border: 1px solid rgba(12, 23, 87, .18);
  background: #fff;
  font-size: 10px;
  font-weight: 650;
}

.custom-stack-choices span::before {
  content: '';
  width: 11px;
  height: 11px;
  position: absolute;
  left: 13px;
  border: 1px solid #8390ae;
  border-radius: 50%;
}

.custom-stack-choices input:checked + span::before { border: 4px solid #0c1757; }

.custom-photo-field {
  padding: 18px;
  border: 1px dashed rgba(12, 23, 87, .3);
  background: #f8faff;
}

.custom-photo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.custom-photo-heading > div { display: grid; gap: 6px; }
.custom-photo-button {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid #0c1757;
  color: #0c1757;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.custom-photo-button:hover { background: #bdd1f4; }
.custom-photo-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-photo-button:focus-within { outline: 3px solid rgba(189, 209, 244, .85); outline-offset: 2px; }

.custom-photo-list { display: grid; gap: 8px; margin-top: 13px; }
.custom-photo-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(12, 23, 87, .12);
  background: #fff;
}
.custom-photo-item img { width: 48px; height: 48px; object-fit: cover; background: #eaf0fa; }
.custom-photo-item span { min-width: 0; display: grid; gap: 3px; }
.custom-photo-item strong { overflow: hidden; text-overflow: ellipsis; font-size: 10px; white-space: nowrap; }
.custom-photo-item small { color: #6d7894; font-size: 9px; }
.custom-photo-item button { min-width: 44px; min-height: 44px; border: 0; color: #81384a; background: transparent; font-size: 10px; font-weight: 750; cursor: pointer; }

.custom-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  color: #0c1757;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}
.custom-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #0c1757; }
.custom-privacy { padding-top: 2px; border-top: 1px solid rgba(12, 23, 87, .12); }
.custom-privacy summary { width: max-content; padding: 12px 0 2px; color: #0c1757; font-size: 10px; font-weight: 750; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.custom-privacy p { max-width: 720px; margin: 10px 0 0; color: #657291; font-size: 10px; line-height: 1.65; }
.custom-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.custom-turnstile:empty { display: none; }

.custom-request-foot {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 38px);
  border-top: 1px solid rgba(12, 23, 87, .13);
  background: rgba(255, 255, 255, .98);
}

.custom-cancel {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: #0c1757;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.custom-submit { min-width: 190px; min-height: 48px; }
.custom-submit:disabled { cursor: wait; opacity: .64; transform: none; }
.custom-submit-status { justify-self: end; color: #596789; font-size: 10px; }

.custom-confirmation {
  grid-row: 2;
  place-self: stretch;
  display: grid;
  place-items: center;
  align-content: center;
  padding: clamp(34px, 8vw, 86px);
  text-align: center;
  overflow-y: auto;
}
.custom-confirmation[hidden] { display: none; }
.custom-confirmation-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px dashed #7d9bd3;
  border-radius: 50%;
  color: #0c1757;
  background: #f2f6fd;
  font: italic 600 32px "Playfair Display", serif;
}
.custom-confirmation h2 { max-width: 600px; margin-top: 12px; }
.custom-confirmation > p:not(.custom-request-kicker) { max-width: 580px; margin: 18px 0 0; color: #596789; font-size: 13px; line-height: 1.7; }
.custom-reference { margin: 25px 0; padding: 9px 13px; border: 1px solid rgba(12, 23, 87, .18); font: 500 10px "DM Mono", monospace; letter-spacing: .08em; }
.custom-confirmation > div:last-child { display: flex; align-items: center; gap: 22px; }

.custom-discard {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(12, 23, 87, .78);
}
.custom-discard[hidden] { display: none; }
.custom-discard > div { width: min(470px, 100%); padding: clamp(28px, 6vw, 50px); border: 1px solid #bdd1f4; background: #fff; box-shadow: 0 30px 80px rgba(5, 14, 54, .34); }
.custom-discard h2 { margin-top: 12px; font-size: clamp(34px, 5vw, 48px); }
.custom-discard p:not(.custom-request-kicker) { margin: 16px 0 24px; color: #596789; font-size: 13px; }
.custom-discard > div > div { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }

@media (max-width: 760px) {
  .custom-request-dialog {
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border: 0;
  }
  .custom-request-head { min-height: 62px; padding: max(10px, env(safe-area-inset-top)) 16px 9px; }
  .custom-request-scroll { padding: 28px 18px 34px; scrollbar-gutter: auto; }
  .custom-request-intro h2 { font-size: clamp(40px, 13vw, 56px); }
  .custom-request-intro > p:not(.custom-request-assurance) { font-size: 14px; }
  .custom-request-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 28px; }
  .custom-wide { grid-column: auto; }
  .custom-field input,
  .custom-field select,
  .custom-field textarea { font-size: 16px; }
  .custom-choice-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-choice-row label:last-child { grid-column: 1 / -1; }
  .custom-photo-heading { align-items: stretch; flex-direction: column; }
  .custom-photo-button { justify-content: center; }
  .custom-request-foot {
    min-height: 76px;
    grid-template-columns: auto 1fr;
    padding: 11px 16px max(11px, env(safe-area-inset-bottom));
  }
  .custom-submit { min-width: 0; width: 100%; }
  .custom-submit-status { display: none; }
  .custom-confirmation { padding: 35px 22px max(35px, env(safe-area-inset-bottom)); }
  .custom-confirmation h2 { font-size: clamp(40px, 13vw, 56px); }
  .custom-confirmation > div:last-child { width: 100%; align-items: stretch; flex-direction: column; gap: 10px; }
  .custom-confirmation .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .custom-request-dialog[open] { animation: none; }
}
