/* ==========================================================================
   Car Showables — Phase 0
   Design system derived from the triptych artwork: angled theme banners,
   technical grid ground, condensed italic caps, dotted leader lines.

   SAFARI NOTE: no mask-image / -webkit-mask-image anywhere, no feTurbulence,
   no backdrop-filter over fixed layers. Fades are baked into gradient stacks.
   See CLAUDE.md "Frontend: Safari-safe CSS".
   ========================================================================== */

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-700-italic.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-600-italic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --ink:    #0E0E10;
  --panel:  #1C1C1F;
  --plate:  #282829;   /* brand charcoal */
  --paper:  #F2F2F0;
  --dim:    #8C8C93;
  --line:   #2E2E33;

  /* theme — swapped by [data-theme] below */
  --theme:      #cc1145;
  --theme-text: #cc1145;   /* brightened: 5.44:1 on --ink, small text safe */
  --on-theme:   #FFFFFF;   /* 4.77:1 on red */

  --display: 'Barlow Condensed', 'Helvetica Neue', Impact, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, 'SF Mono', monospace;

  --shell: 1200px;
  --gut: clamp(1.25rem, 4vw, 3rem);
}

:root[data-theme="tan"] {
  --theme:      #D2B48C;
  --theme-text: #D2B48C;   /* tan theme */
  --on-theme:   #0E0E10;   /* dark text on tan */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--theme-text);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--theme); color: var(--on-theme);
  padding: .75rem 1.25rem; z-index: 100; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- shared devices ------------------------------------------------ */

/* angled theme banner — the artwork's signature label shape */
.banner {
  display: inline-block;
  background: var(--theme);
  color: var(--on-theme);
  font-family: var(--display);
  font-weight: 700; font-style: italic;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  padding: .5rem 2.25rem .55rem 1.1rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.1rem) 100%, 0 100%);
  transition: background-color .45s ease, color .45s ease;
}

/* technical grid ground, as on panel 2 */
.grid-ground {
  position: relative;
  background-color: var(--panel);
  background-image:
    repeating-linear-gradient(to right,  rgba(255,255,255,.045) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.045) 0 1px, transparent 1px 48px);
}

/* dotted leader line, as on the schematic callouts */
.leader {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim);
}
.leader::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--theme-text); flex: none;
  transition: background-color .45s ease;
}
.leader::after {
  content: ""; flex: 1; height: 1px;
  background-image: linear-gradient(to right, var(--line) 0 4px, transparent 4px 8px);
  background-size: 8px 1px;
}

.serial {
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .14em;
  color: var(--dim);
}

.eyebrow {
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--theme-text);
  margin: 0 0 1rem;
  transition: color .45s ease;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700; font-style: italic;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.005em;
  margin: 0;
}

h1 { font-size: clamp(2.75rem, 8.5vw, 5.75rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #CFCFD4; max-width: 46ch; }

/* ---------- header -------------------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,14,16,.92);
  border-bottom: 1px solid var(--line);
}
.site-head .shell {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand img.tan { display: none; }
:root[data-theme="tan"] .brand img.red { display: none; }
:root[data-theme="tan"] .brand img.tan { display: block; }
.brand span {
  font-family: var(--display); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: 1.15rem; letter-spacing: .01em;
}

.nav { display: flex; gap: 1.5rem; }
.nav a {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim); text-decoration: none;
}
.nav a:hover { color: var(--paper); }
@media (max-width: 720px) { .site-head .nav { display: none; } }

/* theme chips — the miniature customizer */
.chips { display: flex; align-items: center; gap: .45rem; }
.chips .label {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim); margin-right: .15rem;
}
@media (max-width: 520px) { .chips .label { display: none; } }
.chip {
  width: 22px; height: 22px; border-radius: 50%; padding: 0;
  border: 2px solid transparent; cursor: pointer;
  background-clip: content-box; box-shadow: 0 0 0 1px var(--line);
}
.chip[data-c="red"]  { background-color: #cc1145; }
.chip[data-c="tan"] { background-color: #D2B48C; }
.chip[aria-pressed="true"] { border-color: var(--paper); box-shadow: none; }

/* ---------- hero ---------------------------------------------------------- */

.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-copy { max-width: 60ch; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .hl { color: var(--theme-text); transition: color .45s ease; }
.hero-white {
  color: var(--cs-white);
  white-space: nowrap;
}

/* triptych — three panels, theme cross-fade */
.tryptych {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(.5rem, 1.2vw, 1rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 760px) { .tryptych { grid-template-columns: 1fr; } }

.panel {
  position: relative;
  aspect-ratio: 2100 / 1500;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s ease;
}
.panel img.tan { opacity: 0; }
:root[data-theme="tan"] .panel img.red  { opacity: 0; }
:root[data-theme="tan"] .panel img.tan { opacity: 1; }

.tryptych-foot {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  margin-top: 1rem;
}
.tryptych-foot .leader { flex: 1 1 260px; }

/*----------- fix for h2 styling ------------*/

.section-head h2 .hl {
  color: var(--theme-text);
  transition: color .45s ease;
}

/* ---------- hero carousel ------------------------------------------------ */

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 60ch;
}

.showcase-carousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 571;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  transition: opacity 0.65s ease-in-out;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide img.red {
  display: block;
}

:root[data-theme="tan"] .carousel-slide img.red {
  display: none;
}

:root[data-theme="tan"] .carousel-slide img.tan {
  display: block;
}

/* ---------- carousel controls -------------------------------------------- */

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 28px;
  line-height: 46px;
  text-align: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
}

.showcase-carousel:hover .carousel-control,
.showcase-carousel .carousel-control:focus-visible {
  opacity: 1;
}

.carousel-control:hover {
  background: rgba(0, 0, 0, 0.9);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

/* ---------- carousel dots ----------------------------------------------- */

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}

.carousel-dot {
  appearance: none;
  -webkit-appearance: none;
  width: 7px;
  height: 7px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--theme-text);
  color: var(--theme-text);
  opacity: 0.35;
  cursor: pointer;
  transition: background-color 0.45s ease, opacity 0.2s ease;
}

.carousel-dot.is-active {
  opacity: 1;
}

/* ---------- responsive hero --------------------------------------------- */

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-carousel {
    max-width: 700px;
  }

  .tryptych-foot {
    margin-top: 0;
    gap: 0.25rem 1rem;
  }

  .tryptych-foot p {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* Touch devices have no hover state, so keep navigation available. */
@media (hover: none) {
  .carousel-control {
    opacity: 1;
  }
}

/* ----------- tryptych-foot fix ----------- */

.tryptych-foot {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.5rem;
}

/* ---------- section scaffolding ------------------------------------------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: .9rem; }
.section-head p { color: var(--dim); max-width: 58ch; margin: 0; }

/* ---------- formats grid -------------------------------------------------- */

.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.25rem; }

.format {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
}
.format-art { position: relative; aspect-ratio: 2100/1500; overflow: hidden; background: var(--plate); }
.format-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s ease;
}
.format-art img.tan { opacity: 0; }
:root[data-theme="tan"] .format-art img.red  { opacity: 0; }
:root[data-theme="tan"] .format-art img.tan { opacity: 1; }
/* No product photo yet — show the mark, dimmed, so the card reads as a
   placeholder rather than a finished product shot. Both colour variants share
   one grid cell so they cross-fade like the panels instead of stacking. */
.format-art .no-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--plate);
}
.format-art .no-art img {
  position: static; grid-area: 1 / 1;
  width: 44%; height: auto; object-fit: contain;
}
.format-art .no-art img.tan { opacity: 0; }
:root[data-theme="tan"] .format-art .no-art img.red  { opacity: 0; }
:root[data-theme="tan"] .format-art .no-art img.tan { opacity: .5; }

.format-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; gap: .6rem; }
/* The dimension line is the card's spec, not decoration — it carries the real
   physical size. Reserved at two lines so the titles align across the row even
   when "4" x 6" - double-sided" wraps and "24" x 36"" does not. */
.format-dim {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  line-height: 1.45; min-height: 2.9em; margin: 0;
  text-transform: uppercase; color: var(--theme-text);
  transition: color .45s ease;
}
.format h3 { font-size: 1.3rem; }
/* :not() is load-bearing. `.format p` (0,1,1) outranks `.format-dim` (0,1,0),
   so a bare selector here steals the eyebrow's colour and gives it flex:1 —
   two growing children split the free space and nothing bottom-aligns. */
/* Every child of .format-body is a <p>, so the exclusions are load-bearing.
   A :not() argument contributes its own specificity, which makes this rule
   (0,2,1) — enough to outrank .format .status (0,2,0) and reset the auto
   margin below if .status is not excluded here too. */
.format p:not(.format-dim):not(.status) { color: var(--dim); font-size: .9rem; margin: 0; }
/* auto top margin rather than flex-grow on the description: the margin eats the
   free space outright, so the rules line up across the row whatever the copy
   length. Shorthand, so the UA's default <p> margins go with it. */
.format .status {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim);
  border-top: 1px solid var(--line); padding-top: .75rem;
  margin: auto 0 0;
}

/* ---------- how it works — a genuine sequence, so it is numbered ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.75rem; }
.step { display: flex; flex-direction: column; gap: .65rem; }
.step .n {
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: 2.6rem; line-height: 1; color: var(--theme-text);
  transition: color .45s ease;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--dim); font-size: .92rem; margin: 0; }

/* ---------- signup -------------------------------------------------------- */

.signup .shell { position: relative; z-index: 1; }
.signup-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) { .signup-inner { grid-template-columns: 1fr; } }

form.waitlist { display: flex; flex-direction: column; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim);
}
.field input, .field select {
  font: inherit; font-size: .95rem;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--line); border-radius: 0;
  padding: .7rem .85rem;
  width: 100%;
}
.field input::placeholder { color: #56565C; }
.field input:focus-visible, .field select:focus-visible { border-color: var(--theme-text); }

button.cta {
  align-self: flex-start;
  font-family: var(--display); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em;
  background: var(--theme); color: var(--on-theme);
  border: 0; cursor: pointer;
  padding: .7rem 2.5rem .75rem 1.3rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.1rem) 100%, 0 100%);
  transition: background-color .45s ease, color .45s ease, filter .2s ease;
}
button.cta:hover { filter: brightness(1.12); }
button.cta[disabled] { opacity: .55; cursor: default; filter: none; }

.form-note { font-size: .8rem; color: var(--dim); margin: 0; }

.status-msg { font-size: .9rem; margin: 0; min-height: 1.4em; }
.status-msg[data-state="ok"]   { color: var(--theme-text); }
.status-msg[data-state="err"]  { color: #FF6B6B; }

/* ---------- about page ---------------------------------------------------- */

.about-hero {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.about-hero-copy {
  max-width: 900px;
}

.about-hero h1 {
  max-width: 950px;
}

.about-hero .lede {
  max-width: 850px;
}

.about-section {
  border-top: 1px solid var(--line);
}


/* ---------- maker grid --------------------------------------------------- */

.maker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.25rem;
}

.maker {
  min-width: 0;
}

.maker-logo {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);

  color: var(--theme-text);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: .04em;
  text-align: center;
  transition:
    border-color .45s ease,
    color .45s ease;
}

.maker p {
  margin: .75rem 0 0;
  color: var(--dim);
  font-size: .85rem;
  line-height: 1.55;
}


/* ---------- FAQ --------------------------------------------------------- */

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

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  padding: 1.25rem 0;

  cursor: pointer;
  list-style: none;

  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}

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

.faq summary::marker {
  display: none;
}

.faq summary:hover {
  color: var(--theme-text);
}

.faq-icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--theme-text);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .2s ease;
}

.faq details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-width: 850px;
  padding: 0 3rem 1.5rem 0;
}

.faq-answer p {
  margin: 0;
  color: #CFCFD4;
}


/* ---------- contact form ------------------------------------------------- */

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .field:nth-child(3),
.contact-form .field:nth-child(4),
.contact-form .cta,
.contact-form .status-msg,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.contact-form textarea {
  font: inherit;
  font-size: .95rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: .7rem .85rem;
  width: 100%;
  min-height: 150px;
  resize: vertical;
}

.contact-form textarea:focus-visible {
  border-color: var(--theme-text);
}


/* ---------- about responsive --------------------------------------------- */

@media (max-width: 900px) {

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

}

@media (max-width: 600px) {

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

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

  .contact-form .field,
  .contact-form .cta,
  .contact-form .form-note {
    grid-column: 1;
  }

  .faq summary {
    font-size: 1.2rem;
  }

  .faq-answer {
    padding-right: 0;
  }

}

/* ---------- FAQ soft expand / collapse -------------------------------- */

.faq details {
  overflow: hidden;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease;
}

.faq details[open] .faq-answer {
  opacity: 1;
}

/* ---------- footer -------------------------------------------------------- */

.site-foot { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; }
.site-foot .foot-main {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  align-items: center; justify-content: space-between;
}
.site-foot .marks { display: flex; align-items: center; gap: .75rem; }
.site-foot img { width: 32px; height: 32px; opacity: .85; }
.site-foot img.tan { display: none; }
:root[data-theme="tan"] .site-foot img.red { display: none; }
:root[data-theme="tan"] .site-foot img.tan { display: block; }
.site-foot .serial { color: #55555C; }

/* Platform credit — its own line under the footer proper, because it is
   attribution rather than navigation. No second rule: the footer already has a
   border above it, and a full-width hairline here reads as a double frame. The
   tissue mark keeps its own brand colours, so it sits outside the theme swap. */
.colophon {
  margin: 1.75rem 0 0;
  font-size: .85rem;
  color: #55555C;
}
.built-with {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--dim);
  text-decoration: none;
}
.site-foot .built-with img {
  width: 18px; height: 18px;
  opacity: .8;
  transition: opacity .15s ease;
}
.built-with:hover { color: var(--paper); text-decoration: underline; }
.built-with:hover img { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .site-foot .built-with img { transition: none; }
}

/* ---------- small structural utilities ------------------------------------ *
   These exist because `style-src 'self'` blocks style *attributes*, not just
   <style> blocks — a one-off inline override is not a shortcut here, it is a
   silently dropped rule. */

/* A banner sets its own baseline; the heading under it needs the gap. */
.section-head .banner + h2,
.signup-inner .banner + h2 { margin-top: 1.25rem; }
.signup-inner .banner + h2 { margin-bottom: .9rem; }

/* Hero running straight into the section below it, with no rule between. */
.hero-flush { padding-bottom: 0; }
.section-flush { border-top: 0; }

/* Inline link inside body copy, where the underline alone is too quiet. */
.theme-link { color: var(--theme-text); }


/* ==========================================================================
   ORDER PAGE — annotated layout pass
   ========================================================================== */

.order-hero {
  padding-bottom: 44px;
}

.order-hero-copy {
  width: min(100%, 485px);
  max-width: 485px;
}

.order-section {
  border-top: 0;
  padding: 0;
}

.order-shell {
  padding-bottom: 97px;
}

.order-form {
  display: block;
}

.order-products {
  width: min(100%, 485px);
  margin-bottom: 44px;
}

.product-picker-title {
  margin: 0 0 10px;
  color: var(--paper);
  font-family: var(--body);
  font-size: .9rem;
}

.product-picker-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .05em;
}

.product-option input {
  margin: 0;
}

.product-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid #56565C;
  background: var(--ink);
  display: inline-grid;
  place-items: center;
}

.product-option input[type="checkbox"]:checked {
  border-color: var(--theme);
  background: var(--theme);
}

.product-option input[type="checkbox"]:checked::after {
  content: "✓";
  color: var(--on-theme);
  font-size: 10px;
  line-height: 1;
}

.order-workspace {
  display: grid;
  grid-template-columns: minmax(0, 485px) minmax(0, 560px);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
  justify-content: start;
}

.order-workspace.examples-collapsed {
  grid-template-columns: minmax(0, 485px) 225px;
}

.order-main {
  width: 100%;
  min-width: 0;
}

.product-config {
  margin: 0 0 44px;
}

.product-config[hidden],
.card-front-config[hidden] {
  display: none !important;
}

.order-product-head {
  margin: 10px 0 29px;
}

.order-product-head h2 {
  margin: 0 0 8px;
}

.order-product-head p {
  max-width: 485px;
  margin: 0;
  color: var(--dim);
  font-size: .9rem;
  line-height: 1.5;
}

.order-fieldset {
  width: 100%;
  min-width: 0;
  margin: 0 0 29px;
  padding: 13px;
  border: 1px solid var(--line);
  background: transparent;
}

.order-fieldset > legend {
  padding: 0 4px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}

.order-fieldset > legend + * {
  margin-top: 10px;
}

.fieldset-note {
  margin: 0 0 10px;
  color: var(--dim);
  font-size: .78rem;
  line-height: 1.45;
}

.order-form .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 10px;
}

.order-form .field:last-child {
  margin-bottom: 0;
}

.order-form .field label {
  margin: 0;
}

.order-form .field input[type="text"],
.order-form .field input[type="email"],
.order-form .field input[type="file"],
.order-form .field select,
.order-form .field textarea {
  width: 100%;
  min-height: 29px;
  padding: 5px 7px;
  border: 1px solid #CFCFD4;
  border-radius: 0;
  background: #FFFFFF;
  color: #111114;
  font: inherit;
  font-size: .86rem;
}

.order-form .field input[type="file"] {
  padding: 3px 5px;
  color: #3C3C42;
}

.order-form .field textarea {
  min-height: 91px;
  resize: vertical;
}

.order-form .field input:focus-visible,
.order-form .field select:focus-visible,
.order-form .field textarea:focus-visible {
  border-color: var(--theme-text);
  outline: 2px solid var(--theme-text);
  outline-offset: 1px;
}

.order-form .form-note {
  margin: 0;
  padding: 0;
  color: var(--dim);
  font-size: .72rem;
  line-height: 1.4;
}

.repeatable-fields,
.rating-list,
.meter-builder {
  display: grid;
  gap: 10px;
}

.add-field {
  margin-top: 5px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--theme-text);
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.add-field:hover {
  border-color: var(--theme-text);
  color: var(--paper);
}

.rating-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 145px;
  gap: 10px;
}

.subsection-title {
  margin: 29px 0 10px;
  font-size: 1rem;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}

.choice-card input {
  margin: 0;
}

.choice-card input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid #56565C;
  border-radius: 50%;
  background: var(--ink);
  display: inline-grid;
  place-items: center;
}

.choice-card input[type="radio"]:checked {
  border-color: var(--theme);
}

.choice-card input[type="radio"]:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme);
}

.color-wheel-toggle {
  width: min(100%, 250px);
  border: 1px solid var(--line);
  background: transparent;
}

.color-wheel-toggle summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  cursor: pointer;
  list-style: none;
  color: var(--paper);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.color-wheel-toggle summary::-webkit-details-marker {
  display: none;
}

.color-wheel-toggle summary::after {
  content: "+";
  color: var(--theme-text);
}

.color-wheel-toggle[open] summary::after {
  content: "−";
}

.color-picker-control {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  padding: 8px;
}

.order-form .color-swatch-field input[type="color"] {
  width: 78px;
  height: 37px;
  padding: 2px;
  background: #FFFFFF;
  border: 1px solid #CFCFD4;
}

.examples-panel {
  position: sticky;
  top: 82px;
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--line);
  background: var(--panel);
  z-index: 10;
  transition: width .2s ease;
}

.examples-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.examples-panel-head > span {
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}

.examples-toggle {
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--theme-text);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  min-width: 118px;
}

.examples-toggle:hover {
  border-color: var(--theme-text);
}

.examples-body {
  display: grid;
  gap: 29px;
  padding: 13px;
  max-height: calc(100vh - 126px);
  overflow: auto;
}

.examples-panel.is-collapsed .examples-body {
  display: none;
}

.examples-panel.is-collapsed .examples-panel-head {
  border-bottom: 0;
}

.example-card {
  margin: 0;
}

.example-card figcaption {
  margin: 0 0 5px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.example-image {
  position: relative;
  width: 100%;
  max-width: 504px;
  aspect-ratio: 504 / 360;
  overflow: hidden;
  background: var(--ink);
}

.example-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-image img.tan {
  display: none;
}

:root[data-theme="tan"] .example-image img.red {
  display: none;
}

:root[data-theme="tan"] .example-image img.tan {
  display: block;
}

.payment-note {
  margin: 0;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.payment-note .shell {
  position: relative;
  z-index: 1;
}

.payment-note .order-product-head {
  margin-top: 10px;
}

.payment-note p {
  max-width: 760px;
  color: #CFCFD4;
}

.order-submit {
  display: grid;
  gap: 5px;
  margin-top: 29px;
}

@media (max-width: 1100px) {
  .order-workspace {
    grid-template-columns: minmax(0, 485px) minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .order-shell {
    padding-bottom: 44px;
  }

  .order-workspace,
  .order-workspace.examples-collapsed {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .order-main,
  .order-products,
  .order-hero-copy {
    width: 100%;
    max-width: none;
  }

  .examples-panel {
    position: sticky;
    top: 68px;
    max-width: none;
    order: -1;
  }

  .examples-panel.is-mobile-open {
    position: fixed;
    inset: 68px 0 0;
    width: 100%;
    max-width: none;
    height: calc(100vh - 68px);
    z-index: 45;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .examples-panel.is-mobile-open .examples-body {
    display: grid;
    max-height: calc(100vh - 120px);
    padding-bottom: 30px;
  }

  .examples-panel:not(.is-mobile-open) .examples-body {
    display: none;
  }

  .examples-panel:not(.is-mobile-open) .examples-panel-head {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .product-picker-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }

  .rating-row,
  .color-picker-control {
    grid-template-columns: 1fr;
  }

  .payment-note {
    padding: 44px 0;
  }
}



/* ==========================================================================
   ORDER PAGE — dark field refinement
   ========================================================================== */

/* Left-side collection panels match the Examples module panel tone. */
.order-fieldset {
  background: var(--panel);
}

/* Text-entry controls use the site's dark surface with a neutral grey outline. */
.order-form .field input[type="text"],
.order-form .field input[type="email"],
.order-form .field input[type="file"],
.order-form .field select,
.order-form .field textarea {
  background: var(--ink);
  color: var(--paper);
  border-color: #56565C;
}

/* Keep browser file-picker button legible against the dark field. */
.order-form .field input[type="file"] {
  color: var(--dim);
}

.order-form .field input[type="file"]::file-selector-button {
  margin-right: 10px;
  border: 1px solid #56565C;
  background: var(--panel);
  color: var(--paper);
  padding: 5px 8px;
  cursor: pointer;
}

.order-form .field input[type="file"]::-webkit-file-upload-button {
  margin-right: 10px;
  border: 1px solid #56565C;
  background: var(--panel);
  color: var(--paper);
  padding: 5px 8px;
  cursor: pointer;
}

/* Placeholder text remains visible without competing with entered content. */
.order-form .field input::placeholder,
.order-form .field textarea::placeholder {
  color: #6F6F76;
  opacity: 1;
}

/* Preserve the theme focus state. */
.order-form .field input:focus-visible,
.order-form .field select:focus-visible,
.order-form .field textarea:focus-visible {
  border-color: var(--theme-text);
}

/* Compact HEX fields now follow the same dark-input treatment. */
.order-form .color-hex-field input {
  background: var(--ink);
  color: var(--paper);
  border-color: #56565C;
}


/* ==========================================================================
   CONSOLIDATED SITE UI FIXES
   ========================================================================== */

/* ---------- red / tan asset switching ---------------------------------- */

.brand img.tan,
.marks img.tan,
.theme-copy.tan {
  display: none;
}

:root[data-theme="tan"] .brand img.red,
:root[data-theme="tan"] .marks img.red,
:root[data-theme="tan"] .theme-copy.red {
  display: none;
}

:root[data-theme="tan"] .brand img.tan,
:root[data-theme="tan"] .marks img.tan,
:root[data-theme="tan"] .theme-copy.tan {
  display: block;
}

.build-serials {
  min-width: 0;
}

/* ---------- BUY NOW ---------------------------------------------------- */

.buy-now {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid var(--theme-text);
  background: transparent;
  color: var(--theme-text);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.buy-now:hover,
.buy-now:focus-visible {
  background: var(--theme-text);
  color: var(--ink);
}

.buy-now:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

/* ---------- Instagram footer link -------------------------------------- */

.instagram-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.instagram-icon {
  display: block;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  flex: 0 0 16px;
}

/* ---------- mobile navigation ------------------------------------------ */

.menu-toggle {
  display: none;
  width: 36px;
  height: 32px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--paper);
  transform-origin: center;
  transition:
    transform .2s ease,
    opacity .2s ease,
    background-color .45s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 720px) {
  .site-head .shell {
    position: relative;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-head > .shell > .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: var(--gut);
    right: var(--gut);
    flex-direction: column;
    gap: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    z-index: 60;
  }

  .site-head > .shell > .nav.is-open {
    display: flex;
  }

  .site-head > .shell > .nav a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--paper);
  }

  .site-head > .shell > .nav a:last-child {
    border-bottom: 0;
  }

  .site-head > .shell > .nav a:hover,
  .site-head > .shell > .nav a:focus-visible {
    color: var(--theme-text);
    background: var(--ink);
  }
}

/* ---------- Order color helper ----------------------------------------- */

.color-theme-note {
  margin-bottom: 5px;
}

/* ---------- About contact placeholders --------------------------------- */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6F6F76;
  opacity: 1;
}


/* ==========================================================================
   HOMEPAGE PRODUCT SELECTION + LIGHTWEIGHT CHECKOUT
   ========================================================================== */

.product-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.product-select.is-selected,
.product-select[aria-pressed="true"] {
  background: var(--theme-text);
  border-color: var(--theme-text);
  color: var(--ink);
}
.product-select.is-selected:hover,
.product-select[aria-pressed="true"]:hover { filter: brightness(.9); }

.home-order-bar {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.home-order-bar[hidden] { display: none !important; }
.home-order-summary { display: flex; align-items: center; gap: 16px; min-width: 0; }
.home-order-summary strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  text-transform: uppercase;
}
.home-order-summary p { margin: 2px 0 0; color: var(--dim); font-size: .85rem; }

.cta-link {
  display: inline-block;
  flex: none;
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .02em;
  text-decoration: none;
  background: var(--theme);
  color: var(--on-theme);
  padding: .65rem 2.35rem .7rem 1.2rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.1rem) 100%, 0 100%);
  transition: filter .2s ease, background-color .45s ease, color .45s ease;
}
.cta-link:hover { filter: brightness(1.12); }

.launch-promo { margin-top: 18px; padding: 14px 0 0; }
.launch-promo p { margin: 0 0 6px; }
.launch-promo .leader { color: var(--theme-text); }

/* ---------- checkout page ------------------------------------------------ */

.checkout-hero { padding-bottom: 32px; }
.checkout-hero-copy { max-width: 760px; }
.checkout-section { border-top: 0; padding-top: 20px; }
.checkout-form { display: block; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.checkout-products { display: grid; gap: 14px; margin-top: 16px; }

.checkout-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.checkout-item-art {
  position: relative;
  aspect-ratio: 760 / 543;
  overflow: hidden;
  background: var(--plate);
}
.checkout-item-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.checkout-item-art img.tan { display: none; }
:root[data-theme="tan"] .checkout-item-art img.red { display: none; }
:root[data-theme="tan"] .checkout-item-art img.tan { display: block; }

.checkout-item h3 { margin-bottom: 5px; font-size: 1.2rem; }
.checkout-item-price { margin: 4px 0 0; color: var(--paper); font-family: var(--mono); font-size: .76rem; }
.checkout-option { margin-top: 8px; }
.checkout-option label {
  display: block;
  margin-bottom: 4px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.checkout-option select {
  width: 100%;
  max-width: 280px;
  padding: 7px 8px;
  border: 1px solid #56565C;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
}
.checkout-remove {
  align-self: start;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.checkout-remove:hover { border-color: var(--theme-text); color: var(--theme-text); }

.checkout-summary {
  position: sticky;
  top: 88px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.checkout-summary .banner { margin-bottom: 16px; }

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
}
.summary-row strong { color: var(--paper); font-family: var(--mono); }
.discount-row strong, .discount-row span { color: var(--theme-text); }
.total-row {
  margin-top: 4px;
  border-bottom: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}
.total-row strong { font-family: var(--display); font-size: 1.55rem; }

.promo-card {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.promo-card .eyebrow { margin-bottom: 6px; }
.promo-card p:last-child { margin-bottom: 0; color: #CFCFD4; font-size: .88rem; }

.checkout-empty { margin-top: 16px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.checkout-empty h2 { margin-bottom: 10px; }

.checkout-contact { max-width: 760px; margin-top: 64px; }
.checkout-contact .banner { margin-bottom: 10px; }
.checkout-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-email-field { grid-column: 1 / -1; }
.checkout-contact .field input {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid #56565C;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
}
.checkout-contact .field input::placeholder { color: #6F6F76; }

.checkout-next {
  margin-top: 56px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
}
.checkout-next .banner { margin-bottom: 16px; }
.checkout-next h2 { margin-bottom: 14px; }
.checkout-next p { max-width: 760px; color: #CFCFD4; }
.checkout-next .cta { margin-top: 12px; }

.intake-reference { margin-bottom: 22px !important; }

@media (max-width: 820px) {
  .home-order-bar, .home-order-summary { align-items: flex-start; }
  .home-order-bar { flex-direction: column; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 600px) {
  .checkout-item { grid-template-columns: 88px minmax(0, 1fr); }
  .checkout-remove { grid-column: 2; justify-self: start; }
  .checkout-contact-grid { grid-template-columns: 1fr; }
  .checkout-email-field { grid-column: 1; }
}


/* ==========================================================================
   CHECKOUT AESTHETIC REFINEMENTS — ROUND 2
   ========================================================================== */

/* Keep the section banner above both columns so the summary aligns with the first item. */
.checkout-order-banner {
  display: inline-block;
  margin-bottom: 16px;
}

/* Summary now starts level with the first product card. */
.checkout-summary {
  margin-top: 0;
}

/* Make every selected product container the same height. */
.checkout-item {
  min-height: 148px;
  align-items: stretch;
}

/* Let the artwork run flush to the top, bottom, and left edge of the card.
   Preserve the existing spacing on the right side. */
.checkout-item {
  padding: 0 12px 0 0;
}

.checkout-item-art {
  height: 100%;
  min-height: 148px;
  aspect-ratio: auto;
}

.checkout-item > div:nth-child(2) {
  align-self: center;
  padding: 12px 0;
}

.checkout-remove {
  margin-top: 12px;
}

/* Promotion box removed from markup; keep no residual spacing. */
.promo-card {
  display: none !important;
}

/* Full-width "What Happens Next" background, matching other site sections. */
.checkout-next {
  margin-top: 56px;
  padding: 0;
  border-left: 0;
  border-right: 0;
  border-color: var(--line);
  background-color: var(--panel);
}

.checkout-next > .shell {
  padding-top: clamp(34px, 6vw, 64px);
  padding-bottom: clamp(34px, 6vw, 64px);
}

@media (max-width: 600px) {
  .checkout-item {
    min-height: 128px;
    padding-right: 10px;
  }

  .checkout-item-art {
    min-height: 128px;
  }
}


/* ==========================================================================
   CHECKOUT AESTHETIC REFINEMENTS — ROUND 3
   ========================================================================== */

/* The selected-product stack begins 16px below the YOUR ORDER banner.
   Match that offset so Summary starts on the exact same horizontal line. */
.checkout-summary {
  margin-top: 16px;
}

/* Square artwork while preserving equal-height item containers. */
.checkout-item {
  min-height: 142px;
  grid-template-columns: 142px minmax(0, 1fr) auto;
  align-items: center;
}

.checkout-item-art {
  width: 142px;
  height: 142px;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-self: center;
}

.checkout-item-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keep the September promotion information below the product list,
   but remove the former panel/background/border treatment entirely. */
.checkout-promo-copy {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.checkout-promo-copy .eyebrow {
  margin: 0 0 6px;
}

.checkout-promo-copy p:last-child {
  margin: 0;
  max-width: 640px;
  color: #CFCFD4;
  font-size: .88rem;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .checkout-item {
    min-height: 108px;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .checkout-item-art {
    width: 108px;
    height: 108px;
  }

  .checkout-summary {
    margin-top: 0;
  }
}


/* ==========================================================================
   HOMEPAGE MOBILE ORDER BAR — ROUND 4
   ========================================================================== */

@media (max-width: 600px) {
  .home-order-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .home-order-summary .banner {
    align-self: flex-start;
    margin: 0;
  }

  .home-order-summary > div {
    width: 100%;
  }

  .home-order-bar .cta-link {
    align-self: flex-start;
    margin-top: 2px;
  }
}


/* ==========================================================================
   HOMEPAGE ORDER BAR — ROUND 6
   ========================================================================== */

/* Remove the separate YOUR ORDER label at every viewport width.
   Keep the selection summary left and REVIEW ORDER right. */
.home-order-summary {
  display: block;
  min-width: 0;
}

.home-order-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.home-order-summary > div {
  width: auto;
}

.home-order-bar .cta-link {
  flex: 0 0 auto;
  align-self: center;
  margin-top: 0;
}

@media (max-width: 600px) {
  .home-order-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .home-order-summary {
    width: auto;
    flex: 1 1 auto;
  }

  .home-order-summary > div {
    width: auto;
  }

  .home-order-bar .cta-link {
    flex: 0 0 auto;
    align-self: center;
    margin-top: 0;
  }
}


/* ==========================================================================
   HOMEPAGE CUSTOM DESIGN SERVICES
   ========================================================================== */

.custom-design-lede {
  max-width: 58ch;
}

.custom-design-copy {
  max-width: 62ch;
  color: #CFCFD4;
}

.custom-design-form textarea {
  font: inherit;
  font-size: .95rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: .7rem .85rem;
  width: 100%;
  min-height: 170px;
  resize: vertical;
}

.custom-design-form textarea::placeholder {
  color: #56565C;
  opacity: 1;
}

.custom-design-form textarea:focus-visible {
  border-color: var(--theme-text);
}


/* ==========================================================================
   CUSTOM DESIGN — PREFERRED PRODUCT OPTIONS
   ========================================================================== */

.custom-product-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.custom-product-fieldset legend {
  margin: 0 0 .55rem;
  padding: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.custom-product-radios {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.custom-product-radio {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--paper);
  cursor: pointer;
}

.custom-product-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid #56565C;
  border-radius: 50%;
  background: var(--ink);
  display: inline-grid;
  place-items: center;
}

.custom-product-radio input[type="radio"]:checked {
  border-color: var(--theme-text);
}

.custom-product-radio input[type="radio"]:checked::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-text);
}

.custom-product-radio span {
  font-size: .9rem;
}

#custom-product-vendor-field[hidden] {
  display: none !important;
}


/* ==========================================================================
   CUSTOM DESIGN HEADING THEME COLOR
   ========================================================================== */

.custom-design-theme {
  color: var(--theme-text);
  transition: color .45s ease;
}






/* ==========================================================================
   CUSTOM DESIGN — TRUE DESKTOP COLUMN ALIGNMENT
   Banner is lifted out of the grid flow so the H2 and FIRST NAME label
   begin on the same horizontal line.
   ========================================================================== */

@media (min-width: 821px) {
  #custom-design .signup-inner {
    padding-top: 58px;
  }

  #custom-design .signup-inner > div {
    position: relative;
  }

  #custom-design .signup-inner > div > .banner {
    position: absolute;
    top: -58px;
    left: 0;
  }

  #custom-design .signup-inner > div > h2 {
    margin-top: 0;
  }

  #custom-design .custom-design-form {
    margin-top: 0;
  }
}




/* ==========================================================================
   HERO CAROUSEL — EXACTLY CENTERED SVG ARROWS
   The icon is centered by its SVG viewBox rather than by a font glyph or
   rotated CSS border, eliminating optical offset in Chrome and other browsers.
   ========================================================================== */

.carousel-control {
  display: block;
  font-size: 0;
  line-height: 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 24px 24px;
}

.carousel-control::before,
.carousel-control::after {
  content: none !important;
}

.carousel-prev {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 4L8 12L16 20' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
}

.carousel-next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4L16 12L8 20' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
}

/* Preserve the darker hover state while keeping the SVG icon centered. */
.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
