/* ==========================================================================
   Office Chair Repairing , office chair repair, Rawalpindi, Islamabad & Karachi
   index.html (home) and parts.html (every part we replace) share this sheet.
   Palette sampled from the owner's own photographs:
     ink    the black leather      stone  the marble/concrete floors
     ochre  the raw plywood base   go     WhatsApp, the one action colour
   No gradients anywhere. Solid fills only.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  --ink:        #1B2027;
  --ink-deep:   #14181E;
  --stone:      #EAECE7;
  --surface:    #FFFFFF;
  --muted:      #5A6169;
  --line:       #D5D8D1;
  --line-dark:  #333A44;
  --ochre:      #8A5E2B;   /* AA on stone  4.75:1 */
  --ochre-lit:  #B08246;   /* AA on ink    4.78:1 */
  --go:         #0F7A45;   /* AA with white 5.40:1 */
  --go-dark:    #0B6238;
  --on-ink:     #C2C7C4;

  --shell: 1440px;
  --gutter: clamp(18px, 2.4vw, 30px);
  --r-btn: 3px;
  --r-card: 4px;
  --r-tag: 2px;

  /* Spring easings generated from motion.dev's spring model
     (mass 1, visualDuration + bounce -> stiffness/damping), sampled to linear() */
  --spring-snap: linear(0, .0158, .0567, .1146, .183, .2571, .333, .4079, .48, .5477, .6103, .6674, .7187, .7642, .8043, .8392, .8693, .895, .9168, .935, .9502, .9627, .9728, .981, .9875, .9926, .9965, .9994, 1.0016, 1.0031, 1.0041, 1.0047, 1.005, 1.005, 1.0049, 1.0047, 1.0044, 1.004, 1.0037, 1.0033, 1.0029, 1.0026, 1.0022, 1.0019, 1.0016, 1.0014, 1.0011, 1);
  --dur-snap: 437ms;
  --spring-soft: linear(0, .0143, .0519, .1064, .1721, .2445, .32, .3959, .4699, .5406, .6067, .6676, .7229, .7724, .8162, .8544, .8874, .9155, .9391, .9587, .9747, .9875, .9976, 1.0053, 1.011, 1.0151, 1.0177, 1.0192, 1.0199, 1.0198, 1.0192, 1.0183, 1.017, 1.0156, 1.0141, 1.0126, 1.0111, 1.0097, 1.0083, 1.0071, 1.0059, 1.0049, 1.004, 1.0032, 1.0025, 1.0019, 1.0014, 1);
  --dur-soft: 667ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* saddle-stitch rules , an SVG tile, not a gradient */
  --stitch-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='1'%3E%3Crect width='5' height='1' fill='%239C7038'/%3E%3C/svg%3E");
  --stitch-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='15'%3E%3Crect width='2' height='9' rx='1' fill='%23FFFFFF'/%3E%3C/svg%3E");
  --stitch-v-ochre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='12'%3E%3Crect width='2' height='5' fill='%239C7038'/%3E%3C/svg%3E");
}

@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

/* ----------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 12px 18px; background: var(--ink); color: #fff;
  border-radius: var(--r-btn); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2.5px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ----------------------------------------------------------- typography -- */
.hero__title, .h2, .card__title, .steps__title, .logo__word, .btn, .tile__v {
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -.018em;
}

.hero__title {
  font-size: clamp(2.15rem, 1.15rem + 4.4vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -.03em;
  margin: 0 0 .5em;
  max-width: 19ch;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -.026em;
  margin: 0 0 .7em;
  max-width: 26ch;
  text-wrap: balance;
}
.h2--lead { margin-bottom: .45em; }
.h2--invert { color: #fff; }

.section__lead {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}

/* ---------------------------------------------------------------- icons -- */
.ico { width: 20px; height: 20px; flex: none; }
.ico--lg { width: 26px; height: 26px; }
.ico--inline { display: inline-block; vertical-align: -4px; width: 18px; height: 18px; color: var(--ochre); }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--r-btn);
  font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color 180ms var(--ease-out),
              color 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              transform var(--dur-snap) var(--spring-snap);
}
.btn:active { transform: translateY(1px); }

.btn--go     { background: var(--go); color: #fff; }
.btn--go:hover { background: var(--go-dark); }

.btn--ink    { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2A3240; }

.btn--ghost  { background: transparent; color: var(--ink); border-color: #B9BDB5; }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }

.btn--sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--stone);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}
.site-header[data-stuck] {
  background: rgba(234, 236, 231, .94);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}

/* Full-bleed bar: logo pinned to the left edge, action pinned to the right,
   equal flex on both end tracks so the nav sits dead centre of the viewport. */
.site-header__inner,
.site-footer__inner {
  display: flex; align-items: center; gap: 16px;
  padding-inline: clamp(14px, 2.4vw, 30px);
}
.site-header__inner { min-height: 78px; }

.bar__start, .bar__end { flex: 1 1 0; display: flex; align-items: center; min-width: 0; }
.bar__start { justify-content: flex-start; }
.bar__end   { justify-content: flex-end; gap: 10px; }

.nav { flex: 0 0 auto; }

.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--ink);
}
/* The owner's wordmark. Navy on the dark footer would vanish, so the footer
   copy sits on a small white plate. */
.logo__img { height: clamp(46px, 3.4vw + 30px, 64px); width: auto; }
.logo--plate {
  padding: 6px 10px; background: var(--surface); border-radius: var(--r-card);
}
.logo--plate .logo__img { height: 44px; }

.nav__list {
  display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px);
  list-style: none; margin: 0; padding: 0;
}
.nav__list a {
  text-decoration: none; color: var(--muted);
  font-size: .96rem; font-weight: 500;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.nav__list a:hover { color: var(--ink); border-bottom-color: var(--ochre); }

.menu-btn { display: none; }

/* ----------------------------------------------------------------- hero -- */
.hero { padding: clamp(24px, 3.5vw, 46px) 0 clamp(48px, 7vw, 88px); }

.hero__grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }

.hero__lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  color: #3D444C;
  max-width: 58ch;
  margin-bottom: 1.5em;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__note {
  margin-top: 10px; font-size: .93rem; color: var(--muted);
}

.hero__proof { margin: 0; }
.hero__proof .compare,
.hero__proof .trio { aspect-ratio: 1 / 1; }
.hero__proof .trio { grid-template-columns: 1.2fr 1fr; }

/* ------------------------------------------------------ compare slider -- */
.compare {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--ink);
  touch-action: pan-y;
  cursor: ew-resize;
  isolation: isolate;
}
.compare img { width: 100%; height: 100%; object-fit: cover; }

.compare__reveal {
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare--intro { transition: --pos 1100ms var(--spring-soft); }
/* a tap snaps the seam to an edge (or back to the middle) */
.compare--anim  { transition: --pos 520ms var(--spring-snap); }
.compare[data-state="before"], .compare[data-state="after"] { cursor: pointer; }

.compare__tag {
  position: absolute; top: 12px; z-index: 3;
  padding: 5px 11px; border-radius: var(--r-tag);
  background: rgba(20, 24, 30, .82); color: #fff;
  font-size: .76rem; font-weight: 600; letter-spacing: .01em;
  pointer-events: none;
}
.compare__tag--b { left: 12px; }
.compare__tag--a { right: 12px; z-index: 1; }

.compare__seam {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; z-index: 4;
  background-color: rgba(20, 24, 30, .45);
  background-image: var(--stitch-v);
  background-repeat: repeat-y;
  pointer-events: none;
}
/* The grip rides the seam but never leaves the frame, so at either edge it
   stays reachable as the way back. It sits outside the seam so it can take
   its own taps: left arrow slides the seam left, right arrow slides it right. */
.compare__grip {
  position: absolute; top: 50%; z-index: 4;
  left: clamp(28px, var(--pos), calc(100% - 28px));
  transform: translate(-50%, -50%);
  display: grid; grid-auto-flow: column; place-items: center; gap: 2px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 2px 10px rgba(20, 24, 30, .35);
  cursor: pointer;
  transition: transform var(--dur-snap) var(--spring-snap);
}
.compare__grip svg { width: 11px; height: 18px; }
.compare:hover .compare__grip { transform: translate(-50%, -50%) scale(1.08); }
.compare[data-state="before"] .compare__grip .grip-r,
.compare[data-state="after"]  .compare__grip .grip-l { display: none; }

.compare__hint {
  position: absolute; left: 50%; bottom: 14px; z-index: 5;
  transform: translateX(-50%);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: .8rem; font-weight: 500; white-space: nowrap;
  pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
.compare:not([data-state="split"]) .compare__hint,
.compare--touched .compare__hint { opacity: 0; }

.compare__range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; appearance: none; background: none;
  pointer-events: none;
}
.compare:has(.compare__range:focus-visible) .compare__grip {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

.compare__cap {
  margin-top: 14px;
  font-size: .93rem; line-height: 1.55; color: var(--muted);
  max-width: 52ch;
}

/* -------------------------------------------------------------- section -- */
.section { position: relative; padding: clamp(48px, 7vw, 92px) 0; scroll-margin-top: 76px; }

/* A saddle-stitch rule marks each join between sections , the seam is the
   thing this trade actually makes, so it is the page's only ornament. */
.section--about::before,
.section--services::before,
.section--proof::before,
.section--gallery::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - var(--gutter) * 2, var(--shell) - var(--gutter) * 2);
  height: 1px;
  background-image: var(--stitch-h);
  background-repeat: repeat-x;
  background-size: 12px 1px;
}

/* ---------------------------------------------------------------- about -- */
.about { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
.about__copy > p { color: #3D444C; max-width: 70ch; }

.about__figure { margin: 0; }
.about__figure img { border-radius: var(--r-card); width: 100%; }
.about__figure figcaption {
  margin-top: 12px; font-size: .9rem; color: var(--muted); max-width: 40ch;
}

.steps {
  list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.steps__item {
  counter-increment: step;
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.steps__item::before {
  content: counter(step) '.';
  grid-row: 1 / span 2;
  font-size: .95rem; font-weight: 700; font-stretch: 112%;
  color: var(--ochre); padding-top: 2px;
}
.steps__title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.steps__item p { margin: 2px 0 0; font-size: .96rem; color: var(--muted); max-width: 70ch; }

/* ------------------------------------------------------------- services -- */
.cards {
  display: grid; gap: clamp(16px, 2.5vw, 24px);
  margin-bottom: clamp(24px, 3.5vw, 36px);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 32px);
}
.card__ico { width: 34px; height: 34px; color: var(--ochre); margin-bottom: 14px; }
.card__title { margin: 0 0 .6em; font-size: 1.3rem; line-height: 1.2; }

.list { list-style: none; margin: 0; padding: 0; }
.list li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: .98rem; line-height: 1.5; color: #3D444C;
}
.list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 2px; border-radius: 1px; background: var(--ochre);
}
.list li:last-child { margin-bottom: 0; }

.card__more {
  display: inline-block; margin-top: 18px;
  font-size: .95rem; font-weight: 600; color: var(--ochre);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.card__more:hover { color: var(--ink); }

.area-note {
  display: flex; align-items: center; gap: 14px;
  margin: 0; padding: 18px clamp(18px, 2.5vw, 26px);
  max-width: none;
  background: var(--ink); color: #fff;
  border-radius: var(--r-card);
  font-weight: 700; font-stretch: 112%; letter-spacing: -.018em;
  font-size: clamp(1.05rem, .94rem + .52vw, 1.35rem);
  line-height: 1.25;
}
.area-note .ico--lg { color: var(--ochre-lit); }
.area-note__body { display: grid; gap: 3px; }
.area-note__sub {
  font-weight: 500; font-stretch: 100%; letter-spacing: 0;
  font-size: .95rem; line-height: 1.4; color: rgba(255, 255, 255, .78);
}
.area-note--invert .area-note__sub { color: var(--on-ink); }
.area-note--invert {
  background: transparent; padding: 0; margin-top: 1.5em;
  border-radius: 0;
}

.hero__area {
  display: flex; align-items: center; gap: 10px;
  margin: 20px 0 0; max-width: none;
  font-weight: 700; font-stretch: 112%; letter-spacing: -.018em;
  font-size: 1.02rem; line-height: 1.3; color: var(--ink);
}
.hero__area .ico { color: var(--ochre); }
.hero__area--sub {
  margin-top: 6px; padding-left: 30px;
  font-weight: 500; font-stretch: 100%; letter-spacing: 0;
  font-size: .96rem; color: var(--muted);
}

/* ---------------------------------------------------------------- proof -- */
.proof { display: grid; gap: clamp(28px, 4vw, 44px); }
.proof__item { margin: 0; }

/* Three part photos share one proof slot: one tall on the left, two stacked
   on the right, the stone showing through the joins. */
.trio {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  aspect-ratio: 3 / 4;
}
.trio__cell {
  position: relative; min-height: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.trio__cell--tall { grid-row: 1 / span 2; }
.trio__cell img {
  width: 100%; height: 100%; object-fit: contain; padding: 6%;
}
.trio__cell--tall img { padding: 3%; }
.trio__tag {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 11px; border-radius: var(--r-tag);
  background: rgba(20, 24, 30, .82); color: #fff;
  font-size: .76rem; font-weight: 600; letter-spacing: .01em;
}
.compare__cap a { color: var(--ochre); font-weight: 600; text-underline-offset: 3px; }
.compare__cap a:hover { color: var(--ink); }

/* -------------------------------------------------------------- gallery -- */
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.6vw, 16px);
  list-style: none; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0;
}
.gallery__cell { min-width: 0; }

.shot {
  position: relative; display: block; width: 100%; padding: 0;
  border: 0; border-radius: var(--r-card); overflow: hidden;
  background: var(--ink); cursor: pointer;
  transition: transform var(--dur-snap) var(--spring-snap);
}
.shot img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: opacity 200ms var(--ease-out);
}
.shot:hover { transform: translateY(-3px); }
.shot:hover img { opacity: .88; }

.shot__zoom {
  position: absolute; right: 10px; bottom: 10px;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20, 24, 30, .8); color: #fff;
}

.fb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
}
.fb__text { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------------------------------------------------------------- parts -- */
/* parts.html: the same shell, hero and section rhythm as the home page. */
.nav__list a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ochre); }

.hero--parts .hero__title { max-width: 22ch; }
.hero__grid--parts { align-items: start; }

/* The chair read from the top down. A numbered list, because it really is a
   sequence: the order the parts stack in from headrest to floor. */
.spine {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spine__title {
  margin: 0 0 12px; max-width: none;
  font-size: .95rem; font-weight: 600; color: var(--muted);
}
.spine__list {
  list-style: none; margin: 0; padding: 0;
  counter-reset: part;
  position: relative;
}
/* the stitch running down the left, the thread that holds the chair together */
.spine__list::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px;
  background-image: var(--stitch-v-ochre); background-repeat: repeat-y;
}
.spine__list li { counter-increment: part; }
.spine__list a {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 9px 0 9px 36px;
  min-height: 44px;
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-stretch: 108%; font-size: 1.02rem;
  transition: color 160ms var(--ease-out);
}
.spine__list a::before {
  content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--stone); border: 2px solid var(--ochre);
  transition: background-color 160ms var(--ease-out);
}
.spine__list a:hover { color: var(--ochre); }
.spine__list a:hover::before { background: var(--ochre); }

.section--parts::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - var(--gutter) * 2, var(--shell) - var(--gutter) * 2);
  height: 1px;
  background-image: var(--stitch-h);
  background-repeat: repeat-x;
  background-size: 12px 1px;
}

.parts {
  display: grid; gap: clamp(16px, 2.2vw, 24px);
}
.part {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  scroll-margin-top: 92px;
}
/* The square is fixed by aspect-ratio; the picture is taken out of flow so a
   tall source can never stretch the row. */
.part__img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.part__img img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: contain; padding: 9%;
}
.part__img--photo img { object-fit: cover; padding: 0; }
.part__img--pair img { width: 50%; padding: 8%; }
.part__img--pair img + img { left: 50%; border-left: 1px solid var(--line); }

.part__body { padding: 18px clamp(18px, 2vw, 24px) 22px; }
.part__title {
  margin: 0 0 .4em; font-size: 1.12rem; line-height: 1.25;
  font-weight: 700; font-stretch: 112%; letter-spacing: -.018em;
}
.part__body p { font-size: .95rem; line-height: 1.55; color: #3D444C; max-width: none; }

/* -------------------------------------------------------------- contact -- */
.section--contact { background: var(--ink); color: var(--on-ink); }
.contact { display: grid; gap: clamp(30px, 4.5vw, 52px); align-items: start; }
.contact__copy p { color: var(--on-ink); }

.contact__actions { display: grid; gap: 12px; align-content: start; }

.tile {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px; padding: 14px 20px;
  border: 1.5px solid var(--line-dark); border-radius: var(--r-card);
  color: #fff; text-decoration: none; background: transparent;
  transition: background-color 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              transform var(--dur-snap) var(--spring-snap);
}
.tile:hover { background: #232B35; border-color: #46505E; transform: translateX(2px); }
.tile--go { background: var(--go); border-color: var(--go); }
.tile--go:hover { background: var(--go-dark); border-color: var(--go-dark); }

.tile__body { display: grid; gap: 1px; }
.tile__k { font-size: .82rem; color: rgba(255, 255, 255, .82); }
.tile--go .tile__k { color: rgba(255, 255, 255, .9); }
.tile__v { font-size: 1.15rem; line-height: 1.2; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--ink-deep); color: var(--on-ink); padding: 30px 0; }
.site-footer__mid { display: grid; gap: 6px; justify-items: center; text-align: center; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.site-footer__links a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-ink); text-decoration: none; font-size: .96rem;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.site-footer__links a:hover { color: #fff; border-bottom-color: var(--ochre-lit); }
.site-footer__legal { margin: 0; font-size: .87rem; color: #838C96; max-width: none; }
.site-footer .logo__word { font-size: .98rem; }

/* ------------------------------------------------------------ mobile dock -- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(234, 236, 231, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.dock__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; border-radius: var(--r-btn);
  text-decoration: none; font-weight: 700; font-stretch: 112%; font-size: 1rem;
}
.dock__btn--go { background: var(--go); color: #fff; }
.dock__btn--call { background: transparent; color: var(--ink); border: 1.5px solid #B0B5AC; }

/* ------------------------------------------------------------- lightbox -- */
.lb {
  border: 0; padding: 0; max-width: min(94vw, 780px); max-height: 94dvh;
  width: 100%; background: transparent; color: #fff; overflow: visible;
}
.lb::backdrop { background: rgba(15, 18, 22, .9); }
.lb[open] { animation: lb-in var(--dur-soft) var(--spring-soft) both; }

.lb__figure { margin: 0; }
.lb__img {
  width: 100%; max-height: 78dvh; object-fit: contain;
  border-radius: var(--r-card); background: var(--ink);
}
.lb__cap {
  margin-top: 12px; font-size: .92rem; line-height: 1.5;
  color: #D3D7D3; text-align: center;
}

.lb__close, .lb__nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff;
  transition: background-color 160ms var(--ease-out);
}
.lb__close:hover, .lb__nav:hover { background: rgba(255, 255, 255, .28); }
.lb__close { top: -56px; right: 0; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: -58px; }
.lb__nav--next { right: -58px; }

@keyframes lb-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------ entrance motion -- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__title, .hero__lead, .hero__actions, .hero__note, .hero__proof {
  animation: rise var(--dur-soft) var(--spring-soft) both;
}
.hero__lead    { animation-delay: 70ms; }
.hero__actions { animation-delay: 140ms; }
.hero__note    { animation-delay: 200ms; }
.hero__proof   { animation-delay: 90ms; }

/* ============================================================ responsive == */
@media (min-width: 620px) {
  .hero__actions .btn { min-height: 56px; }
  .contact__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--go, .tile--wide { grid-column: 1 / -1; }
}

@media (min-width: 560px) {
  .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parts--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 66%; }
}

@media (min-width: 900px) {
  .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); }
  .about__figure { position: sticky; top: 96px; }
}

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
  .hero__grid--parts { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .spine { border: 0; border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 40px); padding-top: 6px; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .contact__actions { grid-template-columns: 1fr; }
  .tile--go, .tile--wide { grid-column: auto; }
}

/* --- below 1060px: menu panel + mobile dock ------------------------------ */
@media (max-width: 1059px) {
  body { padding-bottom: 78px; }

  .site-header__cta { display: none; }

  .bar__start { flex: 1 1 auto; }
  .bar__end { flex: 0 0 auto; }

  .menu-btn {
    display: grid; place-items: center;
    width: 46px; height: 46px; padding: 0;
    background: transparent; border: 1.5px solid #B9BDB5;
    border-radius: var(--r-btn); color: var(--ink); cursor: pointer;
  }
  .menu-btn__bars { display: grid; gap: 4px; width: 18px; }
  .menu-btn__bars i {
    display: block; height: 2px; border-radius: 1px; background: currentColor;
    transition: transform var(--dur-snap) var(--spring-snap), opacity 140ms linear;
  }
  .menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex: none;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(20, 24, 30, .12);
    display: none;
  }
  .nav[data-open] { display: block; animation: rise 240ms var(--ease-out) both; }
  .nav__list {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px clamp(14px, 2.4vw, 30px) 14px;
  }
  .nav__list li + li { border-top: 1px solid var(--line); }
  .nav__list a {
    display: block; padding: 15px 0; font-size: 1.05rem;
    color: var(--ink); border-bottom: 0;
  }

  .dock { display: flex; }

  .lb__close { top: -52px; right: 0; }
  .lb__nav--prev { left: 6px; }
  .lb__nav--next { right: 6px; }
  .lb__nav { background: rgba(20, 24, 30, .6); }
}

@media (max-width: 759px) {
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-footer__inner .bar__start,
  .site-footer__inner .bar__end { flex: none; width: 100%; }
  .site-footer__mid { justify-items: start; text-align: left; }
  .site-footer__links { justify-content: flex-start; }
}

@media (max-width: 619px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------- preferences -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .compare--intro, .compare--anim { transition: none; }
  .shot:hover { transform: none; }
  .tile:hover { transform: none; }
}
