:root {
  --paper: #f1ede6;
  --paper-light: #fbfaf7;
  --paper-deep: #ded5c8;
  --ink: #171713;
  --charcoal: #282822;
  --muted: #68665e;
  --linen: #fffaf2;
  --gold: #a78558;
  --sage: #68715d;
  --sky: #526b7d;
  --wine: #7c4039;
  --line: rgba(23, 23, 19, 0.18);
  --line-light: rgba(255, 250, 242, 0.22);
  --shadow: 0 22px 60px rgba(29, 25, 19, 0.12);
  --serif: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.has-overlay {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 400;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--paper-light);
  color: var(--ink);
  transform: translateY(-150%);
}

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

.wide-container {
  width: min(1380px, calc(100% - 96px));
  margin: 0 auto;
}

.section-pad {
  padding: 128px 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.display {
  margin: 0;
  max-width: 980px;
  font-family: var(--serif);
  font-size: 5.2rem;
  font-weight: 400;
  line-height: 0.98;
}

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  padding: 38px 72px;
  color: var(--linen);
  transition: color 240ms ease, background-color 240ms ease, padding 240ms ease, border-color 240ms ease;
}

.topbar.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.icon-button,
.bag-button,
.close-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
}

.menu-button {
  align-content: center;
  justify-items: start;
  gap: 4px;
}

.menu-button span {
  display: block;
  width: 31px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.bag-button {
  position: relative;
  justify-self: end;
}

.bag-button svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.bag-count {
  position: absolute;
  right: -1px;
  bottom: 2px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border: 1px solid currentColor;
  border-radius: 99px;
  background: var(--paper-light);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
}

.bag-count.is-empty {
  display: none;
}

.brand {
  justify-self: center;
  color: currentColor;
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 24px rgba(35, 25, 17, 0.24);
}

.topbar.is-scrolled .brand {
  font-size: 2rem;
  text-shadow: none;
}

.hero {
  position: relative;
  min-height: 96svh;
  isolation: isolate;
  overflow: hidden;
  background: #d8c5ad;
  color: var(--linen);
}

.hero-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.92) contrast(0.98) brightness(0.86) sepia(0.08);
}

.hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 22, 17, 0.22) 0%, rgba(70, 49, 34, 0.08) 44%, rgba(26, 20, 15, 0.32) 100%),
    linear-gradient(90deg, rgba(30, 22, 16, 0.18), rgba(255, 255, 255, 0.02) 42%, rgba(34, 25, 18, 0.2));
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(94%, 1480px);
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: rgba(255, 250, 242, 0.9);
  font-family: "Segoe UI Light", "Helvetica Neue UltraLight", "HelveticaNeue-UltraLight", "Avenir Next Ultra Light", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 9rem;
  font-weight: 100;
  line-height: 0.9;
  white-space: nowrap;
  text-shadow: 0 6px 24px rgba(37, 26, 18, 0.18);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 64px;
  align-items: center;
  padding: 0 48px;
  background: var(--ink);
  color: var(--linen);
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.service-strip span + span {
  border-left: 1px solid var(--line-light);
}

.intro {
  background: var(--paper-light);
  padding-top: 92px;
  padding-bottom: 92px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 2.42fr);
  gap: 64px;
  align-items: start;
}

.intro-grid > .eyebrow {
  padding-top: 10px;
}

.intro .display {
  max-width: 880px;
  font-size: 4.45rem;
  line-height: 0.98;
}

.intro-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(470px, 1.18fr);
  gap: 56px;
  align-items: stretch;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.intro-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.intro-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.journey-block {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: space-between;
  padding: 20px 52px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-light);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.journey-block:hover,
.journey-block:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--linen);
}

.journey-block-label {
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

.journey-block strong {
  max-width: 190px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.02;
}

.journey-block-arrow {
  position: absolute;
  right: 19px;
  bottom: 17px;
  font-size: 1.15rem;
}

#ready-made,
#shemagh-shop {
  scroll-margin-top: 76px;
}

.text-link,
.text-button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  font-weight: 650;
  text-decoration: none;
}

.collection {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.6fr 0.65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 68px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 760px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.collection-media {
  position: relative;
  min-height: 760px;
  margin: 0;
  overflow: hidden;
  background: #bda487;
}

.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
  filter: saturate(0.9) contrast(0.98);
  transition: transform 700ms ease, object-position 500ms ease;
}

.collection-media:hover img {
  transform: scale(1.015);
}

.collection-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(23, 23, 19, 0.82);
  color: var(--linen);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.style-browser {
  display: grid;
  grid-template-rows: auto 1fr;
  border-left: 1px solid var(--line);
}

.style-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.style-row {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}

.style-row:nth-child(3n) {
  border-right: 0;
}

.style-row:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.style-row:hover,
.style-row.is-selected {
  background: var(--ink);
  color: var(--linen);
}

.style-row span:first-child {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.style-row span:last-child {
  font-size: 0.7rem;
}

.style-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.style-detail h3 {
  margin: 16px 0 22px;
  font-family: var(--serif);
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 0.95;
}

.style-detail > p:not(.eyebrow) {
  max-width: 470px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.primary-button,
.secondary-button,
.light-button,
.outline-light-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 20px;
  border-radius: 2px;
  font-weight: 650;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.primary-button {
  width: fit-content;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--linen);
}

.secondary-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.light-button {
  border: 1px solid var(--linen);
  background: var(--linen);
  color: var(--ink);
}

.outline-light-button {
  border: 1px solid rgba(255, 250, 242, 0.54);
  background: transparent;
  color: var(--linen);
}

.primary-button:hover,
.secondary-button:hover,
.light-button:hover,
.outline-light-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  background: var(--sky);
  border-color: var(--sky);
}

.full-button {
  width: 100%;
}

.shemagh-section {
  background: var(--charcoal);
  color: var(--linen);
}

.shemagh-image-wrap {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 620px;
  overflow: hidden;
  background: #71604e;
}

.shemagh-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shemagh-order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  width: min(1380px, calc(100% - 96px));
  margin: 0 auto;
  padding: 76px 0 84px;
}

.shemagh-order .display {
  max-width: 560px;
  margin-top: 16px;
  font-size: 4rem;
}

.shemagh-form > p {
  max-width: 630px;
  margin: 0 0 32px;
  color: rgba(255, 250, 242, 0.68);
  line-height: 1.75;
}

.choice-group legend {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.shemagh-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: max-content;
  gap: 8px;
  align-content: start;
}

.shemagh-option {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 250, 242, 0.76);
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.shemagh-option:hover,
.shemagh-option.is-selected {
  border-color: rgba(255, 250, 242, 0.72);
  background: rgba(255, 250, 242, 0.08);
  color: var(--linen);
}

.shemagh-option.is-selected {
  border-color: var(--gold);
}

.shemagh-option.is-unavailable,
.style-product.is-unavailable,
.option-button.is-unavailable {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.5;
}

.shemagh-option.is-unavailable:hover,
.style-product.is-unavailable:hover,
.option-button.is-unavailable:hover {
  transform: none;
}

.managed-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 250, 242, 0.62);
  font-family: var(--serif);
  font-size: 2.4rem;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.shemagh-option-photo {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #5b5148;
}

.shemagh-option-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 10, 0.28), transparent 42%);
  content: "";
  pointer-events: none;
}

.shemagh-option-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.shemagh-option:hover img,
.shemagh-option.is-selected img {
  transform: scale(1.035);
}

.shemagh-option-code,
.shemagh-option-check {
  position: absolute;
  z-index: 1;
  top: 8px;
  display: grid;
  min-height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(17, 17, 14, 0.66);
  color: var(--linen);
  font-size: 0.58rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.shemagh-option-code {
  left: 8px;
  padding: 0 8px;
}

.shemagh-option-check {
  right: 8px;
  width: 24px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 180ms ease, transform 180ms ease;
}

.shemagh-option.is-selected .shemagh-option-check {
  opacity: 1;
  transform: scale(1);
}

.shemagh-option-name {
  display: block;
  min-height: 54px;
  padding: 11px 12px;
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.25;
}

.shemagh-option-name small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.61rem;
  font-weight: 500;
}

.shemagh-purchase-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 24px;
}

.shemagh-purchase-row label {
  display: grid;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
}

.shemagh-purchase-row .light-button {
  width: 100%;
}

.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.inline-fields label,
.form-grid label,
.modal-shell > label,
.measurement-field label {
  display: grid;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
}

.inline-fields label span {
  color: rgba(255, 250, 242, 0.5);
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: 0;
  background: var(--paper-light);
}

textarea {
  resize: vertical;
}

.shemagh-form input,
.shemagh-form select {
  border-color: var(--line-light);
  background: #171713;
  color: var(--linen);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(82, 107, 125, 0.16);
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.86rem;
}

.check-row input {
  width: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: var(--gold);
}

.studio {
  background: var(--paper-deep);
}

.studio-heading {
  margin-bottom: 46px;
}

.studio-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  height: 4px;
  margin-bottom: 32px;
}

.progress-segment {
  height: 4px;
  background: rgba(23, 23, 19, 0.17);
  transition: background-color 180ms ease;
}

.progress-segment.is-active {
  background: var(--sky);
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

.studio-workspace,
.order-summary {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(251, 250, 247, 0.78);
}

.studio-workspace {
  min-height: 690px;
  padding: 44px;
}

.studio-stage-heading {
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 24px;
  align-items: baseline;
  margin-bottom: 36px;
}

.stage-count {
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
}

.studio-stage-heading h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
}

.studio-stage-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.studio-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.option-button {
  position: relative;
  display: grid;
  min-height: 128px;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease;
  user-select: none;
}

.option-button:hover,
.option-button.is-selected {
  background: var(--ink);
  color: var(--linen);
}

.option-number {
  color: currentColor;
  font-size: 0.7rem;
  opacity: 0.6;
}

.option-copy {
  min-width: 0;
}

.option-copy strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.1;
}

.option-copy small {
  display: block;
  color: currentColor;
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.63;
}

.option-price {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.option-button.has-swatch {
  grid-template-columns: 32px 1fr;
}

.option-button .option-swatch {
  margin-top: 2px;
  border-color: rgba(23, 23, 19, 0.24);
}

.option-button.is-selected .option-swatch {
  border-color: rgba(255, 250, 242, 0.5);
}

.measurement-tools {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 4px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.measurement-tools p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.unit-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 220px;
  border: 1px solid var(--line);
}

.unit-toggle button {
  min-height: 38px;
  border: 0;
  background: transparent;
  font-size: 0.78rem;
}

.unit-toggle button.is-selected {
  background: var(--ink);
  color: var(--linen);
}

.measurement-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.measurement-field {
  padding: 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.measurement-field:nth-child(2n) {
  border-right: 0;
}

.measurement-field label span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.measure-help {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 30px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--sky);
  font-size: 0.69rem;
  text-decoration: none;
  white-space: nowrap;
}

.measurement-field input.is-invalid {
  border-color: var(--wine);
}

.notes-field {
  grid-column: 1 / -1;
  padding: 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-error {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--wine);
  font-size: 0.82rem;
}

.studio-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.order-summary {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.summary-image {
  position: relative;
  height: 315px;
  overflow: hidden;
  background: #a98d6d;
}

.summary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
  filter: saturate(0.84) brightness(0.86);
}

.summary-colour {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: #f4f0e7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  padding: 26px 26px 20px;
}

.summary-header h3 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
}

.summary-price {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.summary-list {
  margin: 0;
  padding: 0 26px;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

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

.summary-list dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
}

.summary-note {
  margin: 0;
  padding: 20px 26px 26px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.process {
  background: var(--paper-light);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 330px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 100px;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 700;
}

.process-list h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.story {
  padding: 132px 0;
  background: #233038;
  color: var(--linen);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

.story .display {
  max-width: 600px;
  margin-top: 20px;
}

.story blockquote {
  margin: 0 0 38px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 250, 242, 0.5);
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1.25;
}

.story blockquote + p {
  margin: 0 0 34px;
  color: rgba(255, 250, 242, 0.66);
  line-height: 1.75;
}

.contact-band {
  padding: 68px 0;
  background: var(--sage);
  color: var(--linen);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr auto;
  gap: 48px;
  align-items: center;
}

.contact-grid h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
}

.footer {
  padding: 88px 0 28px;
  background: var(--ink);
  color: var(--linen);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 72px;
}

.footer-brand > a {
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-brand p {
  max-width: 380px;
  margin: 20px 0 0;
  color: rgba(255, 250, 242, 0.55);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-label {
  margin: 0 0 18px;
  color: rgba(255, 250, 242, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer nav,
.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer nav a,
.footer-grid > div:not(.footer-brand) a,
.footer-link,
.footer-grid > div:not(.footer-brand) > p:not(.footer-label) {
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-link {
  min-height: 30px;
}

.footer a:hover,
.footer-link:hover {
  color: var(--linen);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 250, 242, 0.38);
  font-size: 0.72rem;
}

.drawer-backdrop {
  position: fixed;
  z-index: 180;
  inset: 0;
  background: rgba(16, 16, 13, 0.56);
  opacity: 0;
  transition: opacity 240ms ease;
  backdrop-filter: blur(4px);
}

.drawer-backdrop.is-visible {
  opacity: 1;
}

.drawer {
  position: fixed;
  z-index: 190;
  top: 0;
  bottom: 0;
  width: min(520px, 100%);
  padding: 28px;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 300ms ease;
}

.menu-drawer {
  left: 0;
  display: flex;
  flex-direction: column;
  transform: translateX(-104%);
}

.bag-drawer {
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(104%);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.close-button {
  font-size: 2rem;
  font-weight: 200;
  line-height: 1;
}

.menu-links {
  display: grid;
  margin: auto 0;
}

.menu-links a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1.05;
  text-decoration: none;
}

.menu-links a span {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
}

.drawer-consultation {
  align-self: flex-start;
  padding: 10px 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-weight: 650;
}

.bag-items {
  overflow-y: auto;
  padding: 14px 0;
}

.bag-empty {
  display: grid;
  min-height: 60vh;
  place-items: center;
  text-align: center;
}

.bag-empty div {
  max-width: 270px;
}

.bag-empty h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
}

.bag-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.bag-item-image {
  width: 80px;
  height: 100px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-deep);
}

.bag-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bag-item-image.shemagh img {
  object-position: 48% center;
}

.bag-item-image.abstract {
  display: grid;
  place-items: center;
  background: var(--slot, #596f7c);
  color: var(--linen);
}

.bag-item-image.abstract span {
  font-family: var(--serif);
  font-size: 1.7rem;
  opacity: 0.55;
}

.bag-item h3 {
  margin: 2px 0 6px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.bag-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.bag-item strong {
  font-size: 0.82rem;
}

.remove-item {
  align-self: start;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
}

.bag-footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.bag-footer.is-hidden {
  display: none;
}

.bag-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.bag-total strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.bag-footer > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.modal {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 6px;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.32);
}

.modal::backdrop {
  background: rgba(17, 17, 14, 0.68);
  backdrop-filter: blur(6px);
}

.modal-shell {
  padding: 34px;
}

.modal-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.modal-heading h2 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
}

.dark-close {
  color: var(--ink);
}

.modal-intro {
  max-width: 580px;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.modal-shell > label {
  margin-bottom: 22px;
}

.toast {
  position: fixed;
  z-index: 350;
  bottom: 24px;
  left: 50%;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--linen);
  font-size: 0.82rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1400px) {
  .hero h1 {
    font-size: 7.7rem;
  }

  .brand {
    font-size: 2.35rem;
  }

  .collection-layout,
  .collection-media {
    min-height: 680px;
  }

  .style-detail {
    padding: 44px;
  }

  .style-detail h3 {
    font-size: 4.2rem;
  }
}

@media (max-width: 1120px) {
  .wide-container,
  .shemagh-order {
    width: min(100% - 56px, 1380px);
  }

  .section-pad {
    padding: 100px 0;
  }

  .display {
    font-size: 4.2rem;
  }

  .hero h1 {
    font-size: 6.2rem;
  }

  .topbar {
    padding: 30px 38px;
  }

  .collection-layout {
    grid-template-columns: 1fr;
  }

  .collection-media {
    min-height: 700px;
  }

  .style-browser {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .style-detail {
    min-height: 420px;
  }

  .shemagh-order {
    gap: 68px;
  }

  .studio-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
    display: grid;
    grid-template-columns: 310px 1fr;
  }

  .summary-image {
    grid-row: 1 / span 3;
    height: 100%;
    min-height: 330px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list span {
    margin-bottom: 62px;
  }

  .story-grid {
    gap: 70px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.4fr;
  }

  .contact-grid .text-button {
    grid-column: 2;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .wide-container,
  .shemagh-order {
    width: min(100% - 28px, 1380px);
  }

  .section-pad {
    padding: 82px 0;
  }

  .display {
    font-size: 3.2rem;
  }

  .topbar {
    grid-template-columns: 44px 1fr 44px;
    padding: 19px 17px;
  }

  .topbar.is-scrolled {
    padding: 10px 14px;
  }

  .icon-button,
  .bag-button {
    width: 42px;
    height: 42px;
  }

  .menu-button span {
    width: 27px;
  }

  .bag-button svg {
    width: 30px;
    height: 30px;
  }

  .brand,
  .topbar.is-scrolled .brand {
    font-size: 1.36rem;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-image {
    object-position: center 47%;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .service-strip {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 58px;
    padding: 0 18px;
  }

  .service-strip span {
    display: none;
  }

  .service-strip span:first-child {
    display: block;
  }

  .intro-grid,
  .section-heading,
  .shemagh-order,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro-grid > .eyebrow {
    padding-top: 0;
  }

  .intro-copy {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .intro-actions {
    justify-content: flex-start;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .collection-media {
    min-height: 620px;
  }

  .style-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .style-row:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .style-row:nth-child(2n) {
    border-right: 0;
  }

  .style-row:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .style-row:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .style-detail {
    min-height: 390px;
    padding: 36px 24px;
  }

  .style-detail h3 {
    font-size: 3.5rem;
  }

  .shemagh-image-wrap {
    height: 58vh;
    min-height: 460px;
  }

  .shemagh-image-wrap img {
    object-position: 47% center;
  }

  .shemagh-order {
    padding: 72px 0 80px;
  }

  .shemagh-order .display {
    font-size: 3.2rem;
  }

  .shemagh-swatches {
    grid-template-columns: repeat(2, 1fr);
  }

  .inline-fields,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .studio-workspace {
    min-height: 0;
    padding: 24px 18px;
  }

  .studio-stage-heading {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .stage-count {
    grid-row: auto;
  }

  .studio-stage-heading h3 {
    font-size: 2.25rem;
  }

  .studio-options,
  .measurement-grid {
    grid-template-columns: 1fr;
  }

  .option-button {
    min-height: 110px;
  }

  .measurement-tools {
    display: grid;
  }

  .unit-toggle {
    width: 100%;
  }

  .measurement-field,
  .measurement-field:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .order-summary {
    display: block;
  }

  .summary-image {
    height: 300px;
    min-height: 0;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 260px;
  }

  .process-list span {
    margin-bottom: 50px;
  }

  .story {
    padding: 86px 0;
  }

  .story blockquote {
    font-size: 1.8rem;
  }

  .contact-grid .text-button {
    grid-column: auto;
  }

  .contact-grid h2 {
    font-size: 2.35rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
  }

  .menu-links a {
    font-size: 2.4rem;
  }

  .modal-shell {
    padding: 24px 18px;
  }

  .modal-heading h2 {
    font-size: 2.2rem;
  }

}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.45rem;
  }

  .brand,
  .topbar.is-scrolled .brand {
    font-size: 1.18rem;
  }

  .display,
  .shemagh-order .display {
    font-size: 2.65rem;
  }

  .collection-media {
    min-height: 520px;
  }

  .style-list {
    grid-template-columns: 1fr;
  }

  .style-row,
  .style-row:nth-child(2n),
  .style-row:nth-child(3n),
  .style-row:nth-last-child(-n + 2),
  .style-row:nth-last-child(-n + 3) {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .style-row:last-child {
    border-bottom: 0;
  }

  .style-detail h3 {
    font-size: 3rem;
  }

  .shemagh-image-wrap {
    min-height: 380px;
  }

  .studio-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .studio-navigation .primary-button,
  .studio-navigation .secondary-button {
    width: 100%;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .drawer {
    padding: 22px 18px;
  }

  .menu-links a {
    font-size: 2.15rem;
  }

  .bag-item {
    grid-template-columns: 68px 1fr auto;
    gap: 12px;
  }

  .bag-item-image {
    width: 68px;
    height: 88px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.05rem;
  }

  .brand,
  .topbar.is-scrolled .brand {
    font-size: 1.04rem;
  }

  .topbar {
    padding-right: 10px;
    padding-left: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Revised collection and commerce flow */
.style-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.style-product,
.ready-product {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--slot, #847a6e);
  color: var(--linen);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.style-product:hover,
.ready-product:hover {
  transform: translateY(-3px);
}

.style-product.is-selected,
.ready-product.is-selected {
  border-color: var(--sky);
  box-shadow: 0 0 0 2px var(--sky);
}

.style-photo-slot,
.ready-photo-slot {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 5;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--slot, #847a6e);
}

.style-photo-slot {
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
}

.style-photo-slot::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.05), transparent 46%, rgba(15, 15, 15, 0.64));
  content: "";
  pointer-events: none;
}

.style-photo-slot::after {
  z-index: 3;
}

.style-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 380ms ease, transform 600ms ease;
}

.style-image-alternate {
  opacity: 0;
}

@media (hover: hover) {
  .style-product:hover .style-image-primary {
    transform: scale(1.025);
  }

  .style-product.has-alternate:hover .style-image-primary {
    opacity: 0;
  }

  .style-product.has-alternate:hover .style-image-alternate {
    opacity: 1;
    transform: scale(1.025);
  }
}

.style-photo-slot .slot-code {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
}

.style-photo-slot .slot-subject {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.style-photo-slot .slot-subject small {
  max-width: 290px;
  color: rgba(255, 250, 242, 0.82);
}

.style-photo-slot::after,
.ready-photo-slot::after,
.option-photo-slot::after,
.media-placeholder::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 250, 242, 0.3);
  content: "";
  pointer-events: none;
}

.slot-code {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.slot-monogram {
  position: relative;
  z-index: 1;
  align-self: center;
  font-family: var(--serif);
  font-size: 4.8rem;
  font-weight: 400;
  opacity: 0.24;
}

.slot-subject {
  position: relative;
  z-index: 1;
}

.slot-subject strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
}

.slot-subject small {
  display: block;
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.75rem;
  line-height: 1.45;
}

.style-product.is-selected .slot-code::after,
.ready-product.is-selected .slot-code::after {
  margin-left: 10px;
  content: "Selected";
  color: var(--linen);
}

.option-button.style-option {
  min-height: 142px;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
}

.style-option-thumb {
  display: block;
  min-height: 142px;
  overflow: hidden;
  background: var(--paper-deep);
}

.style-option-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 360ms ease;
}

.option-button.style-option:hover .style-option-thumb img,
.option-button.style-option.is-selected .style-option-thumb img {
  transform: scale(1.035);
}

.option-button.style-option .option-number {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  min-width: 26px;
  padding: 5px 7px;
  background: rgba(18, 19, 17, 0.68);
  color: var(--linen);
  text-align: center;
}

.option-button.style-option .option-copy {
  align-self: center;
  padding: 20px;
}

.collection-action {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.collection-selection {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1;
}

.shemagh-artwork {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #4d3b2e;
}

.shemagh-artwork img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.option-button.with-photo {
  display: block;
  min-height: 0;
  padding: 0;
}

.studio-options.is-fabric {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-photo-slot {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--slot, #81786d);
  color: var(--linen);
}

.option-photo-slot::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 17, 15, 0.25), transparent 38%);
  content: "";
  pointer-events: none;
}

.option-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.option-button.with-photo:hover .option-photo-slot img,
.option-button.with-photo.is-selected .option-photo-slot img {
  transform: scale(1.025);
}

.fabric-card-topline {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fabric-code,
.fabric-selected {
  display: grid;
  min-width: 34px;
  min-height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(18, 19, 17, 0.66);
  color: #fffaf2;
  font-size: 0.65rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.fabric-code {
  padding: 0 10px;
}

.fabric-selected {
  width: 28px;
  min-width: 28px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 180ms ease, transform 180ms ease;
}

.option-button.with-photo.is-selected .fabric-selected {
  opacity: 1;
  transform: scale(1);
}

.option-button.with-photo .option-copy {
  display: block;
  padding: 16px 18px 18px;
  background: rgba(251, 250, 247, 0.88);
  color: var(--ink);
}

.option-button.with-photo:hover .option-copy,
.option-button.with-photo.is-selected .option-copy {
  background: var(--ink);
  color: var(--linen);
}

.fabric-name-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.fabric-name-row strong {
  margin: 0;
}

.fabric-price {
  flex: 0 0 auto;
  padding-top: 2px;
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}

.option-button.with-photo .option-copy small {
  margin-top: 10px;
}

.customization-list {
  border-top: 1px solid var(--line);
}

.customization-lock {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #eceae5;
}

.customization-lock > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #9a9a94;
  border-radius: 50%;
  color: #6d706b;
  font-size: 0.82rem;
}

.customization-lock .eyebrow {
  margin-bottom: 8px;
  color: #777a74;
}

.customization-lock h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.12;
}

.customization-lock p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.customization-list.is-locked {
  opacity: 0.34;
  filter: grayscale(1);
  pointer-events: none;
  user-select: none;
}

.customization-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.customization-label strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.customization-label small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.segmented-control {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  border: 1px solid var(--line);
}

.segment-button {
  min-height: 46px;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper-light);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  touch-action: manipulation;
  transition: background-color 160ms ease, color 160ms ease;
  user-select: none;
}

.segment-button:last-child {
  border-right: 0;
}

.segment-button:hover,
.segment-button.is-selected {
  background: var(--ink);
  color: var(--linen);
}

.customization-row.is-disabled {
  opacity: 0.4;
}

.customization-row.is-disabled .segment-button {
  cursor: not-allowed;
}

.summary-visual {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #556b78;
  background-position: center;
  background-size: cover;
  color: var(--linen);
  text-align: center;
}

.summary-visual > span {
  font-family: var(--serif);
  font-size: 5rem;
  opacity: 0.18;
}

.summary-visual p {
  margin: 10px 0 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.summary-visual strong {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}

.summary-visual small {
  margin-top: 12px;
  color: rgba(255, 250, 242, 0.7);
}

.ready-made {
  background: var(--paper-light);
}

.ready-flow {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.ready-flow-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
  padding: 30px 32px;
  border-bottom: 1px solid var(--line);
}

.ready-flow-heading h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
}

.ready-flow-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.ready-style-step,
.ready-size-step {
  padding: 32px;
}

.ready-style-grid {
  height: min(62vh, 650px);
  min-height: 430px;
}

.ready-size-panel {
  display: grid;
  grid-template-columns: 0.65fr 1.4fr 0.55fr;
  gap: 24px;
  align-items: end;
}

.ready-size-panel > label,
.ready-fit-fieldset legend {
  display: grid;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ready-size-panel select {
  min-height: 50px;
}

.fit-options {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
}

.fit-button {
  min-width: 0;
  min-height: 48px;
  padding: 7px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper-light);
  font-size: 0.72rem;
  font-weight: 700;
}

.fit-button:last-child {
  border-right: 0;
}

.fit-button.is-selected {
  background: var(--ink);
  color: var(--linen);
}

.ready-flow-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ready-flow-actions-single {
  justify-content: flex-end;
}

.ready-fabric-step {
  padding: 0 32px 32px;
}

.ready-selection-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr)) auto;
  gap: 16px;
  align-items: center;
  margin: 0 -32px 30px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: #eeece7;
}

.ready-selection-bar > div {
  display: grid;
  gap: 4px;
}

.ready-selection-bar span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ready-selection-bar strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.ready-selection-bar .text-link {
  justify-self: end;
}

.ready-fabric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.atelier-story {
  position: relative;
  background: #e4e1db;
}

.section-anchor {
  position: absolute;
  top: -72px;
}

.atelier-story-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.7fr);
  gap: 90px;
  align-items: start;
  margin-bottom: 64px;
}

.atelier-story-intro .display {
  max-width: 900px;
  margin-top: 20px;
  font-size: 4.7rem;
}

.atelier-story-copy {
  padding-top: 34px;
}

.atelier-story-copy p {
  margin: 0 0 20px;
  color: #555650;
  line-height: 1.78;
}

.atelier-story-copy .primary-button {
  margin-top: 16px;
}

.atelier-photo-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 176px;
  gap: 12px;
}

.atelier-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #6d706d;
}

.atelier-photo-stitch {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
}

.atelier-photo-construction {
  grid-column: 7 / 13;
  grid-row: 1 / 5;
}

.atelier-photo-cutting {
  grid-column: 1 / 4;
  grid-row: 3 / 5;
}

.atelier-photo-measuring {
  grid-column: 4 / 7;
  grid-row: 3 / 5;
}

.atelier-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.atelier-photo-stitch img {
  object-position: center 56%;
}

.atelier-photo-construction img {
  object-position: center 50%;
}

.atelier-photo-cutting img {
  object-position: center 42%;
}

.atelier-photo-measuring img {
  object-position: center 52%;
}

.atelier-photo:hover img {
  transform: scale(1.018);
}

.atelier-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(14, 15, 13, 0.64));
  content: "";
  pointer-events: none;
}

.atelier-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--linen);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.atelier-photo figcaption span {
  color: rgba(255, 250, 242, 0.58);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.atelier-story-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.atelier-story-notes article {
  min-height: 210px;
  padding: 28px 32px 34px 0;
}

.atelier-story-notes article + article {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.atelier-story-notes span {
  display: block;
  margin-bottom: 36px;
  color: var(--sky);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.atelier-story-notes h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.atelier-story-notes p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.instagram-section {
  background: var(--ink);
  color: var(--linen);
}

.instagram-heading {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.instagram-heading .display {
  max-width: 850px;
  margin-top: 18px;
}

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

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 13.5;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: #24241f;
}

.reel-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  overflow: hidden;
  overscroll-behavior: none;
}

.reel-fallback {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #2b302c;
  text-align: center;
}

.reel-fallback strong {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.15;
}

.reel-fallback span {
  margin-top: 12px;
  color: rgba(255, 250, 242, 0.55);
  font-size: 0.72rem;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .studio-options.is-fabric {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .style-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ready-flow-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ready-size-panel {
    grid-template-columns: 1fr 1fr;
  }

  .ready-fit-fieldset {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ready-fabric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-editorial li {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 34px;
  }

  .process-check {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .studio-options.is-fabric {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .style-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .process-media-slots,
  .reels-grid {
    grid-template-columns: 1fr;
  }

  .style-photo-slot {
    aspect-ratio: 4 / 5;
  }

  .style-photo-slot .slot-code {
    top: 14px;
    left: 14px;
  }

  .style-photo-slot .slot-subject {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .slot-subject strong {
    font-size: 1.35rem;
  }

  .slot-subject small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.63rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .studio-options.is-fabric,
  .ready-fabric-grid {
    gap: 8px;
  }

  .option-button.with-photo .option-copy {
    padding: 12px;
  }

  .option-button.with-photo .option-copy strong {
    font-size: 1rem;
  }

  .slot-monogram {
    font-size: 3.8rem;
  }

  .collection-action {
    display: grid;
  }

  .collection-action .primary-button {
    width: 100%;
  }

  .shemagh-artwork img {
    min-height: 0;
  }

  .customization-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .segmented-control {
    grid-auto-flow: row;
  }

  .segment-button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .segment-button:last-child {
    border-bottom: 0;
  }

  .summary-visual {
    min-height: 250px;
  }

  .ready-flow-heading,
  .ready-style-step,
  .ready-size-step {
    padding: 24px 20px;
  }

  .ready-fabric-step {
    padding: 0 20px 24px;
  }

  .ready-size-panel {
    grid-template-columns: 1fr;
  }

  .ready-fit-fieldset {
    grid-column: auto;
    grid-row: auto;
  }

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

  .fit-button:nth-child(3) {
    border-right: 0;
  }

  .fit-button:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .ready-flow-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ready-flow-actions .primary-button,
  .ready-flow-actions .secondary-button {
    width: 100%;
  }

  .ready-selection-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 -20px 24px;
    padding: 16px 20px;
  }

  .ready-selection-bar .text-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .ready-fabric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customization-lock {
    grid-template-columns: 1fr;
  }

  .process-editorial li {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 0;
  }

  .process-index {
    justify-content: flex-start;
  }

  .process-check {
    grid-column: auto;
  }

  .process-main h3 {
    font-size: 1.85rem;
  }

  .media-placeholder {
    min-height: 260px;
  }

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

  .reel-frame {
    aspect-ratio: 9 / 15.5;
  }
}

@media (max-width: 420px) {
  .option-photo-slot {
    aspect-ratio: 4 / 3;
  }

  .fit-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .fit-button:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .fit-button:nth-child(2n) {
    border-right: 0;
  }

  .fit-button:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }
}

/* Compact bespoke configurator */
.studio-workspace {
  min-height: 0;
  padding: 36px;
}

.studio-options {
  height: min(58vh, 560px);
  min-height: 430px;
  grid-auto-rows: max-content;
  align-content: start;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--muted) transparent;
  scrollbar-gutter: stable;
}

.studio-options.is-style {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-options.is-style .style-option {
  display: block;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.studio-options.is-style .style-option-thumb {
  min-height: 0;
  aspect-ratio: 5 / 4;
}

.studio-options.is-style .style-option .option-copy {
  display: block;
  padding: 16px;
}

.studio-options.is-fabric .option-button.with-photo,
.ready-fabric-grid .option-button.with-photo {
  height: auto;
  min-height: 0;
}

.studio-options.is-fabric .option-photo-slot,
.ready-fabric-grid .option-photo-slot {
  aspect-ratio: 16 / 10;
}

.studio-options.is-measurements .measurement-tools {
  position: sticky;
  z-index: 4;
  top: 0;
  background: var(--paper);
}

.summary-visual {
  min-height: 220px;
}

@media (max-width: 760px) {
  .intro {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .intro .display {
    font-size: 3.2rem;
  }

  .intro-copy {
    gap: 24px;
    margin-top: 30px;
    padding-top: 22px;
  }

  .intro-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .intro-actions .journey-block:last-child {
    grid-column: 1 / -1;
  }

  .journey-block {
    min-height: 116px;
    padding: 16px 38px 16px 14px;
  }

  .journey-block strong {
    font-size: 1.2rem;
  }

  .journey-block-arrow {
    right: 14px;
    bottom: 13px;
  }

  .studio {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .studio-heading {
    margin-bottom: 28px;
  }

  .studio-workspace {
    padding: 22px 14px 16px;
  }

  .studio-options {
    height: min(61vh, 520px);
    min-height: 420px;
  }

  .studio-options.is-style {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-options.is-style .style-option .option-copy {
    padding: 12px;
  }

  .studio-options.is-style .style-option-thumb {
    aspect-ratio: 4 / 3;
  }

  .studio-options.is-fabric .option-photo-slot,
  .ready-fabric-grid .option-photo-slot {
    aspect-ratio: 4 / 3;
  }

  .studio-options.is-style .style-option .option-copy strong {
    font-size: 1.05rem;
  }

  .studio-options.is-style .style-option .option-copy small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.67rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .studio-options.is-style .style-option .option-number {
    top: 8px;
    left: 8px;
  }

  .studio-navigation {
    position: relative;
    z-index: 5;
    margin-top: 14px;
  }

  .order-summary {
    display: none;
  }
}

@media (max-width: 1120px) {
  .atelier-story-intro {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 54px;
  }

  .atelier-story-intro .display {
    font-size: 4rem;
  }

  .atelier-photo-mosaic {
    grid-auto-rows: 148px;
  }

  .atelier-story-notes article {
    padding-right: 22px;
  }

  .atelier-story-notes article + article {
    padding-left: 22px;
  }
}

@media (max-width: 760px) {
  .shemagh-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shemagh-purchase-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .atelier-story-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 44px;
  }

  .atelier-story-intro .display {
    font-size: 3.15rem;
  }

  .atelier-story-copy {
    padding-top: 0;
  }

  .atelier-story-copy .primary-button {
    width: 100%;
  }

  .atelier-photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 8px;
  }

  .atelier-photo {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .atelier-photo-stitch,
  .atelier-photo-measuring {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .atelier-photo figcaption {
    right: 12px;
    bottom: 11px;
    left: 12px;
    font-size: 0.6rem;
  }

  .atelier-story-notes {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .atelier-story-notes article {
    min-height: 0;
    padding: 26px 0;
  }

  .atelier-story-notes article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .atelier-story-notes span {
    margin-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .shemagh-option-name {
    min-height: 48px;
    padding: 10px;
    font-size: 0.66rem;
  }

  .shemagh-purchase-row {
    grid-template-columns: 1fr;
  }
}
