/* Blattwerk — inzotsonor.hair
   recipe: L22 H21 Y07 C22 S05 F24 N12 T24 A22 M07 K03 CB20 */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Nunito+Sans:opsz,wght@6..12,300;6..12,400;6..12,500;6..12,600&display=swap');

:root {
  --bw-peach: #f3d5c4;
  --bw-peach-deep: #e8b89e;
  --bw-peach-soft: #faf0ea;
  --bw-plum: #4a2f3d;
  --bw-plum-mid: #6b4558;
  --bw-plum-soft: #8a6476;
  --bw-ink: #3d2834;
  --bw-surface: #f7ebe3;
  --bw-paper: #fff8f3;
  --bw-line: rgba(74, 47, 61, 0.18);
  --bw-serif: 'Lora', Georgia, serif;
  --bw-sans: 'Nunito Sans', 'Segoe UI', sans-serif;
  --bw-measure: 38rem;
  --bw-rail: 15.5rem;
  --bw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.bw-body {
  margin: 0;
  font-family: var(--bw-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--bw-ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(232, 184, 158, 0.35), transparent 55%),
    linear-gradient(180deg, var(--bw-peach-soft) 0%, var(--bw-surface) 40%, #f0ddd2 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bw-plum);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--bw-plum-mid);
}

.bw-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* H21 — off-canvas left panel; content has no top nav */
.bw-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--bw-rail);
  height: 100vh;
  padding: 2rem 1.4rem 2.5rem;
  background: linear-gradient(165deg, #4a2f3d 0%, #5c384c 55%, #3d2834 100%);
  color: var(--bw-peach-soft);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transform: translateX(0);
  transition: transform 0.35s var(--bw-ease);
}

.bw-rail__brand {
  font-family: var(--bw-serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bw-peach);
  text-decoration: none;
  line-height: 1.15;
}

.bw-rail__brand span {
  display: block;
  font-family: var(--bw-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 240, 234, 0.65);
  margin-top: 0.35rem;
}

.bw-rail__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bw-rail__nav a {
  color: rgba(250, 240, 234, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.bw-rail__nav a:hover,
.bw-rail__nav a[aria-current="page"] {
  color: var(--bw-peach);
  border-bottom-color: rgba(243, 213, 196, 0.45);
}

.bw-rail__meta {
  margin-top: auto;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(250, 240, 234, 0.55);
}

.bw-rail__meta a {
  color: var(--bw-peach);
  text-decoration: none;
}

.bw-rail-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--bw-line);
  background: var(--bw-paper);
  color: var(--bw-plum);
  border-radius: 0.35rem;
  cursor: pointer;
  font-family: var(--bw-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bw-rail-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 40, 52, 0.4);
  z-index: 35;
}

body.bw-rail-open .bw-rail-backdrop {
  display: block;
}

.bw-shell {
  margin-left: var(--bw-rail);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bw-main {
  flex: 1;
  padding: 0 0 5rem;
}

/* L22 breadcrumb-style section labels */
.bw-crumb {
  font-family: var(--bw-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bw-plum-soft);
  margin: 0 0 0.75rem;
}

.bw-crumb::before {
  content: 'Blattwerk / ';
  color: var(--bw-peach-deep);
}

/* Y07 — 40/60 asymmetric split */
.bw-hero {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  min-height: min(88vh, 760px);
  align-items: stretch;
}

.bw-hero__copy {
  padding: 4.5rem 2.5rem 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(160deg, var(--bw-paper) 0%, var(--bw-peach) 120%);
}

.bw-hero__brand {
  font-family: var(--bw-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--bw-plum);
  margin: 0 0 1rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.bw-hero__lead {
  font-family: var(--bw-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--bw-ink);
  margin: 0 0 0.85rem;
  max-width: 22ch;
  line-height: 1.35;
}

.bw-hero__text {
  margin: 0 0 1.75rem;
  max-width: 28ch;
  color: var(--bw-plum-mid);
  font-size: 0.98rem;
}

.bw-hero__media {
  position: relative;
  overflow: hidden;
  background: var(--bw-plum);
}

.bw-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  will-change: transform;
  transform: translateY(0) scale(1.05);
}

.bw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--bw-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--bw-paper);
  background: var(--bw-plum);
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 0.2rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.bw-btn:hover {
  background: var(--bw-plum-mid);
  color: var(--bw-paper);
}

.bw-btn--ghost {
  background: transparent;
  color: var(--bw-plum);
  border: 1px solid var(--bw-plum);
}

.bw-btn--ghost:hover {
  background: var(--bw-plum);
  color: var(--bw-paper);
}

/* Narrow measure + wide media (L22) */
.bw-narrow {
  max-width: var(--bw-measure);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bw-wide {
  width: 100%;
  max-width: none;
  margin: 2.5rem 0;
}

.bw-wide img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.bw-section {
  padding: 3.5rem 0 1rem;
}

/* S05 — oversized section titles as separators */
.bw-sep {
  font-family: var(--bw-serif);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  color: var(--bw-peach-deep);
  letter-spacing: -0.02em;
  margin: 3.5rem 0 1.5rem;
  padding: 0 1.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.bw-prose h2,
.bw-prose h3 {
  font-family: var(--bw-serif);
  font-weight: 500;
  color: var(--bw-plum);
  line-height: 1.2;
}

.bw-prose p {
  margin: 0 0 1.1rem;
}

.bw-prose p:last-child {
  margin-bottom: 0;
}

/* C22 — before/after paired images */
.bw-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.bw-pair figure {
  margin: 0;
}

.bw-pair img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bw-pair figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bw-plum-soft);
  margin-top: 0.55rem;
}

.bw-offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bw-offer-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--bw-line);
}

.bw-offer-list strong {
  display: block;
  font-family: var(--bw-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--bw-plum);
  margin-bottom: 0.25rem;
}

/* Plants grid — collection captions, not feature cards */
.bw-collection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.25rem;
  padding: 0 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.bw-collection figure {
  margin: 0;
}

.bw-collection img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.bw-collection figcaption {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--bw-plum-mid);
}

.bw-collection figcaption strong {
  display: block;
  font-family: var(--bw-serif);
  font-weight: 500;
  color: var(--bw-plum);
  font-size: 1.05rem;
}

/* Care steps */
.bw-care-steps {
  max-width: var(--bw-measure);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bw-care-steps article {
  padding: 1.25rem 0;
  border-top: 1px solid var(--bw-line);
}

.bw-care-steps h3 {
  font-family: var(--bw-serif);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  color: var(--bw-plum);
}

.bw-care-steps p {
  margin: 0;
  color: var(--bw-plum-mid);
}

/* K03 — form first, details under */
.bw-contact {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.bw-form {
  display: grid;
  gap: 1rem;
}

.bw-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--bw-plum-mid);
}

.bw-form input,
.bw-form textarea,
.bw-form select {
  font: inherit;
  color: var(--bw-ink);
  background: var(--bw-paper);
  border: 1px solid var(--bw-line);
  border-radius: 0.2rem;
  padding: 0.75rem 0.85rem;
}

.bw-form input:focus,
.bw-form textarea:focus,
.bw-form select:focus {
  outline: 2px solid var(--bw-peach-deep);
  outline-offset: 1px;
}

.bw-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.bw-form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--bw-peach);
  color: var(--bw-plum);
  border-radius: 0.2rem;
}

.bw-form-success.is-visible {
  display: block;
}

.bw-visit {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--bw-line);
  color: var(--bw-plum-mid);
  font-size: 0.95rem;
}

.bw-visit h2 {
  font-family: var(--bw-serif);
  font-size: 1.5rem;
  color: var(--bw-plum);
  margin: 0 0 0.75rem;
}

.bw-visit p {
  margin: 0 0 0.4rem;
}

.bw-visit a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Page header inner */
.bw-pagehead {
  padding: 3.5rem 1.5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.bw-pagehead h1 {
  font-family: var(--bw-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  color: var(--bw-plum);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.bw-pagehead p {
  margin: 0;
  max-width: 38ch;
  color: var(--bw-plum-mid);
}

.bw-legal {
  max-width: var(--bw-measure);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.bw-legal h2 {
  font-family: var(--bw-serif);
  font-size: 1.35rem;
  color: var(--bw-plum);
  margin: 2rem 0 0.6rem;
}

.bw-legal p,
.bw-legal li {
  color: var(--bw-plum-mid);
  font-size: 0.95rem;
}

.bw-legal ul {
  padding-left: 1.2rem;
}

/* F24 — minimal end rule + three legal links right-aligned */
.bw-footer {
  margin-top: auto;
  padding: 1.5rem 1.75rem 5.5rem;
  border-top: 1px solid var(--bw-line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.82rem;
  color: var(--bw-plum-soft);
}

.bw-footer__mark {
  font-family: var(--bw-serif);
  color: var(--bw-plum);
}

.bw-footer__legal {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.bw-footer__legal a {
  text-decoration: none;
  color: var(--bw-plum-mid);
}

.bw-footer__legal a:hover {
  color: var(--bw-plum);
}

/* N12 — mobile footer dock */
.bw-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--bw-plum);
  color: var(--bw-peach-soft);
  padding: 0.55rem 0.4rem calc(0.55rem + env(safe-area-inset-bottom));
  justify-content: space-around;
  gap: 0.25rem;
  box-shadow: 0 -4px 20px rgba(61, 40, 52, 0.2);
}

.bw-dock a {
  flex: 1;
  text-align: center;
  color: rgba(250, 240, 234, 0.9);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.2rem;
}

.bw-dock a:hover,
.bw-dock a[aria-current="page"] {
  color: var(--bw-peach);
}

/* CB20 — cookie banner matching A22 peach/plum */
.bw-cookie {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: auto;
  max-width: 22rem;
  z-index: 60;
  padding: 1.15rem 1.2rem 1.25rem;
  background: linear-gradient(145deg, var(--bw-peach) 0%, #f0c9b4 100%);
  color: var(--bw-plum);
  border: 1px solid rgba(74, 47, 61, 0.2);
  border-radius: 0.35rem;
  box-shadow: 0 12px 36px rgba(74, 47, 61, 0.18);
  display: none;
}

.bw-cookie.is-visible {
  display: block;
}

.bw-cookie p {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.bw-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.bw-cookie__actions button {
  font-family: var(--bw-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 0.8rem;
  border-radius: 0.2rem;
  cursor: pointer;
  border: 1px solid var(--bw-plum);
  background: var(--bw-plum);
  color: var(--bw-peach-soft);
}

.bw-cookie__actions button[data-cookie="decline"],
.bw-cookie__actions button[data-cookie="settings"] {
  background: transparent;
  color: var(--bw-plum);
}

.bw-cookie__panel {
  display: none;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(74, 47, 61, 0.2);
}

.bw-cookie__panel.is-open {
  display: block;
}

.bw-cookie__panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

/* Hours ribbon helper */
.bw-hours {
  font-size: 0.9rem;
  color: var(--bw-plum-mid);
}

@media (max-width: 980px) {
  .bw-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bw-hero__copy {
    padding: 5.5rem 1.5rem 2rem;
    order: 2;
  }

  .bw-hero__media {
    order: 1;
    min-height: 48vh;
  }

  .bw-hero__media img {
    min-height: 48vh;
  }

  .bw-pair {
    grid-template-columns: 1fr;
  }

  .bw-collection {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .bw-rail {
    transform: translateX(-105%);
  }

  body.bw-rail-open .bw-rail {
    transform: translateX(0);
  }

  .bw-rail-toggle {
    display: grid;
    place-items: center;
  }

  .bw-shell {
    margin-left: 0;
  }

  .bw-dock {
    display: flex;
  }

  .bw-footer {
    padding-bottom: 6.5rem;
  }

  .bw-cookie {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 4.5rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .bw-hero__media img {
    transform: none !important;
  }
}
