@import url("https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Vollkorn:ital,wght@0,500;0,600;0,700;0,800;1,600&display=swap");

:root {
  --last-walnut: #2a160f;
  --last-walnut-deep: #1a0d08;
  --leather-tan: #c08a52;
  --leather-tan-deep: #9a6a3a;
  --sole-black: #0b0a09;
  --thread-ivory: #f4eee6;
  --awl-steel: #7a8188;
  --fit-cobalt: #1b4f9c;
  --fit-cobalt-bright: #2a6ad4;
  --edge-burgundy: #6e2a34;
  --edge-burgundy-deep: #4c1b23;
  --pattern-kraft: #d2b48a;
  --pattern-kraft-deep: #c09a68;
  --eyelet-brass: #a67c4e;
  --ink: #1c120c;
  --muted: #6d5a4c;
  --serif: "Vollkorn", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Inter Tight", "Segoe UI", sans-serif;
  --mono: "Azeret Mono", "SFMono-Regular", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 4.6rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
  background: var(--sole-black);
  color: var(--thread-ivory);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

section,
footer,
main,
article,
aside {
  overflow-x: clip;
  max-width: 100%;
  box-sizing: border-box;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.09;
  background-image: url("../images/leather-grain.jpg");
  background-size: 680px auto;
  mix-blend-mode: overlay;
}

.site {
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute;
  left: -999px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.55rem 1.4rem;
  background: color-mix(in srgb, var(--last-walnut) 92%, black);
  border-bottom: 1px solid color-mix(in srgb, var(--eyelet-brass) 45%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  overflow: visible;
}

.header::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -1px;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--thread-ivory) 0 2px,
    transparent 2px 9px
  );
  opacity: 0.35;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50% 42% 50% 46%;
  border: 1px solid var(--eyelet-brass);
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.brand-code {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--leather-tan);
  letter-spacing: 0.14em;
}

.fit-readout {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--pattern-kraft);
  border: 1px dashed var(--awl-steel);
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
}

.fit-readout b {
  color: var(--fit-cobalt-bright);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  z-index: 70;
}

.nav a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--thread-ivory);
  position: relative;
  padding: 0.2rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--awl-steel);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--fit-cobalt);
  box-shadow: -3px 0 0 1px var(--thread-ivory), 3px 0 0 1px var(--thread-ivory);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--eyelet-brass);
  background: var(--last-walnut);
  cursor: pointer;
  position: relative;
  z-index: 90;
  flex-shrink: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 1px;
  background: var(--thread-ivory);
  transition: 0.25s var(--ease);
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem 0.85rem;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--edge-burgundy);
  color: var(--thread-ivory);
  box-shadow:
    inset 0 -3px 0 color-mix(in srgb, var(--last-walnut) 70%, black),
    0 1px 0 var(--eyelet-brass);
  isolation: isolate;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--fit-cobalt);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 0.7rem;
  bottom: 0.42rem;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--thread-ivory) 0 2px, transparent 2px 7px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  opacity: 0.7;
}

.btn:hover::before {
  transform: translate(6px, -50%);
}

.btn:hover::after {
  transform: scaleX(1);
}

.btn-walnut {
  background: var(--last-walnut);
  color: var(--thread-ivory);
}

.btn-wide {
  width: 100%;
}

.btn-line {
  background: transparent;
  color: var(--fit-cobalt-bright);
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  min-height: auto;
}

.btn-line::before {
  display: none;
}

.btn-line::after {
  left: 0;
  right: 0;
  bottom: 0.15rem;
  transform: scaleX(0.4);
  background-image: linear-gradient(90deg, var(--fit-cobalt), var(--awl-steel));
}

.btn-line:hover::after {
  transform: scaleX(1);
  background-image: repeating-linear-gradient(90deg, var(--fit-cobalt) 0 2px, transparent 2px 8px);
  box-shadow: -3px 0 0 1.5px var(--thread-ivory), 3px 0 0 1.5px var(--thread-ivory);
}

.hero {
  --pull-x: 46%;
  --pull-y: 38%;
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 1.6rem 1.2rem 2.6rem;
  background:
    radial-gradient(ellipse 80% 70% at var(--pull-x) var(--pull-y), rgba(244, 238, 230, 0.18), transparent 55%),
    linear-gradient(165deg, rgba(42, 22, 15, 0.55), rgba(11, 10, 9, 0.78)),
    url("../images/hero-last.jpg") center/cover no-repeat;
  overflow-x: clip;
}

.hero-bench {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  min-height: 78vh;
}

.hero-last-shape {
  position: absolute;
  right: -4%;
  top: 4%;
  width: min(58vw, 760px);
  aspect-ratio: 4/5;
  background:
    linear-gradient(180deg, rgba(42, 22, 15, 0.1), rgba(11, 10, 9, 0.2)),
    url("../images/hero-last.jpg") 55% 40%/cover no-repeat;
  clip-path: path("M 42 4 C 68 0 88 10 94 28 C 102 52 92 72 78 86 C 62 102 38 104 22 90 C 6 76 2 52 8 32 C 14 14 26 8 42 4 Z");
  filter: saturate(0.92) contrast(1.05);
  box-shadow: inset 0 0 80px rgba(11, 10, 9, 0.4);
}

.hero-last-shape::after {
  content: "";
  position: absolute;
  inset: 8% 18% 12% 16%;
  border: 1px dashed color-mix(in srgb, var(--awl-steel) 70%, transparent);
  border-radius: 46% 38% 50% 42%;
  opacity: 0.45;
}

.stitch-svg {
  position: absolute;
  left: 28%;
  bottom: 6%;
  width: min(46vw, 520px);
  height: 180px;
  pointer-events: none;
}

.stitch-svg path {
  fill: none;
  stroke: var(--thread-ivory);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  stroke-dashoffset: 420;
  animation: stitch-draw 2.8s var(--ease) 0.4s forwards;
}

.pattern-piece {
  position: absolute;
  background: color-mix(in srgb, var(--pattern-kraft) 88%, white);
  color: var(--ink);
  padding: 0.7rem 1rem 0.85rem;
  font-family: var(--serif);
  line-height: 0.95;
  box-shadow: 6px 10px 0 rgba(11, 10, 9, 0.25);
  clip-path: polygon(0 8%, 92% 0, 100% 88%, 8% 100%);
}

.pattern-piece small {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--fit-cobalt);
  margin-bottom: 0.25rem;
}

.pp1 {
  left: 2%;
  top: 8%;
  font-size: clamp(1.8rem, 4.4vw, 4.1rem);
  max-width: 9.5ch;
  animation: settle-piece 1.1s var(--ease) both;
}

.pp2 {
  left: 18%;
  top: 32%;
  font-size: clamp(1.5rem, 3.2vw, 2.8rem);
  background: color-mix(in srgb, var(--leather-tan) 80%, var(--pattern-kraft));
  animation: settle-piece 1.2s var(--ease) 0.12s both;
}

.pp3 {
  left: 6%;
  top: 52%;
  font-size: clamp(1.35rem, 2.8vw, 2.4rem);
  background: var(--thread-ivory);
  animation: settle-piece 1.25s var(--ease) 0.2s both;
}

.last-anchor {
  position: absolute;
  right: 6%;
  bottom: 10%;
  font-family: var(--mono);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  letter-spacing: 0.08em;
  color: var(--thread-ivory);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: settle-piece 1s var(--ease) 0.3s both;
}

.last-anchor span {
  display: block;
  font-size: 0.62rem;
  color: var(--leather-tan);
  letter-spacing: 0.18em;
}

.fit-note {
  position: absolute;
  left: 8%;
  bottom: 8%;
  width: min(360px, 86vw);
  background: var(--thread-ivory);
  color: var(--ink);
  padding: 1.1rem 1.15rem 1.2rem;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 92% 100%, 0 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: slip-in 0.9s var(--ease) 0.35s both;
}

.fit-note p {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.fit-note-code {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--fit-cobalt);
  margin-bottom: 0.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.fit-locks {
  position: absolute;
  right: 7%;
  top: 10%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: min(240px, 42vw);
}

.lock-chip {
  background: color-mix(in srgb, var(--pattern-kraft) 92%, white);
  color: var(--ink);
  padding: 0.45rem 0.7rem 0.5rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  clip-path: polygon(8% 0, 100% 0, 94% 100%, 0 100%);
  box-shadow: 3px 4px 0 var(--last-walnut);
  animation: settle-piece 0.8s var(--ease) both;
}

.lock-chip:nth-child(2) {
  margin-left: 1.2rem;
  animation-delay: 0.12s;
}

.lock-chip:nth-child(3) {
  margin-left: 0.4rem;
  animation-delay: 0.22s;
}

.lock-chip b {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.micro-label {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--pattern-kraft);
}

.ml-1 {
  left: 44%;
  top: 18%;
}

.ml-2 {
  left: 52%;
  bottom: 28%;
}

.ml-3 {
  right: 22%;
  top: 48%;
}

@keyframes stitch-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes settle-piece {
  from {
    opacity: 0;
    transform: translate3d(-18px, 10px, 0) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slip-in {
  from {
    opacity: 0;
    transform: translate3d(-24px, 16px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  animation: reveal 0.8s var(--ease) forwards;
  animation-play-state: paused;
}

.reveal.in {
  animation-play-state: running;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

.fit-strip {
  background: var(--pattern-kraft);
  color: var(--ink);
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: space-between;
  border-top: 3px solid var(--last-walnut);
  border-bottom: 3px solid var(--edge-burgundy);
}

.fit-tag {
  flex: 1 1 140px;
  min-width: 140px;
  background: color-mix(in srgb, var(--thread-ivory) 70%, var(--pattern-kraft));
  padding: 0.55rem 0.7rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.fit-tag::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--eyelet-brass);
}

.fit-tag span {
  display: block;
  color: var(--fit-cobalt);
  font-size: 0.55rem;
  margin-bottom: 0.15rem;
}

.loose-field {
  position: relative;
  padding: 4.2rem 1.3rem 4.6rem;
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.55), rgba(42, 22, 15, 0.72)),
    url("../images/leather-grain.jpg") center/cover;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--leather-tan);
  margin-bottom: 0.6rem;
}

.loose-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
  position: relative;
}

.loose-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 34% auto 28%;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--awl-steel) 0 4px, transparent 4px 11px);
  opacity: 0.6;
  pointer-events: none;
}

.leather-panel {
  background:
    linear-gradient(160deg, rgba(42, 22, 15, 0.55), rgba(11, 10, 9, 0.35)),
    url("../images/measuring-strap.jpg") 50% 40%/cover;
  min-height: 420px;
  padding: 2rem 1.6rem;
  clip-path: polygon(0 0, 96% 3%, 100% 92%, 6% 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.leather-panel h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  max-width: 14ch;
}

.leather-panel p {
  max-width: 46ch;
  margin-top: 0.9rem;
  color: var(--thread-ivory);
}

.fit-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.note-card {
  background: var(--thread-ivory);
  color: var(--ink);
  padding: 1rem 1.05rem 1.15rem;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%);
  box-shadow: 8px 10px 0 rgba(110, 42, 52, 0.18);
  transition: transform 0.35s var(--ease);
}

.note-card:hover {
  transform: translate(-4px, -6px);
}

.note-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0.2rem 0 0.35rem;
}

.note-card .code {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--fit-cobalt);
}

.outputs {
  padding: 4.4rem 1.3rem 4.8rem;
  background: var(--thread-ivory);
  color: var(--ink);
  position: relative;
}

.outputs::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: url("../images/paper-pattern.jpg") 20% 10%/cover;
  opacity: 0.28;
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.outputs-head {
  max-width: 1280px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.outputs-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 0.95;
  max-width: 12ch;
}

.bench-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}

.true-fit {
  grid-row: 1 / span 2;
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.15), rgba(42, 22, 15, 0.72)),
    url("../images/laptop-bench.jpg") center/cover;
  color: var(--thread-ivory);
  padding: 1.4rem;
  clip-path: polygon(0 4%, 100% 0, 97% 96%, 4% 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.true-fit:hover,
.held:hover {
  transform: translateY(-4px);
  transition: transform 0.35s var(--ease);
}

.badge {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--leather-tan);
}

.true-fit h3,
.held h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 0.3rem 0 0.5rem;
}

.meta-row {
  display: grid;
  gap: 0.2rem;
  font-size: 0.88rem;
}

.meta-row b {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--fit-cobalt-bright);
}

.held {
  background: var(--pattern-kraft);
  padding: 1rem;
  min-height: 230px;
  clip-path: polygon(0 0, 100% 6%, 96% 100%, 3% 94%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.held:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(42, 22, 15, 0.08), rgba(42, 22, 15, 0.55)),
    url("../images/welt-stitch.jpg") center/cover;
  color: var(--thread-ivory);
}

.held:nth-child(4) {
  background: var(--last-walnut);
  color: var(--thread-ivory);
  clip-path: polygon(4% 0, 100% 8%, 94% 100%, 0 92%);
}

.held:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.1), rgba(11, 10, 9, 0.5)),
    url("../images/insole-contour.jpg") center/cover;
  color: var(--thread-ivory);
}

.pressure-thesis {
  padding: 5rem 1.3rem;
  background:
    linear-gradient(90deg, rgba(42, 22, 15, 0.92) 0 58%, rgba(192, 138, 82, 0.2) 100%),
    url("../images/pressure-marks.jpg") 80% 50%/cover;
  position: relative;
}

.pressure-thesis h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.92;
  max-width: 11ch;
  margin-left: 4%;
}

.thesis-card {
  margin: 1.6rem 0 0 18%;
  max-width: 520px;
  background: var(--pattern-kraft);
  color: var(--ink);
  padding: 1.3rem 1.3rem 1.5rem;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 90% 100%, 0 100%);
}

.float-note {
  position: absolute;
  right: 8%;
  top: 22%;
  width: 190px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--thread-ivory);
  border-left: 2px solid var(--fit-cobalt);
  padding-left: 0.7rem;
}

.services-lasts {
  padding: 4.5rem 1.2rem 5rem;
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.55), rgba(11, 10, 9, 0.72)),
    url("../images/last-workspace.jpg") center/cover;
}

.services-lasts h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 12ch;
  margin: 0 auto 2rem 6%;
}

.last-map {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  min-height: 640px;
}

.last-item {
  position: absolute;
  background: color-mix(in srgb, var(--last-walnut) 82%, black);
  padding: 1rem 1.05rem 1.15rem;
  width: min(280px, 70vw);
  clip-path: path("M 18 6 C 48 0 78 6 90 28 C 102 54 88 78 68 92 C 42 108 16 96 8 70 C 0 44 4 16 18 6 Z");
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s var(--ease);
}

.last-item:hover {
  transform: translateY(-8px);
}

.last-item.primary {
  width: min(360px, 78vw);
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(42, 22, 15, 0.35), rgba(42, 22, 15, 0.75)),
    url("../images/last-label.jpg") center/cover;
}

.last-item .code {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--leather-tan);
}

.last-item h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0.25rem 0 0.4rem;
}

.last-item p {
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--thread-ivory) 85%, var(--leather-tan));
}

.l1 {
  left: 4%;
  top: 8%;
}
.l2 {
  left: 34%;
  top: 0;
}
.l3 {
  right: 6%;
  top: 10%;
}
.l4 {
  left: 18%;
  bottom: 4%;
}
.l5 {
  left: 48%;
  bottom: 8%;
}
.l6 {
  right: 8%;
  bottom: 2%;
}

.pressure-cap {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--pattern-kraft);
  margin-top: 0.4rem;
}

.welt-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.welt-lines path {
  fill: none;
  stroke: var(--awl-steel);
  stroke-width: 1.2;
  stroke-dasharray: 4 8;
  opacity: 0.55;
}

.proof {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  min-height: 520px;
}

.proof-loose {
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.35), rgba(11, 10, 9, 0.7)),
    url("../images/awl-marks.jpg") center/cover;
  padding: 2rem 1.4rem;
}

.proof-fit {
  background: var(--pattern-kraft);
  color: var(--ink);
  padding: 2.2rem 1.6rem 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.proof-fit h2 {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.marker {
  border-top: 1px solid color-mix(in srgb, var(--last-walnut) 35%, transparent);
  padding-top: 0.7rem;
}

.marker b {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--fit-cobalt);
}

.stat {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}

.about-method {
  padding: 4.6rem 1.3rem;
  background: var(--last-walnut);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
}

.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 13ch;
  margin-bottom: 0.8rem;
}

.about-visual {
  min-height: 420px;
  background: url("../images/burnished-edge.jpg") center/cover;
  clip-path: polygon(8% 0, 100% 6%, 94% 100%, 0 92%);
}

.sequence {
  padding: 4.2rem 1.2rem 4.6rem;
  background: var(--thread-ivory);
  color: var(--ink);
}

.sequence h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 1.6rem 6%;
}

.seq-board {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-areas:
    "m c p"
    "s s p"
    "f w w";
  gap: 0.8rem;
}

.seq {
  padding: 1.1rem 1rem 1.2rem;
  min-height: 150px;
  background: var(--pattern-kraft);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.seq:nth-child(1) {
  grid-area: m;
  background: url("../images/measuring-strap.jpg") center/cover;
  color: var(--thread-ivory);
}
.seq:nth-child(2) {
  grid-area: c;
  background: var(--last-walnut);
  color: var(--thread-ivory);
}
.seq:nth-child(3) {
  grid-area: p;
  background: url("../images/leather-grain.jpg") center/cover;
  color: var(--thread-ivory);
}
.seq:nth-child(4) {
  grid-area: s;
  background: url("../images/welt-stitch.jpg") center/cover;
  color: var(--thread-ivory);
}
.seq:nth-child(5) {
  grid-area: f;
  background: var(--edge-burgundy);
  color: var(--thread-ivory);
}
.seq:nth-child(6) {
  grid-area: w;
  background: var(--leather-tan);
  color: var(--ink);
}

.seq .n {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.seq h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
}

.marquee-wrap {
  overflow: hidden;
  max-width: 100vw;
  background: var(--sole-black);
  border-top: 1px solid var(--awl-steel);
  border-bottom: 1px solid var(--awl-steel);
  padding: 0.7rem 0;
}

.marquee {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee.reverse {
  animation-direction: reverse;
  margin-top: 0.45rem;
}

.marquee span {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--pattern-kraft);
  padding: 0.2rem 1.4rem;
  border-right: 1px dashed var(--awl-steel);
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.fit-cta {
  padding: 5rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(42, 22, 15, 0.55), rgba(11, 10, 9, 0.7)),
    url("../images/paper-pattern.jpg") center/cover;
  display: flex;
  justify-content: center;
}

.cta-panel {
  width: min(860px, 94vw);
  background: color-mix(in srgb, var(--pattern-kraft) 92%, white);
  color: var(--ink);
  padding: 2.2rem 1.6rem 2.4rem;
  clip-path: polygon(0 8%, 94% 0, 100% 90%, 8% 100%);
  text-align: left;
}

.cta-panel h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.95;
  max-width: 14ch;
}

.cta-panel p {
  margin: 0.8rem 0 1.2rem;
  max-width: 48ch;
}

.contact-preview {
  padding: 3rem 1.3rem 3.4rem;
  background: var(--thread-ivory);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.2rem;
  max-width: 100%;
}

.contact-preview h2 {
  font-family: var(--serif);
  font-size: 2.1rem;
}

.plain-mail {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--fit-cobalt);
}

.map-frame {
  min-height: 240px;
  border: 1px solid var(--awl-steel);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  filter: saturate(0.7) sepia(0.15);
}

.footer {
  background: var(--last-walnut-deep);
  color: var(--thread-ivory);
  padding: 2.4rem 1.3rem 1.4rem;
}

.foot-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.2rem;
}

.footer h2,
.footer h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--leather-tan);
  margin-bottom: 0.7rem;
}

.footer a,
.footer p {
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--thread-ivory) 85%, var(--pattern-kraft));
}

.footer a {
  display: block;
  margin: 0.25rem 0;
}

.footer a:hover {
  color: var(--fit-cobalt-bright);
}

.copy {
  max-width: 1280px;
  margin: 1.4rem auto 0;
  border-top: 1px dashed var(--awl-steel);
  padding-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--awl-steel);
}

.page-hero {
  padding: 3.2rem 1.3rem 2.4rem;
  background:
    linear-gradient(180deg, rgba(42, 22, 15, 0.7), rgba(11, 10, 9, 0.55)),
    url("../images/last-workspace.jpg") center/cover;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 0.95;
  max-width: 14ch;
}

.page-hero p {
  max-width: 52ch;
  margin-top: 0.8rem;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.4rem 1.3rem 3.4rem;
}

.prose {
  background: var(--thread-ivory);
  color: var(--ink);
}

.prose h2,
.prose h3 {
  font-family: var(--serif);
  margin: 1.4rem 0 0.6rem;
}

.prose p,
.prose li {
  margin-bottom: 0.85rem;
}

.prose ul {
  padding-left: 1.1rem;
}

.prose ul li {
  list-style: disc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 1.3rem 3rem;
  background: var(--thread-ivory);
  color: var(--ink);
}

.about-panel {
  min-height: 280px;
  padding: 1.3rem;
}

.about-panel.img {
  background-size: cover;
  background-position: center;
  color: var(--thread-ivory);
}

.about-panel h2 {
  font-family: var(--serif);
  font-size: 2rem;
}

.map-head {
  padding: 3rem 1.3rem 1.4rem;
  background: var(--pattern-kraft);
  color: var(--ink);
}

.map-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  max-width: 16ch;
}

.group-block {
  padding: 2rem 1.3rem;
}

.group-block.form {
  background: var(--last-walnut);
}
.group-block.pressure {
  background: var(--thread-ivory);
  color: var(--ink);
}
.group-block.structure {
  background: var(--edge-burgundy);
}

.group-block h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.acc {
  border-top: 1px solid color-mix(in srgb, var(--awl-steel) 50%, transparent);
}

.acc-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
  border: 0;
  padding: 1rem 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.acc-panel {
  display: none;
  padding: 0 0 1rem;
  max-width: 70ch;
}

.acc.open .acc-panel {
  display: block;
}

.acc-btn::after {
  content: "+";
  font-family: var(--mono);
  color: var(--leather-tan);
}

.acc.open .acc-btn::after {
  content: "–";
}

.fit-form {
  background: var(--pattern-kraft);
  color: var(--ink);
  padding: 1.4rem;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 4% 100%);
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--thread-ivory);
  border: 1px solid var(--awl-steel);
  color: var(--ink);
  padding: 0.7rem 0.75rem;
  outline: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--fit-cobalt);
  box-shadow: 0 0 0 1px var(--fit-cobalt);
}

.field .err {
  display: none;
  color: var(--edge-burgundy);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.field.invalid .err {
  display: block;
}

.field.invalid input,
.field.invalid textarea {
  border-color: var(--edge-burgundy);
}

.contact-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  padding: 2rem 1.3rem 3rem;
  background: var(--thread-ivory);
  color: var(--ink);
}

.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 3rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(42, 22, 15, 0.6), rgba(11, 10, 9, 0.72)),
    url("../images/sole-profile.jpg") center/cover;
}

.thanks-card {
  width: min(640px, 94vw);
  background: var(--thread-ivory);
  color: var(--ink);
  padding: 2rem 1.5rem;
  clip-path: polygon(0 6%, 96% 0, 100% 92%, 6% 100%);
}

.thanks-card h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.legal {
  background: var(--thread-ivory);
  color: var(--ink);
}

.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
}

a.brand {
  display: flex;
  color: inherit;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin: 0 0 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.legal-nav a {
  color: var(--fit-cobalt);
  text-decoration: underline;
}

.portfolio-page {
  background: var(--sole-black);
}

.bench-cluster {
  padding: 2rem 1.3rem 2.6rem;
  display: grid;
  gap: 0.8rem;
}

.bench-cluster:nth-child(odd) {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.bench-cluster:nth-child(even) {
  grid-template-columns: 0.8fr 1.5fr 0.7fr;
  background: var(--last-walnut);
}

.case {
  min-height: 280px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--pattern-kraft);
  color: var(--ink);
}

.case.dark {
  color: var(--thread-ivory);
}

.case h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
}

.hours {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

@media (min-width: 1025px) and (hover: hover) {
  .parallax {
    transform: translateY(var(--py, 0px));
    will-change: transform;
  }
}

@media (max-width: 1280px) {
  .fit-readout {
    display: none;
  }
  .nav {
    gap: 0.25rem 0.8rem;
  }
}

@media (max-width: 1100px) {
  .header .btn {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
    background: var(--thread-ivory);
    margin-left: auto;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    background: var(--last-walnut);
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--last-walnut);
    flex-direction: column;
    align-items: stretch;
    padding: 1.4rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 70;
    overflow-y: auto;
  }
  .nav.open {
    transform: none;
  }
  .nav a {
    font-size: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--awl-steel);
  }
  .hero-last-shape {
    width: min(70vw, 420px);
    right: -8%;
    opacity: 0.7;
  }
  .fit-locks {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 1rem;
  }
  .hero-bench {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
  }
  .pattern-piece,
  .fit-note,
  .last-anchor,
  .micro-label {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .pp1,
  .pp2,
  .pp3 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    max-width: 16ch;
  }
  .loose-wrap,
  .bench-layout,
  .proof,
  .about-method,
  .contact-preview,
  .foot-grid,
  .about-grid,
  .contact-page,
  .seq-board,
  .bench-cluster,
  .bench-cluster:nth-child(odd),
  .bench-cluster:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .seq {
    grid-area: auto !important;
  }
  .last-map {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
  .last-item,
  .last-item.primary {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    clip-path: none;
    min-height: 0;
  }
  .welt-lines,
  .stitch-svg,
  .hero-last-shape,
  .micro-label,
  .float-note,
  .loose-wrap::before {
    display: none;
  }
  .true-fit {
    grid-row: auto;
    min-height: 340px;
    clip-path: none;
  }
  .leather-panel,
  .held,
  .note-card,
  .cta-panel,
  .thanks-card,
  .fit-form {
    clip-path: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    background: var(--thread-ivory);
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    background: var(--last-walnut);
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--last-walnut);
    flex-direction: column;
    align-items: stretch;
    padding: 1.4rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 70;
  }
  .nav.open {
    transform: none;
  }
  .nav a {
    font-size: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--awl-steel);
  }
  .fit-readout {
    display: none;
  }
  .header .btn {
    display: none;
  }
  .proof-fit {
    grid-template-columns: 1fr;
  }
  .btn-wide-m,
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 0.8rem;
  }
  .fit-strip {
    flex-direction: column;
  }
}
