/* Stage A — cinematic storefront and owner workspace. Existing brand tokens are authoritative. */
.nad-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 680px;
  background:
    radial-gradient(ellipse at 15% 10%, #742a44 0, transparent 52%),
    linear-gradient(120deg, #391420, #1e141b 80%);
  color: var(--color-on-brand);
  padding: clamp(32px, 5vw, 80px);
  padding-inline: var(--page-gutter);
  gap: 4vw;
  align-items: center;
}
.nad-hero .eyebrow {
  color: #e0cbaa;
  letter-spacing: 0.16em;
  font-size: 12px;
  line-height: 1.7;
}
.nad-hero .dot {
  background: #c5a77b;
}
.nad-copy {
  position: relative;
  min-width: 0;
  z-index: 2;
  max-width: 650px;
}
.nad-copy h1 {
  font-size: clamp(64px, 7.8vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 32px 0;
}
.nad-copy h1 em {
  color: #e5cfad;
}
.nad-copy > p {
  font-size: 19px;
  line-height: 1.75;
  color: #eee0d5;
  max-width: 430px;
}
.nad-hero .button {
  background: var(--paper);
  color: var(--wine);
  border: 1px solid #f7f3ec;
}
.nad-hero .text-link {
  color: var(--color-on-brand);
}
.nad-hero .hero-actions {
  margin-top: 30px;
  gap: 22px;
}
.nad-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d6bc923f;
  padding-top: 24px;
  margin-top: 55px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #e0cbaa;
}
.hero-grid-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image:
    linear-gradient(#ddc29b40 1px, transparent 1px),
    linear-gradient(90deg, #ddc29b40 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.nad-stage {
  position: relative;
  margin: 0;
  min-width: 0;
  padding: 28px 16px;
}
.nad-image-frame {
  position: relative;
  border-radius: 46% 46% 4px 4px;
  overflow: hidden;
  max-width: 475px;
  margin: auto;
  border: 1px solid #dec8aa70;
  box-shadow:
    0 35px 60px #05010666,
    0 0 80px #ba74901f;
}
.nad-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.nad-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid #d1af8150;
  border-radius: 50%;
  transform: rotate(-24deg) scale(1.04, 0.83);
  pointer-events: none;
}
.nad-ghost {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(100px, 13vw, 200px);
  letter-spacing: -0.05em;
  top: -25px;
  right: -5px;
  color: #dec8aa10;
  pointer-events: none;
}
.nad-stage figcaption {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 25px 5px 0;
  color: #e8d7be;
  font-size: 11px;
  line-height: 1.6;
}
.nad-stage figcaption > span:first-child {
  font-size: 22px;
  font-family: var(--serif);
}
.nad-stage figcaption small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
}
.nad-stage figcaption > span:last-child {
  text-align: right;
}
.nad-season-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.23;
  z-index: -1;
}
.nad-halloween {
  background: #201017;
}
.nad-halloween .nad-image-frame {
  box-shadow:
    0 0 90px #a5482140,
    0 35px 60px #0009;
}
.visual-halloween-preview .header {
  border-bottom: 3px solid #815139;
}
.visual-halloween-preview .product-image {
  border-color: #9c7852;
}
.design-preview-notice {
  padding: 14px var(--page-gutter);
  background: #eadabf;
  color: #35131f;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.design-preview-notice button {
  background: transparent;
  border: 1px solid #541d2d;
  border-radius: 4px;
  padding: 9px 14px;
  color: inherit;
  cursor: pointer;
  min-height: 44px;
}
.brand-marquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
  background: #e9dfcf;
  border-block: 1px solid #bca48755;
  position: relative;
  color: var(--wine);
}
.marquee-window {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  padding: 23px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: biochem-marquee 65s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(27px, 3.5vw, 52px);
}
.marquee-group i {
  font-size: 22px;
  color: #886943;
  font-style: normal;
}
.marquee-pause {
  position: relative;
  flex-shrink: 0;
  border: 0;
  background: #e9dfcf;
  color: var(--wine);
  width: 52px;
  min-height: 52px;
  cursor: pointer;
}
.brand-marquee[data-direction='right'] .marquee-track {
  animation-direction: reverse;
}
.brand-marquee[data-speed='medium'] .marquee-track {
  animation-duration: 38s;
}
.brand-marquee:hover .marquee-track,
.brand-marquee:focus-within .marquee-track,
.brand-marquee.is-paused .marquee-track {
  animation-play-state: paused;
}
.brand-marquee[data-speed='still'] .marquee-track {
  animation: none;
}
.brand-marquee[data-speed='still'] .marquee-group[aria-hidden] {
  display: none;
}
.brand-marquee[data-speed='still'] .marquee-group {
  flex-wrap: wrap;
  white-space: normal;
  justify-content: center;
  width: 100%;
  gap: 15px;
}
.brand-marquee[data-speed='still'] .marquee-track {
  width: 100%;
}
.brand-marquee[data-speed='still'] .marquee-pause {
  display: none;
}
.marquee-thin {
  background: #ede6da;
}
.marquee-thin .marquee-window {
  padding: 15px;
}
.marquee-thin .marquee-group {
  font: 500 11px var(--sans);
  letter-spacing: 0.13em;
}
.marquee-thin .marquee-group i {
  font-size: 13px;
}
.marquee-seasonal,
.marquee-seasonal .marquee-pause {
  background: #26171c;
  color: #e8c8a4;
}
.marquee-seasonal .marquee-group {
  font-size: 28px;
}
.marquee-seasonal .marquee-window {
  padding: 18px 0;
}
@keyframes biochem-marquee {
  to {
    transform: translateX(-50%);
  }
}
.product-image {
  background: radial-gradient(ellipse at 50% 40%, #fffdf9, #e5daca);
  border: 1px solid #d7c8b5;
}
.product-image img {
  mix-blend-mode: multiply;
}
.product-card h3 {
  letter-spacing: -0.02em;
}
.card-documentation {
  display: inline-block;
  font-size: 12px;
  color: #66523e;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 2px 0 15px;
}
.product-meta {
  font-size: 11px !important;
  line-height: 1.6;
}
.product-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 12px;
}
.product-card .card-documentation {
  font-size: 14px;
  line-height: 1.5;
  padding-block: 8px;
  margin: 0 0 12px;
}
.product-card .product-meta {
  font-size: 12px !important;
}
.product-card .card-size select {
  font-size: 16px;
}
@media (max-width: 760px) {
  .product-card .product-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .product-card .add-button {
    width: 100%;
    min-height: 48px;
  }
  .product-card .product-meta span:last-child {
    display: none;
  }
  .product-card {
    padding: 16px;
  }
}

.gallery-stage {
  position: relative;
  border: 1px solid var(--line);
  background: #efe7dc;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  touch-action: pan-y;
}
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
  transition: transform 450ms var(--ease-standard);
}
.gallery-stage[data-view='label'] .gallery-image {
  transform: scale(1.8);
  transform-origin: 50% 65%;
}
.gallery-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 0.1em;
  background: #f7f3eceb;
  padding: 8px;
}
.gallery-zoom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  min-height: 44px;
  padding: 10px 18px;
  background: #fffcf7;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--wine);
  cursor: pointer;
}
.gallery-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.gallery-controls button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 6px 14px 6px 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  border-radius: 6px;
}
.gallery-controls button[aria-pressed='true'] {
  border: 2px solid var(--wine);
  padding: 5px 13px 5px 5px;
}
.gallery-controls img,
.label-thumb {
  width: 50px;
  height: 50px;
  border-radius: 3px;
  object-fit: cover;
}
.label-thumb {
  display: grid;
  place-items: center;
  background: #e8dac7;
  color: var(--wine);
  font: 26px var(--serif);
}
.gallery-caption {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.gallery-fallback {
  padding: 80px 24px;
}
.gallery-dialog {
  width: min(94vw, 1000px);
  max-height: 92dvh;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
}
.gallery-dialog img {
  width: 100%;
  height: auto;
}
.gallery-dialog p {
  font-size: 13px;
}
.gallery-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  background: var(--wine);
  color: white;
  padding: 12px 22px;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
}
.gallery-dialog::backdrop,
.restore-dialog::backdrop {
  background: #1e111de0;
}
.company-preview {
  text-align: center;
  background: #efe8dd;
}
.company-preview h2 {
  margin: 25px 0;
}
.home-support {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 48px var(--page-gutter);
  border-top: 1px solid var(--line);
}
.home-support h2 {
  margin: 15px 0 0;
}
.journal-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6 !important;
  min-height: 0 !important;
}
.journal-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-standard);
}
.journal-art > span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  top: auto !important;
  font: 500 10px var(--sans) !important;
  background: #f7f3ecef;
  padding: 9px 12px;
  color: var(--wine);
}
.journal-card:hover .journal-art img {
  transform: scale(1.025);
}
.journal-tools {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
footer {
  padding-top: 40px !important;
  padding-bottom: 24px !important;
}
.footer-top {
  padding-bottom: 28px !important;
  align-items: start;
}
.footer-link-groups {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 36px !important;
}
.footer-link-groups > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-link-groups .eyebrow {
  margin-bottom: 8px;
}
.footer-bottom {
  gap: 16px;
}
.footer-bottom > div {
  flex-wrap: wrap;
}
.research-notice {
  margin: 22px 0 !important;
}
[hidden] {
  display: none !important;
}
/* Command Center uses the same font family and colors, with denser working rhythm. */
.in-command-center > .header,
.in-command-center > footer {
  display: none;
}
.in-command-center .preview-bar {
  position: relative;
}
.command-center {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  min-height: 100dvh;
  background: #f1ede6;
}
.command-sidebar {
  background: #341724;
  color: #fff4e8;
  padding: 26px 16px;
  min-width: 0;
}
.command-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff4e8;
  text-decoration: none;
  padding: 0 8px;
}
.command-brand img {
  background: #f7f3ec;
  border-radius: 50%;
  padding: 4px;
}
.command-brand > span {
  font-size: 19px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.command-brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  margin-top: 3px;
}
.command-role {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #d4bc9e;
  padding: 20px 8px 14px;
  border-bottom: 1px solid #cfaf8840;
}
.command-menu {
  border: 0 !important;
  margin: 0 !important;
}
.command-menu > summary {
  display: none;
}
.command-menu nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.command-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #efdfd3;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 6px;
  font-size: 12px;
  min-height: 44px;
}
.command-menu nav a small {
  font-size: 9px;
  color: #d5bba5;
}
.command-menu nav a[aria-current='page'] {
  background: #f4eadc;
  color: #401727;
  font-weight: 600;
}
.command-menu nav a[aria-current='page'] small {
  color: #6e5542;
}
.command-menu nav a:hover {
  box-shadow: inset 0 0 0 1px #d0b49680;
}
.command-storefront {
  display: block;
  border-top: 1px solid #cfaf8840;
  padding: 20px 8px;
  color: #f0dbc1;
  font-size: 13px;
  margin-top: 20px;
}
.command-body {
  padding: 0 clamp(20px, 3vw, 48px) 50px;
  min-width: 0;
}
.command-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.command-search {
  font-size: 11px;
  color: #665b53;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(620px, 85%);
}
.command-search input {
  flex: 1;
  min-width: 0;
  background: #fffcf7;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 7px;
  font: 14px var(--sans);
}
.command-topbar .text-button {
  white-space: nowrap;
  font-size: 12px;
}
#command-search-results {
  background: #fffcf7;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
#command-search-results a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  color: var(--wine);
}
#command-search-results small {
  color: var(--muted);
}
.command-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
}
.command-page-head h1 {
  font: 38px var(--serif);
  margin: 8px 0 0;
}
.command-page-head .eyebrow {
  font-size: 9px;
}
.command-status {
  font-size: 11px;
  padding: 8px 13px;
  border-radius: 30px;
  border: 1px solid #cabcaa;
  background: #e8e0d3;
  color: #504532;
}
.command-welcome {
  padding: 32px;
  background: radial-gradient(ellipse at 100% 0, #70334a, #3b1c29 70%);
  color: #f8edde;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.command-welcome h2 {
  font: 40px/1.12 var(--serif);
  margin: 14px 0;
}
.command-welcome em {
  color: #dfc299;
}
.command-welcome p {
  font-size: 13px;
  max-width: 480px;
  color: #ead4c4;
}
.command-welcome .eyebrow {
  font-size: 9px;
  color: #e3c8a3;
}
.command-welcome .button {
  background: #f1e7d7;
  color: var(--wine);
  font-size: 12px;
  white-space: nowrap;
}
.command-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.command-metrics a {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 23px;
  background: #fffcf7;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.command-metrics a > span {
  font-size: 11px;
  color: #665b53;
}
.command-metrics strong {
  font: 46px var(--serif);
  color: var(--wine);
}
.command-metrics small {
  font-size: 10px;
  color: #685d52;
}
.command-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.command-panel {
  background: #fffcf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 24px;
  min-width: 0;
}
.command-panel > h2 {
  font: 26px var(--serif);
  margin: 0 0 20px;
}
.command-panel p {
  font-size: 14px;
  line-height: 1.7;
}
.command-facts {
  margin: 0;
}
.command-facts > div {
  border-top: 1px solid #e5ddd2;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
.command-facts dt {
  color: #685d52;
}
.command-facts dd {
  margin: 0;
  text-align: right;
  max-width: 60%;
  font-weight: 500;
}
.command-body .payment-dashboard {
  background: #fffcf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.command-body .order-row summary {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.command-body .order-details {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.command-body .admin-products article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.command-body .admin-products article > div {
  flex: 1;
  min-width: 0;
}
.command-body .admin-products small {
  font-size: 11px;
  line-height: 1.7;
}
.command-body .admin-products img {
  border-radius: 6px;
}
.command-body .field {
  font-size: 12px;
}
.command-body input,
.command-body textarea,
.command-body select {
  font-size: 14px;
}
.command-collection {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.command-collection h3 {
  font-size: 24px;
}
.studio-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.studio-heading h2 {
  font-size: 32px;
  margin: 14px 0;
}
.studio-heading .eyebrow {
  font-size: 10px;
}
.studio-heading .document-status {
  font-size: 10px;
}
.studio-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.draft-history {
  margin-top: 30px;
}
.draft-history article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
}
.media-library {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.media-library a {
  text-decoration: none;
  color: var(--wine);
}
.media-library img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.media-library strong,
.media-library small {
  display: block;
  font-size: 12px;
  padding-top: 8px;
}
.media-library small {
  font-size: 10px;
  color: var(--muted);
}
.restore-dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 500px;
  width: 90vw;
  padding: 28px;
  background: var(--paper);
}
.restore-dialog .text-button {
  margin: 15px;
}
@media (prefers-reduced-motion: no-preference) {
  .nad-copy h1,
  .nad-copy > p {
    animation: nad-enter 650ms var(--ease-enter) both;
  }
  .nad-image-frame {
    animation: nad-enter 850ms var(--ease-enter) both;
  }
  .nad-stage:hover .nad-image-frame img {
    transform: scale(1.012);
  }
  .nad-image-frame img {
    transition: transform 650ms var(--ease-standard);
  }
  @keyframes nad-enter {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 1100px) {
  .nad-hero {
    min-height: 610px;
    padding: 40px 30px;
    gap: 25px;
  }
  .nad-copy h1 {
    font-size: 78px;
  }
  .nad-copy > p {
    font-size: 17px;
  }
  .nad-hero .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .command-center {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .command-welcome {
    display: block;
  }
  .command-welcome .button {
    margin-top: 12px;
  }
  .command-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .command-columns {
    grid-template-columns: 1fr;
  }
  .command-search {
    display: block;
  }
  .command-search input {
    display: block;
    width: 100%;
    margin-top: 5px;
  }
  .media-library {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .nad-hero {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
    padding: 36px 24px 24px;
  }
  .nad-copy h1 {
    font-size: clamp(62px, 14vw, 88px);
    margin: 25px 0;
  }
  .nad-copy > p {
    font-size: 16px;
    max-width: 360px;
  }
  .nad-hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .nad-hero .hero-actions {
    margin-top: 22px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .nad-hero .hero-actions a {
    font-size: 12px;
  }
  .nad-foot {
    display: none;
  }
  .nad-stage {
    max-width: 410px;
    width: 100%;
    margin: auto;
    padding: 15px 16px;
  }
  .nad-image-frame {
    max-width: 300px;
  }
  .nad-stage figcaption {
    margin-top: 18px;
    font-size: 9px;
  }
  .nad-stage figcaption > span:first-child {
    font-size: 19px;
  }
  .nad-ghost {
    font-size: 100px;
    top: -5px;
  }
  .marquee-window {
    padding: 18px 0;
  }
  .marquee-group {
    gap: 22px;
    padding-right: 22px;
  }
  .marquee-thin .marquee-group {
    font-size: 8px;
    gap: 8px !important;
  }
  .brand-context {
    padding-block: 22px;
  }
  .gallery-badge {
    font-size: 8px;
    top: 12px;
    left: 12px;
  }
  .gallery-controls {
    gap: 8px;
  }
  .gallery-controls button {
    font-size: 12px;
    gap: 8px;
  }
  .gallery-controls img,
  .label-thumb {
    width: 42px;
    height: 42px;
  }
  .gallery-zoom {
    bottom: 12px;
    right: 12px;
    font-size: 12px;
  }
  .journal-tools {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .home-support {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 32px;
  }
  .footer-link-groups {
    gap: 25px !important;
    width: 100%;
  }
  .footer-top > p {
    margin: 0;
  }
  .footer-top {
    gap: 25px !important;
  }
  .design-preview-notice {
    font-size: 10px;
    align-items: start;
  }
  .command-center {
    grid-template-columns: 1fr;
  }
  .command-sidebar {
    padding: 18px 20px;
  }
  .command-brand {
    padding: 0;
  }
  .command-role {
    padding: 12px 0 0;
    border: 0;
    margin: 0;
  }
  .command-menu > summary {
    display: block;
    font-size: 13px;
    padding: 15px 0 !important;
    cursor: pointer;
    color: #f7f3ec;
  }
  .command-menu nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }
  .command-menu nav a {
    font-size: 11px;
    padding: 9px 6px;
  }
  .command-menu nav a small {
    font-size: 8px;
  }
  .command-storefront {
    display: none;
  }
  .command-body {
    padding: 0 16px 24px;
  }
  .command-topbar {
    padding: 15px 0;
  }
  .command-page-head {
    padding: 23px 0;
  }
  .command-page-head h1 {
    font-size: 33px;
  }
  .command-welcome {
    padding: 23px;
  }
  .command-welcome h2 {
    font-size: 34px;
  }
  .command-metrics {
    gap: 10px;
    margin: 16px 0;
  }
  .command-metrics a {
    padding: 16px;
    gap: 10px;
  }
  .command-metrics strong {
    font-size: 36px;
  }
  .command-panel {
    padding: 19px;
  }
  .command-facts > div {
    gap: 12px;
    font-size: 11px;
  }
  .command-body .payment-dashboard {
    padding: 18px;
  }
  .command-body .order-row summary {
    grid-template-columns: 1fr 1fr;
    font-size: 11px;
    gap: 10px;
  }
  .command-body .admin-products article {
    gap: 10px;
  }
  .command-body .admin-products strong {
    font-size: 13px;
  }
  .command-body .admin-products img {
    width: 42px;
    height: 42px;
  }
  .studio-heading {
    display: block;
  }
  .studio-heading h2 {
    font-size: 29px;
  }
  .media-library {
    grid-template-columns: 1fr 1fr;
  }
  .draft-history article {
    flex-direction: column;
    align-items: start;
  }
  #command-search-results {
    grid-template-columns: 1fr;
  }
  .command-status {
    font-size: 10px;
  }
  .gallery-dialog {
    padding: 14px;
  }
  .gallery-dialog p {
    clear: both;
    padding-top: 15px;
  }
  .company-preview h2 {
    font-size: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
    transform: none !important;
  }
  .marquee-group[aria-hidden] {
    display: none;
  }
  .marquee-track {
    width: 100%;
  }
  .marquee-group {
    white-space: normal;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 15px;
  }
  .marquee-pause {
    display: none;
  }
  .gallery-image,
  .journal-art img,
  .nad-image-frame img {
    transition: none;
    transform: none;
  }
  .gallery-stage[data-view='label'] .gallery-image {
    transform: scale(1.8);
  }
  .nad-copy h1,
  .nad-copy > p,
  .nad-image-frame {
    animation: none;
  }
}
@media (min-width: 761px) {
  .footer-link-groups a {
    min-height: 32px;
  }
  .footer-top > p {
    font-size: 25px;
    line-height: 1.35;
  }
  .command-menu nav a {
    font-size: 13px;
  }
  .command-metrics a > span {
    font-size: 13px;
  }
  .command-facts > div {
    font-size: 13px;
  }
}
.journal-card {
  min-width: 0;
}
.journal-art {
  height: auto !important;
  min-width: 0;
}
.command-center .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.command-welcome .button {
  margin-top: 16px;
}
.command-menu > summary:focus-visible {
  outline: 2px solid #e7c798;
  outline-offset: 4px;
}
/* Approved Concept A — Luxury Editorial 2.0. */
.nad-hero.editorial-hero {
  background: #f7f3eb;
  color: #351923;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  min-height: 0;
  padding: 52px var(--page-gutter) 24px;
  gap: clamp(28px, 4vw, 64px);
}
.editorial-hero .nad-copy {
  max-width: 510px;
  padding: 24px 0;
}
.editorial-hero .eyebrow {
  color: #795e59;
  font-size: 11px;
  letter-spacing: 0.17em;
}
.editorial-hero .nad-copy h1 {
  font-size: clamp(64px, 5.5vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 26px 0;
  color: #441a2a;
}
.editorial-hero .nad-copy h1 em {
  color: inherit;
}
.editorial-hero .nad-copy > p {
  font-size: 17px;
  line-height: 1.7;
  color: #65545a;
  max-width: 390px;
}
.editorial-hero .nad-copy > .editorial-purpose {
  font-size: 12px;
  max-width: 410px;
  margin-top: 24px;
  line-height: 1.6;
}
.editorial-hero .hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.editorial-hero .button {
  background: #541d2d;
  color: #fff9f1;
  border-color: #541d2d;
  font-size: 14px;
  min-height: 52px;
  padding: 16px 22px;
}
.editorial-hero .text-link {
  color: #541d2d;
  font-size: 14px;
}
.editorial-hero .nad-stage {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.editorial-photo {
  height: clamp(430px, 36vw, 550px);
  overflow: hidden;
  background: #e9e0d6;
  position: relative;
}
.editorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 50%;
  display: block;
}
.editorial-photo picture {
  display: block;
  height: 100%;
}
.editorial-hero .nad-stage figcaption {
  margin: 13px 0 0;
  color: #695458;
  font-size: 11px;
}
.editorial-hero .nad-stage figcaption > span:first-child {
  font-size: 18px;
}
.editorial-hero .nad-foot {
  color: #795e59;
  border-color: #541d2d25;
  margin-top: 36px;
  font-size: 10px;
  line-height: 1.7;
  gap: 12px;
}
.nad-foot a {
  color: inherit;
}
.marquee-editorial {
  background: #541d2d;
  color: #fff8ee;
}
.marquee-track {
  animation-duration: 42s;
}
.marquee-thin .marquee-window {
  padding: 9px 0;
}
.marquee-thin .marquee-group {
  font-size: 12px;
}
.marquee-thin .marquee-pause {
  min-height: 36px;
  height: 36px;
}
#announcement-marquee:empty {
  display: none;
}
.in-command-center #announcement-marquee {
  display: none;
}
.editorial-halloween .editorial-photo {
  background: #28151d;
}
.product-card .product-image img {
  transition: transform 220ms ease;
}
.product-card:hover .product-image img {
  transform: scale(1.015);
}
@media (prefers-reduced-motion: no-preference) {
  .editorial-hero .nad-copy h1,
  .editorial-hero .nad-copy > p {
    animation: editorial-enter 500ms ease both;
  }
  .editorial-photo picture {
    animation: editorial-push 1200ms ease-out both;
  }
  @keyframes editorial-enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes editorial-push {
    from {
      transform: scale(1.01);
    }
    to {
      transform: scale(1);
    }
  }
}
@media (max-width: 760px) {
  .nad-hero.editorial-hero {
    grid-template-columns: 1fr;
    padding: 30px var(--page-gutter) 0;
    gap: 24px;
  }
  .editorial-hero .nad-copy {
    padding: 0;
    max-width: none;
  }
  .editorial-hero .nad-copy h1 {
    font-size: clamp(46px, 12.3vw, 62px);
    max-width: 350px;
    margin: 20px 0;
  }
  .editorial-hero .nad-copy > p {
    font-size: 16px;
    line-height: 1.65;
  }
  .editorial-hero .hero-actions {
    gap: 16px;
    margin-top: 24px;
  }
  .editorial-hero .button,
  .editorial-hero .text-link {
    font-size: 13px;
  }
  .editorial-photo {
    height: 330px;
    margin-inline: calc(-1 * var(--page-gutter));
  }
  .editorial-photo img {
    object-position: 54% 50%;
  }
  .editorial-hero .nad-stage figcaption {
    font-size: 10px;
    margin: 12px 0 18px;
  }
  .editorial-hero .nad-stage figcaption small {
    font-size: 10px;
  }
  .editorial-hero .nad-copy > .editorial-purpose {
    font-size: 12px;
    margin-bottom: 0;
  }
  .editorial-hero .nad-foot {
    display: none;
  }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .editorial-photo picture {
    animation: none;
  }
  .product-card:hover .product-image img {
    transform: none;
  }
}
.ops-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ops-heading h2,
.ops-heading h3 {
  margin: 10px 0;
}
.ops-tools {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}
.ops-record {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.ops-record[hidden] {
  display: none;
}
.ops-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.ops-record > small {
  display: block;
  color: var(--muted);
  margin-top: 12px;
}
.ops-dialog {
  width: min(840px, 94vw);
  max-height: 88dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 28px;
  color: var(--wine);
}
.ops-dialog::backdrop {
  background: #20121bc9;
}
.ops-dialog pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px var(--sans);
}
.ops-dialog > button {
  float: right;
}
.ops-dialog h2 {
  clear: both;
}
.ops-dialog .form-grid {
  align-items: start;
}
.ops-files {
  overflow-wrap: anywhere;
}
.ops-files code {
  font-size: 12px;
}
.ops-dialog [role='alert'] {
  color: var(--color-error);
}
.command-panel h3 {
  font-size: 24px;
}
.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 760px) {
  .ops-tools {
    grid-template-columns: 1fr;
  }
  .ops-dialog {
    padding: 20px;
  }
  .ops-dialog .form-grid {
    grid-template-columns: 1fr;
  }
  .ops-actions {
    gap: 10px;
  }
  .ops-heading h3 {
    font-size: 23px;
  }
}
.newsletter-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.newsletter-panel h2 {
  font-size: 38px;
  margin: 14px 0;
}
.newsletter-panel p {
  font-size: 14px;
}
.newsletter-panel form {
  max-width: 480px;
}
.newsletter-panel .checkbox {
  font-size: 13px;
}
.newsletter-panel .field {
  font-size: 13px;
}
.newsletter-panel [role='status'] {
  color: var(--wine);
  font-weight: 600;
}
.preference-page {
  max-width: 1100px;
  margin: auto;
}
.preference-page h1 {
  font-size: 50px;
}
.in-command-center #footer-signup {
  display: none;
}
/* Each identical marquee group fills at least one viewport, avoiding a gap on wide screens. */
.marquee-track {
  min-width: 200%;
}
.marquee-group {
  min-width: calc(100vw - 52px);
  justify-content: space-around;
}
.brand-marquee[data-speed='still'] .marquee-track {
  min-width: 0;
}
.brand-marquee[data-speed='still'] .marquee-group {
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .marquee-group {
    min-width: 0;
  }
}
@media (max-width: 760px) {
  .newsletter-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .newsletter-panel h2 {
    font-size: 32px;
  }
}

/* Small usability refinement: explicit size selection within the approved card. */
.card-size {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  margin: 12px 0;
  color: var(--wine, #612438);
}
.card-size select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid #b8a99c;
  border-radius: 4px;
  padding: 8px;
}

.editorial-body {
  white-space: pre-wrap;
}
