/* The Icon Series flagship funnel.
 *
 * Additive only. Every token, the header, the footer, the buttons and the rail come from
 * site.css; nothing here overrides a shared class, so a change to the Blackout skin still
 * lands on this page.
 *
 * Mobile first, and that is not a preference. Roughly nine orders in ten arrive on a
 * phone, so the single column IS the layout and the two column desktop view is the media
 * query. Everything below is written for 390px and widened from there.
 */

.ic-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ promo strip */

.ic-promo {
  background: var(--red);
  color: var(--white);
  font: 700 11px/1 var(--font-label);
  letter-spacing: .14em;
  padding: 9px 16px;
  text-align: center;
  text-transform: uppercase;
}

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

.ic-hero {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  padding-bottom: 60px;
  padding-top: 22px;
}

@media (min-width: 980px) {
  .ic-hero {
    align-items: start;
    gap: 52px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    padding-top: 34px;
  }
  /* The gallery stays put while the long configurator scrolls past it. */
  .ic-stage-col { position: sticky; top: 24px; }
}

/* ------------------------------------------------------------------ gallery */

.ic-stage {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.ic-stage img {
  aspect-ratio: 1000 / 1339;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.ic-tag {
  background: rgba(27, 29, 32, .82);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font: 700 10px/1 var(--font-label);
  left: 12px;
  letter-spacing: .16em;
  padding: 7px 12px;
  position: absolute;
  top: 12px;
  z-index: 2;
}

.ic-stage-empty {
  color: var(--mut);
  font-size: 14px;
  margin: 0;
  padding: 64px 26px;
  text-align: center;
}

.ic-thumbs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 10px;
}

.ic-thumb {
  background: none;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.ic-thumb.on { border-color: var(--red); }
.ic-thumb img { aspect-ratio: 1000 / 1339; display: block; height: auto; object-fit: cover; width: 100%; }

.ic-stage-note {
  color: var(--mut);
  font-size: 12.5px;
  margin: 12px 0 0;
}

/* ------------------------------------------------------------------ configurator */

.ic-panel { margin: 0; }
.ic-panel h1 {
  font: 900 clamp(34px, 8vw, 52px)/0.94 var(--font-display);
  letter-spacing: .005em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.ic-sub { color: var(--mut); margin: 0 0 22px; max-width: 46ch; }

.ic-field { border: 0; margin: 0 0 20px; padding: 0; }

.ic-lbl,
.ic-lbl-sm {
  color: var(--ink);
  display: block;
  font: 700 11px/1 var(--font-label);
  letter-spacing: .14em;
  margin-bottom: 9px;
  padding: 0;
  text-transform: uppercase;
}
.ic-lbl-sm { margin-top: 14px; }

.ic-hint {
  color: var(--mut);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
}

.ic-note { color: var(--mut); font-size: 12.5px; margin: 8px 0 0; }
.ic-note a { color: var(--mut); text-decoration: underline; }

.ic-err {
  background: rgba(216, 53, 44, .12);
  border-left: 3px solid var(--red);
  color: var(--ink);
  font-size: 13.5px;
  margin: 10px 0 0;
  padding: 9px 12px;
}

.ic-status { color: var(--amber); font-size: 13.5px; margin: 10px 0 0; }

.ic-opts { display: flex; flex-wrap: wrap; gap: 8px; }

.ic-opt {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex: 1 1 150px;
  flex-direction: column;
  gap: 3px;
  padding: 13px 14px;
  text-align: left;
}
.ic-opt:hover { border-color: rgba(245, 242, 236, .3); }
.ic-opt.on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }

.ic-opt-nm { font: 600 15px/1.2 var(--font-body); }
.ic-opt-pr { color: var(--mut); font-size: 12.5px; line-height: 1.35; }

/* ---- colourway swatches */

.ic-swatches { gap: 8px; }

.ic-sw {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
  padding: 8px 12px 8px 8px;
}
.ic-sw.on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.ic-sw-wide { flex: 1 1 100%; }
.ic-sw-chip {
  border: 1px solid rgba(0, 0, 0, .35);
  border-radius: 7px;
  display: block;
  height: 26px;
  width: 26px;
}
.ic-sw-nm { font: 600 13px/1 var(--font-body); }

/* ---- size tiles, with the room thumbnail */

.ic-sizes { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }

.ic-size {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 8px 11px;
  text-align: left;
}
.ic-size.on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }

.ic-size-room { border-radius: 7px; display: block; overflow: hidden; position: relative; }
.ic-size-room img { display: block; height: auto; width: 100%; }
.ic-size-frame {
  background: rgba(245, 242, 236, .9);
  border: 1px solid rgba(27, 29, 32, .6);
  display: block;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}
.ic-size .ic-opt-nm { font-size: 13.5px; margin-top: 5px; }
.ic-size .ic-opt-pr { font-size: 11.5px; }

/* ---- inputs */

.ic-stack { display: flex; flex-direction: column; gap: 8px; }
.ic-ymm { display: grid; gap: 8px; grid-template-columns: 84px 1fr 1fr; }

.ic-panel input[type="text"],
.ic-panel input[type="email"],
.ic-panel textarea,
.ic-photo select {
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font: 400 15px/1.45 var(--font-body);
  padding: 12px 13px;
  width: 100%;
}
.ic-panel textarea { resize: vertical; }
.ic-panel input:focus-visible,
.ic-panel textarea:focus-visible { border-color: var(--amber); outline: 2px solid var(--amber); outline-offset: 1px; }
.ic-panel ::placeholder { color: var(--mut-dim); }

.ic-big {
  font-weight: 700 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---- photos */

.ic-drop {
  align-items: center;
  background: var(--panel);
  border: 1.5px dashed rgba(245, 242, 236, .28);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 18px;
  text-align: center;
}
.ic-drop.over { background: rgba(242, 169, 59, .1); border-color: var(--amber); }
.ic-drop-ic { color: var(--red); font: 700 30px/1 var(--font-display); }
.ic-drop b { font-size: 15px; }
.ic-drop small { color: var(--mut); font-size: 12.5px; }

.ic-photos { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); margin-top: 9px; }
@media (min-width: 560px) { .ic-photos { grid-template-columns: repeat(3, 1fr); } }

.ic-photo { position: relative; }
.ic-photo img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}
.ic-photo select { font-size: 12px; margin-top: 5px; padding: 7px 8px; }
.ic-photo-x {
  background: rgba(27, 29, 32, .86);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font: 700 15px/1 var(--font-body);
  height: 26px;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 26px;
}

/* ---- the story block */

.ic-ai {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.ic-ai-row { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-top: 9px; }
.ic-count { color: var(--mut-dim); font-size: 11.5px; }
.ic-typing { color: var(--amber); font-size: 13px; margin: 10px 0 0; }

.ic-figures {
  background: rgba(242, 169, 59, .1);
  border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0;
  margin-top: 12px;
  padding: 11px 13px;
}
.ic-figures p { font-size: 13px; margin: 0 0 7px; }
.ic-figures ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 9px; padding: 0; }
.ic-figures li {
  background: var(--deep);
  border-radius: 999px;
  font: 600 12px/1 var(--font-body);
  padding: 6px 10px;
}

.ic-check { align-items: flex-start; cursor: pointer; display: flex; gap: 9px; font-size: 13.5px; line-height: 1.45; }
.ic-check input { flex: 0 0 auto; margin-top: 2px; height: 17px; width: 17px; accent-color: var(--red); }
.ic-consents { display: flex; flex-direction: column; gap: 10px; }

/* ---- deposit + CTA */

.ic-deposit {
  background: var(--deep);
  border-left: 3px solid var(--amber);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 22px 0 16px;
  padding: 13px 15px;
}

.ic-cta { margin-top: 14px; }
.ic-cta-in { align-items: center; display: flex; gap: 14px; justify-content: space-between; }
.ic-cta-copy b { display: block; font: 700 15px/1.2 var(--font-body); }
.ic-cta-copy small { color: var(--mut); font-size: 12px; }
.ic-cta .button { flex: 0 0 auto; }

/* On a phone the CTA follows you down the page. It is the only sticky thing here,
 * deliberately: a configurator this long buries its own button otherwise. */
@media (max-width: 979px) {
  .ic-cta {
    background: rgba(27, 29, 32, .95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 11px 5vw calc(11px + env(safe-area-inset-bottom));
    position: sticky;
    right: 0;
    z-index: 40;
  }
  /* The bar is a COLUMN on a phone, and that is a bug fix, not a taste call.
   *
   * site.css sets `.button-lg { width: 100% }` at this same breakpoint, and
   * `.ic-cta .button` is `flex: 0 0 auto`. In a row that means the button took 100% of the
   * bar's width, then refused to shrink, so it ran 19px past the right edge of a 390px
   * screen and gave the whole page a horizontal scroll. The price line was squeezed to a
   * 45px column beside it at the same time, which is the one number a buyer is looking at.
   * Measured on the deployed page at exactly 390px, 2026-07-26.
   *
   * Column also happens to be the right shape: readable price line, full-width tap target. */
  .ic-cta-in { align-items: stretch; flex-direction: column; gap: 8px; }
  .ic-cta-copy { align-items: baseline; column-gap: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; }
  .ic-cta-copy b { display: inline; }
  .ic-cta .button { width: 100%; }
  .ic-panel { padding-bottom: 4px; }
}

/* ------------------------------------------------------------------ room section */

.ic-room { background: var(--deep); padding: 52px 0 58px; }
.ic-room h2,
.ic-how h2 {
  font: 900 clamp(26px, 6vw, 38px)/1 var(--font-display);
  letter-spacing: .01em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.ic-room-sub { color: var(--mut); margin: 0 0 22px; }

.ic-room-big { border-radius: 12px; overflow: hidden; position: relative; }
.ic-room-big > img { display: block; height: auto; width: 100%; }

.ic-frame {
  background: var(--white);
  border: 2px solid #1B1D20;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  left: 50%;
  overflow: hidden;
  position: absolute;
  transform: translateX(-50%);
  transition: width .18s ease, top .18s ease;
}
.ic-frame img { display: block; height: 100%; object-fit: cover; width: 100%; }

.ic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ic-chip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  cursor: pointer;
  flex: 1 1 140px;
  font: 600 14px/1.3 var(--font-body);
  padding: 11px 13px;
  text-align: left;
}
.ic-chip.on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.ic-chip small { color: var(--mut); display: block; font-size: 12px; font-weight: 400; }

/* ------------------------------------------------------------------ how it works */

.ic-how { padding: 52px 0 60px; }
.ic-steps { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 760px) { .ic-steps { grid-template-columns: repeat(3, 1fr); } }

.ic-step { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.ic-step-n { color: var(--red); font: 900 26px/1 var(--font-display); }
.ic-step h3 { font: 700 17px/1.2 var(--font-body); margin: 7px 0 6px; }
.ic-step p { color: var(--mut); font-size: 14px; line-height: 1.55; margin: 0; }

/* The honesty paragraph. Product rule 6: never claim hand drawn. It is styled to be
 * read, not to be skipped, because burying it would defeat the point of writing it. */
.ic-honest {
  border-left: 3px solid var(--line);
  color: var(--mut);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 26px 0 0;
  max-width: 74ch;
  padding-left: 15px;
}
