/* PhytoBronch — cool paper, pine, one grotesque */
:root {
  --paper: #f3f4f1;
  --mist: #e4e6e1;
  --ink: #141816;
  --pine: #14352a;
  --pine-deep: #0c241c;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gut: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; margin: 0 0 0.45em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.03em; }

.container { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--pine); color: var(--paper); padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { top: 0.6rem; }

.topline { background: var(--pine-deep); color: var(--paper); font-size: 1rem; }
.topline .container { padding-top: 0.7rem; padding-bottom: 0.7rem; }
.topline p { margin: 0; }
.topline a { color: var(--paper); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--pine); color: var(--paper); }
.site-header :focus-visible { outline-color: var(--paper); }
.bar {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 72px; flex-wrap: wrap;
}
.brand {
  text-decoration: none; font-weight: 700; font-size: 1.35rem;
  letter-spacing: -0.045em; line-height: 1; color: var(--paper);
}
.nav-toggle {
  position: absolute; left: 0; top: 0; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; overflow: hidden;
}
.main-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; padding: 0.35rem 0; color: var(--paper); }
.main-nav a[aria-current="page"] { font-weight: 700; }
.header-tools { display: flex; align-items: center; gap: 0.6rem; }
.cart-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; font-weight: 600; background: var(--paper); color: var(--pine);
  min-height: 42px; padding: 0 0.85rem;
}
.cart-link [data-cart-count] {
  display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem;
  background: var(--pine); color: var(--paper); font-size: 0.85rem;
}
.burger {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 0.8rem;
  background: transparent; color: var(--paper); cursor: pointer; font-weight: 600;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.3rem; border: 0; border-radius: 0;
  background: var(--pine); color: var(--paper); text-decoration: none;
  font-weight: 650; font-weight: 600; cursor: pointer;
}
.btn:hover { background: var(--pine-deep); }
.btn-mist { background: var(--mist); color: var(--ink); }
.btn-mist:hover { background: #d5d8d2; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.link { font-weight: 600; }

.hero-split {
  display: grid;
  grid-template-columns: minmax(17rem, 34%) 1fr;
  align-items: stretch;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.3rem, 2.2vw, 2.1rem) clamp(1.2rem, 2.4vw, 2.2rem);
}
.hero-copy h1 {
  font-size: clamp(3.1rem, 4.8vw, 5.2rem);
  max-width: 7ch;
  line-height: 0.9;
  margin: 0;
}
.hero-prices {
  display: flex; gap: 1.6rem; margin: 0 0 0.7rem;
}
.hero-prices strong {
  display: block; font-size: clamp(1.55rem, 2.2vw, 2rem);
  letter-spacing: -0.04em; line-height: 1.05; margin-top: 0.12rem;
}
.lede { font-size: 1.12rem; max-width: 34ch; margin-bottom: 0; }
.hero-action { margin: 1rem 0 0; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover; object-position: 58% 55%;
}
body:has(#cookie-bar:not([hidden])) .hero-copy { padding-bottom: 5.2rem; }

.section { padding: clamp(4.2rem, 9vw, 7.5rem) 0; }
.band-pine { background: var(--pine); color: var(--paper); }
.band-pine :focus-visible { outline-color: var(--paper); }
.band-mist { background: var(--mist); }
.band-pine .btn { background: var(--paper); color: var(--pine); }
.band-pine .btn:hover { background: var(--mist); }

.moments, .story, .split, .voices, .faq-wrap, .contact, .product, .cart-layout, .doc {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
}
.moments { grid-template-columns: 1fr 1fr; align-items: start; }
.story, .split, .voices, .faq-wrap, .contact, .product, .cart-layout {
  grid-template-columns: 1fr 1fr;
}
.doc { grid-template-columns: 15rem 1fr; align-items: start; }
.voices { grid-template-columns: 1.25fr 0.85fr; align-items: start; }
.product { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.cart-layout { grid-template-columns: 1.35fr 0.75fr; align-items: start; }
.split-inhaler { grid-template-columns: 0.85fr 1.15fr; }

.moments img, .story img, .split img, .banner-img { width: 100%; object-fit: cover; }
.moments img, .story img, .banner-img { aspect-ratio: 4 / 3; }
.moment h2, .split h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 1.2rem;
  margin-top: 1.6rem;
}
.tile {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.8rem;
  align-items: baseline;
}
.tile > a:first-child { grid-column: 1 / -1; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tile h3 { grid-column: 1; margin: 0.75rem 0 0.2rem; }
.tile h3 a, .sol h3 a { text-decoration: none; }
.tile > p { grid-column: 1 / -1; margin: 0 0 0.3rem; }
.tile > p:last-of-type { display: none; }
.tile .price, .product .price, .sol .price { font-weight: 700; letter-spacing: -0.04em; }
.tile .price { grid-column: 2; grid-row: 2; margin: 0.75rem 0 0; font-size: 1.15rem; text-align: right; }
.tile-actions { grid-column: 1 / -1; margin-top: 0.45rem; }
.index-add {
  min-height: 44px; min-width: 44px; padding: 0 0.9rem;
  border: 0; background: var(--pine); color: var(--paper); cursor: pointer; font-weight: 600;
}
.band-pine .index-add { background: var(--paper); color: var(--pine); }

.sols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin-top: 1.5rem; }
.fine { font-size: 1rem; max-width: 62ch; }

.quote-lead {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.2; font-weight: 560; font-weight: 500;
  letter-spacing: -0.03em; margin: 0 0 0.8rem; max-width: 22ch;
}
.quote-rest { display: grid; gap: 1.6rem; }
.quote-rest blockquote, .quote-lead + figcaption { margin: 0; }
.quote-rest p { margin: 0 0 0.4rem; }
figcaption { font-weight: 600; }
figcaption span { display: block; font-weight: 400; }

.faq + .faq { margin-top: 0.35rem; }
.faq summary { cursor: pointer; font-weight: 650; font-weight: 600; font-size: 1.2rem; padding: 0.85rem 0; }
.faq[open] { background: var(--mist); padding: 0 1rem 0.4rem; }
.band-mist .faq[open] { background: var(--paper); }
.faq-a p { margin-top: 0.2rem; }

.page-head { background: var(--mist); padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.crumbs { margin: 0 0 1rem; }
.crumbs a { text-decoration: none; font-weight: 600; }
.page-intro { max-width: 40rem; font-size: 1.15rem; }

.product-info { position: sticky; top: 6.2rem; align-self: start; }
.product h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 16ch; }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tagline { font-size: 1.2rem; margin-bottom: 0.4rem; }
.product .price { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0.2rem 0; }
.vat { display: block; margin-bottom: 1rem; }
.buy { display: grid; gap: 0.6rem; margin: 1.2rem 0; }
.perks { margin: 0; padding: 0; list-style: none; }
.perks li { margin: 0 0 0.7rem; }

.dossier { margin-top: clamp(3rem, 7vw, 5rem); display: grid; gap: 2.2rem; }
.dossier-row { display: grid; grid-template-columns: 14rem 1fr; gap: 1.5rem; }
.dossier-row h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; }
.prose li { margin: 0.35rem 0; }
.callout { background: var(--mist); padding: 1rem 1.15rem; max-width: 68ch; }
.callout p { margin: 0; }
table.spec { width: 100%; border-collapse: collapse; max-width: 46rem; }
table.spec th, table.spec td { text-align: left; vertical-align: top; padding: 0.75rem 0.8rem; font-weight: 400; }
table.spec th { width: 11rem; background: var(--mist); font-weight: 600; }
table.spec tr + tr th, table.spec tr + tr td { padding-top: 0.75rem; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.related img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.toc ol { margin: 0; padding-left: 1.15rem; }
.toc li { margin: 0.4rem 0; }
.toc a { text-decoration: none; font-weight: 600; }
.data-list { display: grid; gap: 0.9rem; margin: 0; }
.data-list div { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; }
.data-list dt { font-weight: 700; }
.data-list dd { margin: 0; }

.gloss { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.5rem; }
.gloss h3 { margin-bottom: 0.25rem; }
.gloss p { margin: 0; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full, .check.full, .actions.full { grid-column: 1 / -1; }
.field span { font-weight: 600; }
input, select, textarea {
  background: transparent; border: 0; border-bottom: 2px solid var(--ink);
  border-radius: 0; padding: 0.65rem 0; width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
.band-pine input, .band-pine select, .band-pine textarea, .contact-panel input { border-bottom-color: var(--paper); }
.check { display: flex; gap: 0.7rem; align-items: flex-start; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; accent-color: var(--pine); }
.field-error { display: block; color: #8d1c1c; font-weight: 600; margin-top: 0.35rem; }
.field-error-fix {
  border: 0; background: var(--mist); cursor: pointer; font-weight: 600; padding: 0.15rem 0.4rem;
}
[aria-invalid="true"] { border-bottom-color: #8d1c1c; }
.contact-panel { background: var(--pine); color: var(--paper); padding: clamp(1.4rem, 3vw, 2.2rem); }
.contact-panel a { color: var(--paper); }
.contact-panel .data-list div { grid-template-columns: 8.5rem 1fr; }

.cart-line {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem; align-items: center;
  background: var(--mist); padding: 0.9rem; margin-bottom: 0.7rem;
}
.cart-line img { width: 96px; height: 96px; object-fit: cover; }
.cart-line h2 { font-size: 1.25rem; margin: 0 0 0.2rem; }
.unit, .small { font-size: 1rem; }
.controls { display: flex; gap: 0.8rem; align-items: center; margin-top: 0.45rem; }
.qty { display: inline-flex; background: var(--paper); }
.qty button {
  width: 2.4rem; height: 2.4rem; border: 0; background: transparent; cursor: pointer;
}
.remove { border: 0; background: transparent; cursor: pointer; font-weight: 600; text-decoration: underline; padding: 0; }
.line-total { font-weight: 700; margin: 0; }
.summary { background: var(--pine); color: var(--paper); padding: 1.4rem; }
.summary h2 { font-size: 1.8rem; }
.summary .btn { background: var(--paper); color: var(--pine); }
.summary a { color: var(--paper); }
.sum-row, .sum-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.sum-lines li { margin: 0.35rem 0; }
.sum-total { font-size: 1.25rem; font-weight: 700; }
.empty { padding: 1rem 0 2rem; }

.modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(20, 24, 22, 0.55);
  display: grid; place-items: center; padding: 1rem;
}
.modal[hidden] { display: none; }
.modal-box {
  background: var(--paper); color: var(--ink);
  padding: 1.8rem; width: min(32rem, 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.thanks-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

.site-footer { background: var(--pine); color: var(--paper); padding: clamp(3rem, 7vw, 5rem) 0 1.4rem; }
.footer-sign {
  margin: 0 0 1.6rem; font-weight: 700; letter-spacing: -0.05em; line-height: 0.85;
  font-size: clamp(2.6rem, 7.4vw, 6.4rem); white-space: nowrap;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.8rem 1.4rem; }
.site-footer h2 { font-size: 1.15rem; letter-spacing: -0.03em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer a { color: var(--paper); text-decoration: none; }
.footer-contact { display: grid; gap: 0.25rem; }
.footer-legal { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; margin-top: 2.4rem; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--ink); color: var(--paper); padding: 0.7rem 0;
}
.cookie-bar .btn { min-height: 42px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--paper); }
.cookie-actions { display: flex; gap: 0.5rem; flex: none; }
.cookie-bar .btn { background: var(--paper); color: var(--ink); }
.cookie-bar .btn-mist { background: transparent; color: var(--paper); }

@media (max-width: 980px) {
  .catalog { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc, .dossier-row { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .product-info { position: static; }
}
@media (max-width: 800px) {
  .burger { display: inline-flex; }
  .main-nav {
    display: none; flex-basis: 100%; flex-direction: column;
    margin: 0 0 0.8rem; gap: 0.2rem;
  }
  .main-nav a { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.04em; padding: 0.35rem 0; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .header-tools { margin-left: auto; }
  .hero-split, .moments, .story, .split, .voices, .faq-wrap, .contact, .product, .cart-layout, .sols, .gloss, .form, .footer-legal {
    grid-template-columns: 1fr;
  }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 16 / 10; height: auto; }
  .hero-copy { padding: 1.4rem var(--gut) 1.2rem; }
  body:has(#cookie-bar:not([hidden])) .hero-copy { padding-bottom: 8.5rem; }
  .footer-sign { font-size: clamp(2.4rem, 12vw, 4rem); }
  .cart-line { grid-template-columns: 76px 1fr; }
  .line-total { grid-column: 2; }
  .cookie-bar .container { flex-direction: column; align-items: stretch; }
  .data-list div, .contact-panel .data-list div { grid-template-columns: 1fr; gap: 0.15rem; }
}
@media (max-width: 560px) {
  .catalog { grid-template-columns: 1fr; }
  body { font-size: 17px; }
}
