/* 888 Cleaners — "Eight". Swiss typographic poster on a strict 8-column grid. */
:root {
  --surface: #F4F1EA;
  --ink: #111111;
  --red: #E1251B;
  --gray: #9A9A9A;
  --marker: #F2C14E;
  --cta: #0047BB;
  --red-ink: #C41E15;
  --muted: #4A4A4A;
  --gap: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
}
@media (min-width: 900px) { :root { --gap: 20px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.5 var(--font); }
.svc .p, .status b, .lk-in, .v-hours dd, .pn { font-variant-numeric: tabular-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.red { color: var(--red); }

/* ---------- the 8-column grid ---------- */
.g8 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gap); width: min(1360px, 100% - 32px); margin-inline: auto; }
.cols { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gap); width: min(1360px, 100% - 32px); margin-inline: auto; }
.cols i { border-left: 1px solid rgb(17 17 17 / .06); }
.cols i:last-child { border-right: 1px solid rgb(17 17 17 / .06); }
header, main, footer, .actbar { position: relative; z-index: 1; }

/* ---------- header ---------- */
.head { align-items: center; min-height: 64px; border-bottom: 2px solid var(--ink); }
.mark { grid-column: 1 / 6; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.02em; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.mark b { font-weight: 900; color: var(--red); font-size: 24px; letter-spacing: -.06em; }
.nav { display: none; }
.head-call { grid-column: 6 / 9; justify-self: end; font-weight: 700; font-size: 15px; text-decoration: none; min-height: 44px; display: flex; align-items: center; border-bottom: 2px solid transparent; }
.head-call:hover { border-color: var(--red); }
@media (min-width: 980px) {
  .mark { grid-column: 1 / 3; }
  .nav { display: flex; grid-column: 3 / 8; gap: 26px; }
  .nav a { text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; display: flex; align-items: center; gap: 6px; position: relative; }
  .nav a i { font-style: normal; color: var(--red-ink); font-weight: 700; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
  .nav a:hover::after { transform: scaleX(1); }
  .head-call { grid-column: 8 / 9; }
}

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border: 0; border-radius: 0; font: 700 17px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: #003A99; }
.btn-ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--surface); }
.tag { display: inline-block; background: var(--ink); color: var(--surface); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; line-height: 1.2; }
.tag-y { background: var(--marker); color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 14px; }
.meta { border-top: 0; padding-bottom: 18px; font-size: 14px; line-height: 1.3; font-weight: 500; }
.meta p { border-top: 1px solid var(--ink); padding-top: 8px; }
.m1 { grid-column: 1 / 5; } .m2 { grid-column: 5 / 9; } .m3 { display: none; }
.m1 .red { color: var(--red-ink); font-weight: 800; margin-right: 4px; }
@media (min-width: 900px) { .m1 { grid-column: 1 / 3; } .m2 { grid-column: 4 / 6; } .m3 { display: block; grid-column: 7 / 9; } }
.hero-body { row-gap: 22px; align-items: start; }
.h1 { grid-column: 1 / 9; font-weight: 800; font-size: clamp(46px, 13.4vw, 140px); line-height: .88; letter-spacing: -.055em; }
.h1 .ln { display: block; }
html.js .h1 .ln { animation: slab 1s var(--ease) both; }
html.js .h1 .ln:nth-child(2) { animation-delay: .08s; }
html.js .h1 .ln:nth-child(3) { animation-delay: .16s; color: var(--red); }
.h1 .ln:nth-child(3) { color: var(--red); }
@keyframes slab { from { clip-path: inset(0 0 100% 0); transform: translateY(.3em); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
.hero-lede { grid-column: 1 / 8; font-size: 18px; max-width: 46ch; }
.hero-cta { grid-column: 1 / 9; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-fig { grid-column: 3 / 9; margin: 8px 0 0; position: relative; }
.hero-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.08); }
figcaption { font-size: 13px; font-weight: 500; padding-top: 6px; border-top: 1px solid var(--ink); margin-top: 8px; }
@media (min-width: 900px) {
  .hero { padding-top: 22px; }
  .h1 { grid-column: 1 / 6; grid-row: 1; }
  .hero-lede { grid-column: 1 / 4; grid-row: 2; }
  .hero-cta { grid-column: 1 / 5; grid-row: 3; }
  .hero-fig { grid-column: 6 / 9; grid-row: 1 / 4; margin: 0; }
  .hero-fig img { aspect-ratio: 3 / 4; }
}
.mega { position: relative; width: 100%; overflow: hidden; white-space: nowrap; color: var(--red); font-weight: 900; font-size: 66vw; line-height: .74; height: .6em; letter-spacing: -.085em; margin-top: -.08em; mix-blend-mode: multiply; pointer-events: none; }
.mega span { display: block; padding-left: 14vw; transform: translateX(calc(var(--scroll, 0) * -40vw)); }
@media (min-width: 900px) { .mega { font-size: 40vw; margin-top: -.22em; } .mega span { padding-left: 46vw; } }

/* ---------- section scaffolding ---------- */
.sec { padding: 64px 0 76px; }
.sec-top { border-top: 2px solid var(--ink); padding-top: 12px; row-gap: 12px; margin-bottom: 30px; }
.secno { grid-column: 1 / 3; color: var(--red-ink); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.sec-top h2 { grid-column: 3 / 9; font-weight: 800; font-size: clamp(38px, 10vw, 104px); line-height: .9; letter-spacing: -.05em; }
.sec-note { grid-column: 3 / 9; font-size: 16px; max-width: 52ch; }
.sec-note .tag { margin-right: 8px; vertical-align: 2px; }
@media (min-width: 900px) { .secno { grid-column: 1 / 2; } .sec-top h2 { grid-column: 2 / 7; } .sec-note { grid-column: 7 / 9; align-self: end; } }

/* ---------- 8.1 services list ---------- */
.svc { list-style: none; margin: 0 auto; padding: 0; width: min(1360px, 100% - 32px); border-bottom: 1px solid var(--ink); position: relative; }
.svc li { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 16px 0; border-top: 1px solid var(--ink); isolation: isolate; }
.svc li::before { content: ''; position: absolute; inset: 0 -8px; background: var(--red); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.svc li:hover::before { transform: scaleY(1); }
.svc li:hover { color: #fff; }
.svc li:hover .n { color: #fff; }
.svc .n { grid-column: 1 / 2; color: var(--red-ink); font-weight: 800; font-size: 15px; transition: color .3s var(--ease); }
.svc .s { grid-column: 2 / 7; font-weight: 700; font-size: clamp(21px, 5.6vw, 44px); letter-spacing: -.03em; line-height: 1.05; }
.svc .d { grid-column: 2 / 9; font-size: 15px; order: 3; margin-top: 4px; }
.svc .p { grid-column: 7 / 9; justify-self: end; font-weight: 700; font-size: 16px; white-space: nowrap; }
@media (min-width: 900px) {
  .svc li { padding: 20px 0; }
  .svc .s { grid-column: 2 / 5; }
  .svc .d { grid-column: 5 / 8; order: 0; margin: 0; font-size: 16px; }
  .svc .p { grid-column: 8 / 9; font-size: 18px; }
}
.hl-img { position: fixed; left: 0; top: 0; width: 220px; aspect-ratio: 3 / 4; object-fit: cover; z-index: 80; pointer-events: none; opacity: 0; filter: grayscale(1) contrast(1.1); transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -60%) scale(.86); transition: opacity .3s var(--ease), transform .25s var(--ease); }
.hl-img.on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -60%) scale(1); }

/* ---------- 8.2 ticket lookup ---------- */
.sec-ink { background: var(--ink); color: var(--surface); }
.sec-ink .sec-top { border-color: var(--surface); }
.sec-ink .secno { color: #FF5A4F; }
.sec-ink .tag:not(.tag-y) { background: var(--surface); color: var(--ink); }
.lookup { row-gap: 10px; align-items: end; }
.lk-label { grid-column: 1 / 9; font-weight: 700; font-size: 15px; }
.lk-in { grid-column: 1 / 9; font: 800 clamp(40px, 12vw, 88px)/1 var(--font); letter-spacing: -.04em; color: var(--surface); background: transparent; border: 0; border-bottom: 3px solid var(--surface); border-radius: 0; padding: 4px 0 8px; width: 100%; min-width: 0; }
.lk-in:focus { outline: none; border-color: var(--marker); }
.lk-btn { grid-column: 1 / 9; min-height: 58px; }
.lk-note { grid-column: 1 / 9; font-size: 14px; color: #CFCAC0; }
.lk-confirm { grid-column: 1 / 9; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--marker); padding: 10px 12px; justify-self: start; }
@media (min-width: 900px) { .lk-in { grid-column: 1 / 5; } .lk-btn { grid-column: 5 / 7; } .lk-note { grid-column: 1 / 5; } }
.status { list-style: none; padding: 0; margin-top: 34px; margin-bottom: 0; row-gap: 22px; }
.status li { grid-column: span 2; border-top: 4px solid #3A3A3A; padding-top: 10px; position: relative; transition: border-color .4s var(--ease); }
.status li::before { content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.status b { display: block; font-size: clamp(38px, 10vw, 76px); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: #8F8A82; transition: color .4s var(--ease); }
.status span { display: block; font-size: 15px; font-weight: 600; margin-top: 6px; color: #CFCAC0; transition: color .4s var(--ease); }
.status li.done::before, .status li.now::before { transform: scaleX(1); }
.status li.done b, .status li.now b { color: #FF5A4F; }
.status li.done span, .status li.now span { color: var(--surface); }
.status li.now::after { content: ''; position: absolute; right: 0; top: 10px; width: 12px; height: 12px; background: var(--marker); animation: blink 1s steps(2) infinite; }
.status li:last-child.done b { color: var(--marker); }
@keyframes blink { 50% { opacity: 0; } }
@media (min-width: 900px) { .status li { grid-column: span 1; } }
.status-line { margin-top: 24px; font-size: 16px; font-weight: 600; }
.sl { grid-column: 1 / 9; border-top: 1px solid #555; padding-top: 10px; }

/* ---------- 8.3 process (pinned figure eight) ---------- */
.process { height: 280vh; position: relative; }
.process .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; overflow: hidden; }
.process .sec-top { margin-bottom: 8px; width: min(1360px, 100% - 32px); }
.eight { width: min(1360px, 100% - 32px); margin: 0 auto; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.inf { width: 100%; height: 100%; max-height: 100%; overflow: visible; }
.inf-h { display: none; }
@media (min-width: 760px) { .inf-h { display: block; } .inf-v { display: none; } }
.ghost { fill: none; stroke: var(--gray); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.draw { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--pin, 1)); }
.pt { --on: clamp(0, (var(--pin, 1) * 8 - var(--n) + .55) * 4, 1); }
.pt circle { fill: color-mix(in srgb, var(--red) calc(var(--on) * 100%), var(--surface)); stroke: var(--ink); stroke-width: 2; }
.pn { font: 800 18px var(--font); text-anchor: middle; fill: var(--ink); }
.inf-v .pn { font-size: 22px; }
.pt .pl { font: 700 24px var(--font); text-anchor: middle; fill: var(--ink); opacity: calc(.28 + var(--on) * .72); letter-spacing: -.02em; }
.inf-v .pl { font-size: 30px; }
.inf-v .pl-l { text-anchor: end; } .inf-v .pl-r { text-anchor: start; }

/* ---------- 8.4 special garments ---------- */
.special { row-gap: 18px; align-items: end; }
.sp-fig { margin: 0; }
.sp-fig img { width: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.sp-a { grid-column: 1 / 6; } .sp-a img { aspect-ratio: 3 / 4; }
.sp-b { grid-column: 6 / 9; } .sp-b img { aspect-ratio: 1; }
.sp-form { grid-column: 1 / 9; display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; align-self: start; }
@media (min-width: 640px) { .sp-form { grid-template-columns: 1fr 1fr; } .fld-w, .opts { grid-column: 1 / -1; } }
@media (min-width: 900px) { .sp-a { grid-column: 1 / 4; } .sp-b { grid-column: 4 / 5; } .sp-form { grid-column: 5 / 9; margin-top: 0; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 0; }
.opts legend { width: 100%; }
.opts label { position: relative; margin: 0 -1px -1px 0; }
.opts input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.opts span { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--ink); font-weight: 600; font-size: 15px; transition: background .25s var(--ease), color .25s var(--ease); }
.opts input:checked + span { background: var(--ink); color: var(--surface); }
.opts input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 2px; position: relative; z-index: 1; }
.fld { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.fld input, .fld select, .fld textarea { font: 500 16px/1.4 var(--font); color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 10px 0; min-height: 48px; width: 100%; }
.fld textarea { border: 2px solid var(--ink); padding: 10px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--cta); }
.sp-confirm { background: var(--marker); padding: 12px 14px; font-size: 15px; }

/* ---------- 8.5 figures ---------- */
.figs { padding: 30px 0 70px; }
.figgrid { row-gap: 22px; }
.fg { margin: 0; grid-column: span 4; }
.fg img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .6s var(--ease); cursor: zoom-in; }
.fg:hover img { filter: grayscale(0); }
.fg-wide { grid-column: 1 / 9; }
.fg-wide img { aspect-ratio: 16 / 9; }
.fg-note { grid-column: span 4; align-self: end; font-size: 14px; border-top: 1px solid var(--ink); padding-top: 8px; }
@media (min-width: 900px) {
  .fg-wide { grid-column: 1 / 7; grid-row: 1 / 3; }
  .fg-wide img { height: 100%; aspect-ratio: auto; }
  .fg { grid-column: span 2; }
  .fg-note { grid-column: 7 / 9; }
}
html.js .fg[data-reveal] { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .fg[data-reveal].is-in { clip-path: inset(0); }
html.js .fg-note[data-reveal] { opacity: 0; transition: opacity .8s var(--ease) .3s; }
html.js .fg-note[data-reveal].is-in { opacity: 1; }

/* ---------- 8.6 visit ---------- */
.visit { row-gap: 26px; }
.v-addr { grid-column: 1 / 9; }
.big-addr { font-weight: 800; font-size: clamp(34px, 9.6vw, 92px); line-height: .92; letter-spacing: -.05em; }
.v-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.v-hours { grid-column: 1 / 9; }
.v-hours dl { margin: 12px 0 0; border-top: 2px solid var(--ink); }
.v-hours dl div { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--ink); font-size: 17px; }
.v-hours dt { font-weight: 700; }
.v-hours dd { margin: 0; }
.v-rev { grid-column: 1 / 9; border-top: 1px solid var(--ink); padding-top: 10px; }
.v-rev p:last-child { font-size: 18px; margin-top: 4px; }
@media (min-width: 900px) { .v-addr { grid-column: 1 / 6; grid-row: 1 / 3; } .v-hours { grid-column: 6 / 9; } .v-rev { grid-column: 6 / 9; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #DDD8CE; padding-top: 50px; overflow: hidden; }
.foot-in { row-gap: 14px; }
.foot .secno { color: #FF5A4F; }
.foot-mark { grid-column: 3 / 9; color: #fff; font-size: 18px; font-weight: 600; }
.foot-mark b { color: #FF5A4F; font-weight: 900; }
.foot .pv-note { grid-column: 1 / 9; color: #DDD8CE; font-size: 13.5px; max-width: 86ch; }
.foot a { color: #fff; }
.photo-credits { grid-column: 1 / 9; font-size: 14px; }
.photo-credits summary { cursor: pointer; font-weight: 700; color: #fff; min-height: 44px; display: inline-flex; align-items: center; }
.photo-credits ul { padding-left: 18px; margin: 6px 0 10px; }
.photo-credits li { margin: 4px 0; }
@media (min-width: 900px) { .foot-mark { grid-column: 2 / 9; } .foot .pv-note, .photo-credits { grid-column: 2 / 8; } }
.mega-foot { mix-blend-mode: normal; color: var(--red); margin-top: 30px; height: .5em; }
.mega-foot span { padding-left: 0; transform: translateX(calc(var(--scroll, 0) * 10vw - 8vw)); }

/* ---------- sticky action bar ---------- */
.actbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .actbar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 2fr; background: var(--surface); border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .actbar a { min-height: 62px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; font-size: 17px; }
  .act-call { color: var(--ink); border-right: 2px solid var(--ink); }
  .act-main { background: var(--cta); color: #fff; }
}

/* ---------- reveal (generic) ---------- */
html.js [data-reveal]:not(.fg):not(.fg-note) { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal]:not(.fg):not(.fg-note).is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mega span, .mega-foot span { transform: none; }
  .draw { stroke-dashoffset: 0; }
  .pt { --on: 1; }
  .process { height: auto; }
  .process .pin { position: static; height: auto; min-height: 80vh; }
  html.js .fg[data-reveal], html.js [data-reveal] { clip-path: none; opacity: 1; transform: none; }
}
