:root {
  --color-bg: #faf9f7;
  --color-banner: #907d6f;
  --color-banner-text: #faf9f7;
  --color-text: #2c2a28;
  --color-muted: #6b6560;
  --color-surface: #ffffff;
  --color-border: #e4dfd8;
  --color-gold: #AE9065;
  --color-mali: #f4f0e6;
  --color-chestnut: #6b3e2e;
  --color-charcoal: #2c2a28;
  --color-brown: #5B1E00;
  --font-family: "Times New Roman", Times, serif;
  --font-secondary: "Cormorant Garamond", "Times New Roman", Times, serif; 
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --nav-height: 5.1rem;
  --banner-z: 100;
  --banner-height: 1.85rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top promotional banner */
.top-banner {
  top: 0;
  z-index: var(--banner-z);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
  padding: 0.3rem var(--space-xl);
  background-color: var(--color-banner);
  color: var(--color-banner-text);
  font-size: clamp(0.5125rem, 1.02vw, 0.8125rem);
}

.top-banner__promo {
  grid-column: 2;
  text-align: center;
  min-width: 0;
}

.top-banner__currency {
  grid-column: 3;
  text-align: right;
  justify-self: end;
}

/* Main navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg);
  opacity: 1;
  transition: none;
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.site-header.is-revealing {
  transition: opacity 0.3s ease;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  padding: 0 var(--space-xl);
}

.main-nav__left,
.main-nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  z-index: 3;
}

.main-nav__right {
  justify-content: flex-end;
}

.main-nav__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  line-height: 0;
  z-index: 2;
}

.main-nav__logo img {
  display: block;
  height: 3.5rem;
  width: auto;
}

.nav-toggle,
.mega-menu-back {
  display: none;
}

.nav-item > a {
  font-size: clamp(0.75rem, 2vw, 1rem); 
  font-style: italic;
  letter-spacing: 0.06em;
  transition: opacity 0.2s ease;
  color: #6b3e2e;
}

.nav-item > a:hover,
.nav-item > a.active {
  opacity: 0.65;
}

.nav-item > a.active {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

/* Collection mega menu */
.has-dropdown {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  min-height: 50vh;
  padding: 1.25rem var(--space-xl);
  background-color: #f9f7f4;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 28px rgba(44, 42, 40, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  transition-delay: 0.1s;
}

.has-dropdown > a {
  position: relative;
  z-index: 101;
  cursor: pointer;
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 10%;
  height: var(--nav-height);
}

.has-dropdown:hover .mega-menu,
.has-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 40%;
  padding-right: var(--space-xl);
  cursor: pointer;
}

.mega-menu-links a {
  display: block;
  font-size: clamp(0.8rem, 2vw, 1rem); 
  font-family: var(--font-secondary);
  letter-spacing: 0.06em;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.mega-menu-links a:hover {
  opacity: 0.65;
}

.mega-menu-featured {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 0.75rem;
  width: 60%;
  min-height: 100%;
}

.mega-menu-featured__image {
  display: block;
  height: calc(45vh - 5rem);
  width: 12rem;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  height: calc(100dvh - var(--banner-height) - var(--nav-height));
  min-height: 24rem;
  padding: var(--space-xl) var(--space-xl) 4.5rem;
  background-color: var(--color-banner);
  color: var(--color-banner-text);
  text-align: left;
}

.hero-video,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(44, 42, 40, 0.35);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  color: #2c2a28;
}

.hero__headline {
  max-width: 28ch;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 400;
  font-family: var(--font-secondary);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.hero__sub-headline {
  max-width: 50ch;
  font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  font-family: var(--font-secondary);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-top: -0.75rem;
}

.hero__cta {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background-color: transparent; 
  border: 1px solid var(--color-text);
  border-radius: 0.35rem;
  color: var(--color-text);
  font-size: 0.8125rem;
  font-family: var(--font-secondary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
  margin-top: 3rem;
}

.hero__cta:hover {
  opacity: 0.88;
}

.hero-intro {
  max-width: 44rem;
  margin: 0 auto;
  margin-top: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) var(--space-xl);
  text-align: center;
}

.hero-intro p {
  font-size: clamp(0.6rem, 2.2vw, 1.2rem);
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--color-gold);
}

/* Shop by Colour */
.shop-by-colour {
  padding: var(--space-xl);
}

.shop-by-colour__heading {
  margin-bottom: var(--space-xl);
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 100;
  letter-spacing: 0.16em;
  text-align: left;
  color: var(--color-brown);
}

.colour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.colour-card {
  display: block;
}

.colour-card__media {
  overflow: hidden;
}

.colour-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.colour-card:hover .colour-card__image {
  transform: scale(1.06);
}

.colour-card__name {
  margin-top: var(--space-md);
  font-size: clamp(0.6125rem, 2.2vw, 0.9375rem);
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--color-text);
}

.colour-card.active .colour-card__media {
  outline: 1px solid var(--color-banner);
  outline-offset: 4px;
}

/* Shop by Color page */
.shop-by-color-page {
  padding-bottom: 4rem;
}

.shop-by-color-picker {
  padding-bottom: var(--space-xl);
}

.shop-by-color-picker .shop-by-colour__heading {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 4.5rem;
}

.shop-by-color-picker .colour-grid {
  max-width: 52rem; /* tighter row; homepage stays full-bleed */
  margin-inline: auto;
  gap: var(--space-md);
  margin-bottom: 7rem;
}

.shop-by-color-intro {
  max-width: 40rem;
  margin: var(--space-xl) auto 0;
  font-size: 1.0625rem;
  line-height: 1.8;
  text-align: center;
  color: var(--color-muted);
}

.color-story-section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.color-story-section.is-hidden {
  display: none;
}

.color-story-media {
  display: flex;
  width: 100%;
  height: 80vh;
}

.color-story-media__left,
.color-story-media__right {
  display: block;
  height: 100%;
  object-fit: cover;
}

.color-story-media__left {
  width: 40%;
}

.color-story-media__right {
  width: 60%;
}

.color-story-text {
  max-width: 40rem;
  margin: 0 auto;
  margin-bottom: 3rem;
  padding: clamp(2rem, 5vw, 3rem) var(--space-xl);
  text-align: center;
}

.color-story-text h2 {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.color-story-text p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-muted);
}

.color-story-section .product-grid {
  padding: 0 var(--space-xl) clamp(2rem, 5vw, 3rem);
}

/* About page */
.about-intro {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) var(--space-xl) var(--space-xl);
  text-align: center;
}

.about-intro p {
  font-size: clamp(0.8725rem, 2.2vw, 1.2rem);
  line-height: 1.8;
  color: var(--color-muted);
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media body";
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--space-xl);
}

.story-block--reverse {
  grid-template-areas: "body media";
}

.story-block__media {
  grid-area: media;
}

.story-block__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-block__body {
  grid-area: body;
  max-width: 60ch;
  padding-block: var(--space-md);
  justify-self: center;
  text-align: center;
}

.story-block--reverse .story-block__body {
  justify-self: center;
}

.story-block__body h2 {
  margin-bottom: var(--space-lg);
  font-size: clamp(0.7725rem, 2.2vw, 1rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-block__body p {
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
  font-size: clamp(0.75rem, 2.2vw, 1.0625rem);
  line-height: 1.8;
  color: var(--color-muted);
}

.story-block__body p:last-child {
  margin-bottom: 0;
}

.about-outro {
  max-width: 80ch;
  margin: 0 auto;
  margin-bottom: 2rem;
  padding: clamp(3rem, 8vw, 5rem) var(--space-xl) var(--space-xl);
  text-align: center;
}

.about-outro p {
  font-size: clamp(0.75rem, 2.2vw, 1.0625rem);
  line-height: 1.8;
  color: var(--color-muted);
}

.about-page + .site-footer {
  margin-top: 0;
}

/* Shop page */
.shop-page {
  padding: 3rem var(--space-xl) 4rem;
}

#category-title {
  margin-bottom: 2rem;
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-align: center;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: 2rem;
}

.shop-breadcrumb {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-align: left;
  color: var(--color-muted);
}

.shop-breadcrumb a {
  transition: opacity 0.2s ease;
}

.shop-breadcrumb a:hover {
  opacity: 0.65;
}

.shop-breadcrumb__sep {
  margin: 0 0.45rem;
  opacity: 0.5;
}

.shop-breadcrumb [aria-current="page"] {
  color: var(--color-text);
}

.shop-color-filters {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.shop-color-filter {
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.shop-color-filter--all {
  width: auto;
  height: auto;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: transparent;
}

.shop-color-filter:hover,
.shop-color-filter.active {
  box-shadow: 0 0 0 1px var(--color-text);
}

.shop-color-filter--all.active {
  color: var(--color-text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 1.5rem;
}

.product-card.is-hidden {
  display: none;
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.card-image-wrapper img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.product-card:hover .img-secondary {
  opacity: 1;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  margin-top: 0.85rem;
}

.product-card__title {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.product-card__price {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  white-space: nowrap;
}

.product-card__price--sale {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.5rem;
}

.price-sale {
  color: var(--color-text);
}

.price-original {
  text-decoration: line-through;
  color: var(--color-muted);
  font-size: 0.9em;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: 0.5rem;
}

.product-card__save {
  margin: 0;
  text-align: right;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

.product-card__footer .color-swatches {
  margin-top: 0;
}

.color-swatches {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.swatch-btn {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: box-shadow 0.2s ease;
}

.swatch-btn:hover,
.swatch-btn.active {
  box-shadow: 0 0 0 1px var(--color-text);
}

/* Product detail page */
.pdp {
  padding: 2.5rem var(--space-xl) 4rem;
}

.pdp-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.pdp-gallery {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.pdp-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 4.4rem;
  flex-shrink: 0;
}

.pdp-thumb-frame {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid transparent;
  opacity: 0.5;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.pdp-thumb-frame.is-active {
  opacity: 1;
  border-color: var(--color-text);
}

.pdp-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-main-image-wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ebe6df;
}

.pdp-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 4.5rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pdp-nav:hover {
  background: transparent;
  opacity: 0.7;
}

.pdp-nav--prev {
  left: 0.2rem;
}

.pdp-nav--next {
  right: 0.2rem;
}

.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 3rem;
}

.pdp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
}

.pdp-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
}

.pdp-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.pdp-price {
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pdp-price--sale {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.pdp-save {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

.pdp-save[hidden] {
  display: none;
}

.pdp-label {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.pdp-swatches {
  display: flex;
  gap: 0.9rem;
}

.pdp-swatches .swatch-btn {
  width: 1.15rem;
  height: 1.15rem;
}

.pdp-size-options {
  display: flex;
  gap: 0.6rem;
}

.pdp-size-btn {
  min-width: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--color-border);
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.pdp-size-btn:hover,
.pdp-size-btn.active {
  border-color: var(--color-text);
  background: #f2ece4;
}

.pdp-tabs {
  display: flex;
  gap: 1.5rem;
}

.pdp-tab {
  padding: 0.2rem 0;
  border: none;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.pdp-tab.active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

.pdp-tab-content {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.pdp-tab-content p {
  margin: 0 0 1rem;
}

.pdp-purchase-action {
  margin-top: 0.8rem;
}

.line-buy-btn {
  display: block;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: transparent;
  color: var(--color-muted);
  letter-spacing: 0.06em;
  text-align: center;
  transition: background-color 0.2s ease;
}

.line-buy-btn:hover {
  background-color: #06c755;
  color: #ffffff;
}

.pdp-size-table {
  width: 100%;
  margin: 1rem 0 1.25rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pdp-size-table th,
.pdp-size-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  letter-spacing: 0.04em;
}

.pdp-size-table th {
  color: var(--color-text);
  font-weight: 400;
}

.pdp-not-found {
  grid-column: 1 / -1;
  padding: 4rem 0;
  text-align: center;
  color: var(--color-muted);
}

/* Contact page */
.contact-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: 0;
}

.contact-studio {
  justify-self: center;
  align-self: center;
  width: max-content;
  max-width: 100%;
}

.contact-studio h2 {
  margin-bottom: var(--space-lg);
  font-size: clamp(0.8375rem, 2.2vw, 0.9375rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form__submit {
  display: inline-block;
  align-self: flex-start;
  margin-top: 1.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--color-banner);
  border-radius: 4px;
  background-color: var(--color-banner);
  color: var(--color-banner-text);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-form__submit:hover {
  opacity: 0.88;
  color: var(--color-banner-text);
}

.contact-media__image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.contact-details__block {
  margin-bottom: var(--space-lg);
}

.contact-details__block .social-icons {
  margin-top: 0.8rem; 
}

.contact-details__block:last-child {
  margin-bottom: 0;
}

.contact-details__block h3 {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-size: clamp(0.65rem, 2.2vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-details__block p {
  font-size: clamp(0.8625rem, 2.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--color-text);
}

.contact-details__block a {
  transition: opacity 0.2s ease;
}

.contact-details__block a:hover {
  opacity: 0.65;
}

/* Global footer */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--color-border);
  background-color: #f2ece4;
  color: var(--color-text);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--space-xl);
  min-height: 25rem;
  padding: 3rem var(--space-xl);
}

.footer-left {
  max-width: 400px;
  margin-top: 1.5rem;
}

.footer-brand {
  margin-bottom: var(--space-md);
  color: var(--color-banner);
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.18em;
}

.footer-center {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

.footer-logo img {
  display: block;
  height: 8rem;
  width: auto;
  margin: auto;
  margin-top: 2.5rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 2rem;
}

.social-icons a {
  display: inline-flex;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.social-icons a:hover {
  opacity: 1;
}

.social-icons img {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
  margin-top: 1.5rem;
}

.footer-col__title {
  margin-bottom: 1.3rem;
  font-size: clamp(0.65rem, 2vw, 0.9375rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-banner);
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col__links a {
  font-size: clamp(0.65rem, 2vw, 0.9375rem);
  letter-spacing: 0.04em;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-col__links a:hover {
  color: var(--color-text);
}

.site-footer__legal {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  text-align: right;
}

@media (max-width: 900px) {
  .story-block,
  .story-block--reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "body";
  }

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

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .color-story-media {
    flex-direction: column;
    height: auto;
  }

  .color-story-media__left,
  .color-story-media__right {
    width: 100%;
    height: 40vh;
  }

  .pdp-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pdp-thumbnails {
    display: none;
  }

  .pdp-main-image-wrapper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mega-menu {
    flex-direction: column;
    min-height: auto;
    padding: 2rem var(--space-md);
  }

  .mega-menu-links,
  .mega-menu-featured {
    width: 100%;
  }

  .mega-menu-links {
    padding-right: 0;
    margin-bottom: var(--space-lg);
  }

  .mega-menu-featured {
    min-height: 0;
    justify-content: flex-end;
  }

  .mega-menu-featured__image {
    height: 12rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 2rem;
    min-height: 0;
    padding: var(--space-xl) var(--space-md);
  }

  .footer-left {
    max-width: none;
  }

  .footer-center {
    justify-self: center;
    justify-content: center;
  }

  .footer-right {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .top-banner {
    padding: 0.3rem var(--space-md);
  }

  .main-nav {
    padding: 0 var(--space-md);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 4;
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    position: absolute;
    left: 50%;
    width: 1.15rem;
    height: 1.5px;
    background-color: #6b3e2e;
    transform: translateX(-50%);
  }

  .nav-toggle span {
    top: 50%;
    margin-top: -0.75px;
  }

  .nav-toggle span::before {
    content: "";
    top: -6px;
  }

  .nav-toggle span::after {
    content: "";
    top: 6px;
  }

  .main-nav.is-open .nav-toggle span {
    background-color: transparent;
  }

  .main-nav.is-open .nav-toggle span::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
  }

  .main-nav.is-open .nav-toggle span::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
  }

  .main-nav__left {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem var(--space-md) 2rem;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    z-index: 110;
  }

  .main-nav.is-open .main-nav__left {
    display: flex;
  }

  .main-nav__right {
    gap: var(--space-md);
  }

  .main-nav__logo img {
    height: 1.75rem;
  }

  .has-dropdown {
    width: 100%;
  }

  .has-dropdown:hover .mega-menu,
  .has-dropdown:focus-within .mega-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .has-dropdown.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .has-dropdown > a {
    z-index: auto;
  }

  .mega-menu {
    top: 0;
    z-index: 120;
    min-height: 100%;
    flex-direction: column;
    padding: 1.5rem var(--space-md) 2rem;
    box-shadow: none;
  }

  .mega-menu::before {
    display: none;
  }

  .mega-menu-back {
    display: block;
    margin-bottom: 1.25rem;
    padding: 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: clamp(0.6rem, 2vw, 1rem);
    font-style: italic;
    letter-spacing: 0.06em;
    color: #6b3e2e;
    cursor: pointer;
  }

  .mega-menu-links {
    width: 100%;
    margin-bottom: 0;
    gap: 0.8rem;
  }

  .mega-menu-featured {
    display: none;
  }

  .hero {
    padding: var(--space-lg) var(--space-md);
  }

  .shop-by-colour {
    padding: var(--space-lg) var(--space-md);
  }

  #shop-by-colour .colour-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    margin-inline: 0;
    gap: var(--space-sm);
  }

  #shop-by-colour .colour-card__name {
    margin-top: var(--space-sm);
    letter-spacing: 0.04em;
  }

  .about-intro,
  .story-block {
    padding-inline: var(--space-md);
  }

  .story-block__body {
    max-width: none;
  }

  .contact-page {
    padding-inline: var(--space-md);
  }

  .contact-layout {
    padding-left: 0;
    padding-right: 0;
  }

  .contact-studio {
    justify-self: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .contact-details__block .social-icons {
    gap: 1rem;
    justify-content: center;
  }
  
  .contact-details__block .social-icons img {
    width: 1.35rem;
    height: 1.35rem;
  }
  
  .contact-form__submit {
    margin-top: 1.1rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.65rem;
  }

  .shop-page {
    padding-inline: var(--space-md);
  }

  .shop-by-color-picker,
  .color-story-section .product-grid,
  .color-story-text {
    padding-inline: var(--space-md);
  }

  .pdp {
    padding-inline: var(--space-md);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.5rem;
  }

  .product-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .product-card__price--sale {
    justify-content: flex-start;
  }

  .product-card__title {
    font-size: 0.8rem;
  }

  .product-card__price {
    font-size: 0.75rem;
  }

  .product-card__save {
    font-size: 0.55rem;
  }

  .site-footer__legal {
    padding: var(--space-md);
  }

  .footer-left {
    width: 100%;
    text-align: center;
    margin-bottom: -1.2rem;
  }
  
  .footer-left .social-icons {
    justify-content: center;
  }

  .footer-right {
    justify-content: center;
    width: 100%;
    gap: 4rem;
  }
}
