@font-face {
  font-family: "Allumi Std Extended";
  src: local("Allumi Std Extended"), local("AllumiStdExtended-Regular"), local("AllumiStd-Extended");
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Allumi Std Extended";
  src: local("Allumi Std Extended Italic"), local("AllumiStdExtended-Italic"), local("AllumiStd-ExtendedItalic");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/Barlow-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/Barlow-MediumItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  /* The supplied page is 944px wide. Scale its spacing and type together. */
  --u: clamp(.8px, .1059322vw, 1.65px);
  --gutter: calc(39 * var(--u));
  --paper: #f5f5f3;
  --ink: #171717;
  --muted: #626262;
  --line: #dfdfdc;
  --image: #dededb;
  --product-image: #dadbda;
  color-scheme: light;
  font-family: "Allumi Std Extended", "Barlow", Arial, sans-serif;
  font-weight: 500;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(70 * var(--u));
  scrollbar-gutter: stable;
}

html:has(.product-dialog[open]),
html:has(.product-dialog[open]) body {
  overflow: hidden;
}

body, h1, h2, h3, p, figure {
  margin: 0;
}

body {
  min-width: 280px;
  font-size: calc(12 * var(--u));
  line-height: 1.3;
}

button, input {
  font: inherit;
  color: inherit;
}

button, a, input {
  -webkit-tap-highlight-color: transparent;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

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

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

a:hover, .footer-bottom button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

[hidden] {
  display: none !important;
}

h2 {
  font-size: calc(28 * var(--u));
  font-weight: 500;
  line-height: 1.08;
  text-transform: uppercase;
}

h3 {
  font-size: inherit;
  font-weight: 500;
}

::selection {
  background: #222;
  color: #fff;
}

.section-pad {
  padding-inline: var(--gutter);
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: calc(19 * var(--u));
  height: calc(19 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(28 * var(--u));
  height: calc(32 * var(--u));
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: calc(18 * var(--u));
  white-space: nowrap;
}

.text-link .icon {
  width: calc(20 * var(--u));
}

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

.skip-link:focus {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: #fff;
  background: #111;
}

/* Stable photo proportions prevent layout shifts while images load. */
.image-slot {
  background: var(--image);
  overflow: hidden;
}

.image-slot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot--dark {
  background: #363735;
  color: #f6f6f4;
}

.site-header {
  --scroll-progress: 0;
  --nav-shift: 0px;
  --header-alpha: 1;
  height: calc(60 * var(--u));
  min-height: 56px;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgb(223 223 220 / var(--header-alpha));
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(245 245 243 / var(--header-alpha));
}

.brand {
  justify-self: start;
  opacity: calc(1 - var(--scroll-progress));
  transition: visibility 0s linear;
}

.brand img {
  width: calc(136 * var(--u));
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: calc(25 * var(--u));
}

.header-actions {
  justify-self: end;
  display: flex;
  gap: calc(9 * var(--u));
  align-items: center;
}

.site-nav, .header-actions {
  position: relative;
  isolation: isolate;
  transition: color 220ms ease;
}

.site-nav::before, .header-actions::before {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(23 23 23 / 8%);
  border-radius: 999px;
  background: rgb(245 245 243 / 30%);
  box-shadow: 0 3px 18px rgb(0 0 0 / 4%);
  opacity: var(--scroll-progress);
  pointer-events: none;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-nav::before {
  inset: calc(-10 * var(--u)) calc(-18 * var(--u));
}

.header-actions::before {
  inset: calc(-4 * var(--u)) calc(-10 * var(--u));
}

.site-header.is-scrolled {
  pointer-events: none;
}

.site-header.is-scrolled .brand {
  pointer-events: none;
}

.site-header.is-morphed .brand {
  visibility: hidden;
}

.site-header.is-scrolled .site-nav, .site-header.is-scrolled .header-actions {
  pointer-events: auto;
}

.site-header.is-scrolled .site-nav {
  color: rgb(23 23 23 / 76%);
  transform: translateX(var(--nav-shift));
}

.site-header.is-scrolled .header-actions {
  color: rgb(23 23 23 / 76%);
}

.site-header.is-scrolled .site-nav::before, .site-header.is-scrolled .header-actions::before {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.is-scrolled .site-nav:hover, .site-header.is-scrolled .site-nav:has(:focus-visible), .site-header.is-scrolled .header-actions:hover, .site-header.is-scrolled .header-actions:has(:focus-visible) {
  color: var(--ink);
}

.site-header.is-scrolled .site-nav:hover::before, .site-header.is-scrolled .site-nav:has(:focus-visible)::before, .site-header.is-scrolled .header-actions:hover::before, .site-header.is-scrolled .header-actions:has(:focus-visible)::before {
  background: rgb(245 245 243 / 92%);
  border-color: rgb(23 23 23 / 16%);
  box-shadow: 0 7px 24px rgb(0 0 0 / 12%);
}

.bag-button {
  position: relative;
}

.bag-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 15px;
  height: 15px;
  padding: 1px 3px;
  border-radius: 50%;
  background: #171717;
  color: white;
  font-size: 10px;
  text-align: center;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  aspect-ratio: 944 / 414;
}

.hero > .hero__image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-position: center bottom;
}

.hero__statement {
  position: absolute;
  left: 46.3%;
  top: calc(34 * var(--u));
}

.hero h1 {
  font-size: calc(48 * var(--u));
  line-height: .96;
  font-style: italic;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .005em;
}

.hero h1 span {
  display: block;
}

.hero__rule {
  width: calc(50 * var(--u));
  height: 1px;
  margin-top: calc(16 * var(--u));
  background: currentColor;
}

.hero__description {
  margin-top: calc(11 * var(--u));
  font-size: calc(12 * var(--u));
  line-height: 1.22;
  color: #454545;
}

.hero__collection {
  position: absolute;
  bottom: calc(25 * var(--u));
  left: var(--gutter);
  text-transform: uppercase;
  color: white;
}

.hero__collection p + p {
  margin-top: calc(6 * var(--u));
}

.hero__explore {
  position: absolute;
  right: var(--gutter);
  bottom: calc(18 * var(--u));
  gap: calc(9 * var(--u));
  text-transform: uppercase;
  color: white;
}

.featured {
  padding-top: calc(22 * var(--u));
  padding-bottom: calc(24 * var(--u));
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: calc(16 * var(--u));
}

.section-heading p {
  margin-top: calc(6 * var(--u));
  color: var(--muted);
  font-size: calc(15 * var(--u));
}

.product-grid, .category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(13 * var(--u));
}

.product {
  min-width: 0;
}

.product__image {
  aspect-ratio: 207 / 165;
  background: var(--product-image);
}

.product__image--variant {
  position: relative;
  isolation: isolate;
}

.product__preview, .product__preview img {
  display: block;
  width: 100%;
  height: 100%;
}

.product__preview img {
  object-fit: contain;
}

.product__preview:is(:hover, :focus-visible) img {
  opacity: .9;
}

.variant-swatches {
  display: flex;
  align-items: center;
  gap: 10px;
}

.variant-swatches--card {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 20px;
  background: rgb(245 245 243 / 90%);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product:hover .variant-swatches--card, .product:focus-within .variant-swatches--card {
  opacity: 1;
  transform: none;
}

.variant-swatch {
  width: 18px;
  height: 18px;
  border: 1px solid rgb(0 0 0 / 28%);
  border-radius: 50%;
  background: var(--swatch-color);
}

.variant-swatch.is-selected {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.variant-swatch:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.variant-swatch--blue { --swatch-color: #607080; }
.variant-swatch--dark-gray { --swatch-color: #48494b; }
.variant-swatch--light-gray { --swatch-color: #aeb4b9; }
.variant-swatch--white { --swatch-color: #faf9f6; }

.product__name:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product__details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  padding: calc(10 * var(--u)) calc(4 * var(--u)) 0;
}

.product__details p {
  margin-top: calc(3 * var(--u));
}

.product__add {
  width: calc(20 * var(--u));
  height: calc(23 * var(--u));
}

.product__add .icon {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
}

.product__add:is(:hover, :focus-visible) {
  opacity: .65;
}

.empty-state {
  padding-block: 30px;
  color: var(--muted);
}

.collection-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(288 * var(--u));
}

.collection-story__portrait {
  height: 100%;
}

.collection-story__content {
  position: relative;
  padding: calc(18 * var(--u)) calc(36 * var(--u));
}

.collection-story__content > p {
  margin-top: calc(12 * var(--u));
  font-size: calc(15 * var(--u));
  line-height: 1.25;
  color: var(--muted);
  letter-spacing: .015em;
}

.story-link {
  position: relative;
  z-index: 1;
  margin-top: calc(25 * var(--u));
}

.story-link span {
  border-bottom: 1px solid;
  padding-bottom: 2px;
}

.categories {
  padding-top: calc(20 * var(--u));
  padding-bottom: calc(14 * var(--u));
}

.categories .category-grid {
  position: relative;
  isolation: isolate;
}

.categories .category-grid::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  z-index: -1;
  background: var(--product-image);
}

.categories .section-heading {
  margin-bottom: calc(12 * var(--u));
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 140px;
  padding: 18px 12px;
  color: var(--ink);
}

.category__symbol {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category > span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: calc(15 * var(--u));
}

.category:is(:hover, :focus-visible) > span {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.journal {
  position: relative;
  height: calc(154 * var(--u));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(22 * var(--u)) calc(70 * var(--u));
}

.journal > .journal__image {
  position: absolute;
  inset: 0;
  object-position: center 53%;
}

.journal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 18%);
}

.journal__quote, .journal__note {
  position: relative;
  z-index: 1;
}

.journal h2 {
  font-size: calc(28 * var(--u));
  line-height: 1;
}

.journal__quote img {
  width: calc(64 * var(--u));
  height: auto;
  margin-top: calc(25 * var(--u));
  filter: invert(1);
}

.journal__note {
  padding-left: calc(22 * var(--u));
  border-left: 1px solid #91918e;
  min-width: calc(112 * var(--u));
}

.journal__number {
  display: block;
  color: #b5b5af;
  margin-bottom: calc(12 * var(--u));
}

.journal__note p {
  text-transform: uppercase;
  font-size: calc(11 * var(--u));
}

.about {
  padding-block: clamp(44px, 5vw, 78px) clamp(48px, 5vw, 78px);
}

.about__eyebrow {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 7vw, 108px);
  margin-top: 30px;
}

.about h2 {
  font-size: clamp(52px, 7.5vw, 116px);
  line-height: .96;
  letter-spacing: -.04em;
  text-transform: none;
}

.about__text {
  max-width: 42ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

.about__chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 78px);
  margin: clamp(40px, 4vw, 62px) 0 0;
  padding: 0;
  list-style: none;
}

.about__number {
  display: block;
  color: var(--line);
  font-size: clamp(80px, 8.5vw, 132px);
  line-height: .9;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.about__chapter h3 {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about__chapter p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.newsletter {
  margin-inline: var(--gutter);
  padding: calc(23 * var(--u)) calc(14 * var(--u));
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: calc(30 * var(--u));
  align-items: center;
}

.newsletter h2 {
  font-size: calc(23 * var(--u));
}

.newsletter > div > p {
  margin-top: calc(3 * var(--u));
  color: var(--muted);
}

.newsletter__form {
  position: relative;
}

.newsletter__field {
  display: flex;
  height: calc(38 * var(--u));
  min-height: 38px;
  border: 1px solid #cfcfcc;
  border-radius: 4px;
  overflow: hidden;
}

.newsletter input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 calc(21 * var(--u));
  font-size: calc(10 * var(--u));
}

.newsletter__field button {
  width: calc(72 * var(--u));
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(5 * var(--u));
  background: #111;
  color: white;
  font-size: max(12px, calc(10 * var(--u)));
}

.newsletter__field button .icon {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
}

.newsletter__field button:hover {
  background: #333;
}

.newsletter__field button:focus-visible {
  outline: 2px solid white;
  outline-offset: -4px;
}

.newsletter__field:focus-within {
  outline: 2px solid #171717;
  outline-offset: 3px;
}

.newsletter input:focus-visible {
  outline: none;
}

.newsletter__status:not(:empty) {
  margin-top: 8px;
  line-height: 1.4;
  font-size: 12px;
}

/* Contact follows the newsletter and uses the existing page spacing and type. */
.contact {
  padding-block: calc(42 * var(--u));
}

.contact__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(24 * var(--u));
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid #9e9e9b;
}

.contact__heading h2 {
  font-family: "Allumi Std Extended", "Barlow", Arial, sans-serif;
  font-size: calc(48 * var(--u));
  font-weight: 400;
  line-height: 1;
}

.contact__heading p {
  margin-top: calc(5 * var(--u));
  font-size: calc(21 * var(--u));
}

.contact__eyebrow, .contact__topics, .contact__details span, .contact__image figcaption {
  text-transform: uppercase;
  letter-spacing: .18em;
}

.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: calc(42 * var(--u));
  margin-top: calc(15 * var(--u));
}

.contact__image {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  aspect-ratio: 1.28;
}

.contact__image > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact__image figcaption {
  position: absolute;
  bottom: calc(27 * var(--u));
  left: calc(23 * var(--u));
  color: white;
  font-size: calc(9 * var(--u));
  line-height: 1.5;
}

.contact__image figcaption::after {
  content: "";
  display: block;
  width: calc(29 * var(--u));
  margin-top: calc(12 * var(--u));
  border-bottom: 1px solid currentColor;
}

.contact__content {
  min-width: 0;
  padding-top: calc(15 * var(--u));
}

.contact__eyebrow {
  font-size: calc(9 * var(--u));
}

.contact__content h3 {
  margin-top: calc(7 * var(--u));
  font-size: calc(26 * var(--u));
  line-height: 1.05;
  text-transform: uppercase;
}

.contact__intro {
  margin-top: calc(13 * var(--u));
  font-size: calc(12 * var(--u));
  line-height: 1.45;
}

.contact__intro::before {
  content: "";
  display: block;
  width: calc(26 * var(--u));
  margin-bottom: calc(12 * var(--u));
  border-top: 1px solid currentColor;
}

.contact__form {
  display: grid;
  gap: calc(6 * var(--u));
  margin-top: calc(23 * var(--u));
}

.contact__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(8 * var(--u)) calc(14 * var(--u));
  margin: 0 0 calc(16 * var(--u));
  padding: 0;
  border: 0;
  font-size: calc(9 * var(--u));
}

.contact__topics label {
  display: flex;
  align-items: center;
  gap: calc(15 * var(--u));
  min-height: 24px;
  cursor: pointer;
}

.contact__topics input {
  appearance: none;
  flex: 0 0 auto;
  width: max(16px, calc(10 * var(--u)));
  height: max(16px, calc(10 * var(--u)));
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.contact__topics input:checked {
  background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.contact__form > input, .contact__form textarea {
  width: 100%;
  min-width: 0;
  padding: calc(8 * var(--u)) calc(11 * var(--u));
  border: 1px solid #bcbcbc;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: max(14px, calc(10 * var(--u)));
  color: inherit;
}

.contact__form textarea {
  min-height: calc(60 * var(--u));
  resize: vertical;
}

.contact__form input::placeholder, .contact__form textarea::placeholder {
  color: var(--muted);
  font-size: max(11px, calc(9 * var(--u)));
  text-transform: uppercase;
  letter-spacing: .18em;
  opacity: 1;
}

.contact__form textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.contact__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-top: calc(3 * var(--u));
  padding: calc(10 * var(--u)) calc(19 * var(--u));
  background: var(--ink);
  color: white;
  font-size: calc(10 * var(--u));
  text-transform: uppercase;
  letter-spacing: .2em;
}

.contact__submit:hover {
  background: #333;
}

.contact__status:empty {
  display: none;
}

.contact__status {
  font-size: max(12px, calc(10 * var(--u)));
  line-height: 1.4;
}

.contact__hint {
  font-size: max(11px, calc(9 * var(--u)));
  color: var(--muted);
}

.contact__details {
  display: grid;
  grid-template-columns: 1.25fr 1.1fr .8fr;
  gap: calc(18 * var(--u));
  margin-top: calc(16 * var(--u));
  padding-top: calc(15 * var(--u));
  border-top: 1px solid #bcbcbc;
  font-size: calc(10 * var(--u));
}

.contact__details > * + * {
  border-left: 1px solid #bcbcbc;
  padding-left: calc(18 * var(--u));
}

.contact__email {
  overflow-wrap: anywhere;
}

.contact__details span {
  display: block;
  margin-top: calc(4 * var(--u));
  font-size: calc(8 * var(--u));
}

.contact__details button {
  position: relative;
  padding-right: calc(22 * var(--u));
  text-align: left;
}

.contact__details button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact__details .icon {
  position: absolute;
  top: 50%;
  right: 0;
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  transform: translateY(-50%);
}

.site-footer {
  padding-top: calc(20 * var(--u));
  padding-bottom: calc(24 * var(--u));
  font-size: calc(10 * var(--u));
  color: #535353;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: calc(25 * var(--u));
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: calc(76 * var(--u));
}

.footer-brand img {
  width: calc(86 * var(--u));
  height: auto;
}

.footer-social, .footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: calc(20 * var(--u));
}

.footer-social button {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
  transition: opacity 160ms ease;
}

.footer-social button:hover {
  opacity: .55;
}

.footer-social img {
  width: 100%;
  height: 100%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: calc(28 * var(--u));
  font-size: calc(9 * var(--u));
}

/* Small interactions stay local;
orders, accounts and subscriptions have no backend. */
.shop-dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 28px;
  width: min(480px, calc(100% - 32px));
  max-height: 85dvh;
  color: var(--ink);
  font-size: 15px;
}

.shop-dialog::backdrop {
  background: rgb(0 0 0 / 35%);
}

.shop-dialog__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.shop-dialog h2 {
  font-size: 25px;
}

.shop-dialog .icon-button {
  min-width: 36px;
  min-height: 36px;
}

.product-dialog {
  position: fixed;
  inset: 0;
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}

.product-dialog::backdrop {
  background: rgb(0 0 0 / 55%);
}

.product-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.product-dialog__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: center;
  gap: 42px;
}

.product-gallery__main {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--product-image);
  isolation: isolate;
}

.product-gallery__main img, .product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-dialog[data-product="hoodie"][data-view="detail"] .product-gallery__main img,
.product-dialog[data-product="hoodie"] .product-gallery__thumb[data-view="detail"] img {
  object-fit: cover;
  transform: scale(2.4);
  transform-origin: 58% 40%;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.product-gallery__thumbs[hidden] {
  display: none;
}

.product-gallery__thumb {
  width: 76px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--product-image);
  isolation: isolate;
}

.product-gallery__thumb.is-selected {
  border-color: var(--ink);
}

.product-dialog__information {
  padding-right: 20px;
}

.product-dialog__eyebrow {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.product-dialog__information h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.product-dialog__price {
  margin-top: 10px;
  font-size: 20px;
}

.product-dialog__description {
  max-width: 32ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.product-dialog__color-label {
  margin-top: 28px;
  font-size: 14px;
}

.variant-swatches--detail {
  gap: 18px;
  margin-top: 16px;
}

.variant-swatches--detail .variant-swatch {
  width: 25px;
  height: 25px;
}

.product-dialog__add {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 34px;
  padding: 14px 18px;
  background: var(--ink);
  color: white;
  text-transform: uppercase;
}

.product-dialog__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.shop-dialog__body input {
  border: 1px solid #bbb;
  padding: 12px;
  width: 100%;
  background: transparent;
}

.dialog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.dialog-row button {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dialog-note {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.dialog-total {
  font-size: 18px;
  margin-top: 20px;
}

@media (min-width: 701px) and (max-width: 1180px) {
  .product-dialog {
    width: min(1120px, calc(100% - 32px));
    padding: 36px 24px 24px;
  }

  .product-dialog__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    gap: 28px;
  }

  .product-gallery__main {
    aspect-ratio: 6 / 5;
    max-height: calc(100dvh - 164px);
  }

  .product-gallery__thumbs {
    gap: 8px;
    margin-top: 8px;
  }

  .product-gallery__thumb {
    width: 54px;
  }

  .product-dialog__information {
    padding-right: 0;
  }

  .product-dialog__information h2 {
    font-size: clamp(26px, 2.8vw, 34px);
  }

  .product-dialog__description {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.4;
  }

  .product-dialog__color-label {
    margin-top: 18px;
  }

  .variant-swatches--detail {
    margin-top: 12px;
  }

  .product-dialog__add {
    margin-top: 22px;
    min-height: 44px;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 22px;
  }

  html {
    scroll-padding-top: 82px;
  }

  body {
    font-size: 14px;
  }

  h2 {
    font-size: 25px;
  }

  .site-header {
    height: auto;
    min-height: 66px;
    grid-template-columns: 1fr auto;
    padding-block: 14px;
    gap: 14px;
  }

  .site-header.is-scrolled {
    background: rgb(245 245 243 / 88%);
    border-color: rgb(23 23 23 / 10%);
    box-shadow: 0 5px 18px rgb(0 0 0 / 7%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
  }

  .site-header.is-scrolled .brand {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header.is-scrolled .site-nav, .site-header.is-scrolled .header-actions {
    color: var(--ink);
    transform: none;
  }

  .site-header.is-scrolled .site-nav::before, .site-header.is-scrolled .header-actions::before {
    opacity: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .brand img {
    width: 128px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 7px;
  }

  .icon-button {
    width: 30px;
    height: 32px;
  }

  .icon {
    width: 19px;
    height: 19px;
  }

  .site-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-block: 8px 4px;
    font-size: 14px;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .hero {
    height: auto;
    aspect-ratio: auto;
    display: grid;
    padding-bottom: 12px;
    background: var(--paper);
  }

  .hero > .hero__image {
    position: relative;
    height: clamp(360px,94vw,480px);
    object-position: left bottom;
  }

  .hero::after {
    display: none;
  }

  .hero__statement, .hero__collection, .hero__explore {
    z-index: 1;
  }

  .hero__statement {
    display: contents;
  }

  .hero h1 {
    position: absolute;
    top: clamp(66px, 11vw, 78px);
    left: 46%;
    right: 16px;
    z-index: 1;
    font-size: clamp(37px, 8.8vw, 54px);
  }

  .hero__description {
    display: none;
  }

  .hero__rule {
    display: none;
  }

  .hero__collection {
    position: static;
    padding: 10px var(--gutter) 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: var(--muted);
    font-size: 11px;
  }

  .hero__collection p + p { margin-top: 0; }

  .hero__explore {
    position: static;
    justify-self: start;
    margin: 4px var(--gutter) 0;
    min-height: 44px;
    color: var(--ink);
    font-size: 11px;
  }

  .featured {
    padding-block: 28px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 20px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .section-heading .text-link {
    font-size: 12px;
    gap: 8px;
  }

  .product-grid, .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .product__image {
    aspect-ratio: 1 / 1;
  }

  .product__image > img {
    object-fit: contain;
    background: var(--product-image);
  }

  .variant-swatches--card {
    opacity: 1;
    transform: none;
    gap: 0;
    right: 6px;
    bottom: 6px;
    padding: 2.5px .5px;
  }

  .variant-swatches--card .variant-swatch {
    position: relative;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    outline-offset: -1.5px;
  }

  /* Keep the 15px color dot while giving each choice its own 24px touch target. */
  .variant-swatches--card .variant-swatch::before {
    content: "";
    position: absolute;
    inset: 4.5px;
    border: 1px solid rgb(0 0 0 / 28%);
    border-radius: 50%;
    background: var(--swatch-color);
  }

  .product-dialog {
    padding: 46px 16px 20px;
  }

  .product-dialog__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-dialog__information {
    padding-right: 0;
  }

  .product-dialog__description, .product-dialog__color-label {
    margin-top: 18px;
  }

  .product__details {
    padding: 10px 0 0;
    font-size: 13px;
  }

  .product__details p {
    font-size: 12px;
  }

  .product__add {
    min-width: 28px;
    min-height: 28px;
  }

  .collection-story {
    height: auto;
    grid-template-columns: 1fr;
  }

  .collection-story__portrait {
    aspect-ratio: 472 / 288;
  }

  .collection-story__content {
    padding: 26px var(--gutter);
  }

  .collection-story__content > p {
    font-size: 15px;
    margin-top: 14px;
  }

  .story-link {
    margin-top: 24px;
    font-size: 13px;
  }

  .categories {
    padding-block: 20px;
  }

  .category-grid {
    gap: 12px 14px;
  }

  .category {
    min-height: 124px;
    gap: 16px;
  }

  .category > span {
    font-size: 14px;
  }

  .journal {
    height: 185px;
    padding: 25px var(--gutter);
    gap: 20px;
  }

  .journal h2 {
    font-size: clamp(19px, 4.8vw, 28px);
  }

  .journal__quote img {
    width: 65px;
    margin-top: 24px;
  }

  .journal__note {
    min-width: 94px;
    padding-left: 14px;
  }

  .journal__note p {
    font-size: 10px;
  }

  .about {
    padding-block: 40px 44px;
  }

  .about__intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .about h2 {
    font-size: clamp(48px, 12vw, 76px);
  }

  .about__chapters {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 36px;
  }

  .about__chapter {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 22px;
  }

  .about__number {
    grid-row: span 2;
    font-size: 64px;
  }

  .about__chapter h3 {
    align-self: end;
    margin-top: 0;
    font-size: 13px;
  }

  .about__chapter p {
    margin-top: 4px;
    font-size: 15px;
  }

  .newsletter {
    grid-template-columns: 1fr;
    padding: 26px 0;
    gap: 20px;
  }

  .newsletter h2 {
    font-size: 25px;
  }

  .newsletter > div > p {
    font-size: 13px;
    max-width: 310px;
  }

  .newsletter__field {
    height: 44px;
  }

  .newsletter input {
    font-size: 12px;
    padding-inline: 15px;
  }

  .contact {
    padding-block: 34px;
  }

  .contact__heading {
    gap: 15px;
    padding-bottom: 16px;
  }

  .contact__heading h2 {
    font-size: clamp(36px, 8vw, 48px);
  }

  .contact__heading p {
    font-size: 18px;
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 20px;
  }

  .contact__image {
    min-height: 0;
    aspect-ratio: 1.28;
  }

  .contact__image figcaption {
    left: 20px;
    bottom: 20px;
    font-size: 9px;
  }

  .contact__content {
    padding-top: 0;
  }

  .contact__eyebrow {
    font-size: 10px;
  }

  .contact__content h3 {
    font-size: clamp(23px, 5.4vw, 30px);
  }

  .contact__intro {
    font-size: 14px;
  }

  .contact__topics {
    gap: 2px 12px;
    font-size: 10px;
    letter-spacing: .1em;
  }

  .contact__topics label {
    min-height: 44px;
    gap: 10px;
  }

  .contact__form > input, .contact__form textarea {
    padding: 12px;
    font-size: 16px;
  }

  .contact__form textarea {
    min-height: 110px;
  }

  .contact__submit {
    font-size: 12px;
  }

  .contact__details {
    gap: 14px;
    font-size: 12px;
  }

  .contact__details > * + * {
    padding-left: 14px;
  }

  .contact__details span {
    font-size: 9px;
  }

  .site-footer {
    padding-block: 26px;
    font-size: 11px;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .footer-brand img {
    width: 95px;
  }

  .footer-identity {
    gap: 32px;
  }

  .footer-social {
    gap: 22px;
  }

  .footer-social button {
    width: 20px;
    height: 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
    font-size: 10px;
  }

}

@media (max-width: 420px) {
  .contact__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact__details {
    grid-template-columns: 1fr;
  }

  .contact__details > * + * {
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 360px) {
  :root {
    --gutter: 18px;
  }

  .brand img {
    width: 112px;
  }

  .header-actions {
    gap: 2px;
  }

  .account-button {
    display: none;
  }

  .hero h1 {
    font-size: clamp(30px, 9.5vw, 34px);
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .product__details {
    font-size: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header, .brand, .site-nav, .header-actions, .site-nav::before, .header-actions::before {
    transition: none;
  }

  .site-header .site-nav {
    transform: none;
  }

}

@media print {
  .header-actions, .newsletter__form, .product__add {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .image-slot {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

}
