@font-face {
  font-family: "SEGNO Display";
  src: url("assets/segno-display.woff") format("woff");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "SEGNO Display";
  src: url("assets/segno-display-italic.woff") format("woff");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --ivory: #fcfaf5;
  --ink: #292923;
  --muted: #645f53;
  --rule: #d7cfc0;
  --deep: #252820;
  --warm: #ded2be;
  --gutter: clamp(22px, 5vw, 84px);
  --display: "SEGNO Display", Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid #8b633e;
  outline-offset: 4px;
}

.frame {
  width: min(1380px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.micro {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; flex: none; }
.icon-left { transform: rotate(180deg); }
.icon-up { transform: rotate(-90deg); }
.icon-down { transform: rotate(90deg); }

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 8px auto auto 8px;
  padding: 12px 18px;
  transform: translateY(-150%);
  color: var(--ivory);
  background: var(--deep);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
}

.wordmark {
  width: max-content;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: .21em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.3vw, 53px);
}

.header-nav a, .footer-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
}

.header-nav a:hover, .footer-navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.edition { justify-self: end; color: var(--muted); }
.edition span { margin-inline: .45em; color: #8b7156; }

.hero {
  display: grid;
  grid-template-columns: 41fr 59fr;
  min-height: clamp(530px, 48.7vw, 740px);
  max-width: 1720px;
  margin-inline: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(30px, 3.9vw, 65px);
  min-width: 0;
  padding: clamp(30px, 4vw, 65px) var(--gutter) clamp(27px, 3vw, 49px);
  background: var(--deep);
  color: var(--ivory);
}

.hero-kicker { display: flex; align-items: center; gap: 11px; color: var(--warm); }

.hero-kicker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b89a75;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.055em;
}

.hero h1 {
  font-size: clamp(3.2rem, 5.22vw, 6rem);
  line-height: .91;
}

.hero h1 em, .design h2 em { display: block; color: var(--warm); }

.hero-type > p {
  max-width: 27ch;
  margin-top: 24px;
  color: #e6ddce;
  font-size: 15px;
  line-height: 1.65;
}

.hero-link, .outline-button, .design-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 50px;
  font-size: 13px;
}

.hero-link {
  margin-top: 29px;
  padding: 0 16px 0 18px;
  color: var(--ink);
  background: var(--ivory);
  transition: background .2s ease;
}

.hero-link:hover { background: var(--warm); }

.hero-index {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #777265;
  color: var(--warm);
}

.hero-product {
  --caption-height: 74px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  background: #e9e7e2;
}

.hero-image {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: calc(100% - var(--caption-height));
  object-fit: cover;
  object-position: center 47%;
}

.hero-caption {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: var(--caption-height);
  padding: 10px clamp(18px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
  background: var(--ivory);
}

.hero-caption .micro { display: block; color: var(--muted); }
.hero-product-name { display: block; font-family: var(--display); font-size: 23px; line-height: 1.05; }

.round-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.round-button:hover { border-color: var(--deep); background: var(--deep); color: var(--ivory); }

.collection {
  padding-block: clamp(64px, 8vw, 126px) clamp(70px, 9vw, 137px);
}

.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px 46px;
  margin-bottom: clamp(26px, 3.8vw, 55px);
}

.section-kicker { color: var(--muted); }

.collection h2, .design h2 {
  margin-top: 13px;
  font-size: clamp(3.3rem, 6.4vw, 6.6rem);
  line-height: .94;
}

.collection-intro {
  max-width: 30ch;
  padding-bottom: 3px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  margin-bottom: 23px;
  border-block: 1px solid var(--rule);
}

.filters { display: flex; flex-wrap: wrap; gap: 0 clamp(6px, 1.5vw, 22px); }

.filter {
  position: relative;
  min-height: 52px;
  padding: 4px 11px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.filter::after {
  position: absolute;
  inset: auto 11px -1px;
  height: 2px;
  background: transparent;
  content: "";
}

.filter[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.filter[aria-pressed="true"]::after { background: var(--ink); }
.filter:hover { color: var(--ink); }

.results-count { flex: none; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.3vw, 50px) clamp(14px, 2vw, 30px);
}

.product-card { min-width: 0; }

.product-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1.19;
  overflow: hidden;
  background: #ebe8e2;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.product-card[data-family="luggage"] .product-media {
  background: #e7edf1;
}

.product-card[data-family="luggage"] .product-media img,
.product-card[data-family="caps"] .product-media img {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card[data-family="caps"] .product-media { background: #f4f2ed; }

.product-button:hover .product-media img { transform: scale(1.045); }

.product-reference {
  position: absolute;
  inset: 10px auto auto 10px;
  padding: 5px 7px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 9px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 75px;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
}

.product-name, .product-color { display: block; }
.product-name { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1; }
.product-color { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.product-open {
  display: grid;
  place-items: center;
  flex: none;
  width: 35px;
  height: 35px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.product-open .icon { width: 16px; height: 16px; }
.product-button:hover .product-open { border-color: var(--deep); background: var(--deep); color: var(--ivory); }

.catalog-more { margin-top: 36px; text-align: center; }

.outline-button {
  padding: 0 19px;
  border: 1px solid var(--ink);
  background: transparent;
  transition: background .2s ease, color .2s ease;
}

.outline-button:hover { color: var(--ivory); background: var(--deep); }

.design {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  width: min(1380px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto clamp(64px, 9vw, 135px);
  background: var(--deep);
  color: var(--ivory);
}

.design-image { position: relative; min-width: 0; min-height: 445px; overflow: hidden; }

.design-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% center;
}

.design-image figcaption {
  position: absolute;
  inset: auto auto 14px 14px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--ivory);
}

.design-copy { padding: clamp(26px, 4.7vw, 68px); }
.design-copy .section-kicker { color: var(--warm); }
.design h2 { font-size: clamp(2.75rem, 4.7vw, 5.2rem); }

.design-notes { margin-block: 26px 16px; }

.design-notes > div {
  display: grid;
  grid-template-columns: minmax(90px, .75fr) 1.45fr;
  gap: 10px 14px;
  padding-block: 13px;
  border-top: 1px solid #777265;
}

.design-notes dt { font-family: var(--display); font-size: 22px; line-height: 1.08; }
.design-notes dd { color: #e6ddce; font-size: 13px; line-height: 1.55; }
.design-link { gap: 14px; }
.design-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.site-footer { background: #eae3d5; }
.footer-inner { padding-block: 23px clamp(18px, 4vw, 52px); }

.footer-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  border-bottom: 1px solid #bcb3a4;
}

.footer-navigation nav { display: flex; flex-wrap: wrap; gap: 0 clamp(12px, 2vw, 32px); }
.footer-top { gap: 5px; }
.footer-top .icon { width: 16px; height: 16px; }

.footer-wordmark {
  display: block;
  width: fit-content;
  margin: clamp(22px, 4vw, 52px) auto 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 12vw, 11rem);
  line-height: .95;
  letter-spacing: .23em;
  text-indent: .23em;
}

.product-dialog {
  width: min(1040px, calc(100% - 34px));
  max-width: none;
  max-height: min(880px, calc(100dvh - 34px));
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--ivory);
  color: var(--ink);
  overscroll-behavior: contain;
}

.product-dialog::backdrop { background: rgb(28 28 22 / .65); }

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px clamp(14px, 2.5vw, 31px);
  border-bottom: 1px solid var(--rule);
  background: var(--ivory);
}

.dialog-header .wordmark { font-size: 21px; }
.dialog-header form { justify-self: end; }
.dialog-header > p { color: var(--muted); }

.dialog-body {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  align-items: stretch;
}

.detail-media {
  display: grid;
  place-items: center;
  min-width: 0;
  background: #ece8df;
}

.detail-media img { width: 100%; height: 100%; max-height: 570px; object-fit: contain; }
.detail-copy { min-width: 0; padding: clamp(23px, 4vw, 56px); }
.detail-copy h2 { margin-top: 15px; font-size: clamp(2.65rem, 4.15vw, 4.7rem); line-height: .94; }
.detail-color { margin-top: 13px; font-size: 15px; }
.detail-description { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.variants-label { margin-top: 25px; color: var(--muted); }

.detail-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.variant-button {
  width: 46px;
  height: 46px;
  padding: 3px;
  border: 1px solid var(--rule);
  background: var(--ivory);
}

.variant-button[aria-pressed="true"], .variant-button:hover { border-color: var(--ink); }
.variant-button img { width: 100%; height: 100%; object-fit: cover; }

.detail-browse {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
  padding-top: 15px;
  border-top: 1px solid var(--rule);
}

.detail-position { color: var(--muted); }

@media (max-width: 1080px) {
  .hero-copy { padding-inline: calc(var(--gutter) * .86); }
  .hero h1 { font-size: clamp(2.95rem, 5.3vw, 5.8rem); }
  .catalog-controls { flex-wrap: wrap; }
  .results-count { padding-block: 6px 10px; }
}

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 66px; }
  .header-nav { gap: 20px; }
  .wordmark { font-size: 24px; }
  .edition { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-copy { padding: 27px var(--gutter) 31px; gap: 26px; }
  .hero h1 { font-size: clamp(3.2rem, 10.6vw, 5.5rem); }
  .hero-type > p { margin-top: 17px; }
  .hero-link { margin-top: 21px; }
  .hero-index { display: none; }
  .hero-image { position: static; aspect-ratio: 1.25; height: auto; object-position: center; }
  .hero-product { --caption-height: 66px; }
  .collection-heading { display: block; }
  .collection-intro { margin-top: 14px; }
  .catalog-controls { display: block; }
  .filter { min-height: 44px; padding-inline: 9px; }
  .filter::after { inset-inline: 9px; }
  .results-count { padding-block: 9px; border-top: 1px solid var(--rule); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-meta { min-height: 70px; }
  .product-name { font-size: clamp(1.2rem, 3.7vw, 1.5rem); }
  .product-open { width: 28px; height: 28px; }
  .product-open .icon { width: 14px; height: 14px; }
  .product-reference { inset: 7px auto auto 7px; padding: 4px 6px; }
  .design { grid-template-columns: 1fr; }
  .design-image { min-height: 0; aspect-ratio: 1.34; }
  .design-image img { object-position: center; }
  .footer-navigation { flex-wrap: wrap; padding-block: 8px; }
  .footer-navigation a { min-height: 36px; }
  .dialog-body { grid-template-columns: 1fr; }
  .detail-media img { height: min(40svh, 355px); }
}

@media (max-width: 365px) {
  .header-nav { gap: 13px; }
  .product-grid { column-gap: 11px; }
  .product-open { display: none; }
  .footer-wordmark { font-size: 3.1rem; }
}

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