@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}

body.ep-snapshot-body {
  --font-geist-sans: "Geist";
  --font-display: "Cormorant Garamond";
  margin: 0;
  background: #f5f1e8;
}

body.ep-snapshot-body #embroider-pro-snapshot {
  min-height: 100vh;
}

body.ep-snapshot-body #embroider-pro-snapshot [hidden] {
  display: none !important;
}

:root {
  --ivory: #f5f1e8;
  --paper: #fffdf8;
  --ink: #112a46;
  --ink-2: #223d59;
  --teal: #0e8582;
  --teal-dark: #086b69;
  --coral: #d96649;
  --gold: #cf9e37;
  --muted: #617080;
  --line: #d9d2c4;
  --line-dark: rgba(255, 255, 255, 0.18);
  --shadow: 0 26px 70px rgba(17, 42, 70, 0.13);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-geist-sans), Arial, sans-serif;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--gold);
}

.shell {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.announcement {
  background: var(--ink);
  color: #eef5f1;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.announcement .shell {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.announcement a:hover {
  color: #9be0d7;
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(14px);
}

.site-header-compact {
  position: sticky;
  top: 0;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display), Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 40px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-account {
  color: var(--teal-dark);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: 68px;
  align-items: center;
  min-height: 760px;
  padding-block: 72px 76px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #8cd8d1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(64px, 6.7vw, 103px);
}

.hero h1 em {
  color: var(--coral);
  font-weight: 500;
}

.stitch-rule {
  width: 310px;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  gap: 8px;
  margin: 8px 0 30px;
  color: var(--coral);
}

.stitch-rule span {
  border-top: 1px dashed currentColor;
}

.stitch-rule i {
  height: 15px;
  border: 1px solid currentColor;
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.hero-lede,
.section-lede {
  color: #46596b;
  font-size: 18px;
  line-height: 1.7;
}

.hero-lede {
  max-width: 630px;
  margin-bottom: 32px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 13px 22px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 24px rgba(14, 133, 130, 0.18);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: var(--teal-dark);
  background: transparent;
  color: var(--teal-dark);
}

.button-secondary:hover {
  background: white;
}

.button-coral {
  background: var(--coral);
  color: white;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: white;
  color: var(--ink);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.hero-proof div {
  padding: 0 20px;
  border-right: 1px solid var(--line);
}

.hero-proof div:first-child {
  padding-left: 0;
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof dt {
  font-family: var(--font-display), Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-proof dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 80px 0 80px 0;
  background: #e4ded2;
  box-shadow: var(--shadow);
}

.hero-visual > img {
  width: 100%;
  min-height: 550px;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  border-left: 5px solid var(--coral);
  padding: 16px 20px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 12px 32px rgba(17, 42, 70, 0.15);
}

.image-caption strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 22px;
}

.image-caption span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-rail {
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.category-rail .shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.category-rail span {
  position: relative;
  color: #dfe8ec;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-rail span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
  transform: translateY(-50%);
}

.section {
  padding-block: 112px;
}

.section-intro {
  max-width: 840px;
  margin-bottom: 58px;
}

.section-intro-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.section-intro h2,
.craft-copy h2,
.program-copy h2,
.quote-layout h2 {
  margin-bottom: 0;
  font-size: clamp(49px, 5vw, 78px);
}

.section-intro-split > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-intro-split > p a {
  color: var(--teal-dark);
  font-weight: 750;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px;
  background: rgba(255, 253, 248, 0.34);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  z-index: 2;
  background: var(--ink);
  box-shadow: 0 22px 50px rgba(17, 42, 70, 0.18);
  color: white;
  transform: translateY(-5px);
}

.service-number {
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
}

.service-card h3 {
  margin: 38px 0 14px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 31px;
  line-height: 1.05;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-card:hover p,
.service-card:focus-visible p {
  color: #c8d4dc;
}

.service-link {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 26px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card:hover .service-link,
.service-card:focus-visible .service-link {
  color: #8cd8d1;
}

.section-ink {
  background: var(--ink);
  color: white;
}

.craft-layout,
.program-layout,
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}

.craft-photo {
  position: relative;
}

.craft-photo img {
  min-height: 650px;
  border-radius: 0 64px 0 64px;
  object-fit: cover;
}

.craft-photo > span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: var(--coral);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.craft-copy .section-lede {
  margin: 28px 0 34px;
  color: #c7d3dc;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
}

.detail-list li:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.detail-list li > span {
  color: #8cd8d1;
  font-size: 11px;
}

.detail-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 22px;
}

.detail-list p {
  margin: 0;
  color: #aebdca;
  font-size: 13px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid article {
  min-height: 290px;
  border-right: 1px solid var(--line);
  padding: 34px;
}

.process-grid article:first-child {
  border-left: 1px solid var(--line);
}

.process-grid article > span {
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
}

.process-grid h3 {
  margin: 56px 0 15px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 30px;
  line-height: 1.05;
}

.process-grid p {
  color: var(--muted);
  font-size: 14px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.program {
  background: #e8e2d6;
}

.program-copy .section-lede {
  margin: 28px 0 32px;
}

.program-list {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.program-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  border-top: 1px solid #c9c0b2;
  padding: 18px 0;
}

.program-list li:last-child {
  border-bottom: 1px solid #c9c0b2;
}

.program-list strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 20px;
}

.program-list span {
  color: var(--muted);
  font-size: 13px;
}

.program-photo {
  position: relative;
}

.program-photo img {
  min-height: 620px;
  border-radius: 64px 0 64px 0;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.program-photo > div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  padding: 17px 20px;
  background: var(--ink);
  color: white;
}

.program-photo strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 21px;
}

.program-photo span {
  color: #b9c8d2;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0 4px;
}

.faq summary {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-display), Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  color: var(--teal-dark);
  content: "+";
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  margin: -8px 0 28px;
  color: var(--muted);
}

.quote-section {
  background: var(--teal-dark);
  color: white;
}

.quote-layout {
  align-items: start;
}

.quote-layout > div:first-child > p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0;
  color: #c3e2df;
}

.phone-link {
  display: inline-block;
  border-bottom: 1px solid white;
  font-family: var(--font-display), Georgia, serif;
  font-size: 30px;
  font-weight: 700;
}

.quote-form-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 30px;
  background: rgba(7, 83, 81, 0.7);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote-form label,
.mark-input,
.range-row label,
.save-summary label,
.order-edit-panel label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-form label span {
  color: #ffb29e;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  resize: vertical;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #a9cbc8;
}

.full-field {
  grid-column: 1 / -1;
}

.prepared-message {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 22px;
}

.prepared-message strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 22px;
}

.prepared-message p {
  margin: 4px 0 14px;
  color: #c3e2df;
  font-size: 12px;
}

.site-footer {
  padding-block: 50px;
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 70px;
  align-items: start;
}

.footer-brand {
  color: white;
}

.footer-grid nav,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #b8c7d1;
  font-size: 12px;
}

.footer-grid nav a:hover,
.footer-meta a:hover {
  color: white;
}

/* Design studio */

.studio-page,
.account-page {
  min-height: 100vh;
}

.studio-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
  padding-block: 58px 42px;
}

.studio-heading .eyebrow {
  margin-bottom: 12px;
}

.studio-heading h1,
.account-signin h1,
.account-header h1 {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(50px, 5.7vw, 78px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.studio-heading > p,
.account-header > div > p:last-child {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.7;
}

.designer-shell {
  padding-bottom: 96px;
}

.designer-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.55);
}

.designer-progress span {
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  padding: 12px 18px;
  color: #84909b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.designer-progress span:last-child {
  border-right: 0;
}

.designer-progress b {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #b9c0c5;
  border-radius: 50%;
  font-size: 9px;
}

.designer-progress .active {
  color: var(--ink);
}

.designer-progress .active b {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.designer-workspace {
  display: grid;
  grid-template-columns: minmax(430px, 0.78fr) minmax(520px, 1.22fr);
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.designer-controls {
  border-right: 1px solid var(--line);
}

.control-section {
  border-bottom: 1px solid var(--line);
  padding: 30px;
}

.control-section:last-child {
  border-bottom: 0;
}

.control-heading {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.control-heading > span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
}

.control-heading h2 {
  margin: 0 0 4px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.control-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-option {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 8px;
  background: white;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-option:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.product-option.selected {
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal), 0 6px 18px rgba(14, 133, 130, 0.1);
}

.product-option strong {
  align-self: end;
  font-size: 11px;
  line-height: 1.25;
}

.product-option small {
  align-self: start;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.3;
}

.selected-product-details {
  margin-top: 14px;
  border: 1px solid #cfd8d5;
  padding: 16px;
  background: linear-gradient(135deg, #f3faf7, #fffdf7);
}

.product-detail-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.product-detail-heading span:first-child {
  color: var(--teal-dark);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-heading h3 {
  margin: 2px 0 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 21px;
}

.availability-badge {
  border: 1px solid #9cc8bc;
  padding: 5px 7px;
  background: #eaf6f1;
  color: #215e50;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.selected-product-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 14px 0 0;
}

.selected-product-details dt {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.selected-product-details dd {
  margin: 2px 0 0;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
}

.selected-product-details > p {
  margin: 13px 0 0;
  border-top: 1px solid #dbe5e1;
  padding-top: 11px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.selected-product-details > p strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 8px;
}

.sprite-thumb {
  width: 64px;
  height: 64px;
  position: relative;
  grid-row: 1 / 3;
  overflow: hidden;
  background: var(--ivory);
}

.sprite-thumb img,
.product-sprite img {
  width: 200%;
  max-width: none;
  height: 200%;
  position: absolute;
  object-fit: cover;
}

.sprite-thumb.has-catalog-image img,
.product-sprite.has-catalog-image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  inset: 0;
  object-fit: contain;
}

.sprite-polo img {
  top: 0;
  left: 0;
}

.sprite-cap img {
  top: 0;
  left: -100%;
}

.sprite-scrub img {
  top: -100%;
  left: 0;
}

.sprite-tote img {
  top: -100%;
  left: -100%;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.segmented button,
.placement-field button {
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.segmented button + button {
  border-left: 0;
}

.segmented button[aria-pressed="true"],
.placement-field button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.placement-field button:disabled {
  border-color: #d7d4cc;
  background: #eceae4;
  color: #9ba1a4;
  cursor: not-allowed;
  opacity: 0.72;
}

.swatch-field button:disabled {
  cursor: not-allowed;
  opacity: 0.22;
}

.size-field {
  margin: 18px 0;
  border: 0;
  padding: 0;
}

.size-field legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
}

.size-field legend strong {
  margin-left: 4px;
  color: var(--ink);
}

.size-field > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.size-field button {
  min-width: 50px;
  min-height: 39px;
  display: grid;
  place-items: center;
  gap: 1px;
  border: 1px solid var(--line);
  padding: 7px 9px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.size-field button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.size-field button:disabled {
  background: #eceae4;
  color: #9ba1a4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.size-field button small {
  color: var(--coral);
  font-size: 6px;
  font-weight: 800;
  text-decoration: none;
}

.size-field > small {
  display: block;
  margin-top: 7px;
  color: var(--coral);
  font-size: 8px;
}

.upload-zone {
  min-height: 118px;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  border: 1px dashed #aeb7bc;
  padding: 20px;
  background: #faf8f2;
  cursor: pointer;
}

.upload-zone input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  width: 44px;
  height: 44px;
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 50%;
  background: #dcedea;
  color: var(--teal-dark);
  font-size: 23px;
}

.upload-zone strong {
  align-self: end;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-zone small,
.mark-input small,
.text-editor-note {
  align-self: start;
  color: var(--muted);
  font-size: 9px;
}

.mark-input input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font-family: var(--font-display), Georgia, serif;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.text-editor-stack {
  display: grid;
  gap: 12px;
}

.text-layout-toggle {
  margin-bottom: 0;
}

.text-line-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
}

.text-line-editor-sized {
  grid-template-columns: minmax(0, 1fr) 118px;
  align-items: end;
}

.two-line-editors {
  display: grid;
  gap: 10px;
}

.text-line-editor label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-line-editor input,
.text-line-editor select {
  width: 100%;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 11px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  text-transform: none;
}

.text-line-editor select {
  cursor: pointer;
}

.line-size-control {
  position: relative;
  grid-column: 1 / -1;
}

.line-size-control output {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--teal-dark);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
}

.line-size-control input {
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  accent-color: var(--teal);
}

.text-align-field {
  margin: 2px 0 0;
  border: 0;
  padding: 0;
}

.text-align-field legend {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-align-field > div {
  display: flex;
  gap: 7px;
}

.text-align-field button {
  border: 1px solid var(--line);
  padding: 8px 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.text-align-field button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.text-editor-note {
  display: block;
  line-height: 1.5;
}

.swatch-field,
.placement-field {
  margin: 0 0 20px;
  border: 0;
  padding: 0;
}

.swatch-field legend,
.placement-field legend {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.swatch-field legend strong,
.placement-field legend strong {
  color: var(--ink);
}

.swatch-field > div {
  display: flex;
  gap: 10px;
}

.swatch-field button {
  width: 28px;
  height: 28px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}

.swatch-field button[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--teal);
}

.placement-field > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.placement-perspective {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.placement-availability {
  display: block;
  margin-top: 5px;
  color: #7d858b;
  font-size: 8px;
  line-height: 1.45;
}

.placement-control-note {
  display: block;
  border-left: 2px solid var(--teal);
  padding-left: 10px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.range-row label {
  position: relative;
}

.range-row output {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--teal-dark);
}

.range-row input {
  width: 100%;
  accent-color: var(--teal);
}

.designer-preview-column {
  min-width: 0;
  padding: 28px;
  background: #eef0ec;
}

.preview-sticky {
  position: sticky;
  z-index: 3;
  top: 96px;
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.preview-topline > div {
  display: flex;
  flex-direction: column;
}

.preview-topline span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-topline strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 19px;
}

.not-proof {
  border: 1px solid #c8c4b8;
  padding: 6px 9px;
  background: #f8f5ec;
  color: var(--coral) !important;
}

.preview-adjustments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
  border: 1px solid #d2d3cc;
  border-bottom: 0;
  padding: 13px 14px 11px;
  background: rgba(255, 255, 255, 0.94);
}

.preview-adjustments label {
  min-width: 0;
  position: relative;
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-adjustments output {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--teal-dark);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
}

.preview-adjustments input {
  width: 100%;
  accent-color: var(--teal);
}

.preview-adjustments small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.garment-stage {
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid #d2d3cc;
  background:
    linear-gradient(rgba(17, 42, 70, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 42, 70, 0.035) 1px, transparent 1px),
    #faf7ef;
  background-size: 40px 40px;
}

.product-sprite {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tone-navy .product-sprite img {
  filter: saturate(0.95) contrast(1.02);
}

.tone-black .product-sprite img {
  filter: grayscale(1) brightness(0.52) contrast(1.2);
}

.tone-forest .product-sprite img {
  filter: sepia(0.18) hue-rotate(100deg) saturate(1.1) brightness(0.72);
}

.tone-stone .product-sprite img {
  filter: grayscale(0.7) sepia(0.6) saturate(0.5) brightness(1.35);
}

.garment-stage .product-sprite.has-catalog-image img {
  filter: none;
}

.placement-zone {
  width: 18%;
  height: 10.5%;
  position: absolute;
  z-index: 2;
  border: 1px dashed rgba(14, 133, 130, 0.85);
}

.placement-polo {
  top: 26%;
  left: 41%;
}

.placement-cap {
  top: 38%;
  left: 33%;
  width: 34%;
  height: 12%;
}

.placement-scrub {
  top: 13.5%;
  left: 41%;
  height: 8.5%;
}

.placement-tote {
  top: 49%;
  left: 38%;
  width: 24%;
  height: 14%;
}

.placement-left-chest {
  margin-left: 12.5%;
}

.placement-right-chest {
  margin-left: -12.5%;
}

.placement-left-side {
  margin-left: 17%;
}

.placement-right-side {
  margin-left: -17%;
}

.placement-above-pocket {
  margin-top: 0;
  margin-left: 12.5%;
}

.placement-upper-center {
  margin-top: -5%;
}

.placement-lower-center {
  margin-top: 8%;
}

.safe-label {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  color: var(--teal-dark);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.art-preview {
  width: 78%;
  height: 76%;
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  container-type: inline-size;
  color: var(--thread-color);
  transform: translate(calc(-50% + var(--art-shift-x)), calc(-50% + var(--art-shift-y)));
}

.art-preview > .single-mark {
  width: max-content;
  display: block;
  color: var(--thread-color);
  font-size: clamp(14px, 2vw, 30px);
  line-height: 1;
  text-shadow:
    -1px -1px rgba(0, 0, 0, 0.3),
    1px 1px rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.art-preview-two-line {
  height: 82%;
}

.two-line-mark {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  color: var(--thread-color);
  line-height: 1;
  white-space: nowrap;
  container-type: inline-size;
}

.two-line-mark.align-left {
  align-items: flex-start;
  text-align: left;
}

.two-line-mark.align-center {
  align-items: center;
  text-align: center;
}

.two-line-mark span {
  width: max-content;
  max-width: none;
  display: block;
  color: var(--thread-color);
  text-shadow:
    -0.6px -0.6px rgba(0, 0, 0, 0.35),
    0.6px 0.6px rgba(255, 255, 255, 0.25);
}

.two-line-mark span:first-child {
  font-size: clamp(9px, 1.3vw, 18px);
}

.two-line-mark span:last-child {
  font-size: clamp(10px, 1.45vw, 21px);
}

.text-style-block {
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-weight: 700;
  font-variant: normal;
  letter-spacing: 0.02em;
  text-transform: none;
}

.text-style-serif {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.text-style-script {
  font-family: var(--font-script), "Brush Script MT", "Segoe Script", cursive;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.art-preview img {
  width: var(--upload-size);
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.7)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.preview-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 1px solid #cfcec8;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 9px;
}

.preview-assurance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #d2d3cc;
  border-top: 0;
  background: white;
}

.preview-assurance > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 14px;
}

.preview-assurance > div + div {
  border-left: 1px solid #d2d3cc;
}

.assurance-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dceeea;
  color: var(--teal-dark);
}

.preview-assurance p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.preview-assurance strong {
  display: block;
  color: var(--ink);
  font-size: 10px;
}

.save-panel {
  margin-top: 18px;
  border: 1px solid #d2d3cc;
  padding: 18px;
  background: white;
}

.save-summary {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 20px;
  align-items: end;
  margin-bottom: 14px;
}

.save-summary > div {
  display: flex;
  flex-direction: column;
}

.save-summary span,
.save-summary label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.save-summary strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 18px;
}

.save-summary input,
.order-edit-panel input {
  border: 1px solid var(--line);
  padding: 9px;
  background: var(--paper);
}

.save-button {
  width: 100%;
}

.save-button:disabled,
.order-card button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.save-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.save-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid #d3d9d6;
  padding: 10px 12px;
  background: #eef7f5;
  font-size: 11px;
}

.save-message.error {
  border-color: #edc4ba;
  background: #fff1ed;
}

.save-message a {
  color: var(--teal-dark);
  font-weight: 800;
  white-space: nowrap;
}

/* Account */

.account-signin {
  min-height: calc(100vh - 83px);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 100px;
  align-items: center;
  padding-block: 70px;
}

.signin-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.signin-copy > small {
  display: block;
  max-width: 430px;
  margin-top: 16px;
  color: #7d8993;
  font-size: 10px;
}

.account-preview {
  border: 1px solid #c9c4b9;
  border-radius: 20px;
  padding: 18px;
  background: #eef0ec;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.preview-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #d1d4cf;
  padding: 0 2px 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.preview-window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c4c7c3;
}

.preview-window-bar i:first-child {
  background: var(--coral);
}

.preview-window-bar span {
  margin-left: auto;
}

.preview-order-card {
  margin-top: 14px;
  border: 1px solid #d2d4cf;
  padding: 18px;
  background: white;
}

.preview-order-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.preview-order-card > strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 20px;
}

.preview-order-card p {
  margin: 3px 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.preview-order-card button {
  border: 1px solid var(--teal);
  padding: 7px 12px;
  background: transparent;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 750;
}

.mini-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mini-progress span {
  height: 3px;
  background: var(--teal);
}

.mini-progress .muted {
  background: #d9dcd8;
}

.account-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  padding-block: 58px 42px;
}

.account-header h1 {
  font-size: clamp(46px, 5vw, 70px);
}

.account-header > div > p:last-child {
  max-width: 720px;
  margin-top: 15px;
}

.account-identity {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}

.account-identity a {
  color: var(--teal-dark);
  font-weight: 800;
}

.orders-shell {
  padding-block: 42px 90px;
}

.orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.orders-toolbar h2 {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 36px;
  letter-spacing: -0.02em;
}

.orders-toolbar > div > span {
  color: var(--muted);
  font-size: 11px;
}

.orders-toolbar-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.manual-order-form {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  background: #f8f5ed;
  box-shadow: 0 8px 24px rgba(17, 42, 70, 0.05);
}

.manual-order-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
}

.manual-order-heading span {
  color: var(--coral);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manual-order-heading h3 {
  margin: 3px 0 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 27px;
}

.manual-order-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.manual-order-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.manual-order-grid label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #67727b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manual-order-grid label > span {
  color: #9aa1a5;
  font-size: 7px;
}

.manual-order-grid input {
  width: 100%;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 11px;
  background: white;
  color: var(--ink);
  font-size: 11px;
  text-transform: none;
}

.manual-order-wide {
  grid-column: span 2;
}

.manual-order-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.order-filters {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 12px;
  margin-bottom: 20px;
}

.order-filters input,
.order-filters select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 15px;
  background: white;
  color: var(--ink);
}

.orders-error {
  margin-bottom: 16px;
  border: 1px solid #e5b8ad;
  padding: 12px 14px;
  background: #fff0ec;
  color: #8c3e2d;
  font-size: 12px;
}

.orders-loading {
  display: grid;
  gap: 12px;
}

.orders-loading i {
  height: 160px;
  display: block;
  background: linear-gradient(90deg, #ebe7de, #f7f4ec, #ebe7de);
  background-size: 200% 100%;
  animation: loading 1.3s infinite;
}

@keyframes loading {
  to { background-position: -200% 0; }
}

.orders-empty {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 40px;
  background: rgba(255, 253, 248, 0.5);
  text-align: center;
}

.orders-empty > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--teal);
  border-radius: 50%;
  color: var(--teal-dark);
  font-family: var(--font-display), Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.orders-empty h3 {
  margin: 20px 0 8px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 30px;
}

.orders-empty p {
  max-width: 480px;
  margin-bottom: 22px;
  color: var(--muted);
}

.orders-list {
  display: grid;
  gap: 14px;
}

.orders-scope {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.order-card {
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 8px 24px rgba(17, 42, 70, 0.05);
}

.order-card-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e6e1d8;
  padding: 10px 18px;
}

.order-card-top > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.status-progress {
  background: #d9f0ed;
  color: #0c6a66;
}

.status-complete {
  background: #e5ecdf;
  color: #46633a;
}

.status-attention {
  background: #fff0d5;
  color: #8a5e0c;
}

.status-draft {
  background: #e9eaf0;
  color: #555f73;
}

.order-reference {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  font-weight: 700;
}

.order-card-top time {
  color: #87919a;
  font-size: 9px;
}

.order-card-main {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 150px 175px;
  gap: 22px;
  align-items: center;
  padding: 20px;
}

.order-garment-thumb {
  height: 105px;
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}

.order-garment-thumb img {
  width: 200%;
  max-width: none;
  height: 200%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.order-garment-thumb.sprite-polo img {
  top: 0;
  left: 0;
}

.order-garment-thumb.sprite-cap img {
  top: 0;
  left: -100%;
}

.order-garment-thumb.sprite-scrub img {
  top: -100%;
  left: 0;
}

.order-garment-thumb.sprite-tote img {
  top: -100%;
  left: -100%;
}

.order-garment-thumb span {
  color: var(--teal-dark);
}

.order-garment-generic {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(14, 133, 130, 0.08), transparent 55%),
    var(--ivory);
}

.order-garment-thumb .order-product-initials {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(14, 133, 130, 0.35);
  font-family: var(--font-display), Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.order-details h3 {
  margin: 0 0 2px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 25px;
}

.order-details > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
}

.order-details > p span {
  display: inline-flex;
  margin-left: 7px;
  border: 1px solid #d8ddd8;
  padding: 2px 6px;
  color: #63716f;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.order-details dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 12px 16px;
  margin: 0;
}

.order-details dl div {
  display: flex;
  flex-direction: column;
}

.order-details dt,
.proof-state > span {
  color: #8a949c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.order-details dd {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 700;
}

.artwork-details {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.order-proof-image {
  min-height: 108px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #b9c4c1;
  background: #f6f7f3;
}

.order-proof-image.has-proof {
  border-style: solid;
}

.order-proof-image img {
  width: 100%;
  height: 108px;
  object-fit: contain;
  background: white;
}

.order-proof-image > div {
  display: grid;
  gap: 3px;
  padding: 12px;
  text-align: center;
}

.order-proof-image span {
  color: var(--teal-dark);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.order-proof-image strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 15px;
}

.order-proof-image small {
  color: var(--muted);
  font-size: 7px;
  line-height: 1.35;
}

.proof-state {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e6e1d8;
  padding-left: 20px;
}

.proof-state strong {
  margin: 2px 0 4px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 18px;
}

.proof-state small {
  color: var(--muted);
  font-size: 9px;
}

.order-edit-panel {
  display: grid;
  grid-template-columns: 88px repeat(4, minmax(115px, 1fr));
  align-items: end;
  gap: 14px;
  border-top: 1px solid #e6e1d8;
  padding: 14px 20px;
  background: #faf8f2;
}

.order-edit-panel label {
  width: auto;
}

.order-edit-panel input {
  min-width: 0;
}

.order-edit-panel p {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
}

.order-edit-panel button,
.order-card-actions button {
  border: 1px solid var(--teal);
  padding: 9px 13px;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.order-edit-panel .text-button {
  border: 0;
}

.order-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #e6e1d8;
  padding: 11px 18px;
}

.order-card-actions .primary-action {
  background: var(--teal);
  color: white;
}

.order-image-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  padding: 9px 13px;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.order-image-upload input {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  opacity: 0;
}

.order-image-upload:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.order-image-upload.is-busy {
  cursor: wait;
  opacity: 0.65;
}

.manager-access {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
}

.manager-access h1 {
  max-width: 760px;
  margin: 8px 0 18px;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(46px, 6vw, 72px);
}

.manager-access > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--muted);
}

.manager-header h1 {
  font-size: clamp(46px, 5vw, 70px);
}

.admin-inventory {
  border-bottom: 1px solid var(--line);
  padding-block: 42px 54px;
}

.inventory-toolbar {
  align-items: center;
}

.inventory-toolbar .eyebrow {
  margin-bottom: 4px;
}

.inventory-intro {
  max-width: 740px;
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.inventory-list {
  display: grid;
  gap: 14px;
}

.inventory-card {
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 8px 24px rgba(17, 42, 70, 0.05);
}

.inventory-card.is-archived {
  background: #f1f0ec;
  opacity: 0.76;
}

.inventory-card-summary {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
}

.inventory-product-image {
  width: 86px;
  height: 86px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e1ded4;
  background: var(--ivory);
}

.inventory-product-image img {
  width: 200%;
  max-width: none;
  height: 200%;
  position: absolute;
  object-fit: cover;
}

.inventory-product-image.has-catalog-image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  inset: 0;
  object-fit: contain;
}

.inventory-card-summary > div:nth-child(2) > span {
  color: var(--teal-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inventory-card-summary h3 {
  margin: 3px 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 25px;
}

.inventory-card-summary p,
.inventory-card-summary small {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.inventory-card-summary small {
  display: block;
  margin-top: 5px;
}

.inventory-card-actions {
  display: flex;
  gap: 8px;
}

.inventory-card-actions > button {
  border: 1px solid var(--teal);
  padding: 9px 13px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.inventory-editor {
  border-top: 1px solid #e6e1d8;
  padding: 22px;
  background: #faf8f2;
}

.admin-inventory > .inventory-editor {
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.inventory-editor-heading,
.variant-editor-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.inventory-editor-heading > div:first-child > span {
  color: var(--coral);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-editor-heading h3 {
  margin: 4px 0 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 28px;
}

.inventory-switches {
  display: flex;
  gap: 14px;
}

.inventory-switches label,
.inventory-placement-editor label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
}

.inventory-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.inventory-copy-grid label {
  display: grid;
  gap: 6px;
  color: #67727b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inventory-copy-grid input,
.inventory-copy-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 10px;
  line-height: 1.4;
  text-transform: none;
}

.inventory-copy-grid textarea {
  min-height: 82px;
  resize: vertical;
}

.inventory-placement-editor {
  margin: 20px 0;
  border: 1px solid #dedbd2;
  padding: 15px;
}

.inventory-placement-editor legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
}

.inventory-placement-editor > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.variant-editor {
  border-top: 1px solid #dedbd2;
  padding-top: 18px;
}

.variant-editor-heading {
  align-items: center;
  margin-bottom: 10px;
}

.variant-editor-heading strong,
.variant-editor-heading small {
  display: block;
}

.variant-editor-heading strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 20px;
}

.variant-editor-heading small {
  max-width: 620px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.variant-editor-heading button,
.variant-row button {
  border: 1px solid var(--teal);
  padding: 8px 10px;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
}

.variant-table {
  display: grid;
  gap: 6px;
}

.variant-row {
  display: grid;
  grid-template-columns: 1.3fr 70px 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.variant-row input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  padding: 0 9px;
  background: white;
  color: var(--ink);
  font-size: 10px;
}

.variant-row input[type="color"] {
  padding: 3px;
}

.variant-header {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-orders {
  padding-block: 42px 90px;
}

.admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-toolbar h2 {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 36px;
}

.admin-toolbar span {
  color: var(--muted);
  font-size: 10px;
}

.admin-toolbar > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-toolbar input {
  width: min(340px, 35vw);
  height: 46px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: white;
  color: var(--ink);
}

.admin-new-order {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  background: #f8f5ed;
}

.admin-new-order > div:first-child span {
  color: var(--coral);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-new-order h3 {
  margin: 4px 0 20px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 28px;
}

.admin-success {
  margin-bottom: 16px;
  border: 1px solid #9cc8bc;
  padding: 12px 14px;
  background: #eaf6f1;
  color: #215e50;
  font-size: 12px;
}

.admin-order-list {
  display: grid;
  gap: 14px;
}

.admin-order-card {
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 8px 24px rgba(17, 42, 70, 0.05);
}

.admin-order-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
}

.admin-order-summary > div:first-child > span {
  color: var(--teal-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.admin-order-summary h3 {
  margin: 3px 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 25px;
}

.admin-order-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.admin-order-proof {
  height: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #b9c4c1;
  background: #f6f7f3;
}

.admin-order-proof img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}

.admin-order-proof span {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.admin-order-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.admin-order-actions button {
  border: 1px solid var(--teal);
  padding: 9px 13px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.admin-order-editor {
  border-top: 1px solid #e6e1d8;
  padding: 20px;
  background: #faf8f2;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.admin-edit-grid label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #67727b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-edit-grid input,
.admin-edit-grid select {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 10px;
  background: white;
  color: var(--ink);
  font-size: 10px;
  text-transform: none;
}

.admin-new-order > .button {
  margin-top: 18px;
}

.admin-editor-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(60px, 7.6vw, 82px);
  }

  .hero-visual > img {
    min-height: 500px;
  }

  .section-intro-split,
  .craft-layout,
  .program-layout,
  .quote-layout,
  .studio-heading,
  .account-signin {
    gap: 42px;
  }

  .designer-workspace {
    grid-template-columns: minmax(390px, 0.86fr) minmax(460px, 1.14fr);
  }

  .product-options {
    grid-template-columns: 1fr;
  }

  .text-line-editor {
    grid-template-columns: 1fr;
  }

  .text-layout-toggle button {
    min-height: 48px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .order-card-main {
    grid-template-columns: 100px 1fr;
  }

  .order-proof-image {
    grid-column: 1;
    grid-row: 2;
  }

  .proof-state {
    grid-column: 2;
    border-top: 1px solid #e6e1d8;
    border-left: 0;
    padding: 12px 0 0;
  }

  .order-edit-panel {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .manual-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-edit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-order-summary {
    grid-template-columns: minmax(0, 1fr) 110px;
  }

  .admin-order-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .inventory-card-summary {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .inventory-card-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .inventory-copy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 32px, 720px);
  }

  .announcement .shell {
    min-height: 42px;
  }

  .announcement span {
    max-width: 220px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 40px;
    height: 34px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a:not(.nav-account):not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 58px;
  }

  .hero h1 {
    font-size: clamp(58px, 13vw, 90px);
  }

  .hero-visual > img {
    min-height: 0;
  }

  .category-rail .shell {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 32px;
  }

  .category-rail span:not(:last-child)::after {
    right: -17px;
  }

  .section {
    padding-block: 80px;
  }

  .section-intro-split,
  .craft-layout,
  .program-layout,
  .quote-layout,
  .studio-heading,
  .account-signin {
    grid-template-columns: 1fr;
  }

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

  .craft-photo {
    order: 2;
  }

  .craft-photo img,
  .program-photo img {
    min-height: 480px;
  }

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

  .process-grid article {
    min-height: 220px;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .process-grid h3 {
    margin-top: 36px;
  }

  .designer-progress {
    grid-template-columns: 1fr 1fr;
  }

  .designer-progress span:nth-child(2) {
    border-right: 0;
  }

  .designer-progress span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .designer-workspace {
    grid-template-columns: 1fr;
  }

  .designer-controls {
    border-right: 0;
  }

  .product-options {
    grid-template-columns: 1fr 1fr;
  }

  .designer-preview-column {
    border-top: 1px solid var(--line);
  }

  .preview-sticky {
    position: static;
  }

  .account-signin {
    padding-block: 52px 80px;
  }

  .account-preview {
    transform: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .inventory-editor-heading,
  .variant-editor-heading {
    flex-direction: column;
  }

  .inventory-switches {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 540px);
  }

  .announcement {
    font-size: 9px;
  }

  .announcement a {
    max-width: 120px;
    text-align: right;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand span {
    font-size: 19px;
  }

  .brand img {
    width: 34px;
    height: 30px;
  }

  .nav-account {
    font-size: 11px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

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

  .hero-lede {
    font-size: 16px;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-proof dt {
    font-size: 19px;
  }

  .hero-proof dd {
    font-size: 8px;
  }

  .hero-proof div {
    padding: 0 10px;
  }

  .hero-visual {
    border-radius: 44px 0 44px 0;
  }

  .image-caption {
    bottom: 14px;
    left: 14px;
  }

  .section {
    padding-block: 64px;
  }

  .section-intro {
    margin-bottom: 36px;
  }

  .section-intro h2,
  .craft-copy h2,
  .program-copy h2,
  .quote-layout h2 {
    font-size: clamp(43px, 13vw, 60px);
  }

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

  .service-card {
    min-height: 260px;
  }

  .craft-photo img,
  .program-photo img {
    min-height: 350px;
  }

  .program-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form label,
  .full-field {
    grid-column: 1;
  }

  .quote-form-card {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .studio-heading {
    gap: 20px;
    padding-block: 40px 30px;
  }

  .studio-heading h1,
  .account-signin h1,
  .account-header h1 {
    font-size: clamp(45px, 14vw, 62px);
  }

  .designer-progress span {
    padding: 10px;
    font-size: 9px;
  }

  .control-section,
  .designer-preview-column {
    padding: 18px;
  }

  .product-options {
    grid-template-columns: 1fr;
  }

  .range-row,
  .preview-assurance,
  .save-summary {
    grid-template-columns: 1fr;
  }

  .preview-adjustments {
    grid-template-columns: 1fr;
  }

  .preview-adjustments small {
    grid-column: 1;
  }

  .preview-assurance > div + div {
    border-top: 1px solid #d2d3cc;
    border-left: 0;
  }

  .garment-stage {
    aspect-ratio: 1 / 1.08;
  }

  .account-header {
    align-items: start;
    flex-direction: column;
  }

  .account-identity {
    align-items: start;
  }

  .orders-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .orders-toolbar-actions,
  .manual-order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-order-heading,
  .manual-order-grid {
    grid-template-columns: 1fr;
  }

  .manual-order-wide {
    grid-column: 1;
  }

  .order-filters {
    grid-template-columns: 1fr;
  }

  .order-card-main {
    grid-template-columns: 82px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .order-garment-thumb {
    height: 82px;
  }

  .order-proof-image {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .order-details dl {
    grid-template-columns: 1fr 1fr;
  }

  .proof-state {
    grid-column: 1 / -1;
  }

  .order-card-top {
    align-items: start;
    flex-direction: column;
  }

  .order-edit-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .order-edit-panel label {
    width: 100%;
  }

  .order-edit-panel p {
    grid-column: 1;
  }

  .order-card-actions {
    flex-direction: column;
  }

  .admin-toolbar,
  .admin-toolbar > div:last-child,
  .admin-order-actions,
  .admin-editor-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar input {
    width: 100%;
  }

  .admin-order-summary,
  .admin-edit-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-proof,
  .admin-order-actions {
    grid-column: 1;
  }

  .inventory-card-summary,
  .inventory-copy-grid,
  .variant-row {
    grid-template-columns: 1fr;
  }

  .inventory-product-image {
    width: 100%;
    height: 150px;
  }

  .inventory-card-actions,
  .inventory-switches {
    align-items: stretch;
    flex-direction: column;
  }

  .variant-header {
    display: none;
  }

  .variant-row {
    border: 1px solid #dedbd2;
    padding: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
