/* Stepsure Resin Flooring — "swatch book" industrial system
   Brand: logo ink #231f20 / grey #545456, site olive #809b30 / #4d5719 / #2c2e22, logo stripe colours as resin swatches */

:root {
  --ink: #231f20;
  --char: #1b1c17;
  --char-2: #2c2e22;
  --grey: #545456;
  --olive: #809b30;
  --olive-dk: #4d5719;
  --olive-lt: #f8faeb;
  --concrete: #e7e5df;
  --paper: #f4f3ef;
  --white: #fff;
  --s-yellow: #fbc40c; --s-pale: #efe695; --s-grey: #adaea6; --s-ochre: #b47d2b; --s-red: #d72027;
  --s-maroon: #791213; --s-green: #4a7541; --s-blue: #0e4c82; --s-sky: #95b4c8; --s-beige: #c2b69c; --s-tan: #d19441;
  --wide: "Archivo", "Arial Black", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--wide); font-variation-settings: "wdth" 100; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-dk); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--wide); font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--s-yellow); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--s-yellow); color: var(--ink); padding: 10px 14px; z-index: 99; }
.skip:focus { left: 8px; }

/* swatch stripe — the logo's resin colours */
.swatch { display: flex; height: 12px; }
.swatch i { flex: 1; }
.swatch i:nth-child(1) { background: var(--s-yellow); } .swatch i:nth-child(2) { background: var(--s-pale); }
.swatch i:nth-child(3) { background: var(--s-grey); } .swatch i:nth-child(4) { background: var(--s-ochre); }
.swatch i:nth-child(5) { background: var(--s-red); } .swatch i:nth-child(6) { background: var(--s-maroon); }
.swatch i:nth-child(7) { background: var(--s-green); } .swatch i:nth-child(8) { background: var(--s-blue); }
.swatch i:nth-child(9) { background: var(--s-sky); } .swatch i:nth-child(10) { background: var(--s-beige); }
.swatch i:nth-child(11) { background: var(--s-tan); }

/* ---------- header ---------- */
.header { background: var(--char); color: #fff; position: relative; z-index: 20; }
.header .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 92px; }
.label {
  background: #fff; display: flex; align-items: center; padding: 14px 22px; margin-bottom: -26px; position: relative;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.label img { width: 200px; }
.label::after { content: "BASED IN THE NORTH WEST"; position: absolute; left: 22px; bottom: -22px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--grey); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button {
  font-family: var(--wide); font-variation-settings: "wdth" 112; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
  color: #fff; text-decoration: none; padding: 12px 16px; background: none; border: 0; cursor: pointer; position: relative;
}
.nav a:hover, .nav button:hover { color: var(--s-yellow); }
.nav [aria-current="page"]::before { content: ""; position: absolute; left: 16px; right: 16px; top: -2px; height: 4px; background: var(--olive); }
.nav .tel { margin-left: 12px; border: 2px solid var(--olive); color: #fff; font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }
.nav .tel:hover { background: var(--olive); color: var(--char); }
.menu-toggle { display: none; align-self: center; background: none; border: 2px solid #fff; color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; padding: 10px 14px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { background: var(--char); color: #e9e9e2; padding: clamp(72px, 9vw, 120px) 0 0; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 6px 6px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__meta { display: flex; gap: 18px; color: var(--olive); margin-bottom: 22px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(34px, 4.3vw, 58px); color: #fff; font-variation-settings: "wdth" 115; overflow-wrap: break-word; }
.hero h1 span { color: var(--olive); display: block; }
.hero__lede { margin: 26px 0 0; font-size: 18px; color: #c9cabf; max-width: 470px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: 36px 0 clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.18); }
.stats div { padding: 18px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.stats strong { display: block; font-family: var(--wide); font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: #fff; }
.stats span { color: #a7a99b; }

/* before / after compare */
.compare { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; user-select: none; touch-action: pan-y; border: 1px solid rgba(255,255,255,.2); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: var(--s-yellow); transform: translateX(-50%); pointer-events: none; }
.compare__handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); background: var(--s-yellow);
  color: var(--ink); display: grid; place-items: center; font-size: 24px; font-weight: 700; border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tag { position: absolute; bottom: 16px; padding: 6px 10px; background: rgba(27,28,23,.85); color: #fff; }
.compare__tag--b { left: 16px; } .compare__tag--a { right: 16px; background: var(--olive); color: var(--char); }
.hero__figure { margin: 0; }
.hero__figure figcaption { display: flex; justify-content: space-between; color: #a7a99b; padding: 12px 0 18px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); align-items: start; }
.sec-head .mono { color: var(--olive-dk); border-top: 3px solid var(--ink); padding-top: 12px; }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 72px); color: var(--ink); }
.sec-head h2 em { font-style: normal; color: var(--olive); }

.about { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 32px; }
.about__big { font-family: var(--wide); font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(90px, 11vw, 160px); line-height: .8; color: var(--olive); }
.about__big small { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; color: var(--grey); margin-top: 16px; line-height: 1.5; text-transform: uppercase; }
.about p { font-size: 18px; }
.about > div:nth-child(2) p:first-child::first-letter { font-family: var(--wide); font-variation-settings: "wdth" 125; font-weight: 900; float: left; font-size: 64px; line-height: .85; padding: 4px 10px 0 0; color: var(--ink); }

/* services as resin sample chips */
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: chip; }
.chip { background: var(--white); border: 1px solid #d8d6cf; display: flex; flex-direction: column; min-height: 230px; transition: transform .2s, box-shadow .2s; }
.chip:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(35,31,32,.12); }
.chip__swatch { height: 92px; position: relative; overflow: hidden; }
.chip__swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.35) 0 18%, transparent 18% 40%, rgba(255,255,255,.12) 40% 44%, transparent 44%); }
.chip__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.chip__code { color: var(--grey); display: flex; justify-content: space-between; }
.chip__code::before { counter-increment: chip; content: "SR-" counter(chip, decimal-leading-zero); }
.chip h3 { font-size: 17px; line-height: 1.15; font-variation-settings: "wdth" 112; font-weight: 800; letter-spacing: 0; margin-top: auto; }
.chip:nth-child(1) .chip__swatch { background: var(--s-grey); } .chip:nth-child(2) .chip__swatch { background: var(--s-red); }
.chip:nth-child(3) .chip__swatch { background: var(--s-yellow); } .chip:nth-child(4) .chip__swatch { background: var(--s-blue); }
.chip:nth-child(5) .chip__swatch { background: var(--s-beige); } .chip:nth-child(6) .chip__swatch { background: var(--s-green); }
.chip:nth-child(7) .chip__swatch { background: var(--s-ochre); } .chip:nth-child(8) .chip__swatch { background: var(--s-sky); }
.chip:nth-child(9) .chip__swatch { background: var(--s-maroon); } .chip:nth-child(10) .chip__swatch { background: var(--olive); }
.chip--more { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--more .chip__code { color: #a7a99b; }

/* projects strip */
.dark { background: var(--char); color: #e9e9e2; }
.dark .sec-head .mono { color: var(--olive); border-color: #fff; }
.dark .sec-head h2 { color: #fff; }
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.project { all: unset; cursor: zoom-in; display: block; position: relative; }
.project__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--olive); padding: 3px; }
.project__pair img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: 100%; filter: saturate(.85); transition: filter .2s; }
.project:hover img, .project:focus-visible img { filter: saturate(1.1); }
.project:focus-visible { outline: 3px solid var(--s-yellow); outline-offset: 4px; }
.project__cap { display: flex; justify-content: space-between; padding: 12px 2px 0; color: #c9cabf; }
.project__cap strong { color: #fff; font-family: var(--wide); font-variation-settings: "wdth" 112; font-size: 15px; letter-spacing: .04em; }
.open-gallery { margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; font-family: var(--wide); font-variation-settings: "wdth" 112;
  font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; border: 0; cursor: pointer;
  background: var(--olive); color: var(--char); transition: background .2s, color .2s;
}
.btn:hover { background: var(--s-yellow); color: var(--ink); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--line:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }

/* links */
.links { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 28px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid #d8d6cf; }
.links h2 { font-size: 26px; }
.links ul { list-style: none; margin: 0; padding: 0; }
.links a { font-size: 22px; font-weight: 700; color: var(--ink); text-decoration-color: var(--olive); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.links a:hover { color: var(--olive-dk); }

/* ---------- contact page ---------- */
.page-hero { background: var(--char); color: #fff; padding: clamp(80px, 10vw, 130px) 0 clamp(40px, 6vw, 72px); }
.page-hero .mono { color: var(--olive); }
.page-hero h1 { font-size: clamp(52px, 9vw, 128px); margin-top: 12px; }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.spec { margin: 0; border-top: 3px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid #d8d6cf; }
.spec dt { color: var(--grey); padding-top: 5px; }
.spec dd { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.35; }
.spec a { color: var(--ink); text-decoration-color: var(--olive); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sheet { background: var(--white); border: 1px solid #d8d6cf; position: relative; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 26px; background: var(--ink); color: #fff; }
.sheet__head h2 { font-size: 24px; }
.sheet__head .mono { color: var(--olive); }
.sheet form { padding: 10px 26px 30px; }
.field { display: grid; grid-template-columns: 54px 1fr; border-bottom: 1px solid #d8d6cf; }
.field .mono { padding-top: 26px; color: var(--olive-dk); }
.field label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding-top: 18px; color: var(--grey); }
.field input, .field textarea {
  width: 100%; border: 0; background: transparent; font: inherit; font-size: 19px; padding: 6px 0 16px; color: var(--ink); outline: none; resize: vertical;
}
.field:focus-within { border-bottom-color: var(--olive); box-shadow: 0 2px 0 var(--olive); }
.field:focus-within .mono { color: var(--ink); }
.sheet .btn { margin-top: 26px; }
.sheet__note { margin: 14px 0 0; color: var(--grey); font-size: 14px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c9cabf; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: clamp(48px, 7vw, 80px); padding-bottom: 40px; }
.footer h2 { font-size: clamp(30px, 3.6vw, 46px); color: #fff; }
.footer h2 span { color: var(--olive); }
.footer .mono { color: var(--olive); display: block; margin-bottom: 10px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer a { color: #fff; }
.footer__base { border-top: 1px solid rgba(255,255,255,.15); }
.footer__base .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; grid-template-columns: none; font-size: 14px; }
.footer__base a { color: var(--olive); }

/* ---------- gallery overlay ---------- */
.gallery { border: 0; padding: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--char); color: #fff; }
.gallery::backdrop { background: rgba(0,0,0,.8); }
.gallery__inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.gallery__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.12); gap: 16px; }
.gallery__top h2 { font-size: clamp(20px, 2.4vw, 30px); }
.gallery__close { background: var(--s-yellow); color: var(--ink); border: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; padding: 10px 16px; cursor: pointer; text-transform: uppercase; }
.gallery__stage { position: relative; display: grid; place-items: center; padding: 20px var(--gutter); min-height: 0; }
.gallery__stage img { max-height: 100%; max-width: 100%; object-fit: contain; border: 1px solid rgba(255,255,255,.15); }
.gallery__stage figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; gap: 12px; }
.gallery__stage figure img { min-height: 0; flex: 1 1 auto; }
.gallery__stage figcaption { display: flex; gap: 14px; align-items: center; }
.gallery__stage figcaption strong { font-family: var(--wide); font-variation-settings: "wdth" 112; font-size: 18px; text-transform: uppercase; }
.badge { padding: 4px 8px; background: var(--olive); color: var(--char); }
.badge--before { background: #fff; }
.badge--during { background: var(--s-yellow); }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 2px solid #fff; background: rgba(27,28,23,.6); color: #fff; font-size: 22px; cursor: pointer; }
.gallery__nav:hover { background: #fff; color: var(--ink); }
.gallery__nav--prev { left: var(--gutter); } .gallery__nav--next { right: var(--gutter); }
.gallery__thumbs { display: flex; gap: 10px; padding: 14px var(--gutter) 18px; overflow-x: auto; border-top: 1px solid rgba(255,255,255,.12); }
.gallery__thumbs button { all: unset; cursor: pointer; flex: none; width: 108px; opacity: .55; transition: opacity .2s; position: relative; }
.gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--s-yellow); }
.gallery__thumbs img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery__thumbs span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; margin-top: 6px; color: #c9cabf; }

/* cookie note */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 40; max-width: 380px; background: var(--white); color: var(--ink); border-top: 6px solid var(--olive); box-shadow: 0 18px 40px rgba(0,0,0,.25); padding: 18px 20px; font-size: 14.5px; display: none; }
.cookie.show { display: block; }
.cookie p { margin: 0 0 12px; }
.cookie .row { display: flex; gap: 16px; align-items: center; }
.cookie button { background: var(--ink); color: #fff; border: 0; padding: 10px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.cookie a { font-size: 13.5px; color: var(--olive-dk); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr 1fr; }
  .about__big { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 20px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--char); flex-direction: column; align-items: stretch; padding: 30px var(--gutter) 24px; display: none; border-top: 1px solid rgba(255,255,255,.12); }
  .nav.open { display: flex; }
  .nav a, .nav button { text-align: left; padding: 14px 0; font-size: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav [aria-current="page"]::before { display: none; }
  .nav .tel { margin: 16px 0 0; text-align: center; padding: 14px; }
  .hero .wrap, .contact, .sec-head, .links, .footer .wrap { grid-template-columns: 1fr; }
  .sec-head { gap: 14px; }
  .about { grid-template-columns: 1fr; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip { min-height: 190px; }
  .hero__figure { margin-top: 8px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header .wrap { min-height: 76px; }
  .label { padding: 10px 14px; margin-bottom: -18px; }
  .label img { width: 150px; }
  .label::after { display: none; }
  .projects { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .field { grid-template-columns: 38px 1fr; }
  .sheet__head .mono { display: none; }
  .gallery__nav { width: 44px; height: 44px; top: auto; bottom: 24px; transform: none; }
  .cookie { right: 16px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
