/* Inkable Clothing — Universe poster look, order ticket form */

:root {
  --bg: #000;
  --ink: #fff;
  --mute: #7a7a7a;
  --mute2: #a0a0a0;
  --line: #2a2a2a;
  --line2: #3a3a3a;
  --field: #111;
  --pad: clamp(1.25rem, 5.5vw, 2rem);
  --col: 26.75rem;
  --col-order: 36rem;
  --font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
  --radius: 0.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.4;
  min-height: 100svh;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
}

img { display: block; max-width: 100%; height: auto; border: 0; }

a {
  color: inherit;
  text-decoration: none;
}
a:hover { opacity: 0.72; }
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

::selection {
  background: #fff;
  color: #000;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* ——— Home poster ——— */
.home main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 1.15rem) var(--pad) 0;
}



.home .home-hit {
  display: block;
  color: inherit;
  text-decoration: none;
}
.home .home-hit:hover {
  opacity: 0.88;
}
.home .home-hit--title {
  display: block;
}
.home .home-hit--title span {
  display: block;
}
.home a.home-hit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
  border-radius: 0.25rem;
}
.home a.home-hit .portrait {
  outline: none;
}

.portrait {
  margin: 0 auto;
  width: 75%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
}

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

.wordmark {
  display: block;
  width: 100%;
  margin: 1.55rem auto 0;
}

.home .copy {
  margin: 2.35rem 0 0;
}

.home h1 {
  margin: 0;
  font-size: clamp(1.08rem, 4.8vw, 1.32rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-align: left;
}
.home h1 span { display: block; }

.home .tag {
  margin: 1.7rem 0 0 auto;
  width: max-content;
  max-width: 100%;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
}

.cta {
  display: block;
  margin: 2.4rem auto 0;
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.25rem;
  border: 1.5px solid #fff;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border-radius: 999px;
}
.cta:hover { opacity: 0.88; background: #fff; color: #000; }
.cta--ghost {
  background: transparent;
  color: #fff;
  margin-top: 0.85rem;
}

.home .site {
  display: block;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.home footer {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 3.2rem var(--pad) calc(2.1rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.home footer p {
  margin: 0.35rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--mute);
  line-height: 1.5;
}

.home footer a { color: var(--mute2); }
.home footer .home-contact {
  margin-top: 0.85rem;
}
.home footer .home-contact a {
  font-size: 1.44rem; /* 2× footer base ~0.72rem */
  letter-spacing: 0.04em;
  color: var(--mute2);
  text-decoration: none;
}
.home footer .home-contact a:hover {
  color: #fff;
}
.home footer .mail { color: var(--mute2); }

/* ——— Shared chrome (order page) ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: calc(env(safe-area-inset-top, 0px) + 0.65rem) var(--pad) 0.65rem;
}

.topbar-inner {
  max-width: var(--col-order);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar .logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.topbar .logo img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}
.topbar .logo span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar nav {
  display: flex;
  gap: 0.85rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-wrap {
  width: 100%;
  max-width: var(--col-order);
  margin: 0 auto;
  padding: 1.5rem var(--pad) calc(4rem + env(safe-area-inset-bottom, 0px));
}

.order-wrap h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--mute2);
  font-size: 0.88rem;
}

.section {
  margin: 0 0 1.75rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.section:last-of-type { border-bottom: 0; }

.section h2 {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute2);
}

.field {
  margin: 0 0 0.85rem;
}
.field label,
.field .label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute2);
}
.field .hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--mute);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  background: var(--field);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
}
textarea { min-height: 5rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
  border-color: #fff;
}
input::placeholder, textarea::placeholder { color: #555; }

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 520px) {
  .row-2 { grid-template-columns: 1fr; }
}

.radio-row, .check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.4rem 0 0.6rem;
}
.radio-row label, .check-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}
input[type="radio"], input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #fff;
}

/* Swatches */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.45rem 0 0.2rem;
}
.swatch {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background-clip: padding-box;
}
.swatch[data-color="Black"] { background: #111; border-color: #444; }
.swatch[data-color="White"] { background: #f5f5f5; border-color: #888; }
.swatch[data-color="Navy"] { background: #1a2744; }
.swatch[data-color="Athletic Heather"] { background: #9a9a9a; }
.swatch[data-color="Light Grey"] { background: #c8c8c8; }
.swatch[data-color="Red"] { background: #b91c1c; }
.swatch[data-color="Royal"] { background: #1d4ed8; }
.swatch[data-color="Forest"] { background: #166534; }
.swatch[data-color="Natural"] { background: #e8dcc8; border-color: #888; }
.swatch[data-color="Pepper"] { background: #3f3a36; }
.swatch[data-color="Ivory"] { background: #f3efe6; border-color: #888; }
.swatch[data-color="Denim"] { background: #4a5d73; }
.swatch[data-color="Midnight Navy"] { background: #0f1c2e; }
.swatch.is-active {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Size grid */
.sizes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
}
@media (max-width: 480px) {
  .sizes { grid-template-columns: repeat(3, 1fr); }
}
.sizes .size-cell label {
  display: block;
  text-align: center;
  margin-bottom: 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}
.sizes input {
  text-align: center;
  padding: 0.55rem 0.25rem;
}

/* Style / design lines */
.style-card {
  border: 1px solid var(--line2);
  border-radius: 0.65rem;
  padding: 1rem 0.95rem 1.1rem;
  margin: 0 0 1rem;
  background: #0a0a0a;
}
.style-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.style-card-head h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.btn-text {
  background: none;
  border: 0;
  color: var(--mute2);
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.25rem;
}
.btn-text:hover { color: #fff; }

.loc-list { margin: 0.5rem 0 0; }
.loc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.loc-row:last-child { border-bottom: 0; }
.loc-row label.loc-enable {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
  min-width: 7.5rem;
}
.loc-row select {
  max-width: 5.5rem;
  padding: 0.45rem 0.5rem;
  font-size: 0.9rem;
}
.loc-row .loc-note {
  grid-column: 1 / -1;
}
.loc-row.is-off { opacity: 0.45; }
.loc-row.is-off select,
.loc-row.is-off .loc-note input { pointer-events: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover { opacity: 0.88; }
.btn--ghost {
  background: transparent;
  color: #fff;
}
.btn--block { width: 100%; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

/* Art upload + color count */
.art-box {
  border: 1px dashed var(--line2);
  border-radius: var(--radius);
  padding: 0.9rem;
  margin-top: 0.5rem;
}
.art-box input[type="file"] {
  width: 100%;
  font-size: 0.85rem;
  color: var(--mute2);
}
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 0.35rem;
}
.color-swatches span {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 1px solid #555;
  display: inline-block;
}
.detect-msg {
  font-size: 0.78rem;
  color: var(--mute2);
  margin: 0.25rem 0 0;
}
.detect-msg.warn { color: #fbbf24; }
.art-preview {
  margin-top: 0.6rem;
  max-width: 8rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
}

/* Estimate panel */
.estimate {
  position: sticky;
  bottom: 0;
  z-index: 9;
  margin: 1.5rem calc(var(--pad) * -1) 0;
  padding: 1rem var(--pad) calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid var(--line2);
  backdrop-filter: blur(10px);
}
.estimate-inner {
  max-width: var(--col-order);
  margin: 0 auto;
}
.estimate h2 {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute2);
}
.estimate-lines {
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}
.estimate-lines div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
}
.estimate-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.4rem 0 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}
.estimate-note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--mute);
  line-height: 1.4;
}
.estimate-error {
  color: #fbbf24;
  font-size: 0.85rem;
  margin: 0.35rem 0;
}

/* Confirmation */
.confirm {
  display: none;
  padding: 1.25rem 0 2rem;
}
.confirm.is-visible { display: block; }
.confirm h1 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.confirm .order-num {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}
.confirm pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  max-height: 22rem;
  overflow: auto;
}
.confirm .art-kept {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.confirm .art-kept figure {
  margin: 0;
  max-width: 6.5rem;
}
.confirm .art-kept img {
  border-radius: 0.35rem;
  border: 1px solid var(--line);
}
.confirm .art-kept figcaption {
  font-size: 0.65rem;
  color: var(--mute);
  margin-top: 0.25rem;
  word-break: break-all;
}

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 720px) {
  .home main { padding-top: 1.6rem; }
  .wordmark { margin-top: 1.85rem; }
  .home .copy { margin-top: 2.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  a, .btn, .cta { transition: none; }
}


/* wizard aliases */
.btn.ghost { background: transparent; color: #fff; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Hide Netlify Drop / Powered-by badge (covers menu) */
#nl-hud-frame,
#nl-badge-frame {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* Send-time price update notice (quote page) */
.price-notice {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line2);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
}

/* Stock note on the "Quote sent" panel */
.done-stock {
  margin: 0.5rem 0 0;
  font-weight: 600;
}


/* wordmark <picture> wrapper: no layout change */
.home-hit--wordmark picture { display: block; }
