/* Pamuq. Every style on the site lives in this file. */

/* Fonts
   Cormorant Garamond and Inter, served from this site (both under the SIL Open Font
   License, see public/fonts). The Latin subset covers every character the copy uses. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-300-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens
   A warm, light palette taken from undyed cotton, Aegean stone and the sea, with one
   dark tone for the hero, the cotton story and the footer. */

:root {
  --paper: #f6f1e9;
  --linen: #ede5d7;
  --stone: #e2d8c7;
  --ink: #1d1b17;
  --ink-soft: #3c3830;
  --muted: #6c6558;
  --clay: #93512f;
  --aegean: #2f4658;
  --line: rgba(29, 27, 23, 0.14);
  --line-strong: rgba(29, 27, 23, 0.32);

  --night: #161411;
  --night-lift: #201d18;
  --on-night: #efe7d8;
  --on-night-muted: #a9a08d;
  --night-line: rgba(239, 231, 216, 0.16);

  --hero-white: #f5f0e8;
  --hero-sand: #e2d5bc;
  --hero-accent: #c4a882;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --gutter: 48px;
  --announce-h: 36px;
  --header-h: 76px;
  --top-h: calc(var(--announce-h) + var(--header-h));
  --section-space: 144px;
  --max: 1440px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --tap: 44px;
}

html.announce-closed,
html.no-announce {
  --announce-h: 0px;
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --announce-h: 34px;
    --header-h: 60px;
    --section-space: 88px;
  }
}

/* Base */

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 16px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

html.drawer-open,
html.dialog-open {
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

main:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

:where(ul[class], ol[class]) {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

em {
  font-style: italic;
}

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

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

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

/* 16px stops iPhones zooming into a field when it is focused. */
input,
select,
textarea {
  font-size: 16px;
}

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

strong,
b {
  font-weight: 400;
}

::selection {
  background: rgba(147, 81, 47, 0.18);
  color: var(--ink);
}

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

dialog {
  padding: 0;
  border: 0;
  color: inherit;
}

dialog::backdrop {
  background: rgba(22, 20, 17, 0.5);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* A field only bots fill in. */
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.skip-link:focus {
  top: 16px;
}

/* Motion: text rises a little into view. Pictures are never faded. Only applied when
   JavaScript runs, so that nothing is ever hidden without it. */

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Pictures
   A frame takes a pale version of the towel's color while its photograph arrives. */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--stone);
  background-color: color-mix(in srgb, var(--tone, var(--stone)) 30%, var(--linen));
}

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

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img.is-broken {
  visibility: hidden;
}

/* Announcement bar */

.announce {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--announce-h);
  padding-inline: 48px;
  background: var(--night);
  color: var(--on-night);
}

html.announce-closed .announce {
  display: none;
}

.announce__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.announce__message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 400ms ease;
}

.announce__message.is-active {
  opacity: 1;
}

.announce__close {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  transform: translateY(-50%);
  color: var(--on-night-muted);
}

.announce__close:hover {
  color: var(--on-night);
}

@media (max-width: 768px) {
  .announce {
    padding-inline: 16px 44px;
  }

  .announce__message {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* Header
   Solid on most pages. Over the photographs that open the homepage and the collection
   pages it starts transparent and turns solid when scrolled. It shrinks a little too. */

.site-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
}

.site-header {
  height: var(--header-h);
  background-color: var(--paper);
  border-bottom: 0.5px solid var(--line);
  color: var(--ink);
  transition: height 300ms var(--ease), background-color 400ms ease, border-color 400ms ease, color 400ms ease;
}

.site-top.is-scrolled .site-header {
  height: calc(var(--header-h) - 12px);
}

.has-hero .site-top:not(.is-solid) .site-header {
  background-color: transparent;
  border-bottom-color: transparent;
  color: var(--hero-white);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wordmark {
  justify-self: start;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  color: inherit;
}

.menu-toggle {
  display: none;
}

.site-nav__list {
  display: flex;
  gap: 36px;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
  transition: opacity 200ms ease;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 0.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.site-nav__link:hover,
.site-nav__link[aria-current],
.site-nav__link[aria-expanded='true'] {
  opacity: 1;
}

.site-nav__link:hover::after,
.site-nav__link[aria-current]::after,
.site-nav__link[aria-expanded='true']::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  justify-self: end;
  align-items: center;
  margin-right: -10px;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0;
  text-align: center;
}

.has-hero .site-top:not(.is-solid) .cart-count {
  background: var(--hero-white);
  color: var(--night);
}

.cart-count.is-bumped {
  animation: bump 400ms var(--ease);
}

@keyframes bump {
  40% {
    transform: scale(1.35);
  }
}

/* Mega menu */

.mega {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--paper);
  border-bottom: 0.5px solid var(--line);
  box-shadow: 0 24px 40px rgba(29, 27, 23, 0.08);
  color: var(--ink);
}

.mega__inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 32px var(--gutter) 40px;
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mega__tile {
  display: block;
}

.mega__media {
  aspect-ratio: 4 / 5;
}

.mega__name {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
}

.mega__meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.mega__tile:hover .mega__name {
  color: var(--clay);
}

.mega__links {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-left: 32px;
  border-left: 0.5px solid var(--line);
}

.mega__links a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  font-size: 14px;
}

.mega__links a:hover {
  color: var(--clay);
}

/* Mobile menu: a full height panel */

.mobile-menu {
  width: min(420px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
}

.mobile-menu__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 10px 0 var(--gutter);
  border-bottom: 0.5px solid var(--line);
}

.mobile-menu__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px var(--gutter) 32px;
}

.mobile-menu__categories {
  display: grid;
  gap: 4px;
}

.mobile-menu__category {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  font-family: var(--serif);
  font-size: 22px;
}

.mobile-menu__thumb {
  flex: none;
  width: 48px;
  height: 56px;
}

.mobile-menu__links {
  display: grid;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 0.5px solid var(--line);
}

.mobile-menu__links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
}

.mobile-menu__offer {
  margin-top: 24px;
  padding: 16px;
  background: var(--linen);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .site-nav__list {
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
    padding-left: calc(var(--gutter) - 10px);
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: start;
  }

  .wordmark {
    justify-self: center;
    font-size: 17px;
    letter-spacing: 0.18em;
  }

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

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.btn--ghost {
  padding: 16px 34px;
  background: transparent;
  border: 0.5px solid var(--hero-sand);
  color: var(--hero-sand);
  transition: background-color 200ms ease, color 200ms ease;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--hero-sand);
  color: var(--night);
}

.btn--dark {
  padding: 18px 38px;
  background: var(--ink);
  border: 0.5px solid var(--ink);
  color: var(--paper);
  transition: background-color 200ms ease, color 200ms ease;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: transparent;
  color: var(--ink);
}

.btn--outline {
  padding: 18px 38px;
  border: 0.5px solid var(--ink);
  color: var(--ink);
  transition: background-color 200ms ease, color 200ms ease;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid {
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  background: var(--ink);
  border: 0.5px solid var(--ink);
  color: var(--paper);
  transition: background-color 200ms ease, border-color 200ms ease;
}

.btn--solid:hover:not(:disabled) {
  background: var(--aegean);
  border-color: var(--aegean);
}

.btn--solid:disabled {
  cursor: default;
  opacity: 0.6;
}

.btn--solid[data-add]:disabled {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 1;
}

.text-link {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 0.5px;
}

.text-link--arrow {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: var(--tap);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link--light {
  margin-top: 16px;
  color: var(--on-night);
}

.link-button {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-button:hover {
  color: var(--ink);
}

.eyebrow {
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-accent);
}

.eyebrow--dark {
  color: var(--clay);
}

.label {
  margin-top: 40px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.notice {
  margin-bottom: 40px;
  padding: 16px 20px;
  background: var(--linen);
  font-size: 14px;
  color: var(--ink);
}

/* Section scaffolding */

.section {
  padding-block: var(--section-space);
}

.section--tight {
  padding-top: 0;
}

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

.section-head--center {
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(32px, 3.6vw, 50px);
}

.section-title--large {
  font-size: clamp(38px, 4.6vw, 62px);
}

.section-title--small {
  font-size: clamp(26px, 2.4vw, 34px);
}

.section-lead {
  max-width: 62ch;
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 36px;
  }

  .section-head--center {
    align-items: center;
  }
}

/* Heroes: a photograph with text over a dark gradient that keeps the text readable
   whatever the picture behind it. */

.hero,
.sets-hero,
.collection-hero {
  position: relative;
  display: flex;
  overflow: hidden;
  background: radial-gradient(120% 90% at 72% 28%, #2c261b 0%, #0f0e0c 72%);
  color: var(--hero-sand);
}

.hero {
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
}

.sets-hero,
.collection-hero {
  align-items: flex-end;
  min-height: 74vh;
  min-height: 74svh;
  padding-bottom: 80px;
}

.hero picture,
.sets-hero picture,
.collection-hero picture {
  position: absolute;
  inset: 0;
}

.hero__image,
.sets-hero__image,
.collection-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before,
.sets-hero::before,
.collection-hero::before {
  /* Keeps the navigation readable above a bright photograph. */
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: 240px;
  background: linear-gradient(to bottom, rgba(12, 11, 9, 0.6), rgba(12, 11, 9, 0));
}

.hero::after,
.sets-hero::after,
.collection-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12, 11, 9, 0.45) 0%, rgba(12, 11, 9, 0.12) 60%, rgba(12, 11, 9, 0) 100%),
    linear-gradient(to bottom, rgba(12, 11, 9, 0.15) 0%, rgba(12, 11, 9, 0.55) 100%);
}

.hero__content,
.sets-hero__content,
.collection-hero__content {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  margin-bottom: 28px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero__title {
  max-width: 760px;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--hero-white);
}

.hero__lead,
.sets-hero__lead,
.collection-hero__lead {
  max-width: 500px;
  margin-top: 24px;
  font-size: 17px;
  color: var(--hero-sand);
}

.hero .btn {
  margin-top: 40px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: none;
}

.sets-hero__title,
.collection-hero__title {
  max-width: 14ch;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.04;
  color: var(--hero-white);
}

@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 72px;
  }

  .hero::after,
  .sets-hero::after,
  .collection-hero::after {
    background: linear-gradient(to bottom, rgba(12, 11, 9, 0.25) 0%, rgba(12, 11, 9, 0.35) 40%, rgba(12, 11, 9, 0.78) 100%);
  }

  .sets-hero,
  .collection-hero {
    padding-bottom: 48px;
  }
}

/* Seasonal campaign */

.campaign {
  padding-block: 56px;
  background: var(--linen);
  text-align: center;
}

.campaign__inner {
  display: grid;
  justify-items: center;
}

.campaign .eyebrow {
  margin-bottom: 14px;
}

.campaign__title {
  max-width: 24ch;
  font-size: clamp(28px, 3vw, 40px);
}

.campaign__text {
  margin: 12px 0 24px;
  color: var(--muted);
}

.campaign__text strong {
  color: var(--ink);
}

/* Homepage: opening statement */

.intro {
  padding-block: calc(var(--section-space) * 0.85) calc(var(--section-space) * 0.4);
}

.intro__inner {
  max-width: 980px;
  text-align: center;
}

.intro__statement {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.intro__statement em {
  color: var(--clay);
}

/* Homepage: category tiles. One large tile, four small ones and a wide one for sets. */

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

.tile {
  aspect-ratio: 4 / 5;
}

.tile--1 {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.tile--6 {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 5;
}

.tile__link {
  position: relative;
  display: block;
  height: 100%;
}

.tile__media {
  height: 100%;
}

.tile__media img {
  transition: transform 1200ms var(--ease);
}

/* The shade sits behind the caption itself, dark enough under the words to keep them
   readable on the palest photo, or on the plain tone before a photo arrives. */
.tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 72px 28px 28px;
  color: var(--hero-white);
  background: linear-gradient(to top, rgba(18, 16, 13, 0.74) 0%, rgba(18, 16, 13, 0.64) 55%, rgba(18, 16, 13, 0) 100%);
  text-shadow: 0 1px 14px rgba(18, 16, 13, 0.35);
}

.tile__name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.1;
}

.tile--1 .tile__name,
.tile--6 .tile__name {
  font-size: clamp(34px, 3.4vw, 46px);
}

.tile__meta {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.9);
}

@media (hover: hover) {
  .tile__link:hover .tile__media img {
    transform: scale(1.04);
  }
}

@media (max-width: 900px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tile--1 {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .tile--6 {
    aspect-ratio: 4 / 3;
  }

  .tile__caption {
    padding: 48px 16px 16px;
  }

  .tile__name {
    font-size: 23px;
  }

  .tile__meta {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
}

/* Product cards. Every card has the same picture ratio, and its price and swatches sit
   on the same line as its neighbors'. */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 28px;
}

.grid--four {
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 24px;
}

.grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  display: flex;
}

.card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card__media img {
  transition: transform 1200ms var(--ease), opacity 300ms ease;
}

.card__alt {
  opacity: 0;
}

@media (hover: hover) {
  .card__link:hover .card__media img {
    transform: scale(1.03);
  }

  .card--has-alt .card__link:hover .card__alt {
    opacity: 1;
  }
}

.card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 7px 10px 6px;
  background: rgba(246, 241, 233, 0.94);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 20px;
}

.card__eyebrow {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

.card__name {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.card__summary {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.card__specs span + span {
  position: relative;
}

.card__specs span + span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--line);
}

.card__price {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}

.card__price__was,
.pdp-price__was,
.set-price__was {
  margin-left: 8px;
  font-weight: 300;
  color: var(--muted);
}

.card__cta {
  align-self: flex-start;
  margin-top: 14px;
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 0.5px no-repeat;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background-size 400ms var(--ease);
}

.card__link:hover .card__cta,
.card__link:focus-visible .card__cta {
  background-size: 100% 0.5px;
}

/* Quick add sits over the bottom of the picture on desktop, on hover or focus. */
.card__overlay {
  position: absolute;
  inset: 0 0 auto 0;
  display: none;
  align-items: flex-end;
  padding: 12px;
  aspect-ratio: 4 / 5;
  pointer-events: none;
}

.card__quick {
  width: 100%;
  min-height: var(--tap);
  background: rgba(246, 241, 233, 0.96);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease, background-color 200ms ease;
  pointer-events: auto;
}

.card__quick:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (hover: hover) and (min-width: 901px) {
  .card__overlay {
    display: flex;
  }

  .card:hover .card__quick,
  .card__quick:focus-visible {
    opacity: 1;
    transform: none;
  }
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swatch {
  position: relative;
  display: inline-block;
  flex: none;
  border-radius: 50%;
  background: var(--swatch, var(--stone));
  box-shadow: inset 0 0 0 0.5px rgba(29, 27, 23, 0.32);
}

.swatch--small {
  width: 11px;
  height: 11px;
}

.swatch--medium {
  width: 16px;
  height: 16px;
}

.swatch--large {
  width: 30px;
  height: 30px;
  overflow: hidden;
}

/* Stars, drawn with a mask so they take the text color. */
.stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}

.star {
  width: 13px;
  height: 13px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.2 6.6.7-5 4.5 1.4 6.6L12 17.2l-5.9 3.3 1.4-6.6-5-4.5 6.6-.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.2 6.6.7-5 4.5 1.4 6.6L12 17.2l-5.9 3.3 1.4-6.6-5-4.5 6.6-.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.star--half {
  background: linear-gradient(to right, var(--ink) 50%, var(--line-strong) 50%);
}

.star--empty {
  background: var(--line-strong);
}

@media (max-width: 1100px) {
  .grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid,
  .grid--four,
  .grid--three {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 14px;
  }

  .card__badge {
    top: 8px;
    left: 8px;
    padding: 6px 7px 5px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .card__name {
    font-size: 20px;
  }

  .card__summary {
    display: none;
  }

  .card__specs {
    flex-direction: column;
    gap: 2px;
  }

  .card__specs span + span::before {
    display: none;
  }

  .card__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .card__price__was {
    display: block;
    margin-left: 0;
  }
}

/* Homepage: why a good towel matters */

.why {
  border-top: 0.5px solid var(--line);
}

.why__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(56px, 8vw, 128px);
  align-items: start;
}

.why__media {
  position: sticky;
  top: calc(var(--top-h) + 32px);
  padding-bottom: 72px;
}

.why__image {
  aspect-ratio: 4 / 5;
}

.why__detail {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  border: 10px solid var(--paper);
}

.why__lead {
  max-width: 58ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 44px;
  margin-top: 64px;
}

.point {
  padding-top: 22px;
  border-top: 0.5px solid var(--line-strong);
}

.point__number {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--clay);
}

.point__title {
  margin-top: 12px;
  font-size: 25px;
  font-weight: 400;
}

.point__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 900px) {
  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__media {
    position: relative;
    top: auto;
    margin-right: 40px;
  }

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

/* Homepage: curated sets */

.sets-teaser {
  background: var(--linen);
}

.sets-teaser .card__badge {
  background: var(--ink);
  color: var(--paper);
}

.sets-teaser__more {
  margin-top: 64px;
  text-align: center;
}

/* Homepage: from Bodrum to the cotton fields */

.cotton {
  padding-block: var(--section-space);
  background: var(--night);
  color: var(--on-night-muted);
}

.cotton h2,
.cotton h3 {
  color: var(--on-night);
}

.cotton :focus-visible {
  outline-color: var(--on-night);
}

.cotton__intro {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(56px, 8vw, 128px);
  align-items: center;
}

.cotton__title {
  max-width: 14ch;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
}

.cotton__lead {
  max-width: 54ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--on-night);
  opacity: 0.88;
}

.cotton__media {
  position: relative;
  padding-bottom: 64px;
}

.cotton__image {
  aspect-ratio: 4 / 5;
  background-color: var(--night-lift);
}

.cotton__detail {
  position: absolute;
  left: -64px;
  bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  border: 10px solid var(--night);
  background-color: var(--night-lift);
}

.cotton__fields {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  margin-top: 112px;
}

.cotton__fields-media {
  aspect-ratio: 16 / 11;
  background-color: var(--night-lift);
}

.cotton__fields-text p {
  max-width: 56ch;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.qualities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
  margin-top: 112px;
}

.quality {
  padding-top: 22px;
  border-top: 0.5px solid var(--night-line);
}

.quality__title {
  font-size: 28px;
  font-style: italic;
}

.quality__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
}

.craft {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  margin-top: 112px;
}

.craft__media {
  aspect-ratio: 4 / 5;
  background-color: var(--night-lift);
}

.craft__title {
  font-size: clamp(32px, 3.2vw, 46px);
}

.craft__text p {
  max-width: 56ch;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.cotton__closing {
  max-width: 900px;
  margin: 112px auto 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3.1vw, 42px);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  color: var(--on-night);
}

.cotton__closing em {
  color: var(--hero-accent);
}

@media (max-width: 1100px) {
  .qualities {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }
}

@media (max-width: 900px) {
  .cotton__intro,
  .cotton__fields,
  .craft {
    grid-template-columns: 1fr;
  }

  .cotton__media {
    margin-left: 40px;
  }

  .cotton__detail {
    left: -40px;
  }

  .cotton__fields,
  .qualities,
  .craft,
  .cotton__closing {
    margin-top: 80px;
  }
}

@media (max-width: 520px) {
  .qualities {
    grid-template-columns: 1fr;
  }
}

/* Testimonials, shown only once there are real reviews */

.testimonials__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.testimonial blockquote {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}

.testimonial__by {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .testimonials__list {
    grid-template-columns: 1fr;
  }
}

/* Newsletter sign up section */

.signup {
  padding-block: 96px;
  border-top: 0.5px solid var(--line);
}

.signup__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.signup .eyebrow {
  margin-bottom: 14px;
}

.signup__title {
  font-size: clamp(32px, 3.4vw, 46px);
}

.signup__lead {
  margin-top: 10px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .signup {
    padding-block: 72px;
  }

  .signup__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Homepage and About: facts strip */

.promise {
  padding-block: 80px;
  background: var(--linen);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 28px;
  border-left: 0.5px solid var(--line-strong);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact__label {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.fact__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 768px) {
  .promise {
    padding-block: 56px;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .fact {
    padding: 0 14px;
  }

  .fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact__label {
    font-size: 21px;
  }
}

/* Footer */

.site-footer {
  padding-block: 88px 32px;
  background: var(--night);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--on-night-muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.7fr;
  gap: 48px;
}

.site-footer__title {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-night);
}

.site-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.site-footer a:hover {
  color: var(--on-night);
}

.site-footer :focus-visible {
  outline-color: var(--on-night);
}

.site-footer__contact {
  margin-top: 20px;
  font-size: 13px;
}

.site-footer__contact a {
  color: var(--on-night);
}

.social {
  display: flex;
  gap: 4px;
  margin-top: 20px;
  margin-left: -12px;
}

.social a {
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  color: var(--on-night);
}

.site-footer__payments {
  margin-top: 56px;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payments li {
  padding: 5px 9px 4px;
  border: 0.5px solid currentColor;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 0.5px solid var(--night-line);
  font-size: 13px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.site-footer__origin {
  margin-left: auto;
}

.site-footer__company:empty {
  display: none;
}

/* Newsletter fields: the footer, the sign up section and the pop up share them. */

.newsletter__label {
  display: block;
  max-width: 40ch;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  color: var(--on-night);
}

.newsletter__field {
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid currentColor;
}

.site-footer .newsletter__field {
  border-bottom-color: var(--on-night-muted);
}

.newsletter__field input {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
  padding: 10px 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: inherit;
}

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

.newsletter__field:focus-within {
  box-shadow: 0 1px 0 0 currentColor;
}

.newsletter__field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.site-footer .newsletter__field input {
  color: var(--on-night);
}

.site-footer .newsletter__field input::placeholder {
  color: var(--on-night-muted);
}

.newsletter__field button {
  min-height: var(--tap);
  padding: 0 0 0 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer .newsletter__field button {
  color: var(--on-night);
}

.newsletter__status {
  min-height: 22px;
  margin-top: 10px;
  font-size: 13px;
}

.newsletter__status strong {
  color: inherit;
  font-weight: 400;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 64px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .site-footer__newsletter {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-footer__origin {
    margin-left: 0;
  }
}

/* Shop and category pages */

.page-top {
  padding-top: calc(var(--top-h) + 64px);
  padding-bottom: var(--section-space);
}

.page-top--after-hero {
  padding-top: 32px;
}

.page-head {
  max-width: 820px;
}

.page-title {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.05;
}

.page-sub {
  max-width: 62ch;
  margin-top: 20px;
  font-size: 17px;
  color: var(--muted);
}

.page-sub a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.cat-nav {
  margin-top: 48px;
  border-bottom: 0.5px solid var(--line);
}

.cat-nav__list {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-nav__list::-webkit-scrollbar {
  display: none;
}

.cat-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid transparent;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  transition: color 200ms ease, border-color 200ms ease;
}

.cat-nav a:hover {
  color: var(--ink);
}

.cat-nav a[aria-current] {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

/* Filters: a panel on desktop, a sheet behind a button on phones. */

.filters {
  margin: 28px 0 40px;
}

.filters__toggle {
  display: none;
}

.filters__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--line);
}

.filter {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.filter__legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter__options--swatches {
  gap: 4px;
}

.chip {
  position: relative;
  display: inline-flex;
}

.chip input,
.swatch-check input,
.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0.5px solid var(--line-strong);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip input:focus-visible + span,
.swatch-check input:focus-visible + .swatch {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.swatch-check {
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  cursor: pointer;
}

.swatch-check input:checked + .swatch {
  box-shadow: inset 0 0 0 0.5px rgba(29, 27, 23, 0.32), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink);
}

.filters__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  align-self: flex-end;
}

html.js .filters__apply {
  display: none;
}

.filters__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.filters__count {
  font-size: 13px;
  color: var(--muted);
}

.sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sort__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.sort select,
.field select {
  min-height: var(--tap);
  padding: 0 32px 0 12px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231d1b17' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 0.5px solid var(--line-strong);
  border-radius: 0;
  appearance: none;
  color: var(--ink);
}

.shop-results .empty {
  padding-top: 48px;
}

.sets-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 128px;
  background: var(--linen);
}

.sets-banner__media {
  min-height: 440px;
}

.sets-banner__body {
  align-self: center;
  padding: clamp(36px, 6vw, 88px);
}

.sets-banner__title {
  font-size: clamp(34px, 3.6vw, 52px);
}

.sets-banner__text {
  max-width: 46ch;
  margin: 18px 0 32px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .page-top {
    padding-top: calc(var(--top-h) + 36px);
  }

  .page-top--after-hero {
    padding-top: 24px;
  }

  .cat-nav {
    margin-top: 32px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .cat-nav__list {
    gap: 22px;
  }

  .filters__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border: 0.5px solid var(--ink);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  html.js .filters__panel {
    display: none;
  }

  html.js .filters.is-open .filters__panel {
    display: flex;
  }

  .filters__panel {
    flex-direction: column;
    margin-top: 16px;
  }

  html.js .filters__apply {
    display: inline-flex;
  }

  .filters__actions {
    align-self: stretch;
    justify-content: space-between;
  }

  .sets-banner {
    grid-template-columns: 1fr;
    margin-top: 88px;
  }

  .sets-banner__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Collection pages: Beach & Pool and Gifts */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 48px 0 88px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.benefits li {
  padding-top: 18px;
  border-top: 0.5px solid var(--line-strong);
}

.benefits__title {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
  margin-top: 120px;
}

.split--wide {
  margin-top: 0;
  padding-block: 64px;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  aspect-ratio: 4 / 5;
}

.split__media--placeholder {
  display: grid;
  place-items: center;
  background: var(--linen);
}

.split__media--placeholder span {
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 300;
  color: var(--line-strong);
}

.split__text p {
  max-width: 56ch;
  margin-top: 18px;
}

.split__text .eyebrow {
  margin-bottom: 14px;
}

.jump {
  margin-bottom: 64px;
  border-block: 0.5px solid var(--line);
}

.jump__list {
  display: flex;
  gap: 4px 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.jump__list::-webkit-scrollbar {
  display: none;
}

.jump__list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.jump__list a:hover {
  color: var(--ink);
}

.gift-section,
.occasion {
  margin-bottom: 112px;
}

.occasion {
  margin-bottom: 72px;
}

.occasion__head {
  margin-bottom: 28px;
}

.occasion__title {
  font-size: clamp(26px, 2.4vw, 34px);
}

.occasion__note {
  margin-top: 6px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin-bottom: 64px;
  }

  .split {
    grid-template-columns: 1fr;
    margin-top: 80px;
  }

  .split--wide {
    padding-block: 40px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .gift-section {
    margin-bottom: 80px;
  }
}

/* Sets page */

.sets-page {
  padding-bottom: var(--section-space);
}

.sets-page .cat-nav {
  margin-top: 8px;
}

.set-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.set-notes li {
  padding-top: 18px;
  border-top: 0.5px solid var(--line-strong);
}

.set-notes__title {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.set-list {
  display: grid;
  gap: 128px;
  margin-top: 112px;
}

.set-feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}

.set-feature--reverse .set-feature__media {
  order: 2;
}

.set-feature__media {
  aspect-ratio: 5 / 6;
}

.set-feature__media img {
  transition: transform 1200ms var(--ease);
}

@media (hover: hover) {
  .set-feature__media:hover img {
    transform: scale(1.03);
  }
}

.set-badge {
  display: inline-block;
  padding: 8px 12px 7px;
  border: 0.5px solid var(--ink);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.set-feature__name {
  margin-top: 24px;
  font-size: clamp(36px, 3.6vw, 52px);
}

.set-feature__name a:hover {
  color: var(--clay);
}

.set-feature__text {
  max-width: 50ch;
  margin-top: 18px;
  color: var(--muted);
}

.contents {
  margin-top: 12px;
  border-top: 0.5px solid var(--line);
}

.contents li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-bottom: 0.5px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.contents__qty {
  font-size: 13px;
  font-weight: 400;
  color: var(--clay);
}

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

.contents__name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contents__size {
  font-size: 12px;
  color: var(--muted);
}

.set-feature__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 28px;
}

.set-feature__price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.set-price__was {
  font-size: 22px;
}

.set-feature__value {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--clay);
}

@media (max-width: 900px) {
  .set-notes {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .set-list {
    gap: 88px;
    margin-top: 72px;
  }

  .set-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .set-feature--reverse .set-feature__media {
    order: 0;
  }

  .set-feature__media {
    aspect-ratio: 4 / 5;
  }
}

/* Product page */

.pdp {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-top: calc(var(--top-h) + 40px);
  padding-bottom: 104px;
}

.pdp__gallery {
  position: sticky;
  top: calc(var(--top-h) + 16px);
}

.gallery__stage {
  position: relative;
}

.gallery__frame {
  display: block;
  width: 100%;
  cursor: zoom-in;
  touch-action: pan-y;
}

.gallery__image {
  user-select: none;
  -webkit-user-drag: none;
}

.gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(246, 241, 233, 0.9);
  color: var(--ink);
}

.gallery__step {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  background: rgba(246, 241, 233, 0.9);
  color: var(--ink);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.gallery__step--prev {
  left: 12px;
}

.gallery__step--next {
  right: 12px;
}

.gallery__stage:hover .gallery__step,
.gallery__step:focus-visible {
  opacity: 1;
}

.gallery__count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 10px;
  background: rgba(246, 241, 233, 0.9);
  font-size: 12px;
  color: var(--ink);
}

.gallery__count:empty {
  display: none;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumb {
  display: block;
  width: 100%;
  opacity: 0.6;
  transition: opacity 200ms ease;
}

.thumb:hover,
.thumb.is-active {
  opacity: 1;
}

.thumb.is-active {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.pdp__collection {
  margin-bottom: 12px;
}

.pdp__name {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.05;
}

.pdp__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.pdp__price {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

.pdp-price__was {
  font-size: 16px;
}

.pay-later {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.pdp__summary {
  max-width: 48ch;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.color {
  min-width: 0;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.color__legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.color__name {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.color__options {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-left: -7px;
}

.color-option {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  cursor: pointer;
}

.color-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.color-option input:checked + .swatch {
  box-shadow: inset 0 0 0 0.5px rgba(29, 27, 23, 0.32), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink);
}

.color-option input:focus-visible + .swatch {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

/* The color's name appears on hover, so shoppers can tell Salt from Raw Cotton. */
.color-option__name {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  z-index: 2;
  padding: 4px 8px;
  background: var(--ink);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--paper);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.color-option:hover .color-option__name {
  opacity: 1;
}

.color-option.is-soldout .swatch {
  opacity: 0.45;
}

.color-option.is-soldout .swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent calc(50% - 0.5px), var(--ink) calc(50% - 0.5px), var(--ink) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}

.pdp__set {
  margin-top: 24px;
  padding: 24px;
  background: var(--linen);
}

.pdp__set .label {
  margin-top: 18px;
}

.buy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 28px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  border: 0.5px solid var(--line-strong);
}

.quantity button {
  display: grid;
  place-items: center;
  width: var(--tap);
  height: 54px;
  color: var(--ink);
}

.quantity input {
  width: 40px;
  min-height: 54px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  color: var(--ink);
  -moz-appearance: textfield;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.pdp__delivery {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-top: 18px;
  padding: 16px 0;
  border-block: 0.5px solid var(--line);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust svg {
  flex: none;
  color: var(--clay);
}

.trust--compact {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.pdp .payments,
.cart .payments {
  margin-top: 16px;
  color: var(--muted);
}

.make-set .label {
  margin-top: 28px;
}

.set-offer {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 0.5px solid var(--line-strong);
  transition: border-color 200ms ease;
}

.set-offer:hover {
  border-color: var(--ink);
}

.set-offer__media {
  aspect-ratio: 4 / 5;
}

.set-offer__name {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
  color: var(--ink);
}

.set-offer__text {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.set-offer__price {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--clay);
}

.pdp__details {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 0.5px solid var(--line);
}

.pdp__details div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.pdp__details dt {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pdp__details dd {
  color: var(--ink);
}

.pdp__fiber {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}

.pdp__description {
  max-width: 60ch;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.accordion {
  margin-top: 40px;
  border-top: 0.5px solid var(--line);
}

.accordion__item {
  border-bottom: 0.5px solid var(--line);
}

.accordion__heading {
  margin: 0;
  font-family: var(--sans);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: 0;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
  color: var(--ink);
}

.accordion__icon {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 1px;
  background: currentColor;
  transition: opacity 200ms ease;
}

.accordion__icon::after {
  transform: rotate(90deg);
}

.accordion__item.is-open .accordion__icon::after {
  opacity: 0;
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 300ms var(--ease), visibility 0s linear 300ms;
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 300ms var(--ease), visibility 0s;
}

/* Without JavaScript every panel is simply open. */
html:not(.js) .accordion__panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.accordion__inner {
  min-height: 0;
  overflow: hidden;
}

.accordion__inner::after {
  content: '';
  display: block;
  height: 24px;
}

.accordion__lead,
.accordion__inner > p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.accordion__note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.accordion__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
}

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

.bullets li::before {
  content: '';
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.6;
}

.specs div + div {
  border-top: 0.5px solid var(--line);
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  color: var(--ink);
  text-align: right;
}

/* Size guide diagram */

.size-guide {
  margin: 0 0 20px;
}

.size-guide svg {
  display: block;
  width: 100%;
  height: auto;
}

.size-guide__towel {
  fill: var(--linen);
  stroke: var(--ink);
  stroke-width: 0.75;
}

.size-guide__label {
  font-family: var(--sans);
  font-size: 9px;
  fill: var(--ink);
}

.size-guide__dims {
  font-family: var(--sans);
  font-size: 8px;
  fill: var(--muted);
}

.size-guide__person {
  fill: var(--stone);
}

.size-guide figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Reviews */

.reviews {
  border-top: 0.5px solid var(--line);
  padding-top: 88px;
}

.reviews .section-title {
  margin-bottom: 32px;
}

.reviews__empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  background: var(--linen);
}

.reviews__empty-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
}

.reviews__summary {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px 24px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--line);
}

.reviews__average {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
}

.reviews__count {
  font-size: 13px;
  color: var(--muted);
}

.reviews__bars {
  display: grid;
  gap: 4px;
  grid-column: 1 / -1;
  max-width: 420px;
  font-size: 12px;
  color: var(--muted);
}

.reviews__bars li {
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  align-items: center;
  gap: 10px;
}

.bar {
  height: 4px;
  background: var(--line);
}

.bar span {
  display: block;
  height: 100%;
  background: var(--ink);
}

.reviews__list {
  margin-top: 24px;
}

.review {
  padding: 28px 0;
  border-bottom: 0.5px solid var(--line);
}

.review__title {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 400;
}

.review__body {
  max-width: 70ch;
  margin-top: 8px;
}

.review__photos {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.review__photos li {
  position: relative;
  width: 96px;
  height: 96px;
  overflow: hidden;
}

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

.review__meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.review__verified {
  color: var(--clay);
}

/* Forms */

.review-form,
.contact-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-top: 32px;
}

.review-form__title {
  font-size: 28px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: #fffdf9;
  border: 0.5px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
}

.field__hint {
  font-size: 12px;
  color: var(--muted);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rating-input {
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-input__stars {
  display: inline-flex;
  flex-direction: row-reverse;
}

.rating-input__stars input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.rating-input__stars label {
  width: var(--tap);
  height: var(--tap);
  cursor: pointer;
  background: var(--line-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.2 6.6.7-5 4.5 1.4 6.6L12 17.2l-5.9 3.3 1.4-6.6-5-4.5 6.6-.7z'/%3E%3C/svg%3E") center / 28px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.2 6.6.7-5 4.5 1.4 6.6L12 17.2l-5.9 3.3 1.4-6.6-5-4.5 6.6-.7z'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.rating-input__stars input:checked ~ label,
.rating-input__stars label:hover,
.rating-input__stars label:hover ~ label {
  background: var(--ink);
}

.rating-input__stars input:focus-visible + label {
  outline: 2px solid var(--ink);
}

.check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--tap);
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
}

.check span::before {
  content: '';
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  vertical-align: -4px;
  border: 0.5px solid var(--ink);
  background: #fffdf9 center / 14px no-repeat;
}

.check input:checked + span::before {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f1e9' stroke-width='2.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

.check input:focus-visible + span::before {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.form-message {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

@media (max-width: 768px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Related and recently viewed */

.related {
  padding-top: 0;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mini-card__media {
  aspect-ratio: 4 / 5;
}

.mini-card__name {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}

.mini-card__price {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* The sticky Add to Cart bar on phones, shown once the main button scrolls away. */
.sticky-buy {
  display: none;
}

@media (max-width: 768px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: var(--top-h);
  }

  .pdp__gallery {
    position: static;
    margin-inline: calc(var(--gutter) * -1);
  }

  .thumbs {
    grid-template-columns: repeat(5, 1fr);
    padding-inline: var(--gutter);
  }

  .gallery__step {
    display: none;
  }

  .pdp__set {
    padding: 18px;
  }

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

  .pdp__details div {
    grid-template-columns: 96px 1fr;
  }

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

  .mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sticky-buy {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 0.5px solid var(--line);
    box-shadow: 0 -8px 24px rgba(29, 27, 23, 0.06);
    transform: translateY(110%);
    transition: transform 300ms var(--ease);
  }

  .sticky-buy.is-visible {
    transform: none;
  }

  .sticky-buy__text {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
  }

  .sticky-buy__name {
    display: block;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ink);
  }

  .sticky-buy__meta {
    display: block;
    font-size: 12px;
    color: var(--muted);
  }

  .sticky-buy__meta .pdp-price__was {
    display: none;
  }

  .sticky-buy__button {
    flex: none;
    width: auto;
    min-height: 48px;
    padding: 0 18px;
  }
}

/* Zoom */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  background: #0f0e0c;
  color: var(--on-night);
}

.lightbox[open] {
  display: block;
}

.lightbox::backdrop {
  background: #0f0e0c;
}

.lightbox__stage {
  width: 100%;
  height: 100%;
  overflow: auto;
  touch-action: pinch-zoom pan-x pan-y;
}

.lightbox__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 250ms var(--ease);
}

.lightbox__stage.is-zoomed .lightbox__image {
  cursor: zoom-out;
  transform: scale(2.2);
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--on-night);
}

.lightbox__step {
  position: absolute;
  top: 50%;
  color: var(--on-night);
  transform: translateY(-50%);
}

.lightbox__step--prev {
  left: 8px;
}

.lightbox__step--next {
  right: 8px;
}

.lightbox__hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  font-size: 12px;
  color: var(--on-night-muted);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Cart lines: shared by the cart page and the drawer */

.lines {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 0.5px solid var(--line);
}

.line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 0.5px solid var(--line);
}

.line__image {
  display: block;
  width: 80px;
  height: 100px;
}

.line__name {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  margin-top: -10px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.line__note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--clay);
}

.line__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.line__price {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 0.5px solid var(--line-strong);
}

.stepper button {
  display: grid;
  place-items: center;
  width: var(--tap);
  height: 40px;
  color: var(--ink);
}

.stepper button:disabled {
  cursor: default;
  opacity: 0.35;
}

.stepper__value {
  min-width: 24px;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  color: var(--ink);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}

.delivery-note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Free shipping progress */

.ship-progress {
  flex: none;
  padding: 14px 24px 16px;
  background: var(--linen);
}

.ship-progress__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.ship-progress__track {
  height: 3px;
  margin-top: 10px;
  background: rgba(29, 27, 23, 0.12);
}

.ship-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
  transition: width 500ms var(--ease);
}

.ship-progress.is-complete .ship-progress__bar {
  background: var(--clay);
}

.ship-progress--page {
  max-width: 560px;
  margin-top: 28px;
  padding: 16px 20px;
}

/* Suggestions that close the gap to free shipping */

.suggest {
  margin: 20px 0 8px;
}

.suggest__title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.suggest__list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.suggest__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.suggest__link {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
}

.suggest__link:hover .suggest__name {
  color: var(--clay);
}

.suggest__media {
  width: 52px;
  height: 64px;
}

.suggest__name {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink);
}

.suggest__meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.suggest__add {
  min-height: var(--tap);
  padding: 0 14px;
  border: 0.5px solid var(--ink);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.suggest__add:hover {
  background: var(--ink);
  color: var(--paper);
}

.suggest--page .suggest__list {
  grid-template-columns: repeat(3, 1fr);
}

.empty {
  padding: 88px 0 40px;
  text-align: center;
}

.empty__title {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

/* Cart page */

.cart {
  padding-top: calc(var(--top-h) + 64px);
  padding-bottom: var(--section-space);
}

.page-title--cart {
  font-size: clamp(38px, 4vw, 52px);
}

.cart__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.cart__summary {
  position: sticky;
  top: calc(var(--top-h) + 24px);
  margin-top: 32px;
  padding: 28px;
  background: var(--linen);
}

.cart__summary .btn--solid {
  margin-top: 20px;
}

.gift {
  margin: 0 0 20px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 0.5px solid var(--line-strong);
}

.gift__fields {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.cart__info {
  max-width: 760px;
  margin-top: 88px;
  padding-top: 28px;
  border-top: 0.5px solid var(--line);
}

.cart__info-title {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 900px) {
  .cart {
    padding-top: calc(var(--top-h) + 32px);
  }

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

  .cart__summary {
    position: static;
    padding: 22px;
  }

  .suggest--page .suggest__list {
    grid-template-columns: 1fr;
  }

  .line {
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
  }

  .line__image {
    width: 72px;
    height: 90px;
  }

  .line__name {
    font-size: 19px;
  }
}

/* Cart drawer: a panel from the right, and a full screen sheet on phones. */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(22, 20, 17, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease-out, visibility 0s linear 320ms;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(460px, 100vw);
  background: var(--paper);
  border-left: 0.5px solid var(--line);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 380ms var(--ease), visibility 0s linear 380ms;
}

.drawer:focus {
  outline: none;
}

html.drawer-open .drawer-backdrop {
  opacity: 1;
  visibility: visible;
  transition: opacity 320ms ease-out, visibility 0s;
}

html.drawer-open .drawer {
  transform: none;
  visibility: visible;
  transition: transform 380ms var(--ease), visibility 0s;
}

.drawer__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 14px 0 24px;
  border-bottom: 0.5px solid var(--line);
}

.drawer__title {
  font-size: 28px;
}

.drawer__body {
  flex: 1;
  min-height: 0;
  padding: 0 24px;
  overflow-y: auto;
}

.drawer__foot {
  flex: none;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 0.5px solid var(--line);
}

.drawer__foot .btn {
  margin-top: 16px;
}

.drawer__view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  margin-top: 4px;
  color: var(--muted);
}

.lines--compact {
  margin-top: 0;
  border-top: 0;
}

.lines--compact .line {
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 18px 0;
}

.lines--compact .line__image {
  width: 64px;
  height: 80px;
}

.lines--compact .line__name {
  font-size: 18px;
}

.line.is-new {
  animation: line-in 600ms var(--ease);
}

@keyframes line-in {
  from {
    background: var(--linen);
  }
}

.empty--compact {
  padding: 56px 0;
}

.empty--compact .empty__title {
  font-size: 26px;
}

@media (max-width: 600px) {
  .drawer {
    width: 100vw;
    border-left: 0;
  }
}

/* Search */

.search {
  width: 100vw;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  background: var(--paper);
}

.search__inner {
  padding-block: 20px 40px;
}

.search__form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 0.5px solid var(--ink);
}

.search__input {
  flex: 1;
  min-width: 0;
  min-height: 60px;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
}

.search__input:focus-visible {
  outline: none;
}

.search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search__status {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.search__results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px 24px;
  max-height: 60dvh;
  margin-top: 12px;
  overflow-y: auto;
}

.search__result {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
}

.search__result-media {
  width: 56px;
  height: 70px;
}

.search__result-name {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
}

.search__result-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.search__result:hover .search__result-name,
.search__result:focus-visible .search__result-name {
  color: var(--clay);
}

.search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.search__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0.5px solid var(--line-strong);
  border-radius: 20px;
  font-size: 13px;
}

.search__chips a:hover {
  border-color: var(--ink);
}

.search__suggestions .label {
  margin-top: 24px;
}

/* Email sign up pop up: centered on desktop, a sheet from the bottom on phones. */

.popup {
  width: min(520px, calc(100vw - 32px));
  padding: 48px 44px 36px;
  background: var(--paper);
  box-shadow: 0 30px 60px rgba(22, 20, 17, 0.2);
}

.popup[open] {
  animation: popup-in 400ms var(--ease);
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.popup__close {
  position: absolute;
  top: 6px;
  right: 6px;
  color: var(--ink);
}

.popup .eyebrow {
  margin-bottom: 12px;
}

.popup__title {
  font-size: clamp(34px, 4vw, 44px);
}

.popup__text {
  margin: 12px 0 24px;
  color: var(--muted);
}

.popup__fine {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.popup__fine a {
  text-decoration: underline;
}

.newsletter--popup .newsletter__field,
.newsletter--inline .newsletter__field {
  color: var(--ink);
}

@media (max-width: 600px) {
  .popup {
    width: 100vw;
    max-width: 100vw;
    margin: auto 0 0;
    padding: 40px 20px calc(24px + env(safe-area-inset-bottom));
  }

  .popup[open] {
    animation-name: sheet-in;
  }

  @keyframes sheet-in {
    from {
      transform: translateY(100%);
    }
  }
}

/* About */

.process {
  padding-block: 96px;
  border-top: 0.5px solid var(--line);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.process__steps li {
  padding-top: 18px;
  border-top: 0.5px solid var(--line-strong);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.process__number {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--clay);
}

.process__title {
  margin: 10px 0 8px;
  font-size: 24px;
  font-weight: 400;
}

.values {
  padding-block: 64px;
  border-top: 0.5px solid var(--line);
}

.cta {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding-block: 112px var(--section-space);
  text-align: center;
}

@media (max-width: 900px) {
  .process__steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .process__steps {
    grid-template-columns: 1fr;
  }
}

/* Contact, FAQ and policies */

.contact__line {
  margin-top: 12px;
  color: var(--ink);
}

.contact__line a,
.contact__more a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  margin-top: 48px;
}

.contact__more {
  margin-top: 48px;
  color: var(--muted);
}

.faq .jump {
  margin-top: 40px;
}

.faq-group {
  max-width: 860px;
  margin-bottom: 64px;
}

.faq-group__title {
  font-size: clamp(28px, 2.8vw, 38px);
}

.faq-group .accordion {
  margin-top: 16px;
}

.faq-group .accordion__trigger {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.prose {
  max-width: 720px;
  margin-top: 40px;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 28px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 14px;
}

.prose ul {
  padding-left: 20px;
}

.prose li + li {
  margin-top: 10px;
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Order confirmation and error pages */

.confirmation {
  max-width: 800px;
  padding-top: calc(var(--top-h) + 88px);
  padding-bottom: var(--section-space);
}

.confirmation .page-title {
  font-size: clamp(40px, 5vw, 60px);
}

.confirmation__lead {
  max-width: 60ch;
  margin-top: 20px;
}

.confirmation__number {
  margin-top: 4px;
  font-size: 16px;
  color: var(--clay);
}

.confirmation__gift,
.confirmation__email {
  max-width: 60ch;
  margin-top: 20px;
}

.summary {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 0.5px solid var(--line);
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--line);
}

.summary__name {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.summary__meta {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.summary__row--quiet {
  font-size: 14px;
  color: var(--muted);
}

.summary__row--total {
  border-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}

.confirmation__back {
  margin-top: 48px;
}

@media (max-width: 768px) {
  .confirmation {
    padding-top: calc(var(--top-h) + 40px);
  }
}

/* Reduced motion: no transitions, no animation, no smooth scrolling */

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

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

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Focus rings over the photograph take the header's own light color. */
.has-hero .site-top:not(.is-solid) :focus-visible,
.hero :focus-visible,
.sets-hero :focus-visible,
.collection-hero :focus-visible {
  outline-color: currentColor;
}
