/* Cloud Hair — beige, champagne gold, white. Assumption: static marketing phase; checkout later via WooCommerce. */
:root {
  --beige: #e8dfd0;
  --beige-deep: #d9cbb8;
  --beige-soft: #f4efe6;
  --white: #fffcfa;
  --gold: #b8976a;
  --gold-deep: #9a7a4f;
  --gold-soft: #d4bc94;
  --ink: #2c2419;
  --ink-muted: #5c5348;
  --line: rgba(44, 36, 25, 0.12);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5.25rem;
  --max: 70rem;
  --radius: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--beige-soft);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}

.section-lead {
  max-width: 38rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header — logo | centred nav | bag + CTA (matches brand reference) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  min-height: 4.75rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.25rem);
  background: var(--beige-soft);
  border-bottom: 1px solid rgba(44, 36, 25, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
  grid-column: 1;
  z-index: 1;
}

.logo img {
  width: 3.75rem;
  height: 3.75rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 1px 0 rgba(44, 36, 25, 0.06);
}

.logo:hover {
  opacity: 0.92;
}

.nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2.8vw, 2.35rem);
  justify-self: center;
  grid-column: 2;
}

.nav a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  justify-self: end;
  grid-column: 3;
  z-index: 1;
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(44, 36, 25, 0.55);
  background: transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-cart:hover,
.nav-cart.is-active {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
  background: rgba(184, 151, 106, 0.08);
}

.nav-cart-icon {
  display: block;
}

.nav-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.15rem;
  text-align: center;
  letter-spacing: 0;
}

.header-cta {
  display: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--gold);
  padding: 0.78rem 1.35rem;
  border: none;
  transition: background 0.25s var(--ease);
}

.header-cta:hover {
  background: var(--gold-deep);
  color: var(--white);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(44, 36, 25, 0.55);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

@media (min-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
    min-height: 5.25rem;
    padding: 1rem clamp(1.5rem, 4vw, 2.75rem);
  }

  .logo img {
    width: 4.25rem;
    height: 4.25rem;
  }

  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-block;
  }

  .nav-toggle {
    display: none;
  }
}

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.5rem 1.35rem;
  background: var(--beige-soft);
  border-bottom: 1px solid var(--line);
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer a {
  font-family: var(--font-display);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.35rem 0;
}

@media (min-width: 900px) {
  .nav-drawer {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 252, 250, 0.65);
}

.btn-ghost-light:hover {
  background: var(--white);
  color: var(--ink);
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: min(92vh, 48rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--beige-deep) center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(44, 36, 25, 0.72) 0%,
    rgba(44, 36, 25, 0.35) 48%,
    rgba(44, 36, 25, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 4.5rem) 1.5rem clamp(3rem, 8vw, 5rem);
  max-width: 40rem;
  animation: rise 1s var(--ease) both;
}

.hero-brand {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.hero h1 {
  color: var(--white);
  max-width: 12ch;
  margin-bottom: 0.85rem;
}

.hero-lead {
  color: rgba(255, 252, 250, 0.88);
  font-size: 1.1rem;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1.5%, -1%);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .section-split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .section-split.reverse .split-copy {
    order: 2;
  }
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media.portrait img {
  aspect-ratio: 3 / 4;
  max-height: 34rem;
}

/* Method grid — not card-heavy; image + text */
.method-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.method-item {
  display: block;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.method-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.method-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
}

.method-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.method-item p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0;
}

.method-item:hover h3 {
  color: var(--gold-deep);
}

/* Facts strip */
.facts {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}

.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

/* Band */
.band {
  background: var(--beige);
}

.band-dark {
  background: var(--ink);
  color: var(--beige-soft);
}

.band-dark h2,
.band-dark h3 {
  color: var(--white);
}

.band-dark .section-lead,
.band-dark p {
  color: rgba(244, 239, 230, 0.78);
}

.band-dark .eyebrow {
  color: var(--gold-soft);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 1.5rem 2rem;
  background: linear-gradient(180deg, var(--beige) 0%, var(--beige-soft) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 16ch;
}

/* Shade swatches */
.shade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.65rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

.shade-grid--photos {
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.75rem;
}

.shade-chip {
  aspect-ratio: 1;
  border: 1px solid var(--line);
}

.shade-chip--photo {
  aspect-ratio: auto;
  background: var(--white);
  overflow: hidden;
}

.shade-chip--photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.shade-chip span {
  display: block;
  font-size: 0.65rem;
  text-align: center;
  padding: 0.25rem;
  color: var(--ink-muted);
}

.shade-chip--photo span {
  font-size: 0.68rem;
  padding: 0.4rem 0.25rem 0.55rem;
  color: var(--ink);
}

/* Shop colour picker */
.product-buy {
  display: grid;
  gap: 1.25rem;
}

.colour-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.colour-picker legend {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.colour-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.15rem 0.35rem 0.15rem 0.15rem;
  scrollbar-width: thin;
}

.colour-option {
  position: relative;
  display: grid;
  gap: 0.2rem;
  cursor: pointer;
  margin: 0;
}

.colour-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.colour-swatch {
  display: block;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.colour-swatch img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.colour-name {
  font-size: 0.58rem;
  line-height: 1.2;
  color: var(--ink-muted);
  text-align: center;
}

.colour-option:hover .colour-swatch,
.colour-option input:focus-visible + .colour-swatch {
  border-color: var(--gold);
}

.colour-option input:checked + .colour-swatch {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.colour-option input:checked ~ .colour-name {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 520px) {
  .colour-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
    max-height: 14rem;
  }

  .colour-name {
    font-size: 0.52rem;
  }
}

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
  max-width: 32rem;
  margin-top: 1.5rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--gold-soft);
  outline-offset: 1px;
}

.form .hint {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.form-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 32rem;
}

.form-success {
  display: none;
  padding: 1rem 1.15rem;
  background: var(--beige);
  border-left: 3px solid var(--gold);
  margin-top: 1rem;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  padding: 1rem 1.15rem;
  background: #f8ecec;
  border-left: 3px solid #a33;
  margin-top: 1rem;
}

.form-error.is-visible {
  display: block;
}

/* Contact layout */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem 2rem;
  background: var(--ink);
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.92rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer a {
  color: var(--beige-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 252, 250, 0.12);
  font-size: 0.8rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 28rem;
  margin-left: auto;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(44, 36, 25, 0.14);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise 0.45s var(--ease);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-actions .btn {
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
}

/* Utility */
.mt-2 {
  margin-top: 2rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
