/* layout: frame, header, menus, footer, bands, hero, page heads */
.wrap {
  max-width: var(--wd1);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gt1);
  padding-right: var(--gt1);
}

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--cr1);
  border-bottom: 1px solid var(--cr3);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--hd1);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--tx1);
  font-family: var(--ff1);
  font-size: 1.12rem;
  text-decoration: none;
}

.logo svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--tx1);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(var(--rd1), var(--rd1));
  background-position: 12px calc(100% - 9px);
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.2s;
}

.nav-links a:hover,
.nav-links a.nav-active {
  background-size: calc(100% - 24px) 2px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-left: 6px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--cr3);
  border-radius: var(--rc1);
  background: var(--wt1);
  color: var(--tx1);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.cart-btn:hover {
  border-color: var(--rd1);
  color: var(--tx1);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: var(--rd1);
  color: var(--wt1);
  font-size: 0.8rem;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cr3);
  border-radius: var(--rc1);
  background: var(--wt1);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--tx1);
  box-shadow: 0 -6px 0 var(--tx1), 0 6px 0 var(--tx1);
}

/* mobile sheet lives after the header; closed state uses visibility, not opacity */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gt1) 32px;
  background: var(--cr1);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.25s, visibility 0s 0.25s;
}

.menu-sheet.nav-active {
  visibility: visible;
  transform: none;
  transition: transform 0.25s;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--hd1);
  border-bottom: 1px solid var(--cr3);
}

.menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--cr3);
  border-radius: var(--rc1);
  background: var(--wt1);
  font-size: 1.4rem;
  cursor: pointer;
}

.menu-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.menu-list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--cr3);
  color: var(--tx1);
  font-family: var(--ff1);
  font-size: 1.05rem;
  text-decoration: none;
}

.menu-foot {
  margin-top: auto;
  padding-top: 28px;
  color: var(--tx2);
  font-size: 0.95rem;
}

@media (max-width: 899px) {
  :root {
    --hd1: 64px;
  }

  .nav-links {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

/* bands: background / tint alternate, pastel blobs only in section backgrounds */
.band-bg {
  background-color: var(--cr1);
}

.band-tint {
  background-color: var(--cr2);
}

.band-blob {
  background-image:
    radial-gradient(38rem 26rem at 8% 18%, var(--mn1) 0, rgba(220, 232, 234, 0) 70%),
    radial-gradient(30rem 24rem at 92% 82%, var(--mn2) 0, rgba(228, 227, 238, 0) 70%);
  background-repeat: no-repeat;
}

.band-dark {
  background-color: var(--tx1);
  color: var(--cr1);
}

.sec {
  padding-top: 88px;
  padding-bottom: 88px;
}

/* ragged rhythm: each section sets its own vertical padding */
.sec-a {
  padding-top: 72px;
  padding-bottom: 104px;
}

.sec-b {
  padding-top: 120px;
  padding-bottom: 64px;
}

.sec-c {
  padding-top: 56px;
  padding-bottom: 92px;
}

.sec-d {
  padding-top: 96px;
  padding-bottom: 128px;
}

.sec-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.sec-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.sec-head-row .sec-head {
  margin-bottom: 0;
}

/* hero: type only, shifted off centre */
.hero {
  position: relative;
  padding-top: 80px;
  padding-bottom: 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.hero-copy {
  grid-column: 2 / span 7;
}

.hero-title {
  max-width: 19ch;
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem);
}

.hero-side {
  grid-column: 9 / span 4;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 26px;
  padding: 8px 0 8px 28px;
  border-left: 1px solid var(--cr3);
}

.hero-num {
  margin: 0;
  font-size: clamp(7rem, 4rem + 8vw, 13.5rem);
}

.hero-num small {
  display: block;
  margin-top: 12px;
  color: var(--tx2);
  font-family: var(--ff2);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-text-stroke: 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--cr3);
  border-radius: var(--rc1);
  background: var(--wt1);
  box-shadow: var(--sh1);
  font-size: 0.92rem;
}

.hero-facts dt {
  color: var(--tx2);
}

.hero-facts dd {
  margin: 0;
  font-weight: 700;
}

.word-line {
  margin: 0;
  color: var(--tx2);
  font-size: 0.95rem;
}

/* the swapping word sits on its own line with a fixed height */
.word-swap {
  display: block;
  min-height: 1.3em;
  color: var(--rd1);
  font-family: var(--ff1);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  line-height: 1.3;
  transition: color 0.3s;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 30px;
}

.hero-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--tx1);
  font-weight: 700;
  text-decoration: none;
}

.hero-tel span {
  color: var(--tx2);
  font-weight: 500;
}

@media (max-width: 899px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .hero-cta {
    margin-top: 20px;
  }

  .hero-copy,
  .hero-side {
    grid-column: 1 / -1;
  }

  .hero-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--cr3);
  }

  .hero-num {
    font-size: 5.5rem;
  }
}

/* small phones: keep h1, CTA and phone above the consent bar */
@media (max-width: 420px) {
  .hero-title {
    font-size: 1.45rem;
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-tel span {
    display: none;
  }

  .hero-cta {
    gap: 4px 20px;
  }
}

/* inner page head: same structure on every inner page so the h1 lands at the same height */
.page-head {
  padding-top: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--cr3);
}

.page-head h1 {
  max-width: 24ch;
  margin-bottom: 14px;
}

.page-head .lead {
  margin-bottom: 0;
}

.crumbs {
  margin: 0 0 14px;
  color: var(--tx2);
  font-size: 0.9rem;
}

.crumbs a {
  color: var(--tx2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.split-rev {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}

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

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

@media (max-width: 899px) {
  .split,
  .split-rev,
  .cols-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .cols-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .sec,
  .sec-a,
  .sec-b,
  .sec-c,
  .sec-d {
    padding-top: 56px;
    padding-bottom: 64px;
  }
}

/* footer: two columns */
.site-foot {
  padding-top: 64px;
  padding-bottom: 40px;
  background: var(--tx1);
  color: var(--cr2);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
}

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

.foot-h {
  margin-bottom: 10px;
  color: var(--wt1);
  font-size: 0.86rem;
}

.foot-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-foot a {
  color: var(--cr2);
  text-decoration-color: rgba(236, 240, 242, 0.4);
}

.site-foot a:hover {
  color: var(--wt1);
}

.foot-id {
  padding-left: 32px;
  border-left: 1px solid var(--tx2);
}

.foot-brand {
  margin-bottom: 10px;
  color: var(--wt1);
  font-family: var(--ff1);
  font-size: 1.2rem;
}

.foot-id address {
  line-height: 1.5;
}

.foot-id small {
  display: block;
  margin-top: 16px;
  color: var(--cr3);
  font-size: 0.84rem;
}

@media (max-width: 899px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot-id {
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid var(--tx2);
  }
}

@media (max-width: 560px) {
  .foot-links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
