/* Innerworld Supply — whole site. Black, white Courier New; Helvetica only for the wordmark.
   Same look as /inner-club. */
:root {
  --bg: #000;
  --fg: #fff;
  --dim: #8c8c8c;
  --line: #2a2a2a;
  --tile: var(--tile);
  --scrim: rgba(0,0,0,.6);
  --veil: rgba(0,0,0,.94);
  --globe-back: #3a3a3a;
  --red: #ff3300;
  --pad: clamp(16px, 3.4vw, 50px);
  --side: 250px;
  --mono: "Courier New", Courier, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --glow: drop-shadow(0 0 2px rgba(255,255,255,.28)) drop-shadow(0 0 26px rgba(255,255,255,.26));
  --glow-big: drop-shadow(0 0 2px rgba(255,255,255,.3)) drop-shadow(0 0 34px rgba(255,255,255,.3));
}
:root[data-theme="light"] {
  --bg: #fff;
  --fg: #000;
  --dim: #6e6e6e;
  --line: #dadada;
  --tile: #f2f2f2;
  --scrim: rgba(255,255,255,.6);
  --veil: rgba(255,255,255,.95);
  --globe-back: #cfcfcf;
  --glow: drop-shadow(0 6px 14px rgba(0,0,0,.10));
  --glow-big: drop-shadow(0 8px 22px rgba(0,0,0,.12));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
body { min-height: 100svh; background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 13px; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
button, select, input, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { text-transform: inherit; background: none; border: 0; border-radius: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
::selection { background: var(--fg); color: var(--bg); }
.dim { color: var(--dim); }
.ulink { text-decoration: underline; text-underline-offset: 4px; }
.ulink:hover { text-decoration-thickness: 2px; }

.wordmark { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .01em; text-transform: none; white-space: nowrap; }
.wordmark sup { font-size: .55em; font-weight: 400; vertical-align: super; margin-left: 1px; }
.wordmark:hover { text-decoration: none; }

/* globe */
.globe { display: block; width: 112px; height: auto; overflow: visible; opacity: .92; }
.globe path { fill: none; stroke: var(--fg); stroke-width: .55; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.globe .rim { stroke-width: 1; }
.globe .back { stroke: var(--globe-back); }

/* ---------- shell: sidebar + main ---------- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100svh; }
.side { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; gap: 28px; padding: calc(var(--pad) + env(safe-area-inset-top)) 0 var(--pad) var(--pad); overflow-y: auto; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.side-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.side-nav [aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.side-dash { color: var(--dim); letter-spacing: .3em; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.side-foot .ig { display: inline-flex; margin-bottom: 6px; }
.side-foot .ig:hover { opacity: .7; }
.icons { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.icon { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; }
.icon:hover { opacity: .65; }
.icon svg { width: 24px; height: 24px; }
.side-close { display: none; }

.topbar { display: none; }
.main { padding: calc(var(--pad) + env(safe-area-inset-top)) var(--pad) 80px; min-width: 0; }

/* "NEW 27.10.26 12:40:31" */
.ic-line { display: flex; flex-wrap: wrap; gap: 0 1.6em; font-weight: 400; }
.ic-time { font-variant-numeric: tabular-nums; }
.ic-head { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .1em; margin: 74px 0 36px; }
.lede { max-width: 62ch; margin: -14px 0 40px; color: var(--dim); }
.note { margin: -12px 0 36px; max-width: 60ch; }
.m-quiet { color: var(--dim); }
.sec + .sec, #inner-grid + .sec { margin-top: 80px; }
#inner-grid:empty + .sec { margin-top: 0; }
.sec-name { font-size: 13px; font-weight: 400; color: var(--dim); margin-bottom: 22px; display: flex; gap: 1.6em; flex-wrap: wrap; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px clamp(16px, 3vw, 48px); }
.item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.item:hover { text-decoration: none; }
.item:hover .item-name { text-decoration: underline; text-underline-offset: 4px; }
.item-img { position: relative; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 18px; }
.item-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; filter: var(--glow); }
.item-img .back { opacity: 0; }
@media (hover: hover) {
  .has-back .item-img:hover .front { opacity: 0; }
  .has-back .item-img:hover .back { opacity: 1; }
}
.item.is-sold .item-img img { opacity: .35; }
.item-meta { color: var(--dim); }
button.item { cursor: pointer; text-transform: uppercase; }
.lock { width: min(100%, 420px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.lock .globe { width: 140px; }
.lock-msg { min-height: 1.5em; color: var(--dim); }
.lock-msg.is-err { color: var(--red); }

/* ---------- product page ---------- */
.crumbs { color: var(--dim); margin: 74px 0 34px; display: flex; gap: .8em; flex-wrap: wrap; }
.crumbs a:hover { color: var(--fg); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); align-items: start; }
.pdp-media { position: relative; }
.pair { position: relative; width: 100%; aspect-ratio: 1 / 1.02; }
.pair img { position: absolute; object-fit: contain; filter: var(--glow-big); }
.pair .a { left: 0; top: 0; width: 78%; height: 78%; }
.pair .b { right: 0; bottom: 0; width: 64%; height: 64%; }
.pair.single img { inset: 0; width: 100%; height: 100%; }
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.more button { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.more img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.more button:hover img { opacity: .8; }
.pdp-info { position: sticky; top: var(--pad); }
.pdp-name { font-weight: 400; font-size: clamp(20px, 2.1vw, 28px); letter-spacing: .1em; line-height: 1.3; }
.pdp-price { font-size: 17px; margin-top: 22px; letter-spacing: .06em; }
.pdp-sub { color: var(--dim); margin-top: 6px; }
.label { font-weight: 700; font-size: 12px; margin: 26px 0 10px; display: flex; justify-content: space-between; gap: 1em; }
.label .dim { font-weight: 400; }
.boxes { display: flex; flex-wrap: wrap; }
.box { min-width: 64px; height: 64px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); margin: 0 -1px -1px 0; font-weight: 700; font-size: 12px; position: relative; background: var(--bg); }
.box:hover { border-color: #666; z-index: 1; }
.box[aria-checked="true"], .box[aria-current="true"] { border-color: var(--fg); z-index: 2; }
.boxes.need .box { animation: need .45s ease; }
@keyframes need { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.swatch { width: 74px; height: 74px; padding: 6px; }
.swatch img { width: 100%; height: 100%; object-fit: contain; }
.btn-fill { display: inline-flex; align-items: center; justify-content: center; gap: .6em; background: var(--fg); color: var(--bg); font-weight: 700; padding: 15px 24px; letter-spacing: .12em; transition: opacity .2s; }
.btn-fill:hover { opacity: .85; text-decoration: none; }
.btn-fill:disabled { opacity: .35; }
.pdp-add { margin-top: 28px; min-width: 200px; }
.msg { min-height: 1.5em; margin-top: 12px; color: var(--dim); }
.msg.is-err { color: var(--red); }

/* accordions */
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.pdp-info .acc:first-of-type { margin-top: 36px; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1em; padding: 20px 2px; font-weight: 700; font-size: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "v"; font-weight: 400; transition: transform .2s; }
.acc[open] summary::after { transform: rotate(180deg); }
.acc-body { padding: 0 2px 24px; }
.acc-body li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.acc-body li::before { content: "\2022"; position: absolute; left: 2px; }
.acc-body p + p { margin-top: 8px; }
.sg-svg { display: block; width: min(100%, 300px); margin: 6px auto 22px; }
.sg-svg path, .sg-svg line { fill: none; stroke: var(--fg); stroke-width: 1.2; }
.sg-svg .m { stroke: var(--fg); stroke-width: 1; stroke-dasharray: 0; }
.sg-svg text { fill: var(--fg); font: 700 16px var(--sans); }
.sg-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sg-table th, .sg-table td { border: 1px solid var(--line); padding: 12px 10px; text-align: left; font-weight: 400; vertical-align: middle; }
.sg-table th { color: var(--dim); }
.sg-foot { color: var(--dim); margin-top: 12px; font-size: 11px; }

/* ---------- bag ---------- */
.bag-btn { white-space: nowrap; }
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(24px); transition: transform .3s ease; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; padding: calc(22px + env(safe-area-inset-top)) var(--pad) 22px; border-bottom: 1px solid var(--line); }
.bag-list { flex: 1; overflow-y: auto; padding: 4px var(--pad); }
.bag-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-item img { width: 84px; height: 84px; object-fit: contain; filter: var(--glow); }
.bi-detail, .bi-each { color: var(--dim); }
.bi-actions { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; gap: 14px; }
.qty button { width: 22px; height: 22px; font-size: 15px; }
.bag-empty { padding: 40px 0; color: var(--dim); }
.bag-empty a { color: var(--fg); display: inline-block; margin-top: 18px; }
.bag-foot { padding: 20px var(--pad) calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; gap: 1em; }
.bag-deliv { margin-bottom: 18px; }
.bag-deliv .label { margin-top: 0; }
.bag-deliv .box { height: 46px; flex: 1; font-weight: 400; }
.bag-note { color: var(--dim); margin: 8px 0 16px; }
.bag-checkout { width: 100%; }

/* ---------- newsletter + mobile menu overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; background: var(--veil); display: grid; place-items: center; padding: var(--pad); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.news { width: min(100%, 420px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.x { position: absolute; top: calc(var(--pad) + env(safe-area-inset-top)); right: var(--pad); }
.line-form { display: flex; align-items: baseline; gap: 18px; width: min(100%, 360px); border-bottom: 1px solid var(--fg); }
.line-form input { flex: 1; min-width: 0; background: transparent; border: 0; border-radius: 0; font: 15px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 12px 0; -webkit-appearance: none; }
.line-form input::placeholder { color: var(--dim); letter-spacing: .06em; }
.line-form input:focus { outline: none; }
.line-form:focus-within { border-bottom-width: 2px; margin-bottom: -1px; }
.line-form button { padding: 12px 0; font-size: 15px; }
.line-form button:hover { text-decoration: underline; text-underline-offset: 4px; }
.join { margin-top: 110px; display: flex; flex-direction: column; gap: 14px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb-bar { display: flex; justify-content: space-between; gap: 1em; padding: calc(18px + env(safe-area-inset-top)) var(--pad) 18px; border-bottom: 1px solid var(--line); }
.lb-bar div { display: flex; gap: 22px; }
.lb-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: var(--pad); }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 90; background: var(--fg); color: var(--bg); padding: 12px 18px; max-width: calc(100% - 32px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- archive (photo journal) ---------- */
.journal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(14px, 2vw, 28px); }
.post { display: flex; flex-direction: column; gap: 10px; }
.post:hover { text-decoration: none; }
.post img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--tile); transition: opacity .3s; }
.post:hover img { opacity: .82; }
.post b { font-weight: 700; }
.post:hover b { text-decoration: underline; text-underline-offset: 4px; }
.post .dim { margin-top: -6px; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shots button { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.shots button:hover img { opacity: .85; }
.entry-nav { display: flex; justify-content: space-between; gap: 1em; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- text pages (shipping, terms, print) ---------- */
.prose { max-width: 66ch; }
.prose p + p { margin-top: 14px; }
.prose h2 { font-size: 13px; font-weight: 700; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.prose li::before { content: "\2022"; position: absolute; left: 2px; }

/* print your piece */
.pp { max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0 10px; }
.steps li { padding: 16px 14px 16px 0; }
.steps li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.steps b { display: block; color: var(--dim); font-weight: 400; margin-bottom: 8px; }
.designs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.design { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); margin: 0 -1px -1px 0; cursor: pointer; text-align: left; }
.design[aria-checked="true"] { border-color: var(--fg); position: relative; z-index: 1; }
.design img { width: 96px; height: 96px; object-fit: contain; background: var(--tile); }
.design .dim { display: block; margin-top: 4px; }
.design select { margin-top: 10px; }
.field { width: 100%; background: var(--bg); border: 0; border-bottom: 1px solid var(--fg); border-radius: 0; padding: 12px 0; text-transform: uppercase; -webkit-appearance: none; appearance: none; }
select.field { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px; }
.field:focus { outline: none; border-bottom-width: 2px; }
.field::placeholder { color: var(--dim); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; cursor: pointer; }
.agree input { margin-top: 3px; accent-color: var(--fg); width: 15px; height: 15px; flex: none; }
.totals { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.done-box { border: 1px solid var(--fg); padding: 22px; margin: 6px 0 40px; max-width: 62ch; }
.done-box big { display: block; font-size: 22px; margin: 10px 0; letter-spacing: .1em; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- phone: top bar + full-screen menu ---------- */
@media (max-width: 760px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .topbar { display: flex; position: sticky; top: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 14px; padding: calc(14px + env(safe-area-inset-top)) var(--pad) 14px; background: var(--bg); }
  .topbar .wordmark { font-size: 14px; }
  .topbar div { display: flex; gap: 18px; }
  .side { position: fixed; inset: 0; z-index: 50; height: auto; width: 100%; background: var(--bg); padding: calc(18px + env(safe-area-inset-top)) var(--pad) calc(var(--pad) + env(safe-area-inset-bottom)); gap: 26px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  body.menu-open { overflow: hidden; }
  body.menu-open .side { opacity: 1; pointer-events: auto; }
  .side-close { display: block; position: absolute; top: calc(18px + env(safe-area-inset-top)); right: var(--pad); }
  .side .globe { width: 96px; }
  .side-nav { gap: 16px; font-size: 15px; }
  .main { padding-top: 6px; }
  .ic-head, .crumbs { margin: 26px 0 28px; }
  .ic-head { font-size: clamp(14px, 4.2vw, 18px); letter-spacing: .06em; gap: 0 1em; flex-wrap: nowrap; white-space: nowrap; }
  .grid { gap: 40px 14px; }
  .journal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .item { font-size: 12px; }
  .item-img { margin-bottom: 10px; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pdp-info { position: static; }
  .box { min-width: 0; flex: 1; height: 56px; }
  .boxes.colors .box { flex: 0 0 auto; }
  .pdp-add { width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .designs { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .join { margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .item-img img, .drawer, .drawer-panel, .overlay, .lb, .side { transition: none; }
  .boxes.need .box { animation: none; }
}
