:root {
  --paper: #ffffff;
  --ink: #2a2a2a;
  --muted: #8a8a8a;
  --line: #ececec;
  --olive: #66702f;
  --olive-deep: #4d5722;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { background: #ffffff; }

body {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: clip;
}

.sheet {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0.2rem 0 0.8rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.6rem; }

p { margin: 0.35rem 0 0.8rem; }

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 1.15rem 0 1.1rem;
}

.mark {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  flex: 0 0 auto;
  animation: mark-in 1.8s ease both;
}

@keyframes mark-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mast-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  min-width: 0;
}

.updates {
  overflow: hidden;
  width: min(28rem, 46vw);
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.updates-line {
  display: inline-block;
  animation: updates-drift 12s linear infinite;
}

@keyframes updates-drift {
  from { transform: translateX(0); }
  to { transform: translateX(1.75rem); }
}

.mark-svg {
  display: block;
  width: 8rem;
  height: auto;
}

.mast nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem 1.35rem;
  font-size: 0.92rem;
}

.mast nav a,
button.linkish {
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.mast nav a:hover,
button.linkish:hover { color: var(--ink); }

.lang { position: relative; }

.lang summary {
  list-style: none;
  cursor: pointer;
  color: var(--muted);
}

.lang summary::-webkit-details-marker { display: none; }

.lang div {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 4;
  display: grid;
  gap: 0.35rem;
  min-width: 8rem;
  padding: 0.7rem 0.85rem;
  background: #ffffff;
}

.lang a.is-current { color: var(--ink); }

.nav-search input {
  width: 6.5rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.15rem 0;
}

.nav-search input:focus { outline: none; border-bottom-color: #c8c8c8; }

.kicker {
  margin: 1.4rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede { max-width: 36rem; }

.muted { color: var(--muted); display: block; }

.price { color: var(--ink); }

.delivery-country {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.15rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.delivery-country input {
  width: 3.2rem;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: min(88vh, 52rem);
  margin: 0.4rem 0 0 calc(50% - 50vw);
  background: #f7f7f7;
}

/* The photo sits under the looping video: it shows while the video loads,
   when video is unsupported, and for visitors who prefer reduced motion. */
.hero-photo,
.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

/* The man's head sits close to the top of the frames. When the hero is wider than 16:9 (the shorter
   coming-soon hero, wide screens), only the bottom is cropped so the whole head stays in view. */
.hero-photo { object-position: center 20%; }

.hero-video {
  object-position: 62% 0%;
  background: transparent;
}

.hero-note {
  text-align: center;
  margin: 1.6rem 0 0.4rem;
}

.hero-note a,
a.copper,
button.copper {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0.15rem 0;
  cursor: pointer;
  font: inherit;
}

button.copper:disabled { opacity: 0.45; cursor: wait; }

button {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.35rem 0.15rem;
  cursor: pointer;
}

button[aria-pressed="true"] {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 3.2rem 1.6rem;
  margin: 3.2rem 0 1rem;
}

.card {
  text-decoration: none;
  color: inherit;
}

.card:hover,
.card:hover .name,
.card:hover .price { color: var(--ink); }

.card img,
.card .shot-fallback {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f6f6f6;
  display: block;
}

.badge {
  display: block;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card .badge + .name { margin-top: 0.2rem; }

.product-view .badge { margin: 0 0 0.35rem; }

.card .name {
  display: block;
  margin-top: 0.85rem;
  color: var(--ink);
}

.card .price {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-shot {
  width: 100%;
  height: auto;
  display: block;
  background: #f6f6f6;
}

.shot-fallback.large {
  min-height: 22rem;
  background: #f6f6f6;
}

.prose { white-space: pre-line; }

.product-view {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: start;
  padding-top: 1.6rem;
}

.product-views { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem; }
.product-views button { padding: 0; border: 0; }
.product-views button[aria-pressed="true"] { outline: 1px solid var(--ink); outline-offset: 2px; }
.product-views img { width: 4rem; height: 4.6rem; object-fit: cover; display: block; background: #f6f6f6; }

.delivery { color: var(--muted); }

fieldset {
  border: 0;
  margin: 1.3rem 0;
  padding: 0;
}

legend {
  padding: 0;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.swatches, .sizes, .choice, .actions { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; align-items: center; }

.fit {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 0.6rem;
  font-size: 0.92rem;
}

.fit th, .fit td {
  text-align: left;
  padding: 0.4rem 0.8rem 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  color: var(--muted);
}

.fit th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.sliders label, .fields label, .bag label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], input:not([type]) {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0;
  font: inherit;
  color: var(--ink);
  width: 100%;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.2rem;
}

.fields .wide { grid-column: 1 / -1; }

.check { display: flex; gap: 0.5rem; align-items: center; }

.alert { padding-left: 0; color: var(--ink); }

.validation-message, .validation-errors { color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 2.5rem;
  align-items: start;
}

.narrow { max-width: 28rem; }

.bag { list-style: none; margin: 1rem 0; padding: 0; }
.bag li, .plain li {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto auto auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 0;
}
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { grid-template-columns: auto 1fr auto; }
.bag img, .plain img { width: 4.5rem; height: 5rem; object-fit: cover; background: #f6f6f6; }

.ship, .total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.ship { margin-top: 0.6rem; color: var(--muted); }

.total {
  padding-top: 0.8rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
}

table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; }
th, td { text-align: left; padding: 0.45rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--muted); }

address { font-style: normal; margin-top: 1rem; }

.colophon {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto minmax(11rem, 1fr);
  column-gap: 2.5rem;
  row-gap: 1.25rem;
  align-items: start;
  margin-top: 4.5rem;
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.colophon p { margin: 0; }
.footer-brand .mark { display: inline-block; margin-bottom: 0.7rem; }
.list-quiet {
  display: grid;
  gap: 0.45rem;
  max-width: 18rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.list-quiet input[type="email"] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.2rem 0;
}
.list-quiet input[type="email"]:focus { outline: none; border-bottom-color: #c8c8c8; }
.list-quiet .check { display: flex; gap: 0.45rem; align-items: flex-start; }
.story { margin: 0 0 1.4rem; }
.story-frame {
  overflow: hidden;
  height: min(60vh, 28rem);
  background: #f7f7f7;
}
.story-photo {
  display: block;
  width: 118%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: story-pan 16s linear infinite;
}
.story figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.85rem;
}
@keyframes story-pan {
  from { transform: translateX(-15.25%); }
  to { transform: translateX(0); }
}
.colophon .credit { justify-self: end; align-self: end; text-align: right; }
.colophon a { text-decoration: none; }
.colophon a:hover { color: var(--ink); }
/* The studio credit: "Made by" stays muted, only the studio name is
   olive green (from the hero hoodie). Underlined on hover only. */
.colophon .credit { color: var(--muted); }
.colophon .credit a { color: var(--olive); text-decoration: none; }
.colophon .credit a:hover,
.colophon .credit a:focus-visible { color: var(--olive-deep); text-decoration: underline; text-underline-offset: 0.2em; }
.colophon nav.legal { display: flex; flex-direction: column; gap: 0.4rem; }
.colophon nav.legal a { color: inherit; }

article.legal { max-width: 40rem; padding-top: 1.5rem; }
article.legal h1 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; }
article.legal pre { white-space: pre-wrap; font: inherit; margin: 0.6rem 0 1.2rem; }

.fine, .note { font-size: 0.9rem; color: var(--muted); }

.list-offer {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: min(20rem, calc(100vw - 2rem));
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1rem 1.1rem 0.85rem;
}
.list-offer h2 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin: 0.15rem 0 0.4rem; }
.list-offer label { display: block; margin: 0.55rem 0; }
.list-offer .check { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; }
.list-offer input[type="email"] { width: 100%; }
/* The answer after Join is in body ink so the change is easy to see. */
.list-note { color: var(--ink); font-weight: 600; }
.list-offer .list-note { margin: 0.6rem 0 0.7rem; padding-left: 0.6rem; border-left: 2px solid var(--ink); }

code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92em; }

:focus-visible { outline: 1px solid #bdbdbd; outline-offset: 3px; }

#blazor-error-ui {
  background: #ffffff;
  color: var(--ink);
  bottom: 0;
  display: none;
  left: 0;
  padding: 0.7rem 1.2rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  position: absolute;
  right: 0.8rem;
  top: 0.45rem;
}

.about { max-width: 34rem; padding-top: 1.5rem; }

/* Coming-soon page (Site:ComingSoon). Same paper, inks and type as the shop. */
.soon-hero { height: min(70vh, 40rem); }
.soon {
  text-align: center;
  margin: 2.6rem auto 0.4rem;
  max-width: 34rem;
}
.soon h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: 0.06em;
}
/* FocusOnNavigate focuses the h1 on load; no ring around the name. */
.soon h1:focus { outline: none; }
.soon .kicker { margin: 0.9rem 0 0.2rem; }
.soon-tagline { margin: 0.2rem 0 0; }

@media (max-width: 800px) {
  .product-view, .split, .fields { grid-template-columns: 1fr; }
  .mast { align-items: flex-start; flex-direction: column; }
  .mast-end { align-items: stretch; width: 100%; }
  .updates { width: 100%; }
  .mast nav { justify-content: flex-start; }
  .bag li { grid-template-columns: 4rem 1fr; }
  .hero { height: 70vh; }
  .soon-hero { height: 56vh; }
  .colophon { grid-template-columns: 1fr; }
  .colophon .credit { justify-self: end; text-align: right; padding-top: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mark, .story-photo, .updates-line { animation: none; }
  .story-photo { width: 100%; transform: none; }
  .hero-video { display: none; }
}

/* Newsletter confirm and unsubscribe pages */
.list-page-code code { font-size: 1.35rem; letter-spacing: 0.08em; color: var(--ink); }

/* Kept at the end so it wins over the .soon-hero height. On wider screens, give the hero the video's own 16:9 shape so the whole frame shows,
   windows included, with nothing cropped and no zoom. */
@media (min-width: 900px) {
  .hero, .soon-hero { height: 56.25vw; }
}
