:root {
  --ink: #12161a;
  --muted: #687078;
  --paper: #ffffff;
  --paper-2: #ffffff;
  --line: rgba(18, 22, 26, 0.12);
  --gold: #a77b3f;
  --gold-2: #d6c19b;
  --shadow: 0 30px 90px rgba(40, 34, 24, 0.16);
  --radius: 32px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

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

.site-header {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 760;
  letter-spacing: -0.07em;
}

.brand-mark {
  width: 46px;
  height: 46px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
  font-size: 1rem;
}

.nav a {
  color: rgba(18, 22, 26, 0.78);
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-pill {
  border: 1px solid rgba(167, 123, 63, 0.32);
  border-radius: 999px;
  padding: 12px 24px;
  background: rgba(255, 253, 248, 0.58);
  backdrop-filter: blur(18px);
}

.header-session {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 8px 6px 6px;
  border: 1px solid rgba(18, 22, 26, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(45, 39, 28, 0.08);
  backdrop-filter: blur(16px);
}

.header-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fffdf8;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.42), transparent 36%),
    linear-gradient(135deg, #a77b3f, #12161a 72%);
  font-size: 0.82rem;
  font-weight: 820;
}

.header-user {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(18, 22, 26, 0.82);
  font-weight: 760;
}

.header-login,
.header-logout {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf8;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.header-login {
  min-width: 86px;
}

.header-login:hover,
.header-logout:hover {
  transform: translateY(-1px);
}

.header-login:disabled,
.header-logout:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.hero {
  width: min(1440px, calc(100% - 48px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 42px;
  padding: 34px 0 86px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  padding: 12px 20px;
  border: 1px solid rgba(167, 123, 63, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.62);
  box-shadow: 0 16px 42px rgba(61, 51, 36, 0.06);
  color: #655541;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  backdrop-filter: blur(20px);
}

.spark {
  display: inline-block;
  color: var(--gold);
  animation: spinPulse 4s linear infinite;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(4.5rem, 9.5vw, 9.6rem);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 820;
}

.lead {
  margin: 34px 0 0;
  max-width: 620px;
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.64;
  color: rgba(18, 22, 26, 0.70);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  overflow: hidden;
  font-weight: 720;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fffdf8;
  background: var(--ink);
  box-shadow: 0 20px 50px rgba(18, 22, 26, 0.22);
}

.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: transform 650ms ease;
}

.button.primary:hover::after {
  transform: translateX(120%) skewX(-18deg);
}

.button.ghost {
  border: 1px solid rgba(18, 22, 26, 0.14);
  background: rgba(255, 253, 248, 0.50);
  backdrop-filter: blur(14px);
}

.microcopy {
  margin-top: 20px;
  color: rgba(18, 22, 26, 0.54);
  font-size: 0.98rem;
}

.hero-art-wrap {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.hero-art-wrap picture {
  display: block;
  width: 100%;
}

.hero-art {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.vision {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 92px;
}

.section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 760;
  margin-bottom: 20px;
}

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

.feature {
  min-height: 250px;
  padding: 34px;
  border: 1px solid rgba(18, 22, 26, 0.10);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.58);
  box-shadow: 0 24px 80px rgba(45, 39, 28, 0.07);
  backdrop-filter: blur(18px);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 123, 63, 0.24);
  box-shadow: 0 32px 90px rgba(45, 39, 28, 0.12);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(167, 123, 63, 0.12);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 26px;
}

.feature h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.build-strip {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 70px;
  border-radius: 36px;
  border: 1px solid rgba(18, 22, 26, 0.10);
  background:
    linear-gradient(135deg, rgba(18, 22, 26, 0.96), rgba(18, 22, 26, 0.84)),
    radial-gradient(circle at 80% 20%, rgba(214, 193, 155, 0.3), transparent 30rem);
  color: #fffdf8;
  padding: clamp(30px, 5vw, 60px);
  display: grid;
  grid-template-columns: 0.8fr 1.1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: 0 30px 100px rgba(18, 22, 26, 0.20);
}

.build-strip .section-label {
  margin: 0 0 12px;
  color: var(--gold-2);
}

.build-strip h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.build-strip p {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  line-height: 1.7;
  max-width: 620px;
}

.build-strip a {
  color: var(--ink);
  background: #fffdf8;
  border-radius: 999px;
  padding: 16px 22px;
  font-weight: 760;
  white-space: nowrap;
  transition: transform 180ms ease;
}

.build-strip a:hover {
  transform: translateY(-2px);
}

.shop-panel {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 74px;
  display: grid;
  gap: 32px;
}

.shop-heading {
  display: grid;
  gap: 16px;
  max-width: 780px;
}

.shop-heading h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.shop-heading p:not(.section-label) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: 22px;
  align-items: start;
}

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

.product-card,
.basket-card,
.orders-panel {
  border: 1px solid rgba(18, 22, 26, 0.10);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 246, 0.82));
  box-shadow: 0 24px 74px rgba(45, 39, 28, 0.08);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.product-card-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.product-card-body span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.product-card-body h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.product-card-body p {
  margin: 0;
  min-height: 82px;
  color: var(--muted);
  line-height: 1.6;
}

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

.product-actions .button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  cursor: pointer;
}

.basket-card {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 20px;
  padding: 24px;
}

.basket-head,
.basket-total,
.basket-line,
.order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.basket-head h3,
.orders-panel h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.basket-lines {
  display: grid;
  gap: 14px;
}

.basket-line {
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(18, 22, 26, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

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

.basket-line span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 46px 32px;
  gap: 4px;
}

.quantity-control button,
.quantity-control input {
  height: 32px;
  border: 1px solid rgba(18, 22, 26, 0.12);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
}

.basket-total {
  padding-top: 18px;
  border-top: 1px solid rgba(18, 22, 26, 0.10);
  font-size: 1.15rem;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: rgba(18, 22, 26, 0.62);
  font-size: 0.88rem;
  font-weight: 680;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 22, 26, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  padding: 13px 15px;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: rgba(167, 123, 63, 0.46);
  box-shadow: 0 0 0 4px rgba(167, 123, 63, 0.10);
}

.checkout-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.checkout-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.orders-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  padding: 16px;
  border: 1px solid rgba(18, 22, 26, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.order-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.account-panel {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 74px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(18, 22, 26, 0.10);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 246, 0.82)),
    radial-gradient(circle at 88% 10%, rgba(167, 123, 63, 0.16), transparent 22rem);
  box-shadow: 0 28px 90px rgba(45, 39, 28, 0.08);
}

.account-copy h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.account-copy p:not(.section-label) {
  margin: 28px 0 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.75;
}

.account-card {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(18, 22, 26, 0.10);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(18, 22, 26, 0.10);
  border-radius: 999px;
  background: rgba(18, 22, 26, 0.04);
}

.account-tab {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(18, 22, 26, 0.62);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.account-tab.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(45, 39, 28, 0.08);
}

.account-form {
  display: grid;
  gap: 18px;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: rgba(18, 22, 26, 0.62);
  font-size: 0.9rem;
  font-weight: 680;
}

.account-form input {
  width: 100%;
  border: 1px solid rgba(18, 22, 26, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.account-form input:focus {
  outline: none;
  border-color: rgba(167, 123, 63, 0.46);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(167, 123, 63, 0.10);
}

.account-form .button {
  width: max-content;
  border: 0;
  cursor: pointer;
}

.text-button {
  width: max-content;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  text-align: left;
}

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

.account-form .button:disabled,
.account-session .button:disabled,
.text-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.verify-box,
.account-session {
  border: 1px solid rgba(167, 123, 63, 0.18);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.74);
  padding: 18px;
}

.verify-box h3 {
  margin: 0 0 8px;
}

.verify-box p {
  margin: 0;
  color: rgba(18, 22, 26, 0.66);
  line-height: 1.5;
}

.account-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.session-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(18, 22, 26, 0.54);
  font-size: 0.86rem;
  font-weight: 680;
}

.contact-panel {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 74px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(18, 22, 26, 0.10);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 246, 0.82)),
    radial-gradient(circle at 16% 12%, rgba(214, 193, 155, 0.26), transparent 24rem);
  box-shadow: 0 28px 90px rgba(45, 39, 28, 0.09);
}

.contact-copy h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.contact-copy p:not(.section-label) {
  margin: 28px 0 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.08rem;
}

.contact-copy a {
  display: inline-flex;
  margin-top: 26px;
  color: var(--gold);
  font-weight: 760;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-identity {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(18, 22, 26, 0.62);
  font-size: 0.9rem;
  font-weight: 680;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 22, 26, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(167, 123, 63, 0.46);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(167, 123, 63, 0.10);
}

.contact-form .button {
  width: max-content;
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(18, 22, 26, 0.66);
  line-height: 1.5;
}

.form-status.success {
  color: #27764c;
}

.form-status.error {
  color: #a83d32;
}

.footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(18, 22, 26, 0.55);
  border-top: 1px solid rgba(18, 22, 26, 0.10);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(.2,.8,.2,1), transform 800ms cubic-bezier(.2,.8,.2,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spinPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.14); }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 20px;
  }

  .hero-art-wrap {
    min-height: auto;
    order: -1;
  }

  .hero-art {
    width: min(100%, 860px);
  }

  .build-strip {
    grid-template-columns: 1fr;
  }

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

  .basket-card {
    position: relative;
    top: auto;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1440px);
    min-height: 78px;
    gap: 12px;
  }

  .brand {
    font-size: 2.1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav a:not(.nav-pill) {
    display: none;
  }

  .header-session {
    max-width: calc(100vw - 170px);
  }

  .header-user {
    max-width: 82px;
  }

  .header-logout {
    padding: 0 11px;
  }

  .header-login {
    min-width: 76px;
    padding: 0 12px;
  }

  .hero,
  .vision,
  .build-strip,
  .shop-panel,
  .account-panel,
  .contact-panel,
  .footer {
    width: min(100% - 28px, 1240px);
  }

  .hero {
    padding-bottom: 58px;
  }

  .hero-art-wrap {
    margin-top: 10px;
  }

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

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

  .product-card-body p {
    min-height: 0;
  }

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

  .feature {
    min-height: auto;
  }

  .account-session {
    align-items: stretch;
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 6.2rem);
  }

}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .cursor-glow {
    display: none;
  }
}

/* Final WIP rollback: clean white public preview. */
:root {
  --ink: #12161a;
  --muted: #687078;
  --paper: #ffffff;
  --paper-2: #f8f5ef;
  --line: rgba(18, 22, 26, 0.12);
  --gold: #a77b3f;
  --gold-2: #d6c19b;
  --shadow: 0 28px 78px rgba(40, 34, 24, 0.12);
}

html,
body {
  background: #ffffff;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 8%, rgba(214, 193, 155, 0.16), transparent 22rem),
    radial-gradient(circle at 8% 26%, rgba(167, 123, 63, 0.08), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 48%, #ffffff 100%);
}

.tile-background,
.tile-float {
  display: none;
}

.site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(18, 22, 26, 0.1);
  box-shadow: 0 12px 36px rgba(45, 39, 28, 0.07);
}

.brand,
.nav a,
.header-user,
.hero,
.vision,
.shop-panel,
.account-panel,
.contact-panel {
  color: var(--ink);
}

.nav a {
  color: rgba(18, 22, 26, 0.72);
}

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

.wip-banner {
  position: relative;
  z-index: 8;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid rgba(167, 123, 63, 0.22);
  border-radius: 24px;
  background: #fff7df;
  color: #433321;
  box-shadow: 0 18px 42px rgba(61, 51, 36, 0.08);
  text-align: center;
}

.wip-banner strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wip-note {
  display: grid;
  gap: 5px;
  max-width: 620px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(167, 123, 63, 0.24);
  border-radius: 18px;
  background: rgba(255, 247, 223, 0.8);
  color: #4f3c24;
}

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

.wip-note.compact {
  margin-top: 0;
  padding: 13px 14px;
  font-size: 0.92rem;
}

.hero-copy {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero h1,
.shop-heading h2,
.vision h2,
.account-copy h2,
.contact-copy h2 {
  color: var(--ink);
  text-shadow: none;
}

.lead,
.hero .microcopy,
.shop-heading p:not(.section-label),
.account-copy p:not(.section-label),
.contact-copy p:not(.section-label) {
  color: rgba(18, 22, 26, 0.68);
}

.eyebrow,
.section-label,
.spark,
.product-card-body span,
.text-button,
.contact-copy a {
  color: var(--gold);
}

.header-login,
.header-logout,
.button.primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(18, 22, 26, 0.16);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(18, 22, 26, 0.14);
}

.hero-art-wrap {
  isolation: isolate;
  min-height: auto;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(18, 22, 26, 0.1);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.9));
  box-shadow: var(--shadow);
  overflow: visible;
}

.hero-art-wrap::before,
.hero-art-wrap::after,
.shop-panel::before {
  display: none;
}

.hero-art {
  width: 100%;
  max-width: 900px;
  border: 1px solid rgba(18, 22, 26, 0.08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 22px 62px rgba(45, 39, 28, 0.12);
  mix-blend-mode: normal;
  filter: none;
  transform: none;
  animation: none;
}

.feature,
.product-card,
.account-card,
.basket-card,
.orders-panel,
.account-panel,
.contact-panel {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(18, 22, 26, 0.1);
  box-shadow: var(--shadow);
}

.feature::before,
.product-card::before,
.account-card::before,
.contact-panel::before {
  display: none;
}

.build-strip {
  color: var(--ink);
  border: 1px solid rgba(18, 22, 26, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.build-strip h2,
.build-strip p,
.shop-heading h2,
.shop-heading p:not(.section-label) {
  color: var(--ink);
}

.build-strip .section-label {
  color: var(--gold);
}

.build-strip a {
  color: #ffffff;
  background: var(--ink);
}

.product-actions strong,
.basket-total strong,
.form-status.error {
  color: #a83d32;
}

.basket-line,
.order-card,
.verify-box,
.account-session {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

.footer {
  color: rgba(18, 22, 26, 0.55);
  background: transparent;
  border-top-color: rgba(18, 22, 26, 0.1);
}

.footer a {
  color: rgba(18, 22, 26, 0.72);
}

@media (max-width: 760px) {
  .wip-banner {
    width: min(100% - 24px, 1440px);
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .hero-art-wrap {
    order: -1;
    padding: 9px;
    border-radius: 24px;
    overflow: hidden;
  }

  .hero-art {
    height: min(330px, 70vw);
    object-fit: cover;
    object-position: 50% 44%;
    border-radius: 20px;
  }
}

/* Actual box-art palette: black display base, cream paper, vivid kit colours. */
:root {
  --ink: #111114;
  --muted: #6b665f;
  --paper: #fff3df;
  --paper-2: #f5dec7;
  --line: rgba(255, 243, 223, 0.18);
  --gold: #f5a623;
  --gold-2: #ffd05a;
  --box-red: #f04b42;
  --box-blue: #277ac7;
  --box-cyan: #18b9c2;
  --box-yellow: #ffd05a;
  --box-green: #34734f;
  --box-violet: #6e4db2;
  --box-pink: #e93483;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 88%, rgba(24, 185, 194, 0.2), transparent 18rem),
    radial-gradient(circle at 84% 12%, rgba(233, 52, 131, 0.18), transparent 22rem),
    radial-gradient(circle at 20% 16%, rgba(255, 208, 90, 0.12), transparent 18rem),
    linear-gradient(180deg, #090b0f 0%, #111114 38%, #171515 100%);
}

.site-header {
  color: #fff3df;
}

.brand {
  color: #fff3df;
}

.nav a {
  color: rgba(255, 243, 223, 0.76);
}

.nav a:hover {
  color: #ffffff;
}

.nav-pill,
.header-session,
.eyebrow {
  background: rgba(17, 17, 20, 0.72);
  border-color: rgba(255, 243, 223, 0.18);
  color: #fff3df;
}

.header-user {
  color: rgba(255, 243, 223, 0.88);
}

.header-avatar {
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.42), transparent 36%),
    linear-gradient(135deg, var(--box-cyan), var(--box-pink) 54%, var(--box-yellow));
}

.hero {
  color: #fff3df;
}

h1 {
  color: #fff3df;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.lead,
.microcopy {
  color: rgba(255, 243, 223, 0.72);
}

.spark,
.section-label,
.product-card-body span,
.text-button,
.contact-copy a {
  color: var(--box-cyan);
}

.button.primary,
.header-login,
.header-logout {
  background: linear-gradient(135deg, var(--box-red), var(--box-pink) 48%, #1a1719);
  box-shadow: 0 18px 44px rgba(233, 52, 131, 0.26);
}

.button.ghost {
  color: #fff3df;
  background: rgba(255, 243, 223, 0.08);
  border-color: rgba(255, 243, 223, 0.22);
}

.hero-art-wrap::before {
  background:
    conic-gradient(from 18deg, var(--box-red), var(--box-yellow), var(--box-cyan), var(--box-blue), var(--box-pink), var(--box-red));
  opacity: 0.28;
}

.hero-art-wrap::after {
  background:
    radial-gradient(circle, rgba(24, 185, 194, 0.28), transparent 62%),
    radial-gradient(circle at 78% 22%, rgba(255, 208, 90, 0.26), transparent 42%);
}

.hero-art {
  filter: saturate(1.13) contrast(1.06);
}

.vision,
.shop-panel,
.account-panel,
.contact-panel,
.footer {
  color: var(--ink);
}

.feature,
.product-card,
.basket-card,
.orders-panel,
.account-panel,
.account-card,
.contact-panel {
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.96), rgba(255, 239, 213, 0.9));
  border-color: rgba(255, 243, 223, 0.22);
  box-shadow: var(--shadow);
}

.feature::before,
.product-card::before,
.account-card::before,
.contact-panel::before {
  background: linear-gradient(90deg, var(--box-red), var(--box-yellow), var(--box-cyan), var(--box-blue), var(--box-pink));
}

.feature:nth-child(1)::before,
.product-card:nth-child(3n + 1)::before {
  background: linear-gradient(90deg, var(--box-cyan), var(--box-green), var(--box-yellow));
}

.feature:nth-child(2)::before,
.product-card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--box-violet), var(--box-pink), var(--box-blue));
}

.feature:nth-child(3)::before,
.product-card:nth-child(3n + 3)::before {
  background: linear-gradient(90deg, var(--box-green), var(--box-cyan), var(--box-blue));
}

.feature-icon {
  background: rgba(24, 185, 194, 0.14);
  color: var(--box-cyan);
}

.feature:nth-child(2) .feature-icon {
  background: rgba(52, 115, 79, 0.13);
  color: var(--box-green);
}

.feature:nth-child(3) .feature-icon {
  background: rgba(233, 52, 131, 0.12);
  color: var(--box-pink);
}

.build-strip {
  border-color: rgba(255, 243, 223, 0.18);
  background:
    linear-gradient(135deg, rgba(12, 13, 17, 0.98), rgba(26, 23, 25, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(233, 52, 131, 0.34), transparent 19rem),
    radial-gradient(circle at 14% 90%, rgba(24, 185, 194, 0.28), transparent 18rem);
}

.build-strip .section-label {
  color: var(--box-yellow);
}

.build-strip a {
  background: var(--box-yellow);
}

.shop-heading h2,
.shop-heading p:not(.section-label) {
  color: #fff3df;
}

.shop-heading p:not(.section-label) {
  opacity: 0.74;
}

.product-actions strong,
.basket-total strong {
  color: var(--box-red);
}

.basket-line,
.order-card,
.verify-box,
.account-session {
  background: rgba(255, 255, 255, 0.62);
}

.account-tab.is-active {
  color: var(--box-pink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.account-form input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: rgba(24, 185, 194, 0.55);
  box-shadow: 0 0 0 4px rgba(24, 185, 194, 0.12);
}

.footer {
  color: rgba(255, 243, 223, 0.55);
  border-top-color: rgba(255, 243, 223, 0.14);
}

.footer a {
  color: rgba(255, 243, 223, 0.72);
}

@media (max-width: 760px) {
  .nav-pill {
    color: #fff3df;
  }

  .hero-art-wrap {
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 243, 223, 0.08), transparent 70%);
  }
}

/* Final reference pass: product boxes sit on black display stands with cream labels. */
html,
body {
  background: #090b0f;
}

body {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 208, 90, 0.14), transparent 17rem),
    radial-gradient(circle at 86% 12%, rgba(233, 52, 131, 0.18), transparent 21rem),
    radial-gradient(circle at 18% 88%, rgba(24, 185, 194, 0.18), transparent 20rem),
    linear-gradient(180deg, #090b0f 0%, #111114 44%, #171515 100%);
}

.site-header,
.hero,
.vision,
.shop-panel,
.account-panel,
.contact-panel,
.footer {
  color: var(--paper);
}

.site-header {
  background: rgba(9, 11, 15, 0.82);
  border-color: rgba(255, 243, 223, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.brand-mark {
  background: var(--paper);
  color: #090b0f;
}

.nav-pill,
.header-user {
  color: rgba(255, 243, 223, 0.76);
}

.nav-pill.active,
.nav-pill:hover,
.header-login {
  color: #090b0f;
  background: var(--box-yellow);
}

.hero {
  background: transparent;
}

.hero h1,
.shop-heading h2,
.vision h2,
.account-copy h2,
.contact-copy h2 {
  color: var(--paper);
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.34);
}

.lead,
.hero .microcopy,
.shop-heading p:not(.section-label),
.vision .section-copy,
.account-copy p:not(.section-label),
.contact-copy p:not(.section-label) {
  color: rgba(255, 243, 223, 0.72);
}

.section-label,
.shop-heading .section-label,
.account-copy .section-label,
.contact-copy .section-label {
  color: var(--box-yellow);
}

.hero-art-card,
.feature,
.product-card,
.account-card,
.basket-card,
.orders-panel,
.account-panel,
.contact-panel {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.96), rgba(245, 222, 199, 0.9)),
    var(--paper);
  border-color: rgba(255, 243, 223, 0.2);
}

.feature p,
.product-card p,
.account-card p,
.basket-card p,
.orders-panel p,
.account-panel p,
.contact-panel p {
  color: rgba(17, 17, 20, 0.68);
}

.build-strip {
  border: 1px solid rgba(255, 243, 223, 0.15);
}

.footer {
  background: #090b0f;
}

/* Contrast correction: use box colours as accents, never as inherited text traps. */
:root {
  --ink: #151313;
  --muted: #665f55;
  --paper: #fff8eb;
  --paper-2: #f7e4cf;
  --line: rgba(21, 19, 19, 0.12);
  --box-red: #e84c42;
  --box-blue: #2b75bc;
  --box-cyan: #18aeb8;
  --box-yellow: #f3bd3f;
  --box-green: #34734f;
  --box-violet: #6551a8;
  --box-pink: #d9367c;
  --accent-cyan: #0a6870;
  --accent-blue: #245c91;
  --accent-red: #a9342f;
  --accent-pink: #9b285b;
  --accent-yellow: #7a5600;
  --shadow: 0 26px 76px rgba(21, 19, 19, 0.13);
}

html,
body {
  background: #fff8eb;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(24, 174, 184, 0.16), transparent 22rem),
    radial-gradient(circle at 12% 20%, rgba(243, 189, 63, 0.18), transparent 20rem),
    radial-gradient(circle at 86% 78%, rgba(217, 54, 124, 0.09), transparent 24rem),
    linear-gradient(180deg, #fff8eb 0%, #fff4e3 48%, #fffaf2 100%);
}

.site-header {
  color: var(--ink);
  background: rgba(255, 248, 235, 0.88);
  border-color: rgba(21, 19, 19, 0.1);
  box-shadow: 0 16px 42px rgba(21, 19, 19, 0.09);
}

.brand,
.nav a,
.header-user,
.hero,
.vision,
.shop-panel,
.account-panel,
.contact-panel {
  color: var(--ink);
}

.nav a {
  color: rgba(21, 19, 19, 0.72);
}

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

.brand-mark {
  background: transparent;
  color: inherit;
}

.nav-pill,
.header-session,
.eyebrow {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(21, 19, 19, 0.12);
}

.nav-pill.active,
.nav-pill:hover,
.header-login {
  color: #ffffff;
  background: var(--ink);
}

.header-logout,
.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--box-red), var(--box-pink) 52%, #211719);
  box-shadow: 0 18px 42px rgba(217, 54, 124, 0.2);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(21, 19, 19, 0.14);
}

.hero h1,
.shop-heading h2,
.vision h2,
.account-copy h2,
.contact-copy h2 {
  color: var(--ink);
  text-shadow: none;
}

.lead,
.hero .microcopy,
.shop-heading p:not(.section-label),
.vision .section-copy,
.account-copy p:not(.section-label),
.contact-copy p:not(.section-label) {
  color: rgba(21, 19, 19, 0.66);
}

.section-label,
.spark,
.product-card-body span,
.text-button,
.contact-copy a {
  color: var(--accent-cyan);
}

.hero-art-wrap::before {
  opacity: 0.18;
}

.hero-art-wrap::after {
  opacity: 0.86;
}

.hero-art-card,
.feature,
.product-card,
.account-card,
.basket-card,
.orders-panel,
.account-panel,
.contact-panel {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 235, 0.84)),
    var(--paper);
  border-color: rgba(21, 19, 19, 0.1);
  box-shadow: var(--shadow);
}

.feature p,
.product-card p,
.account-card p,
.basket-card p,
.orders-panel p,
.account-panel p,
.contact-panel p,
.checkout-form label,
.account-form label,
.contact-form label {
  color: rgba(21, 19, 19, 0.66);
}

.feature h2,
.product-card h3,
.basket-card h3,
.orders-panel h3,
.account-card h3,
.contact-panel h3 {
  color: var(--ink);
}

.product-actions strong,
.basket-total strong,
.form-status.error {
  color: var(--accent-red);
}

.account-tab,
.form-status.success {
  color: var(--accent-cyan);
}

.build-strip {
  color: var(--paper);
  border: 1px solid rgba(255, 248, 235, 0.18);
  background:
    linear-gradient(135deg, rgba(21, 19, 19, 0.98), rgba(31, 27, 30, 0.95)),
    radial-gradient(circle at 78% 18%, rgba(217, 54, 124, 0.28), transparent 18rem),
    radial-gradient(circle at 16% 88%, rgba(24, 174, 184, 0.24), transparent 17rem);
}

.build-strip h2,
.build-strip p {
  color: var(--paper);
}

.build-strip .section-label {
  color: var(--box-yellow);
}

.build-strip a {
  color: var(--ink);
  background: var(--box-yellow);
}

.basket-line,
.order-card,
.verify-box,
.account-session {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.account-tab.is-active {
  color: var(--ink);
  background: #ffffff;
}

.footer {
  color: rgba(255, 248, 235, 0.64);
  background: #151313;
  border-top-color: rgba(255, 248, 235, 0.14);
}

.footer a {
  color: rgba(255, 248, 235, 0.78);
}

/* Mobile header fit: keep brand and account controls inside the viewport. */
@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
    font-size: clamp(1.55rem, 8vw, 1.95rem);
    letter-spacing: -0.055em;
  }

  .brand-mark {
    width: clamp(30px, 8.8vw, 36px);
    height: clamp(30px, 8.8vw, 36px);
  }

  .nav {
    display: none;
  }

  .header-session {
    justify-self: end;
    min-width: 0;
    max-width: min(64vw, 238px);
    gap: clamp(6px, 1.7vw, 10px);
    padding: 5px 6px 5px 5px;
  }

  .header-avatar {
    width: clamp(30px, 8.6vw, 36px);
    height: clamp(30px, 8.6vw, 36px);
    font-size: clamp(0.68rem, 2.9vw, 0.82rem);
  }

  .header-user {
    min-width: 0;
    max-width: clamp(34px, 17vw, 76px);
    font-size: clamp(0.78rem, 3.5vw, 0.98rem);
  }

  .header-login,
  .header-logout {
    min-height: 32px;
    padding-inline: clamp(10px, 3vw, 14px);
    font-size: clamp(0.78rem, 3.4vw, 0.92rem);
  }

  .header-login {
    min-width: 72px;
  }
}

@media (max-width: 360px) {
  .brand span {
    max-width: 74px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-session {
    max-width: min(62vw, 206px);
  }

  .header-user {
    max-width: clamp(26px, 14vw, 50px);
  }
}

/* Bright tile playground pass: generated Mosa plates, lively colour, stable contrast. */
:root {
  --ink: #171313;
  --muted: #655f57;
  --paper: #fff8e8;
  --paper-2: #ffe9cf;
  --line: rgba(23, 19, 19, 0.12);
  --box-red: #f05249;
  --box-blue: #1f76d2;
  --box-cyan: #11b8c5;
  --box-yellow: #ffd23f;
  --box-green: #37b96a;
  --box-violet: #7d52bf;
  --box-pink: #ed3e91;
  --accent-cyan: #08737b;
  --accent-blue: #245f9e;
  --accent-red: #a8322d;
  --accent-pink: #942856;
  --shadow: 0 28px 78px rgba(38, 23, 18, 0.14);
}

body {
  position: relative;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 210, 63, 0.32), transparent 18rem),
    radial-gradient(circle at 88% 8%, rgba(17, 184, 197, 0.28), transparent 24rem),
    radial-gradient(circle at 78% 78%, rgba(237, 62, 145, 0.2), transparent 24rem),
    linear-gradient(180deg, #fff6df 0%, #fff0d7 45%, #fff9ee 100%);
}

.tile-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 246, 223, 0.96) 0%, rgba(255, 246, 223, 0.72) 38%, rgba(255, 246, 223, 0.15) 72%),
    url("assets/mosa-colour-tiles-wave.png") right top / min(1180px, 78vw) auto no-repeat;
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.tile-background::before,
.tile-background::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.55;
}

.tile-background::before {
  width: 34vw;
  height: 34vw;
  right: -8vw;
  top: 18vh;
  background: rgba(17, 184, 197, 0.3);
  animation: tileGlow 13s ease-in-out infinite alternate;
}

.tile-background::after {
  width: 28vw;
  height: 28vw;
  left: 3vw;
  bottom: 6vh;
  background: rgba(237, 62, 145, 0.22);
  animation: tileGlow 16s ease-in-out infinite alternate-reverse;
}

.tile-float {
  position: absolute;
  width: clamp(18px, 3vw, 42px);
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--box-cyan);
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.42),
    inset 0 -7px 10px rgba(0, 0, 0, 0.14),
    0 18px 32px rgba(23, 19, 19, 0.16);
  opacity: 0.84;
  transform: rotate(8deg);
  animation: tileDrift 9s ease-in-out infinite;
}

.tile-float::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.36);
}

.tile-float-a {
  left: 6vw;
  top: 19vh;
  background: var(--box-yellow);
}

.tile-float-b {
  left: 28vw;
  top: 9vh;
  background: var(--box-pink);
  animation-delay: -2.5s;
}

.tile-float-c {
  right: 18vw;
  top: 54vh;
  background: var(--box-blue);
  animation-delay: -5s;
}

.tile-float-d {
  left: 17vw;
  bottom: 12vh;
  background: var(--box-green);
  animation-delay: -7s;
}

.tile-float-e {
  right: 7vw;
  bottom: 20vh;
  background: var(--box-violet);
  animation-delay: -3.5s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 232, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  letter-spacing: 0;
}

.hero {
  min-height: calc(100vh - 86px);
}

.hero-copy {
  padding: clamp(22px, 4vw, 42px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.78), rgba(255, 250, 240, 0.42));
  box-shadow: 0 24px 80px rgba(38, 23, 18, 0.08);
  backdrop-filter: blur(12px);
}

.hero h1 {
  max-width: 840px;
  color: #171313;
}

.lead,
.hero .microcopy,
.shop-heading p:not(.section-label),
.account-copy p:not(.section-label),
.contact-copy p:not(.section-label) {
  color: rgba(23, 19, 19, 0.72);
}

.eyebrow,
.section-label,
.spark,
.product-card-body span,
.text-button,
.contact-copy a {
  color: var(--accent-pink);
}

.hero-art-wrap {
  position: relative;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 244, 224, 0.24)),
    url("assets/mosa-colour-tiles-wave.png") center / cover no-repeat;
  box-shadow: 0 34px 110px rgba(38, 23, 18, 0.18);
  overflow: hidden;
}

.hero-art-wrap::before {
  opacity: 0.42;
  background:
    conic-gradient(from 10deg, var(--box-yellow), var(--box-pink), var(--box-blue), var(--box-cyan), var(--box-green), var(--box-yellow));
  animation: tileSpin 18s linear infinite;
}

.hero-art-wrap::after {
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 248, 232, 0.7) 100%),
    radial-gradient(circle at 78% 24%, rgba(255, 210, 63, 0.28), transparent 14rem);
}

.hero-art {
  border-radius: 28px;
  transform: rotate(-2deg) translateY(4px);
  box-shadow: 0 24px 64px rgba(38, 23, 18, 0.18);
  animation: heroPlateFloat 8s ease-in-out infinite;
}

.feature,
.product-card,
.account-card,
.basket-card,
.orders-panel,
.account-panel,
.contact-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 244, 224, 0.72)),
    var(--paper);
  border-color: rgba(23, 19, 19, 0.1);
}

.feature::before,
.product-card::before,
.account-card::before,
.contact-panel::before {
  background: linear-gradient(90deg, var(--box-yellow), var(--box-pink), var(--box-cyan), var(--box-blue), var(--box-green));
}

.build-strip {
  background:
    linear-gradient(135deg, rgba(23, 19, 19, 0.96), rgba(43, 25, 47, 0.92)),
    radial-gradient(circle at 78% 18%, rgba(237, 62, 145, 0.35), transparent 18rem),
    radial-gradient(circle at 16% 88%, rgba(17, 184, 197, 0.34), transparent 17rem);
}

.shop-panel {
  position: relative;
}

.shop-panel::before {
  content: "";
  position: absolute;
  inset: -54px -5vw auto auto;
  width: min(520px, 46vw);
  height: 230px;
  background: url("assets/mosa-colour-tiles-wave.png") center / cover no-repeat;
  border-radius: 34px;
  opacity: 0.34;
  filter: saturate(1.14);
  transform: rotate(3deg);
  pointer-events: none;
  z-index: -1;
}

.button.primary,
.header-logout {
  background: linear-gradient(135deg, var(--box-pink), var(--box-red) 48%, var(--box-violet));
  box-shadow: 0 18px 42px rgba(237, 62, 145, 0.24);
}

.header-login {
  background: var(--ink);
  color: #ffffff;
}

.product-actions strong,
.basket-total strong,
.form-status.error {
  color: var(--accent-red);
}

@keyframes tileDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(8deg);
  }
  50% {
    transform: translate3d(12px, -20px, 0) rotate(-10deg);
  }
}

@keyframes tileGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-22px, 18px, 0) scale(1.08);
  }
}

@keyframes tileSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroPlateFloat {
  0%, 100% {
    transform: rotate(-2deg) translateY(4px);
  }
  50% {
    transform: rotate(1deg) translateY(-10px);
  }
}

@media (max-width: 760px) {
  .tile-background {
    background:
      linear-gradient(180deg, rgba(255, 246, 223, 0.92), rgba(255, 246, 223, 0.62)),
      url("assets/mosa-colour-tiles-wave.png") 58% top / 180vw auto no-repeat;
  }

  .hero-copy {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-art-wrap {
    border-radius: 24px;
  }

  .shop-panel::before {
    width: 82vw;
    right: -20vw;
    opacity: 0.22;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tile-float,
  .tile-background::before,
  .tile-background::after,
  .hero-art,
  .hero-art-wrap::before {
    animation: none;
  }
}

/* Screenshot-led cleanup: keep colourful tiles decorative, never blended into product art. */
[data-reveal] {
  opacity: 1;
  transform: none;
}

body {
  background:
    radial-gradient(circle at 13% 14%, rgba(255, 210, 63, 0.18), transparent 18rem),
    radial-gradient(circle at 86% 9%, rgba(17, 184, 197, 0.16), transparent 23rem),
    radial-gradient(circle at 82% 80%, rgba(237, 62, 145, 0.11), transparent 24rem),
    linear-gradient(180deg, #fff7e7 0%, #fff2dc 42%, #fffaf1 100%);
}

.tile-background {
  background:
    linear-gradient(90deg, rgba(255, 247, 231, 0.98) 0%, rgba(255, 247, 231, 0.82) 46%, rgba(255, 247, 231, 0.32) 100%),
    url("assets/mosa-colour-tiles-wave.png") right -56px top -36px / min(780px, 54vw) auto no-repeat,
    url("assets/mosa-colour-tiles-wave.png") left -120px bottom -150px / min(620px, 48vw) auto no-repeat;
}

.tile-background::before,
.tile-background::after {
  opacity: 0.28;
}

.tile-float {
  opacity: 0.62;
}

.site-header {
  min-height: 86px;
  border-radius: 0 0 28px 28px;
  background: rgba(255, 248, 235, 0.88);
  box-shadow: 0 12px 36px rgba(38, 23, 18, 0.08);
}

.hero {
  grid-template-columns: minmax(320px, 0.92fr) minmax(520px, 1.08fr);
  min-height: calc(100vh - 86px);
  gap: clamp(34px, 5vw, 78px);
  padding-top: 46px;
}

.hero-copy {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4.2rem, 8.7vw, 8.8rem);
}

.lead {
  max-width: 570px;
}

.hero-art-wrap {
  isolation: isolate;
  min-height: auto;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(23, 19, 19, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 210, 63, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 231, 0.88));
  box-shadow: 0 34px 90px rgba(38, 23, 18, 0.14);
  overflow: visible;
}

.hero-art-wrap picture {
  position: relative;
  z-index: 2;
  display: block;
}

.hero-art-wrap::before {
  z-index: -1;
  inset: auto -38px -30px auto;
  width: min(380px, 38vw);
  height: min(250px, 25vw);
  border-radius: 28px;
  background: url("assets/mosa-colour-tiles-wave.png") center / cover no-repeat;
  opacity: 0.34;
  filter: saturate(1.1);
  transform: rotate(5deg);
  animation: none;
}

.hero-art-wrap::after {
  z-index: -1;
  inset: -26px auto auto -28px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(17, 184, 197, 0.2), transparent 68%);
  opacity: 1;
}

.hero-art {
  width: 100%;
  max-width: 900px;
  border: 1px solid rgba(23, 19, 19, 0.08);
  border-radius: 26px;
  background: #fffaf0;
  box-shadow: 0 22px 62px rgba(38, 23, 18, 0.16);
  mix-blend-mode: normal;
  filter: saturate(1.04) contrast(1.02);
  transform: none;
  animation: none;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.84);
}

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

  .hero-art-wrap {
    order: 0;
  }
}

@media (max-width: 760px) {
  .tile-background {
    background:
      linear-gradient(180deg, rgba(255, 247, 231, 0.94), rgba(255, 247, 231, 0.8)),
      url("assets/mosa-colour-tiles-wave.png") right -96px top 96px / 108vw auto no-repeat,
      url("assets/mosa-colour-tiles-wave.png") left -120px bottom -78px / 112vw auto no-repeat;
  }

  .site-header {
    width: min(100% - 24px, 1440px);
    min-height: 76px;
  }

  .tile-float {
    display: none;
  }

  .hero {
    padding-top: 28px;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 14vw, 4.35rem);
    line-height: 0.96;
  }

  .lead {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-art-wrap {
    order: -1;
    padding: 9px;
    border-radius: 24px;
    overflow: hidden;
  }

  .hero-art-wrap::before {
    right: -34px;
    bottom: -26px;
    width: 64vw;
    height: 38vw;
    opacity: 0.26;
  }

  .hero-art {
    height: min(330px, 70vw);
    object-fit: cover;
    object-position: 50% 44%;
    border-radius: 20px;
  }

  .eyebrow {
    margin-bottom: 22px;
    padding: 10px 16px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-actions .button {
    min-height: 50px;
    padding: 0 14px;
    font-size: 0.98rem;
  }

  .microcopy {
    margin-top: 16px;
  }
}

/* Final hero image revert: dog plate blends directly into the white page. */
html,
body {
  background: #ffffff;
}

body {
  color: var(--ink);
  background: #ffffff;
}

.tile-background,
.tile-float,
.hero-art-wrap::before,
.hero-art-wrap::after,
.shop-panel::before {
  display: none !important;
}

.hero {
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: 42px;
}

.hero-copy {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-art-wrap {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-art-wrap picture {
  display: block;
  width: 100%;
}

.hero-art {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: multiply;
  filter: none;
  transform: none;
  animation: none;
}

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

  .hero-art-wrap {
    min-height: auto;
    order: -1;
  }
}

@media (max-width: 760px) {
  .hero-art-wrap {
    padding: 0;
    border-radius: 0;
    overflow: visible;
  }

  .hero-art {
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
  }
}
