:root {
  --ink: #243238;
  --soft-ink: #60747b;
  --paper: #fffaf6;
  --mist: #edf8fa;
  --blue: #55b7c9;
  --blue-deep: #2f899a;
  --orange: #ef9a73;
  --rose: #ffe7db;
  --honey: #fff4c8;
  --green: #516a59;
  --page-light: #fffaf6;
  --page-warm: #fbf1ec;
  --page-peach: #f8e8e1;
  --line: rgba(36, 50, 56, 0.13);
  --shadow: 0 26px 80px rgba(36, 50, 56, 0.13);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(145deg, var(--page-light) 0%, var(--page-warm) 52%, var(--page-peach) 100%);
  background-attachment: fixed;
  font-family: var(--body);
}

main {
  flex: 1 0 auto;
}

body::before {
  content: none;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(16px, 4.8vw, 76px);
  background: rgba(255, 250, 246, 0.92);
  border-bottom: 1px solid rgba(36, 50, 56, 0.08);
  box-shadow: 0 10px 40px rgba(36, 50, 56, 0.06);
  backdrop-filter: blur(18px);
}

.glass-header {
  position: fixed;
  inset: 0 0 auto;
  background: rgba(255, 250, 246, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow: 0 18px 52px rgba(36, 50, 56, 0.07);
}

.glass-header.is-scrolled {
  background: rgba(255, 250, 246, 0.82);
  box-shadow: 0 18px 52px rgba(36, 50, 56, 0.08);
}

.home-v2 .glass-header {
  background: rgba(255, 250, 246, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.home-v2 .glass-header.is-scrolled {
  background: rgba(255, 250, 246, 0.38);
  box-shadow: 0 18px 52px rgba(36, 50, 56, 0.08);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.glass-header .brand {
  justify-self: center;
  display: block;
  text-align: center;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 68% 30%, rgba(239, 154, 115, 0.92) 0 18%, transparent 19%),
    linear-gradient(145deg, var(--blue), var(--blue-deep));
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(85, 183, 201, 0.24);
  font-family: var(--display);
  font-size: 1.45rem;
  font-style: italic;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.3vw, 2.45rem);
  font-style: italic;
  font-weight: 500;
  line-height: 0.9;
  text-shadow: none;
}

.brand small {
  margin-top: 6px;
  color: rgba(36, 50, 56, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v2 .glass-header:not(.is-scrolled) .brand strong {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 4rem);
  text-shadow: 0 14px 38px rgba(36, 50, 56, 0.26);
}

.home-v2 .glass-header:not(.is-scrolled) .brand small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.glass-header.is-scrolled .brand strong {
  color: var(--blue-deep);
  text-shadow: 0 12px 30px rgba(255, 255, 255, 0.72);
}

.glass-header.is-scrolled .brand small {
  color: rgba(36, 50, 56, 0.62);
}

.menu-toggle,
.cart-button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(36, 50, 56, 0.12);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.menu-toggle {
  justify-self: center;
  gap: 9px;
  padding: 9px 14px;
}

.cart-button {
  justify-self: end;
  gap: 10px;
  padding: 9px 10px 9px 14px;
}

.home-v2 .glass-header:not(.is-scrolled) .menu-toggle,
.home-v2 .glass-header:not(.is-scrolled) .cart-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}

.glass-header .menu-toggle {
  justify-self: start;
}

.glass-header.is-scrolled .menu-toggle,
.glass-header.is-scrolled .cart-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(36, 50, 56, 0.12);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span + span {
  width: 12px;
  background: var(--orange);
}

.cart-button strong {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
}

.overlay-nav {
  position: fixed;
  top: 78px;
  left: clamp(12px, 4vw, 56px);
  z-index: 90;
  display: grid;
  gap: 6px;
  width: min(330px, calc(100vw - 24px));
  padding: 18px;
  background: rgba(255, 250, 246, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(36, 50, 56, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(20px);
}

.overlay-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.overlay-nav a {
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--ink);
  font-weight: 850;
}

.overlay-nav a:hover {
  color: var(--blue-deep);
  background: rgba(85, 183, 201, 0.11);
}

.menu-close,
.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.45rem;
}

.menu-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.hero-atelier {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(660px, 82vh, 860px);
  padding: clamp(122px, 13vw, 176px) clamp(18px, 6vw, 98px) clamp(46px, 6vw, 78px);
  overflow: hidden;
  isolation: isolate;
  background: #243238;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.94);
  opacity: 0;
  transition: opacity 950ms ease;
}

.hero-video.is-visible {
  opacity: 1;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(36, 50, 56, 0.72), rgba(36, 50, 56, 0.36) 45%, rgba(36, 50, 56, 0.1)),
    linear-gradient(0deg, rgba(36, 50, 56, 0.62), transparent 54%),
    radial-gradient(circle at 72% 30%, rgba(85, 183, 201, 0.22), transparent 34%),
    radial-gradient(circle at 20% 76%, rgba(239, 154, 115, 0.26), transparent 32%);
}

.hero-atelier::after {
  content: "crafted";
  position: absolute;
  right: clamp(14px, 5vw, 86px);
  bottom: clamp(30px, 7vw, 104px);
  z-index: -1;
  color: rgba(255, 255, 255, 0.14);
  font-family: var(--display);
  font-size: clamp(7rem, 19vw, 19rem);
  font-style: italic;
  line-height: 0.74;
}

.hero-copy {
  max-width: 820px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #ffd8c7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 7.2vw, 7.7rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-deep);
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.93;
}

h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.hero-copy p:not(.eyebrow),
.flow-copy p:not(.eyebrow),
.page-hero p,
.story-section p,
.custom-banner p,
.product-card p,
.detail-copy p {
  color: var(--soft-ink);
  line-height: 1.75;
}

.hero-copy p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.hero-shop-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.hero-shop-actions .primary-link {
  color: var(--ink);
  background: rgba(255, 250, 246, 0.92);
  box-shadow: 0 18px 42px rgba(36, 50, 56, 0.18);
}

.text-link {
  position: relative;
  display: inline-flex;
  margin-top: 18px;
  color: inherit;
  font-weight: 900;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform-origin: left;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(0.72);
}

.seo-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 100px);
  background: linear-gradient(180deg, var(--page-light) 0%, var(--page-warm) 58%, var(--page-peach) 100%);
}

.seo-intro-heading {
  position: sticky;
  top: 120px;
}

.seo-intro-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.6vw, 4.8rem);
}

.seo-intro-content {
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 250, 246, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 32px 32px 32px 10px;
  box-shadow: 0 20px 56px rgba(36, 50, 56, 0.07);
}

.seo-intro-content p {
  margin-bottom: 24px;
  color: var(--soft-ink);
  line-height: 1.78;
}

.seo-intro-content h3 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.seo-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.seo-intro-actions .text-link {
  margin-top: 0;
}

.atelier-promises {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 92px);
  padding: 30px clamp(18px, 6vw, 100px) clamp(70px, 8vw, 112px);
  overflow: hidden;
  background: var(--page-peach);
  isolation: isolate;
}

.atelier-promise-thread {
  position: absolute;
  top: auto;
  bottom: 24px;
  left: 5%;
  z-index: -1;
  width: 90%;
  height: 48px;
  overflow: visible;
  fill: none;
  stroke: rgba(47, 137, 154, 0.24);
  stroke-dasharray: 3 8;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.atelier-promise {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.atelier-promise-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--blue-deep);
  background: rgba(255, 250, 246, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 42% 58% 48% 52% / 54% 43% 57% 46%;
  box-shadow: 0 14px 34px rgba(36, 50, 56, 0.07);
}

.atelier-promise:nth-of-type(2) .atelier-promise-icon {
  color: var(--orange);
  border-radius: 56% 44% 58% 42% / 44% 58% 42% 56%;
}

.atelier-promise:nth-of-type(3) .atelier-promise-icon {
  border-radius: 48% 52% 40% 60% / 58% 42% 58% 42%;
}

.atelier-promise-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.atelier-promise h3 {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.atelier-promise p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.88rem;
  line-height: 1.55;
}

.atelier-flow {
  display: grid;
  gap: clamp(84px, 11vw, 170px);
  padding: clamp(76px, 10vw, 150px) clamp(18px, 6vw, 100px);
  background:
    linear-gradient(180deg, var(--page-peach) 0%, var(--page-warm) 46%, var(--page-light) 100%),
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(85, 183, 201, 0.055) 56px 57px);
}

.flow-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(28px, 7vw, 108px);
  align-items: center;
}

.flow-panel.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 0.78fr);
}

.flow-panel.reverse .flow-copy {
  grid-column: 2;
  grid-row: 1;
}

.flow-panel.reverse .flow-image {
  grid-column: 1;
  grid-row: 1;
}

.flow-copy {
  position: relative;
  max-width: 560px;
}

.flow-copy::before {
  content: "";
  position: absolute;
  inset: -32px auto auto -28px;
  width: 118px;
  height: 118px;
  background:
    linear-gradient(135deg, var(--honey), rgba(239, 154, 115, 0.22));
  clip-path: polygon(18% 0, 100% 14%, 82% 100%, 0 78%);
  z-index: -1;
}

.flow-copy > span {
  color: var(--orange);
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-style: italic;
  line-height: 0.82;
}

.flow-image {
  min-height: clamp(360px, 44vw, 650px);
  background-size: cover;
  background-position: center;
  box-shadow: 0 34px 90px rgba(36, 50, 56, 0.16);
}

.image-keychains {
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.1), rgba(85, 183, 201, 0.08)),
    url("assets/epoxy-hero.webp");
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.1), rgba(85, 183, 201, 0.08)),
    image-set(
      url("assets/epoxy-hero.avif") type("image/avif"),
      url("assets/epoxy-hero.webp") type("image/webp")
    );
  border-radius: 38% 62% 44% 56% / 52% 36% 64% 48%;
}

.image-earrings {
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.1), rgba(239, 154, 115, 0.08)),
    url("https://images.unsplash.com/photo-1535632066927-ab7c9ab60908?auto=format&fit=crop&w=1200&q=82");
  border-radius: 62% 38% 58% 42% / 38% 52% 48% 62%;
}

.image-custom {
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.1), rgba(255, 244, 200, 0.12)),
    url("https://images.unsplash.com/photo-1617791160505-6f00504e3519?auto=format&fit=crop&w=1200&q=82");
  border-radius: 48% 52% 62% 38% / 46% 62% 38% 54%;
}

.collection-selector {
  padding: clamp(68px, 8vw, 116px) clamp(18px, 6vw, 100px);
  background: linear-gradient(180deg, var(--page-peach) 0%, var(--page-warm) 55%, var(--page-light) 100%);
}

.collection-selector-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.collection-selector-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
}

.collection-selector-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.72fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.collection-links {
  border-top: 1px solid rgba(36, 50, 56, 0.18);
}

.collection-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.3vw, 28px) 4px;
  border-bottom: 1px solid rgba(36, 50, 56, 0.18);
  transition: color 180ms ease, padding 180ms ease;
}

.collection-link > span:first-child {
  display: grid;
  gap: 5px;
}

.collection-link strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  font-style: italic;
  font-weight: 500;
  line-height: 0.96;
}

.collection-link small {
  color: var(--soft-ink);
  font-size: 0.86rem;
  line-height: 1.5;
}

.collection-link > span:last-child {
  color: var(--orange);
  font-size: 1.8rem;
  transition: transform 180ms ease;
}

.collection-link:hover,
.collection-link:focus-visible,
.collection-link.is-active {
  padding-left: 14px;
  color: var(--blue-deep);
}

.collection-link:hover > span:last-child,
.collection-link:focus-visible > span:last-child,
.collection-link.is-active > span:last-child {
  transform: translateX(6px);
}

.collection-preview {
  justify-self: end;
  width: min(100%, 460px);
}

.collection-preview-image {
  position: relative;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  border-radius: 46% 54% 42% 58% / 56% 42% 58% 44%;
  box-shadow: 0 28px 72px rgba(36, 50, 56, 0.14);
}

.collection-preview-layer {
  position: absolute;
  inset: -2%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 720ms ease, transform 1600ms ease;
}

.collection-preview-layer.is-visible {
  opacity: 1;
  transform: scale(1);
}

.collection-preview-layer.is-keychains {
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.08), rgba(85, 183, 201, 0.08)),
    url("assets/epoxy-hero.webp");
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.08), rgba(85, 183, 201, 0.08)),
    image-set(
      url("assets/epoxy-hero.avif") type("image/avif"),
      url("assets/epoxy-hero.webp") type("image/webp")
    );
}

.collection-preview-layer.is-earrings {
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.08), rgba(239, 154, 115, 0.08)),
    url("https://images.unsplash.com/photo-1535632066927-ab7c9ab60908?auto=format&fit=crop&w=900&q=82");
}

.collection-preview-layer.is-gifts {
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.08), rgba(255, 244, 200, 0.1)),
    url("https://images.unsplash.com/photo-1513201099705-a9746e1e201f?auto=format&fit=crop&w=900&q=82");
}

.collection-preview-layer.is-custom {
  background-image:
    linear-gradient(120deg, rgba(255, 250, 246, 0.08), rgba(85, 183, 201, 0.08)),
    url("https://images.unsplash.com/photo-1617791160505-6f00504e3519?auto=format&fit=crop&w=900&q=82");
}

.collection-preview p {
  margin: 14px 0 0;
  color: var(--soft-ink);
  font-size: 0.82rem;
  text-align: center;
  transition: opacity 220ms ease;
}

.collection-preview p.is-changing {
  opacity: 0;
}

/* Homepage: editorial layout below the existing video hero. */
.home-routes {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(1120px, calc(100% - 36px));
  margin: -46px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 250, 246, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(36, 50, 56, 0.13);
  backdrop-filter: blur(16px);
}

.home-routes a {
  position: relative;
  display: grid;
  min-height: 126px;
  padding: 25px 64px 24px 28px;
  align-content: center;
  border-right: 1px solid var(--line);
  transition: color 220ms ease, background 220ms ease;
}

.home-routes a:last-child {
  border-right: 0;
}

.home-routes span,
.favourite-caption small {
  color: var(--soft-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-routes strong {
  margin-top: 5px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.25vw, 2.15rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.home-routes i {
  position: absolute;
  right: 27px;
  bottom: 28px;
  color: var(--orange);
  font-size: 1.45rem;
  font-style: normal;
  transition: transform 220ms ease;
}

.home-routes a:hover,
.home-routes a:focus-visible {
  color: var(--blue-deep);
  background: rgba(248, 232, 225, 0.7);
}

.home-routes a:hover i,
.home-routes a:focus-visible i {
  transform: translateX(7px);
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(380px, 1.22fr);
  gap: clamp(42px, 8vw, 128px);
  padding: clamp(94px, 10vw, 154px) clamp(18px, 6vw, 100px) clamp(80px, 9vw, 134px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--page-light) 0%, var(--page-warm) 72%, var(--page-peach) 100%);
}

.home-intro-heading {
  align-self: start;
}

.home-intro-heading h2 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(2.8rem, 4.25vw, 4.65rem);
  line-height: 0.96;
}

.home-intro-copy {
  align-self: end;
  max-width: 720px;
  padding-top: clamp(10px, 5vw, 70px);
}

.home-intro-lead {
  margin: 0 0 38px;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.65;
}

.home-intro-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(36, 50, 56, 0.18);
}

.home-intro-details p {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.72;
}

.home-favourites {
  padding: clamp(64px, 7vw, 96px) clamp(18px, 6vw, 100px) clamp(72px, 8vw, 108px);
  overflow: hidden;
  background: var(--page-peach);
}

.home-favourites-heading {
  display: flex;
  width: min(1180px, 100%);
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto clamp(34px, 4vw, 54px);
}

.home-favourites-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.7rem, 4vw, 4.25rem);
  line-height: 0.92;
}

.home-favourites-heading .text-link {
  flex: 0 0 auto;
  margin-bottom: 10px;
}

.favourite-showcase {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: 0.92fr 1.08fr 0.82fr;
  gap: clamp(20px, 2.7vw, 38px);
  align-items: start;
}

.favourite-piece {
  display: block;
}

.favourite-piece:nth-child(2) {
  margin-top: clamp(30px, 4vw, 58px);
}

.favourite-image {
  display: block;
  aspect-ratio: 0.9;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 68px rgba(36, 50, 56, 0.13);
  transition: border-radius 500ms ease, transform 500ms ease, box-shadow 500ms ease;
}

.favourite-piece-keychain .favourite-image {
  background-image: url("assets/epoxy-hero.webp");
  border-radius: 48% 52% 12% 12% / 34% 38% 12% 12%;
}

.favourite-piece-earrings .favourite-image {
  aspect-ratio: 1.08;
  background-image: url("https://images.unsplash.com/photo-1535632066927-ab7c9ab60908?auto=format&fit=crop&w=1000&q=82");
  border-radius: 12% 50% 12% 46% / 12% 42% 12% 40%;
}

.favourite-piece-gift .favourite-image {
  background-image: url("https://images.unsplash.com/photo-1513201099705-a9746e1e201f?auto=format&fit=crop&w=900&q=82");
  border-radius: 52% 48% 48% 12% / 42% 44% 56% 12%;
}

.favourite-piece:hover .favourite-image,
.favourite-piece:focus-visible .favourite-image {
  transform: translateY(-8px);
  border-radius: 20%;
  box-shadow: 0 32px 80px rgba(36, 50, 56, 0.18);
}

.favourite-caption {
  display: grid;
  gap: 6px;
  padding: 18px 8px 0;
}

.favourite-caption strong {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.6rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.home-v2 .collection-selector {
  padding-block: clamp(74px, 8vw, 118px);
  background: linear-gradient(180deg, var(--page-peach), var(--page-warm) 58%, var(--page-light));
}

.home-v2 .collection-selector-heading {
  margin-bottom: clamp(28px, 4vw, 50px);
}

.home-v2 .collection-selector-heading h2 {
  font-size: clamp(2.8rem, 4.8vw, 4.9rem);
}

.home-v2 .collection-selector-layout {
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.58fr);
}

.home-v2 .collection-link {
  padding-block: clamp(15px, 1.8vw, 22px);
}

.home-v2 .collection-link strong {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.home-v2 .collection-preview {
  width: min(100%, 390px);
}

.home-v2 .atelier-promises {
  padding-block: clamp(46px, 5vw, 70px);
  background: rgba(255, 250, 246, 0.88);
  border-top: 1px solid rgba(36, 50, 56, 0.09);
}

.home-v2 .atelier-promise {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 15px;
}

.home-v2 .atelier-promise-icon {
  width: 58px;
  height: 58px;
  box-shadow: none;
}

.home-v2 .atelier-promise-icon svg {
  width: 34px;
  height: 34px;
}

.home-v2 .atelier-promise h3 {
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
}

.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-left {
  transform: translateX(-56px);
}

.reveal-right {
  transform: translateX(56px);
}

.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.primary-button,
.primary-link,
.secondary-link,
.filter-button,
.small-button {
  cursor: pointer;
  border: 0;
}

.primary-button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(85, 183, 201, 0.24);
  font-weight: 900;
}

.secondary-link,
.filter-button,
.small-button.light {
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--line);
}

.page-hero,
.shop-section,
.admin-section,
.story-section,
.custom-banner {
  padding: clamp(66px, 8vw, 112px) clamp(18px, 5vw, 86px);
}

.page-hero {
  padding-top: clamp(120px, 13vw, 170px);
  background: linear-gradient(145deg, var(--page-light) 0%, var(--page-warm) 58%, var(--page-peach) 100%);
}

.secondary-hero {
  display: flex;
  min-height: clamp(410px, 48vw, 540px);
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(118px, 11vw, 150px);
  padding-bottom: clamp(48px, 6vw, 76px);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 250, 246, 0.9) 34%, rgba(255, 250, 246, 0.22) 68%, rgba(255, 250, 246, 0.04) 100%),
    url("assets/epoxy-hero.webp");
  background-image:
    linear-gradient(90deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 250, 246, 0.9) 34%, rgba(255, 250, 246, 0.22) 68%, rgba(255, 250, 246, 0.04) 100%),
    image-set(
      url("assets/epoxy-hero.avif") type("image/avif"),
      url("assets/epoxy-hero.webp") type("image/webp")
    );
  background-position: center;
  background-size: cover;
}

.secondary-hero > * {
  max-width: min(700px, 56vw);
}

.page-hero h1 {
  color: var(--blue-deep);
}

.secondary-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 5.7vw, 6.2rem);
  text-wrap: balance;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(420px, 1.15fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: start;
  padding: clamp(58px, 7vw, 98px) clamp(18px, 5vw, 86px) clamp(86px, 10vw, 150px);
  background: linear-gradient(180deg, var(--page-peach), var(--page-warm) 62%, var(--page-light));
}

.custom-intro {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.62fr);
  gap: clamp(38px, 7vw, 112px);
  align-items: start;
  padding: clamp(64px, 8vw, 118px) clamp(18px, 6vw, 100px);
  background: linear-gradient(180deg, var(--page-peach) 0%, var(--page-warm) 58%, var(--page-light) 100%);
}

.custom-intro-copy {
  max-width: 850px;
}

.custom-intro-copy h2 {
  max-width: 720px;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
}

.custom-intro-copy p,
.custom-possibilities li,
.custom-request-section .contact-intro p {
  color: var(--soft-ink);
  line-height: 1.85;
}

.custom-intro-copy p {
  max-width: 760px;
  font-size: clamp(1rem, 1.18vw, 1.13rem);
}

.custom-intro-copy p + p {
  margin-top: 24px;
}

.custom-possibilities {
  padding-top: 18px;
  border-top: 1px solid rgba(47, 137, 154, 0.22);
}

.custom-possibilities h3 {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-style: italic;
  font-weight: 600;
}

.custom-possibilities ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-possibilities li {
  position: relative;
  padding-left: 24px;
}

.custom-possibilities li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
}

.custom-request-section {
  background: linear-gradient(180deg, var(--page-light), var(--page-warm));
}

.custom-request-form textarea {
  min-height: 260px;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(46px, 8vw, 136px);
  align-items: start;
  padding: clamp(72px, 9vw, 140px) clamp(18px, 6vw, 100px);
  background: linear-gradient(180deg, var(--page-peach) 0%, var(--page-warm) 60%, var(--page-light) 100%);
}

.about-story-heading {
  position: static;
}

.about-story-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.about-story-copy {
  max-width: 760px;
  padding-top: 34px;
  border-top: 1px solid rgba(47, 137, 154, 0.25);
}

.about-story-copy .about-story-introduction {
  display: grid;
  gap: 3px;
  width: fit-content;
  margin: 0 0 28px;
  color: var(--ink);
  line-height: 1;
}

.about-story-introduction span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-story-introduction strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.5vw, 4.4rem);
  font-style: italic;
  font-weight: 600;
}

.about-story-copy p {
  color: var(--soft-ink);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.9;
}

.about-story-copy p + p {
  margin-top: 30px;
}

.about-story-copy .about-story-introduction + p {
  margin-top: 0;
}

.contact-intro {
  max-width: 470px;
}

.contact-intro h2 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.contact-intro p {
  color: var(--soft-ink);
  line-height: 1.75;
}

.contact-direct-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration-color: var(--orange);
  text-underline-offset: 6px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  padding-top: 8px;
  border-top: 1px solid rgba(47, 137, 154, 0.24);
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--soft-ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.contact-form .wide,
.contact-form .contact-status,
.contact-form .form-actions {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 250, 246, 0.76);
  border: 1px solid rgba(36, 50, 56, 0.16);
  border-radius: 15px;
  outline: none;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(85, 183, 201, 0.14);
}

.contact-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.contact-status.is-success {
  color: #2d6244;
  background: rgba(81, 106, 89, 0.12);
}

.contact-status.is-error {
  color: #a4472d;
  background: rgba(239, 154, 115, 0.16);
}

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

.filter-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row {
  margin-bottom: 24px;
}

.filter-button {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 850;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  background: var(--blue);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px 30px 30px 10px;
  box-shadow: 0 18px 50px rgba(36, 50, 56, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(12px);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card.is-sold-out img {
  filter: grayscale(0.5);
  opacity: 0.72;
}

.product-card button {
  width: 100%;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.product-image {
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  width: fit-content;
  padding: 5px 9px;
  color: var(--blue-deep);
  background: var(--mist);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.price {
  color: var(--orange);
  font-weight: 950;
}

.card-actions {
  display: flex;
  gap: 8px;
  padding-top: 0;
}

.small-button {
  width: auto;
  padding: 9px 11px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.small-button:disabled,
.primary-button:disabled {
  cursor: not-allowed;
  color: rgba(36, 50, 56, 0.56);
  background: rgba(36, 50, 56, 0.12);
  box-shadow: none;
}

.stock-label {
  width: fit-content;
  padding: 6px 10px;
  color: var(--blue-deep);
  background: rgba(85, 181, 201, 0.13);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.stock-label.is-empty {
  color: #b85f51;
  background: rgba(184, 95, 81, 0.1);
}

.detail-section {
  padding: 0 clamp(18px, 5vw, 86px) clamp(66px, 8vw, 112px);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.product-detail img {
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
  background:
    radial-gradient(circle at 18% 12%, rgba(241, 152, 111, 0.1), transparent 32%),
    radial-gradient(circle at 88% 24%, rgba(85, 181, 201, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.76);
  border-radius: 28px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding-left: 24px;
  background: linear-gradient(var(--orange), var(--orange)) 0 0.75em / 10px 2px no-repeat;
}

.personalize-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 18px;
  background: rgba(255, 247, 242, 0.72);
  border: 1px solid rgba(241, 152, 111, 0.22);
  border-radius: 22px;
}

.personalize-panel .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.personalize-panel label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.personalize-panel input {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(85, 181, 201, 0.24);
  border-radius: 999px;
  outline: none;
}

.personalize-panel input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(85, 181, 201, 0.14);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 74px);
}

.story-list {
  display: grid;
  gap: 14px;
}

.story-list article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px 28px 28px 10px;
}

.story-list strong,
.story-list span {
  display: block;
}

.story-list span {
  margin-top: 8px;
  color: var(--soft-ink);
  line-height: 1.6;
}

.custom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(96deg, rgba(85, 183, 201, 0.14), rgba(239, 154, 115, 0.16)),
    #fffaf6;
}

.custom-banner > div {
  max-width: 780px;
}

.admin-section {
  background: rgba(237, 248, 250, 0.7);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  backdrop-filter: blur(12px);
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.admin-form .wide {
  grid-column: 1 / -1;
}

.option-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 16px;
  border: 1px solid rgba(85, 181, 201, 0.2);
  border-radius: 18px;
}

.option-fieldset legend {
  padding: 0 8px;
  color: var(--blue-deep);
  font-weight: 900;
}

.admin-form .check-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.admin-form .check-option input {
  width: auto;
  accent-color: var(--blue);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-products {
  padding-top: 0;
}

.admin-category-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}

.admin-category-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-weight: 850;
}

.admin-category-form input {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-category-status {
  min-height: 1.5em;
  margin: 0 0 14px;
  color: var(--soft-ink);
  font-weight: 750;
}

.admin-category-status.is-success {
  color: #547663;
}

.admin-category-status.is-error {
  color: #b85f51;
}

.admin-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-category-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(36, 50, 56, 0.06);
}

.admin-category-row.is-inactive {
  opacity: 0.68;
  border-style: dashed;
}

.admin-category-row strong,
.admin-category-row span {
  color: var(--soft-ink);
  font-size: 0.9rem;
}

.admin-product-list {
  display: grid;
  gap: 14px;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(170px, auto) 150px auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  box-shadow: 0 14px 38px rgba(36, 50, 56, 0.07);
}

.admin-product-row.has-unsaved-changes {
  border-color: rgba(241, 152, 111, 0.62);
  box-shadow: 0 16px 42px rgba(241, 152, 111, 0.16);
}

.admin-product-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
}

.admin-product-fields label {
  display: grid;
  gap: 6px;
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-product-fields .wide {
  grid-column: 1 / -1;
}

.admin-product-fields input,
.admin-product-fields select,
.admin-product-fields textarea,
.stock-control input,
.stock-control select {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

.admin-product-fields textarea {
  resize: vertical;
}

.stock-control {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-product-row img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}

.admin-option-controls {
  display: grid;
  gap: 6px;
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-option-controls label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.admin-option-controls input {
  accent-color: var(--blue);
}

.admin-product-row strong,
.admin-product-row span {
  display: block;
}

.admin-product-row strong {
  color: var(--blue-deep);
}

.admin-product-row span {
  color: var(--soft-ink);
  font-size: 0.9rem;
  line-height: 1.5;
}

.danger-button {
  min-height: 40px;
  padding: 9px 13px;
  color: #fff;
  background: #b85f51;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.empty-admin-state {
  margin: 0;
  padding: 24px;
  color: var(--soft-ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  background: rgba(36, 50, 56, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(430px, 100%);
  height: 100%;
  background: #fffaf6;
  box-shadow: -20px 0 70px rgba(36, 50, 56, 0.2);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

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

.cart-header,
.cart-footer {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
  font-size: 2rem;
}

.cart-items {
  display: grid;
  flex: 0 0 auto;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 18px;
}

.cart-line {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.cart-line img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span {
  color: var(--soft-ink);
  font-size: 0.9rem;
}

.cart-line small {
  display: block;
  margin-top: 4px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.cart-footer {
  display: grid;
  flex: 0 0 auto;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cart-footer.is-empty .checkout-form,
.cart-footer.is-empty [data-checkout-cart] {
  display: none;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.checkout-form label span {
  color: rgba(98, 118, 126, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.checkout-form .wide {
  grid-column: 1 / -1;
}

.address-status {
  min-height: 18px;
  margin: -2px 0 0;
  color: rgba(98, 118, 126, 0.8);
  font-size: 0.8rem;
  font-weight: 750;
}

.address-status.is-success {
  color: var(--blue-dark);
}

.address-status.is-error {
  color: #b95533;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(85, 181, 201, 0.14);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(180px, 0.8fr));
  gap: 36px clamp(30px, 6vw, 96px);
  padding: clamp(68px, 7vw, 102px) clamp(18px, 5vw, 86px) 30px;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid rgba(36, 50, 56, 0.1);
}

.admin-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(36, 50, 56, 0.07);
}

.admin-save-bar p {
  margin: 0;
  color: var(--soft-ink);
  font-weight: 750;
}

.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  max-width: min(340px, calc(100vw - 32px));
  padding: 14px 18px;
  color: #fff;
  background: var(--blue-deep);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(36, 50, 56, 0.22);
  font-weight: 850;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: #3f554a;
}

.site-footer > div:first-child > strong {
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-style: italic;
  font-weight: 600;
}

.site-footer p {
  max-width: 430px;
  margin: 8px 0 0;
  line-height: 1.65;
}

.site-footer h2 {
  margin: 0 0 13px;
  color: #354b40;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer nav {
  display: grid;
  gap: 9px;
}

.site-footer a {
  width: fit-content;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue-deep);
}

.site-footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(53, 75, 64, 0.28);
  font-size: 0.82rem;
}

.site-footer-bottom > a {
  grid-column: 2;
  text-align: center;
}

.site-footer-bottom::after {
  content: "";
}

.legal-content {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0 clamp(76px, 9vw, 130px);
}

.legal-content h2 {
  margin-top: 42px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  color: var(--soft-ink);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.25rem;
}

.legal-details {
  display: grid;
  gap: 5px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.44);
  border-left: 3px solid var(--coral);
}

.legal-details p {
  margin: 0;
}

.return-action {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-bottom: 54px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(47, 137, 154, 0.16);
  border-radius: 28px;
}

.return-action h2,
.return-action p {
  margin-top: 0;
}

.return-action p:last-child {
  margin-bottom: 0;
}

.return-action .primary-link {
  flex: 0 0 auto;
}

.withdrawal-section {
  scroll-margin-top: 120px;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(47, 137, 154, 0.25);
}

.withdrawal-form {
  margin-top: 30px;
}

.withdrawal-confirm {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px !important;
  font-weight: 600 !important;
  line-height: 1.55;
}

.withdrawal-confirm input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .collection-preview-layer,
  .collection-preview p {
    transition: none;
  }

  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1050px) {
  .home-routes {
    width: min(900px, calc(100% - 36px));
  }

  .home-routes a {
    min-height: 112px;
    padding-left: 22px;
  }

  .home-intro {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-intro-copy {
    max-width: 850px;
    padding-top: 0;
  }

  .favourite-showcase {
    gap: 24px;
  }

  .hero-atelier,
  .flow-panel,
  .flow-panel.reverse,
  .story-section {
    grid-template-columns: 1fr;
  }

  .flow-panel.reverse .flow-copy,
  .flow-panel.reverse .flow-image {
    grid-column: auto;
    grid-row: auto;
  }

  .flow-panel.reverse .flow-image {
    order: 2;
  }

  .flow-panel.reverse .flow-copy {
    order: 1;
  }

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

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

  .seo-intro {
    grid-template-columns: 1fr;
  }

  .seo-intro-heading {
    position: static;
  }

  .atelier-promises {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 24px;
  }

  .atelier-promise-thread {
    display: none;
  }

  .atelier-promise {
    position: relative;
    z-index: 1;
    max-width: 650px;
  }

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

  .collection-preview {
    justify-self: start;
    width: min(100%, 560px);
  }

  .collection-preview-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .home-routes {
    width: calc(100% - 28px);
    margin-top: -28px;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .home-routes a {
    min-height: 84px;
    padding: 17px 55px 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-routes a:last-child {
    border-bottom: 0;
  }

  .home-routes i {
    right: 20px;
    bottom: 24px;
  }

  .home-intro {
    gap: 28px;
    padding: 76px 18px 70px;
  }

  .home-intro-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4.3rem);
  }

  .home-intro-lead {
    margin-bottom: 26px;
  }

  .home-intro-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-favourites {
    padding: 68px 18px 76px;
  }

  .home-favourites-heading {
    display: block;
    margin-bottom: 34px;
  }

  .home-favourites-heading .text-link {
    margin-top: 22px;
  }

  .favourite-showcase {
    grid-template-columns: 1fr 0.82fr;
    gap: 34px 16px;
  }

  .favourite-piece:nth-child(2) {
    margin-top: 68px;
  }

  .favourite-piece:nth-child(3) {
    width: 76%;
    margin-top: -18px;
    margin-left: 12%;
    grid-column: 1 / -1;
  }

  .favourite-caption {
    padding: 13px 2px 0;
  }

  .favourite-caption strong {
    font-size: clamp(1.38rem, 6vw, 1.8rem);
  }

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

  .home-v2 .atelier-promises {
    padding-block: 42px 56px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 52px;
  }

  .site-footer-bottom {
    grid-column: 1;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer-bottom > a {
    grid-column: 1;
  }

  .site-footer-bottom::after {
    display: none;
  }

  .return-action {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .secondary-hero {
    min-height: 390px;
    padding-top: 116px;
    padding-bottom: 44px;
    background-image:
      linear-gradient(90deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 250, 246, 0.9) 54%, rgba(255, 250, 246, 0.42) 100%),
      url("assets/epoxy-hero.webp");
    background-image:
      linear-gradient(90deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 250, 246, 0.9) 54%, rgba(255, 250, 246, 0.42) 100%),
      image-set(
        url("assets/epoxy-hero.avif") type("image/avif"),
        url("assets/epoxy-hero.webp") type("image/webp")
      );
    background-position: 62% center;
  }

  .secondary-hero > * {
    max-width: 82vw;
  }

  .secondary-hero h1 {
    font-size: clamp(2.9rem, 13vw, 4.2rem);
  }

  body.cart-open {
    overflow: hidden;
  }

  .cart-drawer {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .cart-panel {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: auto;
    margin-left: auto;
    overflow: visible;
  }

  .cart-content {
    display: block;
    overflow: visible;
  }

  .cart-header {
    z-index: 2;
    padding-top: max(20px, env(safe-area-inset-top));
    background: #fffaf6;
  }

  .cart-items {
    display: grid;
    overflow: visible;
  }

  .cart-footer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 12px;
  }

  .brand strong {
    font-size: 1.35rem;
  }

  .brand small,
  .cart-button span {
    display: none;
  }

  .overlay-nav {
    top: 68px;
    left: 12px;
  }

  .hero-atelier {
    min-height: 680px;
    padding-top: 116px;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.9rem, 13vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .collection-selector {
    padding-inline: 18px;
  }

  .collection-selector-heading h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .collection-link strong {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .collection-preview {
    width: 100%;
  }

  .flow-image {
    min-height: 310px;
  }

  .product-grid,
  .product-detail,
  .admin-form,
  .personalize-panel,
  .checkout-form,
  .contact-section,
  .contact-form,
  .about-story,
  .custom-intro {
    grid-template-columns: 1fr;
  }

  .about-story-heading {
    position: static;
  }

  .custom-intro-copy h2 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .admin-product-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .admin-category-form {
    grid-template-columns: 1fr;
  }

  .admin-category-form .primary-button,
  .admin-category-row {
    width: 100%;
  }

  .admin-category-row {
    justify-content: space-between;
  }

  .admin-product-fields {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .admin-product-row .stock-control,
  .admin-product-row .admin-option-controls,
  .admin-product-row .danger-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

.custom-banner {
  align-items: flex-start;
  flex-direction: column;
}
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 15% 20%, rgba(241, 152, 111, 0.2), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(85, 181, 201, 0.22), transparent 34%),
    var(--paper);
}

.login-card {
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(36, 53, 58, 0.12);
  backdrop-filter: blur(18px);
}

.login-card h1 {
  margin: 0 0 12px;
}

.login-card form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.form-message {
  min-height: 1.4em;
  margin: 0;
  color: #a04c34;
  font-weight: 700;
}
