@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Condensed";
  src: url("fonts/open-sans-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --ink: #171815;
  --muted: #5b5e54;
  --line: #cfcec4;
  --blue: #2441eb;
  --blue-dark: #1a33c6;
  --white: #fffdf5;
  --type-display: "Open Sans Condensed", "Arial Narrow", sans-serif;
  --type-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-height: 4.4rem;
  --bs-body-font-family: "DM Sans", system-ui, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-link-color: var(--blue-dark);
}

* { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-height) + 1rem); }
body { min-width: 19rem; }
a { text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.hero :focus-visible, .lookbook :focus-visible, .contact :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.shell {
  width: min(90%, 86rem);
  margin-inline: auto;
}

.section-space { padding-block: clamp(3.25rem, 6.5vw, 6.25rem); }

.skip-link {
  position: fixed;
  z-index: 1100;
  top: .5rem;
  left: .5rem;
  padding: .65rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.eyebrow {
  margin: 0 0 .75rem;
  font: 700 .82rem/1.35 var(--type-mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}

.display-title {
  margin: 0;
  font: 700 clamp(3.3rem, 6.8vw, 7rem)/.88 var(--type-display);
  letter-spacing: -.036em;
  text-transform: uppercase;
}

.action {
  display: inline-flex;
  min-height: 3.05rem;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.25rem;
  border: 1px solid transparent;
  color: var(--white);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s, color .18s;
}

.action-blue { background: var(--blue); }
.action-blue:hover { background: var(--blue-dark); color: var(--white); }
.action-dark { background: var(--ink); }
.action-dark:hover { background: #383a33; color: var(--white); }
.action-clear { border-color: rgb(255 253 245 / .55); background: rgb(10 11 12 / .15); }
.action-clear:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.action-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.action-outline:hover { background: var(--ink); color: var(--white); }
.action:disabled { background: #777a70; color: var(--white); cursor: default; }

.site-header {
  position: sticky;
  z-index: 1020;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .navbar {
  min-height: var(--header-height);
  padding: 0;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .65rem;
  color: inherit;
  font: italic 700 1.72rem/.9 var(--type-display);
  letter-spacing: -.024em;
  text-decoration: none;
}

.brand:hover { color: inherit; }

.brand-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  background: var(--blue);
}

.site-header .navbar-collapse { justify-content: center; }
.site-header .navbar-nav { gap: clamp(.45rem, 2vw, 2.1rem); }

.site-header .nav-link {
  padding-inline: .5rem;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 750;
}

.site-header .nav-link:hover, .site-footer nav a:hover { color: var(--blue-dark); text-decoration: underline; }

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
}

.bag-toggle, .menu-toggle {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .35rem .55rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 750;
}

.bag-toggle:hover, .menu-toggle:hover { border-color: var(--ink); }

.bag-count {
  display: grid;
  min-width: 1.52rem;
  min-height: 1.52rem;
  padding-inline: .25rem;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}

.bag-icon {
  position: relative;
  display: inline-block;
  width: .94rem;
  height: .8rem;
  flex: 0 0 auto;
  margin-top: .25rem;
  border: 1.5px solid currentColor;
  border-radius: 0 0 .15rem .15rem;
}

.bag-icon::before {
  position: absolute;
  left: 23%;
  bottom: 100%;
  width: 54%;
  height: .36rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: .35rem .35rem 0 0;
  content: "";
}

.menu-toggle { width: 2.7rem; }
.menu-icon { width: 1.05rem; height: .65rem; border-block: 2px solid currentColor; }
.navbar-toggler:focus { box-shadow: none; }

.hero {
  position: relative;
  display: grid;
  min-height: clamp(34rem, 43vw, 43rem);
  isolation: isolate;
  overflow: hidden;
  background: #262728;
  color: var(--white);
}

.hero-photo, .hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo { object-fit: cover; object-position: center 24%; }

.hero::before {
  z-index: 0;
  background: linear-gradient(90deg, rgb(13 14 14 / .85), rgb(13 14 14 / .47) 35%, transparent 69%),
              linear-gradient(0deg, rgb(13 14 14 / .6), transparent 26%);
  pointer-events: none;
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  padding-block: 3.8rem;
}

.hero-copy { width: min(100%, 35rem); }
.hero-kicker { display: flex; align-items: center; gap: .64rem; }
.hero-kicker span { width: 1.45rem; height: .22rem; background: #8ca1ff; }

.hero h1 {
  margin: 1rem 0 1.35rem;
  font: 700 clamp(6.2rem, 10.2vw, 10.15rem)/.78 var(--type-display);
  text-transform: uppercase;
  letter-spacing: -.036em;
}

.hero h1 span { display: block; }
.hero-description { max-width: 24rem; margin: 0 0 1.55rem; color: #f0eee6; font-size: 1.12rem; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: .64rem;
  margin: 0;
  font: 600 .72rem/1.2 var(--type-mono);
  letter-spacing: .07em;
}

.hero-caption span { width: 1.25rem; height: 1px; background: rgb(255 253 245 / .78); }
.shop { padding-block-start: clamp(2.65rem, 4.6vw, 4.2rem); }

.shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.55rem;
}

.shop-heading .eyebrow, .story .eyebrow, .fit-guide .eyebrow { color: var(--blue-dark); }

.shop-tools, .guide-units {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}

.filter {
  min-height: 2.65rem;
  padding: .37rem .72rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 750;
}

.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem clamp(.65rem, 1.5vw, 1.28rem);
}

.product-card { min-width: 0; }
.product-media { position: relative; overflow: hidden; background: #e5e3df; }

.product-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}

.product-photo-button:focus-visible { position: relative; z-index: 1; outline-offset: -4px; }

.product-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .25s ease;
}

.product-photo-button:hover .product-photo { transform: scale(1.035); }

.quick-add {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0 0 .1rem;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.quick-add:hover, .quick-add:focus-visible { background: var(--blue); color: var(--white); }

.product-line { display: flex; align-items: baseline; justify-content: space-between; gap: .35rem; margin-top: .68rem; }
.product-line h3 { margin: 0; font: inherit; }

.product-name {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 800;
  text-align: left;
}

.product-name:hover { text-decoration: underline; text-underline-offset: .2em; }
.product-price { flex-shrink: 0; font-size: .9rem; font-weight: 750; white-space: nowrap; }
.product-color { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }

.lookbook { background: var(--blue); color: var(--white); }

.outfit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
  padding-block: clamp(2.5rem, 5.3vw, 5.5rem);
}

.outfit-photo {
  position: relative;
  width: min(100%, 32rem);
  justify-self: end;
  background: #14294b;
}

.outfit-photo img { width: 100%; height: auto; }

.hotspot {
  position: absolute;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0 0 .1rem;
  transform: translate(-50%, -50%);
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 4px rgb(255 253 245 / .24);
  font-size: 1.65rem;
  line-height: 1;
}

.hotspot:hover { color: var(--blue-dark); background: var(--white); }
.spot-cap { left: 54%; top: 9%; }
.spot-hoodie { left: 70%; top: 24%; }
.spot-pants { left: 59%; top: 56%; }

.outfit-copy { width: min(100%, 32rem); }
.outfit-description { max-width: 27rem; margin-block: 1.1rem 1.7rem; }

.outfit-product {
  display: grid;
  width: 100%;
  grid-template-columns: 3.15rem 1fr auto;
  align-items: center;
  gap: .85rem;
  padding: .6rem .15rem .6rem 0;
  border: 0;
  border-top: 1px solid rgb(255 253 245 / .47);
  background: none;
  color: inherit;
  text-align: left;
}

.outfit-product:last-child { border-bottom: 1px solid rgb(255 253 245 / .47); }
.outfit-product:hover { background: rgb(255 253 245 / .1); }
.outfit-product img { width: 3.15rem; height: 3.15rem; object-fit: cover; }
.outfit-item-label { display: grid; }
.outfit-item-label strong { font-size: 1rem; }
.outfit-item-label small { font-size: .87rem; }
.outfit-item-plus { padding-right: .3rem; font-size: 1.4rem; }

.story-layout, .guidance-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.story-layout { align-items: center; }
.story-copy p:not(.eyebrow), .guidance-intro p:not(.eyebrow) { max-width: 30rem; margin-block: 1.15rem 0; }
.story-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #d4d0c4; }

.fit-guide { background: #e9e9e1; }
.guide-units { justify-content: flex-end; margin-bottom: .7rem; }

.size-table {
  margin-bottom: .7rem;
  --bs-table-bg: transparent;
  --bs-table-color: var(--ink);
  --bs-table-border-color: #c5c7ba;
  font-variant-numeric: tabular-nums;
}

.size-table > :not(caption) > * > * { padding: .62rem .7rem; }
.size-table thead { border-top: 1px solid var(--ink); }
.size-table th, .size-table td { width: 33.33%; }
.guide-note { margin: 0; color: var(--muted); font-size: .92rem; }

.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  min-height: 3.7rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 1.75rem 1.15rem 0; color: var(--muted); }

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.contact::before {
  position: absolute;
  z-index: -1;
  inset: -8rem 0 -7rem auto;
  width: min(40rem, 60%);
  background: url("images/mark.png") center right / contain no-repeat;
  opacity: .05;
  content: "";
}

.contact-layout { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.contact-email { display: inline-block; margin-top: 1.18rem; color: var(--white); font-size: clamp(1.05rem, 1.9vw, 1.35rem); font-weight: 750; }
.contact-email:hover { color: #b8c5ff; }
.contact address { margin: 0; }

.site-footer {
  padding-block: 1.15rem;
  background: var(--ink);
  border-top: 1px solid #484a40;
  color: var(--white);
}

.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }
.site-footer nav a, .site-footer small { color: #e3e2da; font-size: .9rem; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--white); }
.site-footer .brand { font-size: 1.5rem; }
.site-footer .brand-icon { width: 2rem; height: 2rem; }
.site-footer .brand-icon img { width: 1.4rem; height: 1.4rem; }

.modal, .offcanvas { --bs-border-radius: 0; }
.modal-content { --bs-modal-bg: var(--paper); --bs-modal-border-radius: 0; }
.modal-header, .offcanvas-header { border-bottom: 1px solid var(--line); }
.modal-header .display-title, .offcanvas-header .display-title { font-size: 3rem; }
.modal .btn-close, .offcanvas .btn-close { padding: .6rem; }

.product-modal-body {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.dialog-close { position: absolute; z-index: 1; top: .65rem; right: .65rem; background-color: var(--paper); }
.product-detail-image { width: 100%; height: 100%; min-height: 23rem; object-fit: cover; background: #e5e3df; }

.product-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.35rem, 3.15vw, 2.4rem);
}

.product-detail-copy .display-title { font-size: clamp(2.9rem, 6vw, 4.45rem); }
.product-detail-copy .eyebrow { margin-bottom: .6rem; color: var(--muted); }
.detail-price { margin: .85rem 0 .68rem; font-size: 1.2rem; font-weight: 800; }
#detail-description { margin-bottom: 1.35rem; }

#product-form { margin-top: auto; }
#product-form legend { margin-bottom: .5rem; font-size: .97rem; font-weight: 800; }

.size-options { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }

.size-choice { position: relative; }
.size-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.size-choice label {
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 800;
}

.size-choice input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--white); }
.size-choice input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.size-guide-link { display: inline-block; margin-block: .65rem .9rem; font-size: .9rem; }
.size-guide-link[hidden] + .form-message[hidden] + button { margin-top: 1rem; }
.form-message { margin: .5rem 0; color: var(--muted); font-size: .94rem; }
.form-message:empty { margin: 0; }

.bag-drawer { --bs-offcanvas-width: min(100vw, 30rem); --bs-offcanvas-bg: var(--paper); }
.bag-drawer .offcanvas-header, .bag-drawer .offcanvas-body, .bag-footer { padding-inline: 1.2rem; }

.bag-empty {
  display: grid;
  min-height: 15rem;
  align-content: center;
  justify-items: center;
  gap: .8rem;
}

.bag-empty .bag-icon { transform: scale(1.55); }
.bag-empty p { margin: .6rem 0 0; }
.bag-lines { margin: 0; }

.bag-line {
  display: grid;
  grid-template-columns: 4.15rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .65rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.bag-line img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.bag-variant { margin: .2rem 0 .4rem; color: var(--muted); font-size: .9rem; }
.bag-line-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .65rem; }

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.stepper button { min-width: 2.4rem; min-height: 2.4rem; padding: 0; border: 0; background: transparent; font-weight: 800; }
.stepper button:hover { background: #e9e8df; }
.stepper button:disabled { color: var(--muted); background: transparent; }
.line-quantity { min-width: 1.45rem; text-align: center; }

.text-action {
  padding: .35rem 0;
  border: none;
  background: none;
  color: var(--ink);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  font-size: .9rem;
}
.text-action:hover { color: var(--blue-dark); }

.bag-footer { padding-block: 1.1rem; border-top: 1px solid var(--line); }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 800; }
.bag-footer p, .checkout-summary p { margin: .45rem 0 .85rem; color: var(--muted); font-size: .9rem; }

.checkout-body { padding: clamp(1rem, 3vw, 1.85rem); }
.checkout-body h3 { margin-bottom: .7rem; font-size: 1.2rem; font-weight: 800; }
.checkout-summary { margin-bottom: 1.3rem; padding: 1.05rem; background: #e9e9e1; }
.checkout-summary p { margin-bottom: 0; }
#order-lines { display: grid; gap: .45rem; margin-bottom: .85rem; font-size: .94rem; }

#order-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-summary .bag-total { padding-top: .55rem; border-top: 1px solid var(--line); }
.checkout-fields .form-label { margin-bottom: .3rem; font-size: .92rem; font-weight: 750; }
.checkout-body .form-control { min-height: 2.65rem; border-color: #a8aa9e; border-radius: 0; background: #fffef8; }
.order-message { font: .88rem/1.45 var(--type-mono); }
.checkout-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }

@media (min-width: 768px) {
  .site-header .navbar { display: grid; grid-template-columns: 1fr auto 1fr; }
}

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(6rem, 11.2vw, 8rem); }
}

@media (max-width: 767.98px) {
  :root { --header-height: 3.85rem; }

  .site-header .navbar { flex-wrap: wrap; justify-content: space-between; }
  .site-header .brand { font-size: 1.45rem; }
  .site-header .brand-icon { width: 2rem; height: 2rem; }
  .site-header .brand-icon img { width: 1.42rem; height: 1.42rem; }
  .site-header .navbar-collapse { order: 3; }
  .site-header .navbar-nav { margin-top: .6rem; padding-block: .3rem .65rem; border-top: 1px solid var(--line); gap: 0; }
  .site-header .nav-link { padding: .7rem .1rem; }

  .hero { min-height: min(43rem, max(35rem, 87svh)); }
  .hero-inner { align-items: end; padding-block: 2rem; }
  .hero-photo { object-position: 72% 21%; }

  .hero::before {
    background: linear-gradient(0deg, rgb(11 12 14 / .94), rgb(11 12 14 / .78) 26%, rgb(11 12 14 / .12) 70%, transparent);
  }

  .hero h1 { font-size: clamp(5rem, 13.5vw, 7rem); }
  .hero-caption { display: none; }
  .hero-description { font-size: 1rem; margin-bottom: 1.1rem; }
  .shop-heading { align-items: start; flex-direction: column; margin-bottom: 1rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .outfit-layout, .story-layout, .guidance-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .outfit-copy { width: 100%; }
  .outfit-photo { width: min(100%, 30rem); justify-self: start; }
  .outfit-description { margin-block: .8rem 1.3rem; }
  .story-photo { aspect-ratio: 16 / 10; }
  .guide-units { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
  .hero h1 { margin-block: .75rem 1rem; }
  .shell { width: 91%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-line { align-items: start; flex-direction: column; gap: .1rem; }
  .product-color { margin-top: .16rem; }

  .contact-layout { display: grid; align-items: start; }
  .footer-inner { justify-content: flex-start; column-gap: 1.6rem; }
  .site-footer small { flex-basis: 100%; }

  .product-modal-body { grid-template-columns: 1fr; }
  .product-detail-image { min-height: 0; max-height: 34svh; object-fit: contain; }
  .product-detail-copy { padding: 1.15rem; }
  #detail-description { margin-bottom: .9rem; }
  .bag-line { grid-template-columns: 3.1rem minmax(0, 1fr) auto; }
}

@media (max-width: 360px) {
  .site-header .brand { gap: .42rem; font-size: 1.3rem; }
  .header-actions { gap: .3rem; }
  .bag-label { display: none; }
  .hero h1 { font-size: clamp(4.35rem, 21vw, 5rem); }
  .hero-actions .action { padding-inline: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
