:root {
  --orange: #fa3c04;
  --white: #faf9f7;
  --black: #111;
  --pad: clamp(22px, 3.2vw, 66px);
  font:
    400 16px/1.18 "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--white);
  background: var(--orange);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
fieldset,
dl,
dd {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #00b9e7;
  outline-offset: 3px;
}
button b,
a b {
  font-weight: 400;
}
html {
  scroll-behavior: smooth;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.sr,
.weather legend {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.tabs {
  position: fixed;
  z-index: 7;
  top: var(--pad);
  right: var(--pad);
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid #ffffff85;
  background: #ff794b45;
}
.tabs:not(:hover):not(:focus-within) { opacity: var(--nav-opacity, 1); }
.tabs > * {
  background: var(--white);
  color: #202020;
  padding: 9px 15px;
  font-size: clamp(13px, 1vw, 18px);
  min-height: 36px;
  display: grid;
  place-items: center;
}
.tabs button:last-child {
  display: flex;
  gap: 6px;
}
.tabs #count {
  font-size: 0.75em;
}
.tabs [aria-current],
.tabs button:hover,
.tabs a:hover {
  background: var(--black);
  color: white;
}
.runway {
  position: relative;
}
.hero {
  height: 100svh;
  position: relative;
  background: var(--orange);
  isolation: isolate;
  overflow: hidden;
}
.contours,
.model,
#rain,
.hero-ui {
  position: absolute;
  inset: 0;
}
.model {
  pointer-events: none;
  transform-origin: 51% 65%;
  overflow: hidden;
}
.model video {
  position: absolute;
  left: 51%;
  top: -3%;
  height: 160%;
  width: auto;
  aspect-ratio: 16/9;
  transform: translateX(-50%);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 14%,
    #000 86%,
    transparent
  );
}
.contours,
.gear:before {
  background: repeating-radial-gradient(
    ellipse at -18% 107%,
    transparent 0 14%,
    #a60d0015 14.1% 16%,
    transparent 16.1% 24%
  );
  pointer-events: none;
}
.contours {
  z-index: 1;
  opacity: 0.36;
}
.hero-ui {
  z-index: 3;
  pointer-events: none;
}
.hero-ui :is(a, button, input, fieldset) {
  pointer-events: auto;
}
#rain {
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.weather {
  position: absolute;
  top: var(--pad);
  left: var(--pad);
  width: clamp(194px, 19.6vw, 312px);
  border: 1px solid #ffffff55;
  background: #ff784b45;
  padding: clamp(13px, 1.25vw, 22px);
  backdrop-filter: blur(5px);
}
.weather-title,
.weather label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.weather-title strong,
.eyebrow,
.detail-tile span,
.wordmark,
.reading > small,
.size-select,
.white-btn,
.black-btn,
.textlink {
  text-transform: uppercase;
}
.weather-title strong {
  font-size: clamp(12px, 1.14vw, 21px);
  letter-spacing: -0.035em;
}
.weather-title button {
  width: 30px;
  height: 28px;
  border: 1px solid #fff6;
  line-height: 1;
}
.weather label {
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: clamp(11px, 0.9vw, 16px);
}
.weather output {
  font-variant-numeric: tabular-nums;
}
.weather input {
  width: 100%;
  margin: 0;
  height: 20px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.weather input::-webkit-slider-runnable-track {
  height: 1px;
  background: #fffc;
}
.weather input::-webkit-slider-thumb {
  appearance: none;
  width: 9px;
  height: 9px;
  background: white;
  border: 0;
  border-radius: 0;
  transform: translateY(-4px);
}
.weather input::-moz-range-track {
  height: 1px;
  background: white;
}
.weather input::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 0;
  background: white;
}
h1,
#gear-name {
  position: absolute;
  z-index: 2;
  font-weight: 580;
  line-height: 0.8;
  letter-spacing: -0.088em;
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
}
.hero-ui {
  isolation: auto;
}
.hero h1 {
  left: 42%;
  top: 27%;
  font-size: clamp(78px, min(10.8vw, 19svh), 206px);
}
.reading {
  position: absolute;
  right: 16%;
  top: 20%;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.reading span {
  border: 1px solid white;
  border-radius: 100px;
  padding: 0 0.28em;
  font-size: clamp(32px, 4.8vw, 84px);
  font-weight: 250;
  letter-spacing: -0.075em;
}
.reading span small {
  font-size: 0.55em;
}
.reading > small,
.eyebrow {
  font-size: clamp(9px, 0.69vw, 13px);
  letter-spacing: 0.09em;
}
.reading:after {
  content: "";
  border-top: 1px solid white;
  position: absolute;
  right: 92%;
  top: 82%;
  width: 7vw;
  transform: rotate(-36deg);
  transform-origin: 100% 50%;
}
.manifesto {
  position: absolute;
  left: var(--pad);
  bottom: 7%;
  max-width: 25%;
}
.wordmark {
  font-size: clamp(19px, 2.12vw, 42px);
  font-weight: 850;
  letter-spacing: -0.07em;
  display: flex;
  align-items: center;
  gap: 0.16em;
}
.mount {
  letter-spacing: -0.29em;
  margin-right: 0.23em;
  font-size: 0.85em;
}
.manifesto h2,
.gear-info h2 {
  font-size: clamp(24px, 2.65vw, 46px);
  line-height: 0.92;
  font-weight: 520;
  text-transform: uppercase;
  letter-spacing: -0.055em;
  margin: 0.9em 0 0.48em;
}
.manifesto p,
.gear-info > p:not(.eyebrow) {
  font-size: clamp(12px, 0.99vw, 17px);
  line-height: 1.32;
  max-width: 32ch;
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  padding: 12px 0 5px;
  letter-spacing: 0.015em;
}
.detail-tile {
  position: absolute;
  right: 8%;
  bottom: 15%;
  width: min(14vw, 22svh);
  border: 1px solid #ffffff85;
  text-align: left;
  padding: 6px;
}
.detail-tile img {
  width: 100%;
  display: block;
  aspect-ratio: 1.1;
  object-fit: cover;
}
.detail-tile span {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 6px 1px 0;
}
.credit {
  position: fixed;
  bottom: max(7px, env(safe-area-inset-bottom));
  right: var(--pad);
  z-index: 5;
  min-height: 44px;
  display: grid;
  align-items: center;
}
.credit img {
  width: clamp(118px, 9vw, 150px);
}
.on-gear .credit {
  background: #161616;
  padding: 0 8px;
}
.gear {
  position: relative;
  height: 100svh;
  min-height: 530px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(90deg, var(--orange) 0 51%, #f5f5f4 51%);
  color: white;
}
.gear:before {
  content: "";
  position: absolute;
  inset: 0 49% 0 0;
}
.gear-info {
  position: absolute;
  z-index: 3;
  top: 7%;
  left: var(--pad);
  width: 24%;
  bottom: 6%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.gear-info h2 {
  margin: 0.42em 0;
}
.gear-info dl {
  margin-top: 4svh;
  width: 100%;
  max-width: 285px;
  font-size: clamp(12px, 0.95vw, 16px);
}
.gear-info dl > div,
.total {
  border-top: 1px solid #ffffff70;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0.55em 0;
}
.buy {
  margin-top: auto;
}
.price {
  font-size: clamp(34px, 4vw, 72px);
  font-weight: 300;
  letter-spacing: -0.075em;
}
.size-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 11px;
}
.size-select select {
  background: white;
  color: #111;
  padding: 4px;
  border: 0;
}
.white-btn,
.black-btn {
  min-height: 44px;
  padding: 0 18px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 650;
}
.white-btn {
  background: white;
  color: #ac2800;
}
.black-btn {
  background: #111;
  color: white;
}
.gear-model {
  position: absolute;
  left: 28%;
  width: 47%;
  bottom: 0;
  height: 91%;
  display: grid;
  align-items: end;
  justify-items: center;
}
.gear-model img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.gear-model img.studio {
  object-fit: contain;
  mix-blend-mode: multiply;
}
.gear #gear-name {
  left: 34%;
  top: 38%;
  font-size: clamp(76px, min(9.6vw, 18svh), 180px);
  margin: 0;
}
.gallery {
  position: absolute;
  right: var(--pad);
  top: 16%;
  bottom: 10%;
  width: 20%;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 8px;
}
.gallery button {
  position: relative;
  background: #b3b3b3;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
}
.gallery [aria-pressed="true"] {
  border-color: #151515;
}
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}
.gallery button:first-child img {
  object-position: center 13%;
}
.gallery span {
  position: absolute;
  bottom: 5px;
  left: 6px;
  background: #fff;
  color: #111;
  padding: 4px 7px;
  font-size: 11px;
}
dialog {
  width: min(960px, 94vw);
  max-width: 100%;
  max-height: 90svh;
  border: 0;
  padding: 0;
  color: #111;
  background: #f8f8f6;
}
dialog::backdrop {
  background: #191410aa;
  backdrop-filter: blur(5px);
}
.close {
  position: absolute;
  z-index: 3;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  background: white;
  color: #111;
  font-size: 25px;
}
.journal,
.bag-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.journal > img {
  width: 100%;
  height: min(68svh, 580px);
  object-fit: cover;
}
.journal > div,
.bag-list,
.checkout {
  padding: clamp(24px, 4vw, 64px);
}
.journal h2,
.bag-list h2,
.checkout h3 {
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 550;
  letter-spacing: -0.075em;
  line-height: 0.9;
  margin: 24px 0;
}
.journal p:not(.eyebrow) {
  max-width: 30ch;
  line-height: 1.45;
}
.journal .black-btn {
  margin-top: 24px;
}
.bag-layout {
  grid-template-columns: 1.25fr 1fr;
}
.bag-list {
  background: var(--orange);
  color: white;
}
.bag-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 9px;
  align-items: center;
  border-top: 1px solid #fff7;
  padding: 14px 0;
}
.bag-row img {
  width: 48px;
  height: 60px;
  object-fit: contain;
}
.bag-row small {
  display: block;
  margin-top: 4px;
}
.quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.quantity button {
  border: 1px solid #fff8;
  min-width: 28px;
  min-height: 34px;
}
.checkout h3 {
  font-size: 36px;
}
.total {
  border-color: #aaa;
  margin: 24px 0;
}
.note {
  font-size: 13px;
  margin-top: 14px;
}
.black-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
@media (max-width: 700px) and (orientation: portrait) {
  :root {
    --pad: 16px;
  }
  .tabs {
    top: 12px;
    right: 12px;
  }
  .tabs > * {
    padding: 8px 10px;
    font-size: 12px;
    min-height: 38px;
  }
  .weather {
    top: 67px;
    width: 148px;
    padding: 9px 10px;
  }
  .weather-title strong {
    font-size: 12px;
  }
  .weather-title button {
    height: 22px;
    width: 25px;
  }
  .weather label {
    margin-top: 2px;
    font-size: 10px;
  }
  .weather input {
    height: 15px;
  }
  .hero h1 {
    left: 29%;
    top: 35%;
    font-size: min(17.8vw, 10svh);
  }
  .model video {
    top: 15%;
    left: 58%;
    height: 105%;
  }
  .reading {
    right: 7%;
    top: 23%;
  }
  .reading span {
    font-size: 34px;
  }
  .reading > small {
    font-size: 8px;
  }
  .manifesto {
    bottom: 8%;
    max-width: 54%;
  }
  .wordmark {
    font-size: 22px;
  }
  .manifesto h2 {
    font-size: 22px;
    margin: 0.55em 0 0.35em;
  }
  .manifesto p {
    font-size: 11px;
  }
  .detail-tile {
    right: var(--pad);
    bottom: 11%;
    width: 21vw;
    padding: 4px;
  }
  .detail-tile span {
    font-size: 8px;
  }
  .credit {
    right: 12px;
    bottom: 2px;
  }
  .credit img {
    width: 109px;
  }
  .gear {
    min-height: 640px;
    background: linear-gradient(90deg, var(--orange) 0 61%, #f5f5f4 61%);
  }
  .gear-info {
    left: 16px;
    top: 11%;
    width: 46%;
    bottom: 9%;
  }
  .gear-info h2 {
    font-size: 24px;
  }
  .gear-info > p:not(.eyebrow) {
    font-size: 12px;
  }
  .gear-info dl {
    font-size: 10px;
    margin-top: 14px;
  }
  .gear-model {
    left: 37%;
    width: 64%;
    height: 61%;
    bottom: 23%;
  }
  .gear #gear-name {
    font-size: 15vw;
    left: 35%;
    top: 51%;
  }
  .gallery {
    right: 12px;
    left: 54%;
    width: auto;
    top: auto;
    bottom: 10%;
    height: 9%;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: 3px;
  }
  .gallery span {
    font-size: 8px;
    left: 1px;
    bottom: 1px;
    padding: 2px;
  }
  .gallery img {
    object-position: 50% 16%;
  }
  .white-btn {
    padding: 0 10px;
    font-size: 10px;
    gap: 8px;
  }
  .journal,
  .bag-layout {
    grid-template-columns: 1fr;
  }
  .journal > img {
    height: 30svh;
    object-position: center 28%;
  }
  .journal > div,
  .bag-list,
  .checkout {
    padding: 24px;
  }
  .journal h2,
  .bag-list h2 {
    margin: 12px 0;
  }
  .checkout h3 {
    margin: 10px 0;
  }
  .credit {
    min-height: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.checkout label {
  display: grid;
  gap: 5px;
  font-size: 13px;
  margin: 12px 0;
}
.checkout input,
.checkout select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d5d3d0;
  padding: 8px 10px;
  background: #fff;
  color: #111;
  font: inherit;
}
.checkout .black-btn {
  width: 100%;
}
#receipt:not(:empty) {
  margin-top: 10px;
  font-size: 14px;
}
.checkout h3 {
  margin-bottom: 16px;
}
@media (max-width: 700px) and (orientation: portrait) {
  .tabs > * {
    min-height: 44px;
  }
  .textlink {
    min-height: 44px;
  }
  .credit {
    min-height: 44px;
  }
  .weather input {
    height: 20px;
  }
  .weather-title button {
    width: 36px;
    height: 30px;
  }
}
.hero h1,
.gear #gear-name {
  letter-spacing: -0.065em;
  line-height: 0.83;
}
.turn-control {
  position: absolute;
  left: 50%;
  bottom: 2.3%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  padding: 0 9px;
  background: #181818c9;
  min-height: 36px;
  font:
    500 10px/1 Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  pointer-events: auto;
}
.turn-control input {
  width: 80px;
  accent-color: white;
  cursor: ew-resize;
}
@media (max-width: 700px) and (orientation: portrait) {
  .turn-control {
    left: var(--pad);
    bottom: 5px;
    transform: none;
    min-height: 38px;
  }
  .turn-control input {
    width: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .turn-control {
    display: none;
  }
}

.gear-anchor {
  position: absolute;
  top: 100svh;
  pointer-events: none;
}
.key-filter { position: absolute; }
.studio-sheet { display: none; }

.pinned {
  --split: 51%;
  --model-start-x: 51%;
  --model-end-x: 51.5%;
  --model-start-top: -3svh;
  --model-start-height: 160svh;
  --model-end-height: min(91svh, 64vw);
  --model-end-bottom: 0svh;
  --pose: 0;
  --sheet: 0;
  --intro: 1;
  --details: 0;
  --strip: 0;
  height: 235svh;
}
.pinned .gear-anchor { top: calc(100% - 100svh); }
.pinned .stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  isolation: isolate;
}
.pinned .studio-sheet {
  display: block;
  position: absolute;
  inset: 0 0 0 var(--split);
  background: #f5f5f4;
  transform-origin: left center;
  transform: scaleX(var(--sheet));
}
.pinned .model video {
  left: calc(var(--model-start-x) * (1 - var(--pose)) + var(--model-end-x) * var(--pose));
  top: calc(var(--model-start-top) * (1 - var(--pose)) + (100svh - var(--model-end-height) - var(--model-end-bottom)) * var(--pose));
  height: calc(var(--model-start-height) * (1 - var(--pose)) + var(--model-end-height) * var(--pose));
  mask-image: none;
  filter: url(#orange-key);
}
.pinned .contours { z-index: auto; }
.pinned :is(.hero-ui, #rain, #headline) { opacity: var(--intro); }
.pinned #headline { transform: translateX(calc(-0.15em * (1 - var(--intro)))); }
.pinned .gear {
  position: absolute;
  inset: 0;
  min-height: 0;
  overflow: clip;
  background: transparent;
  isolation: auto;
  pointer-events: none;
}
.pinned .gear:before { display: none; }
.pinned .gear-info, .pinned #gear-name {
  opacity: var(--details);
  transform: translateY(calc(2.2svh * (1 - var(--details))));
}
.pinned .gallery {
  opacity: var(--strip);
  clip-path: inset(0 calc(100% * (1 - var(--strip))) 0 0);
}
.pinned .gear:not([inert]) :is(button, select, label) { pointer-events: auto; }
.pinned .gear-model { opacity: 0; }
.pinned.has-photo .gear-model { opacity: var(--details); }
.pinned.has-photo .model { opacity: calc(1 - var(--details)); }

@media (max-width: 700px) and (orientation: portrait) {
  .pinned {
    --split: 61%;
    --model-start-x: 58%;
    --model-end-x: 69%;
    --model-start-top: 15svh;
    --model-start-height: 105svh;
    --model-end-height: min(61svh, 88vw);
    --model-end-bottom: 23svh;
  }
}

dialog[data-kind="bag"] {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  background: transparent;
  overscroll-behavior: contain;
}
dialog[data-kind="bag"]::backdrop { background: transparent; backdrop-filter: none; }
dialog[data-kind="bag"] .close { position: fixed; }
.bag-layout {
  min-height: 100svh;
  grid-template-columns: 61fr 39fr;
}
.bag-list, .checkout { padding-top: max(65px, 9svh); }
.checkout { background: var(--white); }
@media (max-width: 700px) and (orientation: portrait) {
  .bag-layout { grid-template-columns: 1fr; }
  .checkout { padding-top: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  body:has(.bag-entry[open]) .pinned :is(.model, .gear-model) {
    animation: pack-model 520ms cubic-bezier(.4,0,.25,1) both;
  }
  body:has(.bag-entry[open]) .pinned :is(.hero-ui, #rain, #headline, .gear-info, #gear-name, .gallery) {
    animation: pack-labels 170ms ease-out both;
  }
  .bag-entry[open] .bag-list { animation: bag-sheet-in 400ms 220ms both; }
  .bag-entry[open] .checkout { animation: bag-sheet-in 400ms 260ms both; }
  .bag-entry[open] .close { animation: bag-sheet-in 250ms 350ms both; }
}
@keyframes pack-model {
  to { transform: translateX(-16vw) scale(.22); }
}
@keyframes pack-labels {
  to { opacity: 0; }
}
@keyframes bag-sheet-in {
  from { opacity: 0; transform: translateX(3vw); }
  to { opacity: 1; transform: none; }
}

.hero { touch-action: pan-y pinch-zoom; }
