

:root {
  --sx-ink: #2e211b;
  --sx-ink-soft: #3c2c24;
  --sx-paper: #ffffff;
  --sx-plaster: #ece7df;
  --sx-stone: #655e56;
  --sx-caramel: #96633c;
  --sx-caramel-deep: #7a4a26;
  --sx-olive: #5f6b33;
  --sx-olive-lit: #8a9a52;
  --sx-graphite: #55565a;
  --sx-kick: var(--sx-caramel-deep);
  --sx-star: var(--sx-caramel-deep);
  --sx-rule: rgba(46,33,27,.14);
  --sx-rule-dark: rgba(255,255,255,.22);
  --sx-display: 'Sansation', 'Trebuchet MS', sans-serif;
  --sx-text: 'Lunasima', system-ui, sans-serif;
}

:root {
  --sx-surface: var(--sx-paper);
  --sx-body: var(--sx-ink);
  --sx-mute: var(--sx-stone);
  --sx-line: var(--sx-rule);
  --sx-btn-bg: var(--sx-caramel-deep);
  --sx-btn-ink: #ffffff;
  --sx-ghost: var(--sx-ink);
  --sx-inset: rgba(46, 33, 27, 0.05);
  --sx-fold: 71rem;
  --sx-gut: clamp(18px, 5vw, 56px);
  --sx-band: clamp(46px, 6.5vw, 92px);
}

.knitdark,
.sealknit,
.contourhero,
.ribfoot {
  --sx-body: var(--sx-paper);
  --sx-mute: rgba(255, 255, 255, 0.8);
  --sx-kick: #f3ddc6;
  --sx-star: #f3ddc6;
  --sx-line: var(--sx-rule-dark);
  --sx-btn-bg: var(--sx-paper);
  --sx-btn-ink: var(--sx-ink);
  --sx-ghost: var(--sx-paper);
  --sx-inset: rgba(255, 255, 255, 0.07);
}

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

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

body {
  margin: 0;
  background: var(--sx-paper);
  color: var(--sx-ink);
  font-family: var(--sx-text);
  font-size: 17px;
  line-height: 1.62;
}

img { max-width: 100%; }

a { color: var(--sx-caramel-deep); }

a:hover { color: var(--sx-ink); }

h1, h2, h3 {
  font-family: var(--sx-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.15rem); }
h3 { font-size: 1.12rem; letter-spacing: 0; }

p { margin: 0 0 1.05em; }

p:last-child { margin-bottom: 0; }

address { font-style: normal; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--sx-olive);
  outline-offset: 3px;
}

.skipseam {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  background: var(--sx-ink);
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
}

.skipseam:focus {
  left: 12px;
  top: 12px;
  color: #fff;
}

.knitfold {
  width: 100%;
  max-width: var(--sx-fold);
  margin: 0 auto;
  padding-inline: var(--sx-gut);
}

.upperseam {
  background: var(--sx-ink);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.79rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.upperseam p {
  margin: 0;
  padding: 9px var(--sx-gut);
  max-width: var(--sx-fold);
  margin-inline: auto;
}

.loomhead {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--sx-fold);
  margin: 0 auto;
  padding: 16px var(--sx-gut);
  border-bottom: 1px solid var(--sx-rule);
}

.loommark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: var(--sx-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loommark img {
  width: 34px;
  height: 34px;
  display: block;
}

.loomnav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-left: auto;
}

.loomnav a {
  color: var(--sx-ink);
  text-decoration: none;
  font-size: 0.93rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.loomnav a:hover { border-bottom-color: var(--sx-caramel); }

.loomcta {
  display: inline-block;
  padding: 9px 18px;
  background: var(--sx-caramel-deep);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
}

.loomcta:hover { background: var(--sx-ink); color: #fff; }

.flexmain { display: block; }

.knitband {
  padding-block: var(--sx-band);
  color: var(--sx-body);
}

.knitplain { background: var(--sx-paper); }
.knittint { background: var(--sx-plaster); }
.knitdark { background: var(--sx-ink); }

.sealknit {
  background: var(--sx-caramel-deep);
  color: var(--sx-body);
  padding-block: var(--sx-band);
  text-align: center;
  --sx-rowset: center;
}

.sealknit h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }

.sealknit > .knitfold > p {
  max-width: 46rem;
  margin-inline: auto;
  color: var(--sx-mute);
}

.knithead { max-width: 44rem; margin-bottom: 34px; }

.knithead h1,
.knithead h2 { margin-bottom: 0.35em; }

.knitkick {
  display: block;
  font-family: var(--sx-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--sx-kick);
  margin: 0 0 0.7em;
}

.knitdeck {
  color: var(--sx-mute);
  font-size: 1.04rem;
  max-width: 46rem;
}

.knitdeck a { color: inherit; }

.stridebtn,
.flexbtn,
.ghostflex {
  display: inline-block;
  font-family: var(--sx-text);
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
}

.stridebtn,
.flexbtn {
  background: var(--sx-btn-bg);
  color: var(--sx-btn-ink);
  border: 1px solid var(--sx-btn-bg);
  padding: 13px 26px;
}

.strideset {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  vertical-align: top;
  justify-content: var(--sx-rowset, flex-start);
}

.stridebtn:hover,
.flexbtn:hover {
  background: var(--sx-olive);
  border-color: var(--sx-olive);
  color: #fff;
}

.ghostflex {
  background: transparent;
  color: var(--sx-ghost);
  border: 1px solid var(--sx-line);
  padding: 12px 22px;
}

.ghostflex:hover {
  border-color: var(--sx-ghost);
  color: var(--sx-ghost);
}

.knitdeck .ghostflex { margin-top: 4px; }

.seamtrail {
  font-size: 0.83rem;
  color: var(--sx-mute);
  margin-bottom: 26px;
}

.seamtrail ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.seamtrail li + li::before {
  content: "\2044";
  margin-right: 8px;
  color: var(--sx-line);
}

.seamtrail a { color: var(--sx-mute); }

.seamtrail a:hover { color: var(--sx-caramel-deep); }

.contourhero {
  position: relative;
  isolation: isolate;
  background: var(--sx-ink) url('floorshot.jpg') center / cover no-repeat;
  color: var(--sx-body);
  padding-block: clamp(64px, 9vw, 132px);
}

.contourhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(102deg, rgba(28, 19, 15, 0.93) 0%, rgba(28, 19, 15, 0.86) 46%, rgba(28, 19, 15, 0.62) 100%);
}

.contourcopy { max-width: 41rem; }

.contourcopy h1 { margin-bottom: 0.3em; }

.contourcopy .knitdeck { font-size: 1.12rem; }

.contourcopy p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contourstat {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
  gap: 20px 30px;
  margin: 44px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--sx-line);
}

.contourcard strong {
  display: block;
  font-family: var(--sx-display);
  font-size: 1.28rem;
  line-height: 1.2;
}

.contourcard span {
  display: block;
  color: var(--sx-mute);
  font-size: 0.9rem;
  margin-top: 4px;
}

.knitpill {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.knitpill a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--sx-line);
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--sx-body);
  background: var(--sx-surface);
}

.knitpill a:hover {
  border-color: var(--sx-caramel);
  color: var(--sx-caramel-deep);
}

.dyedot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.knitgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 30px 22px;
}

.wearcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.weartile {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.wearsnap {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  background: var(--sx-plaster);
  border-radius: 2px;
}

.wearsnap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.weartile:hover .wearsnap img { opacity: 0.9; }

.wearname {
  display: block;
  font-family: var(--sx-display);
  font-weight: 700;
  font-size: 0.99rem;
  line-height: 1.28;
}

.weartile:hover .wearname { color: var(--sx-caramel-deep); }

.wearmeta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.weartag {
  font-family: var(--sx-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: inherit;
}

.wearstar {
  font-size: 0.85rem;
  color: var(--sx-star);
}

.wearcase .flexbtn {
  margin-top: auto;
  width: 100%;
  padding: 11px 12px;
  font-size: 0.88rem;
  text-align: center;
}

.gymgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.gymdoor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 0 0 22px;
  border-bottom: 3px solid var(--sx-caramel);
}

.gymdoor .wearsnap { max-width: 300px; margin-bottom: 8px; }

.gymdoor h2,
.gymdoor h3 { font-size: 1.35rem; margin: 0; }

.gymdoor p { color: var(--sx-mute); font-size: 0.95rem; margin: 0; }

.gymdoor .knitkick { margin: 0; }

.gymdoor:hover h2,
.gymdoor:hover h3 { color: var(--sx-caramel-deep); }

.strideflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(244px, 1fr));
  gap: 24px;
}

.stridequad {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .stridequad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.strideflow > p { grid-column: 1 / -1; }

.stridecard {
  background: var(--sx-inset);
  border: 1px solid var(--sx-line);
  border-radius: 3px;
  padding: 24px 22px;
}

.stridecard h3 { margin-bottom: 0.45em; }

.stridecard p { color: var(--sx-mute); font-size: 0.96rem; margin: 0; }

.striderung {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 1px solid var(--sx-line);
  font-family: var(--sx-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sx-kick);
}

.squatband {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 26px 30px;
  margin: 0;
  padding: 0;
}

.squatline strong {
  display: block;
  font-family: var(--sx-display);
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.squatline span { color: var(--sx-mute); font-size: 0.94rem; }

.sculptspot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 34px 46px;
  align-items: center;
}

.sculptframe {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sx-plaster);
}

.sculptframe img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sculptbody h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.sculptbody h2 a { color: inherit; text-decoration: none; }

.sculptbody h2 a:hover { color: var(--sx-caramel-deep); }

.sculptbody p { color: var(--sx-mute); }

.sculptband {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  color: var(--sx-body);
}

.sculptband .weartag { font-size: 1.5rem; }

.sculptbody p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gymvoices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 26px;
}

.wearquote {
  margin: 0;
  padding: 26px 24px;
  background: var(--sx-paper);
  border-top: 3px solid var(--sx-olive-lit);
  border-radius: 2px;
}

.wearquote blockquote { margin: 0; }

.wearquote p { font-size: 0.98rem; }

.wearsigner {
  margin-top: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sx-mute);
}

.seamledger { font-size: 0.98rem; }

.seamledger th,
.seamledger td {
  text-align: left;
  padding: 13px 8px 13px 0;
  border-bottom: 1px solid var(--sx-line);
  font-weight: 400;
}

.seamledger tr:last-child th,
.seamledger tr:last-child td { border-bottom: 0; }

.seamnum {
  text-align: right;
  padding-right: 0;
  font-family: var(--sx-display);
  font-weight: 700;
  white-space: nowrap;
}

.fitspread {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.flexcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  background: var(--sx-inset);
  border: 1px solid var(--sx-line);
  border-radius: 3px;
}

.flexcard h3 { margin: 0; }

.flexcard p { color: var(--sx-mute); font-size: 0.95rem; margin: 0; }

.flexcard .knitkick { margin: 6px 0 0; }

.flexcard:hover { border-color: var(--sx-caramel); }

.flexcard:hover h3 { color: var(--sx-caramel-deep); }

.stitchnote {
  max-width: 50rem;
  border-left: 3px solid var(--sx-caramel);
  padding-left: clamp(18px, 3vw, 34px);
}

.stitchnote p { color: var(--sx-mute); }

.fitcore {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
}

.fitplate {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sx-plaster);
}

.fitplate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fitledge h1 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }

.fitledge .sculptband { margin-bottom: 0.9em; }

.seamprint {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--sx-mute);
  max-width: 46ch;
}

.fitledge .seamprint { margin: 0.6em 0 1.4em; }

.fitledge .flexbtn { padding: 15px 32px; font-size: 1rem; }

.flexlist {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.flexlist li {
  padding-left: 20px;
  position: relative;
  font-size: 0.96rem;
  color: var(--sx-mute);
}

.flexlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 2px;
  background: var(--sx-caramel);
}

.flexlist strong { color: var(--sx-body); }

.fitclock {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--sx-line);
}

.fitclock h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sx-mute);
  margin-bottom: 12px;
}

.fitcopy { max-width: 58rem; }

.fitcopy > p { color: var(--sx-mute); max-width: 46rem; }

.fitcopy .stridequad { margin-top: 30px; }

.fitclose { max-width: 44rem; margin-inline: auto; }

.fitclose .sculptband { justify-content: center; }

.fitclose .weartag { font-size: 1.6rem; }

.fitclose p:last-child { margin-top: 20px; }

.fithead { max-width: 44rem; }

.seambody { max-width: 46rem; }

.seambody h2 { margin-top: 1.6em; }

.seambody > h2:first-child,
.fitsec:first-child h2 { margin-top: 0; }

.seambody p { color: var(--sx-ink-soft); }

.fitsec { margin-bottom: 8px; }

.fitfacts {
  margin-top: 38px;
  padding: 26px 24px;
  background: var(--sx-inset);
  border-radius: 3px;
}

.fitfacts h2 {
  margin-top: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sx-mute); 
}

.fitfacts .flexlist { margin-top: 0; }

.fitroll { border-top: 1px solid var(--sx-line); padding-top: 34px; }

.fitroll h2 { font-size: 1.3rem; margin-bottom: 22px; }

.squatstep {
  border: 0;
  border-top: 1px solid var(--sx-line);
  margin: 0;
  padding: 22px 0 0;
}

.squatstep legend { padding: 0; }

.squatstep .knitdeck { font-size: 0.93rem; margin-bottom: 14px; }

.squatpick { display: grid; gap: 8px; }

.squatpick label {
  display: block;
  cursor: pointer;
  position: relative;
}

.squatpick input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.squatpick input + span {
  display: block;
  padding: 11px 14px;
  border: 1px solid var(--sx-line);
  border-radius: 3px;
  background: var(--sx-paper);
}

.squatpick input:checked + span {
  border-color: var(--sx-caramel-deep);
  box-shadow: inset 0 0 0 1px var(--sx-caramel-deep);
  background: #fbf5ee;
}

.squatpick input:focus-visible + span {
  outline: 3px solid var(--sx-olive);
  outline-offset: 2px;
}

.squatpick strong {
  display: block;
  font-family: var(--sx-display);
  font-size: 0.98rem;
}

.squatpick em {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--sx-mute); 
  margin-top: 2px;
}

.squatyield:empty { display: none; }

.squatyield {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--sx-line);
}

.squatyield h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

.squatyield h3 { font-size: 1.1rem; margin: 40px 0 18px; }

.squatyield .knitdeck { margin-bottom: 26px; }

.ribfoot {
  background: var(--sx-ink);
  color: var(--sx-body);
  padding-block: clamp(40px, 5vw, 68px) 26px;
}

.ribcols {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 34px 30px;
  max-width: var(--sx-fold);
  margin: 0 auto;
  padding-inline: var(--sx-gut);
}

.ribcols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.ribcols a { color: var(--sx-mute); text-decoration: none; font-size: 0.92rem; }

.ribcols a:hover { color: var(--sx-paper); text-decoration: underline; }

.ribcols .loommark { color: var(--sx-paper); margin-bottom: 16px; }

.ribsmall {
  font-family: var(--sx-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sx-mute);
  margin: 0 0 14px;
}

.ribnote {
  color: var(--sx-mute);
  font-size: 0.88rem;
  margin: 0 0 10px;
  max-width: 24rem;
}

.ribband {
  max-width: var(--sx-fold);
  margin: 40px auto 0;
  padding: 22px var(--sx-gut) 0;
  border-top: 1px solid var(--sx-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.ribband img {
  display: block;
  width: auto;
  max-width: min(380px, 100%);
  height: auto;
}

.ribband .ribsmall { margin: 0; letter-spacing: 0.08em; }

.loomfoot {
  margin-left: auto;
  color: var(--sx-mute);
  font-size: 0.88rem;
  text-decoration: none;
}

.loomfoot:hover { color: var(--sx-paper); }

@media (max-width: 900px) {
  .fitcore { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .loomhead { gap: 12px; padding-block: 13px; }

  
  .loomnav {
    order: 3;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-bottom: 2px;
  }

  .loomnav a { white-space: nowrap; }

  .loomcta { margin-left: auto; }

  .knitgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 14px; }

  .wearcase .flexbtn { padding: 10px 8px; font-size: 0.82rem; }

  .contourcopy p:last-child .stridebtn,
  .contourcopy p:last-child .ghostflex { flex: 1 1 auto; text-align: center; }

  .ribcols { grid-template-columns: minmax(0, 1fr); }

  .loomfoot { margin-left: 0; }
}

