/* PW Cycles — concept design by VCTR (vctr-design.uk)
   Not the live PW Cycles website. Layout, type and code © VCTR. */

:root {
  --ink: #0e1211;
  --graphite: #1a201d;
  --slate: #48534d;
  --paper: #f8f6f2;
  --sand: #ece8e0;
  --line: #d8d3c8;
  --line-soft: #e6e2d9;
  --green: #06754a;
  --green-dark: #04512f;
  --green-wash: #eaf1ec;
  --brass: #b5842a;
  --amber: #e3a72c;

  --display: Archivo, "Helvetica Neue", Arial, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gut: clamp(18px, 5vw, 76px);
  --radius: 4px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
p { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.7rem); }
h4 { font-size: 1.02rem; letter-spacing: 0.02em; }

.skip { position: fixed; top: -80px; left: 12px; z-index: 200; padding: 12px 18px; border-radius: var(--radius); background: var(--green); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- shared bits ---------- */
.wrap { padding-inline: var(--gut); }
.eyebrow {
  font-family: var(--mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--green);
}
.eyebrow--muted { color: var(--slate); }
.lede { font-size: clamp(1.04rem, 1.4vw, 1.22rem); color: var(--slate); max-width: 58ch; }
.section { padding-block: clamp(56px, 8vw, 116px); }
.section--sand { background: var(--sand); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .lede, .section--ink .muted { color: #a9b4ad; }
.section__head { display: grid; gap: 16px; max-width: 70ch; margin-bottom: clamp(30px, 4vw, 56px); }
.muted { color: var(--slate); }
.small { font-size: 0.88rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: 0; border-radius: 999px;
  background: var(--green); color: #fff;
  font-family: var(--body); font-size: 0.99rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--green); color: #fff; box-shadow: none; }
.btn--sm { padding: 10px 18px; font-size: 0.92rem; }
.btn--wide { width: 100%; }

/* ---------- concept banner + nav ---------- */
.conceptbar {
  display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center;
  padding: 7px var(--gut);
  background: var(--ink); color: #cfd8d2;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.conceptbar b { color: var(--amber); font-weight: 600; }
.conceptbar a { color: #fff; }

.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 20px;
  padding: 12px var(--gut);
  background: rgba(248, 246, 242, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__txt { display: grid; line-height: 1; }
.brand__txt b { font-family: var(--display); font-size: 1.32rem; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; }
.brand__txt span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--slate); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }
.nav__cta { margin-left: 4px; }
.nav__toggle { display: none; margin-left: auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; align-items: end; min-height: min(84vh, 760px); padding: clamp(32px, 7vw, 92px) var(--gut) clamp(28px, 4vw, 54px); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 14, 12, .92) 6%, rgba(8, 14, 12, .74) 42%, rgba(8, 14, 12, .22) 100%); }
.hero__body { position: relative; z-index: 1; display: grid; gap: 22px; max-width: 26ch; }
.hero__body .lede { color: #dde3df; max-width: 52ch; }
.hero .eyebrow { color: var(--amber); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero--page { min-height: min(56vh, 460px); }
.hero--page .hero__body { max-width: 34ch; }

.rail {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin: 0; padding: 0; list-style: none;
  background: var(--line); border-bottom: 1px solid var(--line);
}
.rail li { background: var(--paper); padding: 20px clamp(14px, 2vw, 26px); }
.rail b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.rail span { font-family: var(--mono); font-size: 0.71rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate); }

/* ---------- generic grid ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--wide-right { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.stack { display: grid; gap: 18px; align-content: start; justify-items: start; }

figure { margin: 0; }
.shot { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { padding: 10px 2px 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--slate); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- cards ---------- */
.card { padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: grid; gap: 12px; align-content: start; }
.card--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card--dark .muted { color: #a9b4ad; }
.card__num { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--green); }
.card--dark .card__num { color: var(--amber); }
.card__price { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.3rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.card__price small { font-family: var(--mono); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.1em; color: var(--slate); display: block; margin-top: 8px; text-transform: uppercase; }
.card--dark .card__price small { color: #a9b4ad; }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 0.97rem; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.52em; width: 14px; height: 2px; background: var(--green); }
.card--dark .ticks li::before { background: var(--amber); }

/* ---------- price sheet (job-sheet look) ---------- */
.sheet { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.sheet__head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; padding: 16px clamp(18px, 2.4vw, 28px); background: var(--green-wash); border-bottom: 1px solid var(--line); }
.sheet__head h3 { font-size: 1.15rem; }
.sheet__head span { font-family: var(--mono); font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green-dark); }
.sheet__rows { display: grid; padding: 6px clamp(18px, 2.4vw, 28px) 18px; }
.row { display: flex; align-items: baseline; gap: 10px; padding-block: 11px; border-bottom: 1px solid var(--line-soft); }
.row:last-child { border-bottom: 0; }
.row__label { font-size: 0.97rem; }
.row__dots { flex: 1 1 auto; min-width: 18px; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.row__price { font-family: var(--mono); font-size: 0.93rem; font-weight: 500; white-space: nowrap; }
.sheet__note { padding: 14px clamp(18px, 2.4vw, 28px); background: var(--sand); border-top: 1px solid var(--line); font-size: 0.87rem; color: var(--slate); }

/* ---------- process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps li { counter-increment: step; list-style: none; background: var(--paper); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 10px; align-content: start; }
.steps li::before { content: "0" counter(step); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--green); }
.steps h4 { font-family: var(--display); text-transform: uppercase; }
.steps p { font-size: 0.95rem; color: var(--slate); }

/* ---------- reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.quotes blockquote { margin: 0; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); display: grid; gap: 14px; }
.quotes p { font-size: 1.03rem; }
.quotes cite { font-style: normal; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a9b4ad; }
.stars { color: var(--amber); letter-spacing: 3px; font-size: 0.9rem; }
.score { display: flex; align-items: baseline; gap: 12px; }
.score b { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; line-height: 1; }

/* ---------- journal ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.post { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.post .shot img { aspect-ratio: 3 / 2; transition: transform .4s ease; }
.post:hover .shot img { transform: scale(1.035); }
.post__meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); display: flex; gap: 10px; flex-wrap: wrap; }
.post__meta .tag { color: var(--green); }
.post h3 { font-size: 1.16rem; text-transform: none; letter-spacing: -0.01em; line-height: 1.22; }
.post p { font-size: 0.95rem; color: var(--slate); }

/* ---------- contact ---------- */
.details { margin: 6px 0 0; display: grid; gap: 0; }
.details div { display: grid; grid-template-columns: 116px 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.details dt { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); padding-top: 3px; }
.details dd { margin: 0; font-weight: 500; }
.details a { color: var(--green-dark); text-decoration: none; border-bottom: 1px solid var(--line); }
.details a:hover { border-bottom-color: var(--green); }

.form { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: 0.73rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; font-size: 0.98rem; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.87rem; color: var(--slate); }
.consent input { margin-top: 4px; }
.form__done { padding: 13px 15px; border-radius: var(--radius); background: var(--green-wash); color: var(--green-dark); font-size: 0.92rem; font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(46px, 6vw, 76px) var(--gut) 30px; display: grid; gap: 38px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer h4 { font-family: var(--mono); font-size: 0.73rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #8d9a93; margin-bottom: 14px; }
.footer a { color: #dfe5e1; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 0.95rem; }
.footer__brand { display: grid; gap: 14px; max-width: 34ch; }
.footer__brand p { color: #a9b4ad; font-size: 0.94rem; }
.footer__bot { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8d9a93; }
.footer__bot a { color: var(--amber); }

/* ---------- concept watermark (see site.js — restored if removed) ---------- */
.wm-overlay {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; mix-blend-mode: multiply; opacity: .085;
  background-repeat: repeat; background-size: 340px 200px;
}
/* Kept small so it rarely sits over page content — the full credit is in the
   concept bar, the footer, and burned into every photo. */
.wm-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 9999;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(14,18,17,.82); color: #fff; text-decoration: none;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.7);
  transition: background-color .18s ease;
}
.wm-badge b { color: var(--amber); font-weight: 600; }
.wm-badge__txt { display: none; }
.wm-badge:hover, .wm-badge:focus-visible { background: #000; }
.wm-badge:hover .wm-badge__txt, .wm-badge:focus-visible .wm-badge__txt { display: inline; }
@media print { .wm-overlay { opacity: .2; } }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .split, .split--wide-right { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__toggle { display: inline-block; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gut) 18px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -26px rgba(0,0,0,.5);
  }
  .nav__links[hidden] { display: none; }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__links a[aria-current="page"] { border-bottom-color: var(--green); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .rail { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .details div { grid-template-columns: 1fr; gap: 3px; }
  .hero { min-height: 0; padding-block: 54px 38px; }
  .wm-badge { left: 10px; bottom: 10px; font-size: 0.62rem; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
