@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600&family=Unbounded:wght@400;500;700&display=swap");

:root {
  --forest: #14261f;
  --forest-deep: #0c1814;
  --moss: #2d4a3c;
  --mist: #eef1ee;
  --paper: #f7f8f6;
  --ink: #102018;
  --on-dark: #f4f7f4;
  --mute: #3d5348;
  --hairline: #c5d0c8;
  --sale: #d30005;
  --success: #2f6b4f;
  --display: "Unbounded", "Onest", sans-serif;
  --text: "Onest", "Segoe UI", sans-serif;
  --max: 1520px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 180ms;
  --standard: 420ms;
  --hero: 1200ms;
  --radius-pill: 999px;
  --shadow: 0 30px 80px rgba(12, 24, 20, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--forest-deep);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--forest-deep);
  font-family: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

::selection {
  background: var(--moss);
  color: var(--on-dark);
}

:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 3px;
}

body:not(.is-home) :focus-visible {
  outline-color: var(--forest);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 80;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 16px;
}

.skip:focus {
  top: 16px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.primary-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 28px));
  height: 58px;
  padding: 0 10px 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(12, 24, 20, 0.42);
  color: var(--on-dark);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.primary-nav.is-solid,
body.inner .primary-nav {
  background: rgba(12, 24, 20, 0.92);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: "Unbounded", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: inherit;
}

.logo img,
.logo strong {
  height: 34px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
  font: inherit;
  color: inherit;
}

.logo img {
  filter: invert(1) brightness(1.1);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav a:hover,
.nav a.is-current {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-tools {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 4px;
}

.search-form {
  display: flex;
  align-items: center;
  height: 40px;
  min-width: 168px;
  padding: 0 4px 0 14px;
  border: 1px solid rgba(244, 247, 244, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(244, 247, 244, 0.08);
}

.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  min-width: 0;
  color: var(--on-dark);
  outline: none;
}

.search-form input::placeholder {
  color: rgba(244, 247, 244, 0.62);
}

.search-form button,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.icon-btn {
  position: relative;
}

.bag-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--on-dark);
  color: var(--forest-deep);
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--standard) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  color: var(--on-dark);
}

.hero-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(10% 8% 12% 8%);
  animation: hero-open var(--hero) var(--ease) both;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.16);
  animation: hero-settle 2.2s var(--ease) both;
}

@keyframes hero-open {
  to {
    clip-path: inset(0);
  }
}

@keyframes hero-settle {
  to {
    transform: scale(1.04);
  }
}

@supports (animation-timeline: scroll()) {
  .hero-frame img {
    animation: hero-settle 2.2s var(--ease) both, hero-drift linear both;
    animation-timeline: auto, scroll();
    animation-range: normal, 0 90vh;
  }

  @keyframes hero-drift {
    to {
      transform: scale(1.18);
    }
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(transparent, var(--forest-deep));
  pointer-events: none;
}

.hero-lock {
  position: absolute;
  left: 4vw;
  bottom: 7vh;
  z-index: 1;
  max-width: min(1100px, calc(100% - 8vw));
}

.hero-lock h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 14vw, 10.4rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.hero-lock p {
  margin: 16px 0 28px;
  max-width: 22ch;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.stage {
  background: var(--mist);
  color: var(--ink);
}

.essay {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  min-height: 88vh;
  background: var(--forest);
  color: var(--on-dark);
}

.essay-photo {
  position: relative;
  min-height: 560px;
}

.essay-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.essay-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 12vh 6vw 12vh 5vw;
}

.essay-copy h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.essay-copy p {
  margin: 0 0 28px;
  max-width: 36ch;
  color: rgba(244, 247, 244, 0.78);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: var(--forest-deep);
  min-height: 92vh;
}

.mosaic a:first-child {
  grid-row: 1 / 3;
}

.mosaic a {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  color: var(--on-dark);
  text-decoration: none;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.mosaic a:hover img {
  transform: scale(1.06);
}

.mosaic span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 18px;
  font-weight: 500;
}

.section {
  padding: 96px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head h2,
.page-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-title {
  padding: 24px 0 18px;
}

.inner main,
body.inner #content {
  padding-top: 88px;
}

.quiet-link {
  font-size: 14px;
  font-weight: 500;
  text-underline-offset: 4px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px 16px;
}

.product-grid > :first-child {
  grid-row: span 2;
}

.product-grid > :first-child .media {
  aspect-ratio: 4 / 5;
  min-height: 520px;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.cat-card,
.product-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cat-card figure,
.product-card figure {
  margin: 0;
}

.media {
  overflow: hidden;
  background: #d7ddd8;
  aspect-ratio: 4 / 3;
}

.media-tall {
  aspect-ratio: 4 / 5;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.cat-card:hover img,
.product-card:hover img {
  transform: scale(1.045);
}

.caption {
  display: grid;
  gap: 4px;
  padding-top: 14px;
}

.caption strong,
.product-name {
  font-size: 16px;
  font-weight: 500;
}

.caption span,
.product-meta,
.lede {
  color: var(--mute);
  font-size: 14px;
}

.lede {
  margin: 0 0 18px;
  max-width: 62ch;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 500;
}

.price-old {
  color: var(--sale);
  font-weight: 400;
  text-decoration: line-through;
}

.fabric-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 92vh;
  background: var(--forest-deep);
  color: var(--on-dark);
}

.fabric-wall {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 120px 5vw 8vh;
}

.fabric-wall a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 247, 244, 0.16);
  font-family: var(--display);
  font-size: clamp(2rem, 5.2vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  opacity: 0.42;
  transition: opacity var(--standard) var(--ease);
}

.fabric-wall a:hover,
.fabric-wall a:focus-visible,
.fabric-wall a.is-on {
  opacity: 1;
}

.fabric-preview {
  position: relative;
  overflow: hidden;
}

.fabric-preview img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 8px 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--on-dark);
  color: var(--forest-deep);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease);
}

.btn i,
.btn .dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(12, 24, 20, 0.1);
}

.btn:hover {
  background: #fff;
}

.btn:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(244, 247, 244, 0.4);
  padding: 0 22px;
}

.btn-ghost:hover {
  background: var(--on-dark);
  color: var(--forest-deep);
}

.stage .btn,
.pdp .btn,
.cart-layout .btn,
.form .btn,
.empty .btn {
  background: var(--forest);
  color: var(--on-dark);
}

.stage .btn .dot,
.pdp .btn .dot,
.empty .btn .dot {
  background: rgba(244, 247, 244, 0.14);
}

.stage .btn:hover,
.pdp .btn:hover,
.empty .btn:hover {
  background: #1c3329;
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.site-footer {
  padding: 72px 0 40px;
  background: var(--forest);
  color: var(--on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
}

.site-footer p,
.site-footer a {
  color: rgba(244, 247, 244, 0.7);
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.legal {
  margin-top: 40px;
  color: rgba(244, 247, 244, 0.45);
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--on-dark);
  color: var(--forest-deep);
  font-size: 14px;
  font-weight: 500;
}

.toast.is-on {
  display: block;
}

.inner {
  background: var(--mist);
  min-height: 100dvh;
}

.pdp {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  padding: 24px 0 96px;
}

.gallery {
  display: grid;
  gap: 8px;
}

.gallery-main {
  background: #d7ddd8;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.gallery-main img,
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.thumbs button {
  padding: 0;
  border: 1px solid transparent;
  background: #d7ddd8;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.thumbs button.is-on,
.thumbs button:hover {
  border-color: var(--forest);
}

.buy {
  position: sticky;
  top: 96px;
  align-self: start;
}

.buy h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.buy .price-row {
  font-size: 24px;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 18px;
}

.field span,
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.qty {
  display: flex;
  align-items: center;
  width: max-content;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.qty button,
.qty input {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--paper);
  text-align: center;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.buy-meta {
  color: var(--mute);
  font-size: 14px;
}

.buy-meta p {
  margin: 0 0 8px;
}

.tabs {
  padding-bottom: 96px;
}

.tabs h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 12px 0;
  text-align: left;
  font-weight: 400;
  box-shadow: inset 0 -1px 0 var(--hairline);
}

.spec-table th {
  width: 32%;
  color: var(--mute);
  font-weight: 500;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.chip.is-on,
.chip:hover {
  background: var(--forest);
  color: var(--on-dark);
  border-color: var(--forest);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  padding-bottom: 96px;
}

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  box-shadow: inset 0 -1px 0 var(--hairline);
}

.cart-line img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #d7ddd8;
}

.cart-line h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 500;
}

.cart-remove {
  margin-top: 8px;
  border: 0;
  background: none;
  color: var(--mute);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.summary {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
  background: var(--paper);
}

.summary h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}

.summary p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
}

.empty {
  padding: 48px 0 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding-bottom: 96px;
}

.form label {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

.form input,
.form textarea,
.form select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--paper);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.alert {
  padding: 12px 14px;
  margin-bottom: 16px;
  background: var(--paper);
  font-size: 14px;
}

.alert-error {
  background: #fff1f1;
  color: var(--sale);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  color: var(--mute);
  font-size: 12px;
}

.breadcrumb a {
  text-decoration: none;
}

.facts {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.facts-copy h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
}

.facts-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.facts-list li {
  padding: 10px 0;
  box-shadow: inset 0 -1px 0 var(--hairline);
  font-size: 14px;
  font-weight: 500;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  padding: 0;
}

#common-home .container,
#common-home.container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.row {
  margin: 0;
}

#column-left,
#column-right {
  display: none;
}

.oc-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 1023px) {
  .primary-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav,
  .search-form {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-panel.is-on {
    display: block;
    position: fixed;
    top: 84px;
    left: 14px;
    right: 14px;
    z-index: 49;
    padding: 22px;
    border-radius: 24px;
    background: rgba(12, 24, 20, 0.94);
    color: var(--on-dark);
  }

  .mobile-panel .nav {
    display: grid;
    gap: 14px;
    justify-content: start;
    margin-bottom: 16px;
  }

  .mobile-panel .search-form {
    display: flex;
    width: 100%;
  }

  .essay,
  .fabric-stage,
  .pdp,
  .cart-layout,
  .footer-grid,
  .contact-grid,
  .facts,
  .mosaic,
  .product-grid,
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .mosaic a:first-child,
  .product-grid > :first-child {
    grid-row: auto;
  }

  .hero-lock h1 {
    font-size: clamp(3.4rem, 18vw, 5.6rem);
  }

  .wrap,
  .container {
    width: min(100% - 28px, var(--max));
  }

  .buy {
    position: static;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .product-grid,
  .mosaic {
    grid-template-columns: 1fr 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-frame {
    clip-path: none;
  }

  .hero-frame img {
    transform: none;
  }
}
