/*
 * Lekonopo concept shop.
 *
 * Built phone first, because that is where it will be opened. Every layout
 * here starts as one column at 360px and widens at 720px and 1040px. Nothing
 * depends on hover, and every control is at least 44px on its short side.
 *
 * The palette is taken off the brand's own work: the button wall behind the
 * shop banner, the seven thread colours in the embroidered script, and the
 * warm paper the product photographs are shot on.
 */

:root {
  --ink: #17120f;
  --ink-2: #4a423c;
  --ink-3: #7d736b;
  --paper: #fbf7f0;
  --card: #ffffff;
  --line: #e7ded2;

  --blue: #1d6fd0;
  --red: #e5342b;
  --yellow: #ffc212;
  --green: #2e9e4f;
  --purple: #8b3fc4;
  --orange: #f5761f;
  --pink: #e8478f;

  --accent: var(--blue);
  --accent-ink: #ffffff;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;
  --shadow: 0 1px 2px rgba(23, 18, 15, .05), 0 8px 24px rgba(23, 18, 15, .06);
  --shadow-lift: 0 2px 4px rgba(23, 18, 15, .06), 0 16px 40px rgba(23, 18, 15, .12);

  --wrap: 1120px;
  --gutter: 16px;
  --bar: 60px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Outfit, Figtree, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 8vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 5.2vw, 2.3rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

img { max-width: 100%; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 var(--r-s) 0;
}
.skip:focus { left: 0; }

:where(a, button, input, select, [tabindex]):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------- concept */

/*
 * This page carries another person's brand, photographs and prices on a public
 * host. The badge says so at the top of every page and is not decoration.
 */
.concept-badge {
  background: var(--ink);
  color: #f7efe2;
  font-size: .8rem;
  line-height: 1.4;
  padding: 9px var(--gutter);
  text-align: center;
}
.concept-badge b { color: var(--yellow); font-weight: 600; }
.concept-badge a { color: #f7efe2; }

/* ------------------------------------------------------------------- mast */

.mast {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 240, .93);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
}

.mast__in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--bar);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mast__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.mast__logo img { width: 28px; height: 28px; }

/* The wordmark is set letter by letter in the brand's own thread colours. */
.wordmark {
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.wordmark i { font-style: normal; }
.wordmark i:nth-child(1) { color: var(--blue); }
.wordmark i:nth-child(2) { color: var(--red); }
.wordmark i:nth-child(3) { color: var(--yellow); }
.wordmark i:nth-child(4) { color: var(--blue); }
.wordmark i:nth-child(5) { color: var(--red); }
.wordmark i:nth-child(6) { color: var(--green); }
.wordmark i:nth-child(7) { color: var(--purple); }
.wordmark i:nth-child(8) { color: var(--orange); }

.mast__nav {
  display: none;
  gap: 4px;
  margin-right: 6px;
}
.mast__nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-2);
}
.mast__nav a[aria-current] { background: var(--ink); color: #fff; }

@media (min-width: 720px) {
  .mast__nav { display: flex; }
  .wordmark { font-size: 1.45rem; }
  .mast__logo img { width: 32px; height: 32px; }
}

.bag-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}
.bag-pill__n {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.bag-pill[data-empty="1"] .bag-pill__n { background: rgba(255, 255, 255, .22); color: #fff; }

/* ------------------------------------------------------------------ hero */

.hero {
  padding: 30px 0 26px;
  position: relative;
  overflow: hidden;
}

.hero__grid { display: grid; gap: 22px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.hero__eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 14px 0 0 var(--yellow), 28px 0 0 var(--green);
  margin-right: 30px;
}

.hero h1 span { color: var(--blue); }

.hero__lede {
  font-size: 1.06rem;
  color: var(--ink-2);
  margin-top: 16px;
  max-width: 46ch;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.hero__shot {
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
}
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 880px) {
  .hero { padding: 54px 0 46px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 46px; }
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* -------------------------------------------------------------- sections */

.sec { padding: 40px 0; }
.sec--tight { padding: 26px 0; }
.sec--band { background: var(--card); border-block: 1px solid var(--line); }

.sec__head { margin-bottom: 20px; }
.sec__head p { color: var(--ink-2); margin-top: 8px; max-width: 58ch; }

@media (min-width: 720px) { .sec { padding: 60px 0; } }

/* ----------------------------------------------------------------- strip */

/* The three promises, kept to plain facts the brand can actually keep. */
.strip { display: grid; gap: 12px; }
.strip__i {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 16px;
}
.strip__i b { display: block; margin-bottom: 2px; }
.strip__i span { color: var(--ink-2); font-size: .92rem; }
.strip__dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .95rem;
}
@media (min-width: 720px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------- filters */

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px var(--gutter) 12px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-weight: 600;
  font-size: .94rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ------------------------------------------------------------------ grid */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow .16s ease, transform .16s ease;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

.card__shot { position: relative; aspect-ratio: 1; background: #fff; }
.card__shot img { width: 100%; height: 100%; object-fit: cover; }

.card__tag {
  position: absolute;
  top: 9px;
  left: 9px;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.card__body { padding: 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card__name { font-weight: 600; font-size: .96rem; line-height: 1.3; }
.card__price { font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.05rem; margin-top: auto; padding-top: 6px; }
.card__meta { font-size: .8rem; color: var(--ink-3); }

/* -------------------------------------------------------------- lookbook */

.look {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.look::-webkit-scrollbar { display: none; }
.look figure {
  margin: 0;
  scroll-snap-align: center;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}
.look img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.look figcaption { padding: 11px 13px; font-size: .86rem; color: var(--ink-2); }
@media (min-width: 720px) { .look { grid-auto-columns: 32%; } }

/* --------------------------------------------------------------- product */

.pdp { display: grid; gap: 22px; padding-top: 20px; }
@media (min-width: 880px) { .pdp { grid-template-columns: 1.05fr .95fr; gap: 44px; padding-top: 34px; align-items: start; } }

.gal__main {
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  aspect-ratio: 1;
}
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs { display: flex; gap: 9px; margin-top: 9px; }
.gal__thumbs button {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: var(--r-s);
  overflow: hidden;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.gal__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 880px) { .pdp__buy { position: sticky; top: calc(var(--bar) + 18px); } }

.price {
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.02em;
  margin: 10px 0 4px;
}

.opts { margin-top: 20px; }
.opts__label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.opts__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  min-width: 56px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--r-s);
  border: 1.5px solid var(--line);
  background: var(--card);
  font-weight: 600;
  cursor: pointer;
}
.opt[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--card); }
.qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty output { min-width: 40px; text-align: center; font-weight: 700; }

.pdp__note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-m);
  background: #fff7e0;
  border: 1px solid #f2dfab;
  font-size: .9rem;
}

/* A phone needs the buy button always within thumb reach. */
.sticky-buy {
  position: sticky;
  bottom: 0;
  z-index: 50;
  background: rgba(251, 247, 240, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  margin-inline: calc(var(--gutter) * -1);
  display: flex;
  gap: 12px;
  align-items: center;
}
.sticky-buy .btn { flex: 1; }
@media (min-width: 880px) { .sticky-buy { position: static; background: none; border: 0; padding: 18px 0 0; margin: 0; backdrop-filter: none; } }

/* ------------------------------------------------------------------- bag */

.line {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.line__shot { width: 74px; height: 74px; border-radius: var(--r-s); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.line__shot img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 600; line-height: 1.3; }
.line__meta { font-size: .85rem; color: var(--ink-3); margin-top: 2px; }
.line__rm { background: none; border: 0; color: var(--ink-3); text-decoration: underline; cursor: pointer; padding: 6px 0; font-size: .85rem; }
.line__price { font-weight: 700; font-family: Outfit, sans-serif; white-space: nowrap; }

.totals { margin-top: 18px; }
.totals__row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; color: var(--ink-2); }
.totals__row--sum {
  border-top: 2px solid var(--ink);
  margin-top: 8px;
  padding-top: 13px;
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}

.opt-list { display: grid; gap: 10px; }
.opt-card {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: start;
  text-align: left;
  width: 100%;
  padding: 14px;
  border-radius: var(--r-m);
  border: 1.5px solid var(--line);
  background: var(--card);
  cursor: pointer;
}
.opt-card[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt-card__mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid var(--line);
  margin-top: 2px;
}
.opt-card[aria-pressed="true"] .opt-card__mark { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--card); }
.opt-card b { display: block; }
.opt-card small { color: var(--ink-3); display: block; line-height: 1.45; }
.opt-card__fee { font-weight: 700; font-family: Outfit, sans-serif; white-space: nowrap; }

.flag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 6px;
}
.flag--on { background: #e2f4e7; color: #1b6b35; }
.flag--off { background: #fdeceb; color: #9e2a23; }
.flag--soon { background: #fff2d6; color: #8a5a00; }

.field { margin-top: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--r-s);
  border: 1.5px solid var(--line);
  background: var(--card);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:disabled { background: #f3eee6; color: var(--ink-3); }
.field small { color: var(--ink-3); display: block; margin-top: 6px; font-size: .84rem; }

.pay-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: #f4f8fd;
  font-size: .9rem;
}

.pay-marks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.pay-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- result */

.done { text-align: center; padding: 34px 0 10px; }
.done__tick {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 2rem;
}
.done__ref {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: var(--r-s);
  background: var(--card);
  border: 1px dashed var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 600;
}

.track { display: grid; gap: 0; margin: 26px auto 0; max-width: 420px; text-align: left; }
.track__s { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.track__s > div:first-child { display: grid; justify-items: center; }
.track__dot { width: 14px; height: 14px; border-radius: 999px; background: var(--line); margin-top: 6px; }
.track__s[data-on="1"] .track__dot { background: var(--green); }
.track__bar { width: 2px; flex: 1; background: var(--line); min-height: 26px; }
.track__s:last-child .track__bar { display: none; }
.track__s > div:last-child { padding-bottom: 14px; }
.track__s b { font-size: .96rem; }
.track__s small { color: var(--ink-3); display: block; }

/* ---------------------------------------------------------------- ledger */

.ledger { display: grid; gap: 12px; }
.ledger__i {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--line);
  border-radius: var(--r-m);
  padding: 16px 18px;
}
.ledger__i--on { border-left-color: var(--green); }
.ledger__i--soon { border-left-color: var(--yellow); }
.ledger__i--off { border-left-color: var(--red); }
.ledger__i h3 { margin-bottom: 4px; }
.ledger__i p { color: var(--ink-2); font-size: .94rem; }
@media (min-width: 880px) { .ledger { grid-template-columns: repeat(2, 1fr); } }

.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { list-style: none; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  counter-increment: s;
  content: counter(s);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Outfit, sans-serif;
  font-weight: 700;
}
.steps b { display: block; }
.steps span { color: var(--ink-2); font-size: .94rem; }
.steps ol, .steps ul { padding: 0; margin: 0; }

.quote {
  border-left: 4px solid var(--yellow);
  padding: 4px 0 4px 16px;
  margin: 18px 0;
  color: var(--ink-2);
}
.quote b { color: var(--ink); }

/* ---------------------------------------------------------------- footer */

.foot {
  background: var(--ink);
  color: #ded4c6;
  padding: 36px 0 28px;
  margin-top: 46px;
}
.foot a { color: #fff; }
.foot__grid { display: grid; gap: 26px; }
.foot h4 { color: #fff; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot__note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .84rem;
  line-height: 1.6;
  color: #b3a89a;
}
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-2); }
.empty h2 { margin-bottom: 10px; }

.hide { display: none !important; }
