/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding: 20px var(--gutter) 0;
}

/* Logo + tagline lockup: the tagline wraps inside the logo's width, as in the brand flyer. */
.brand-block {
  flex: none; /* brandbook: never render the logo below 220 px */
  width: clamp(220px, 20vw, 280px);
}

.brand {
  display: block;
}

.brand img {
  width: 100%;
  height: auto;
}

.brand__tag {
  margin: 10px 0 0;
  font-size: clamp(0.9rem, 1.15vw, 1.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--marfil);
}

.brand__tag em {
  font-style: normal;
  color: var(--vermilion);
}

@media (max-width: 480px) {
  .site-header {
    gap: 12px;
  }

  .site-header .btn {
    padding: 0.7em 1.1em;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  padding: calc(var(--header-h) + 6vh) var(--gutter) 5vh;
  overflow: clip;
}

.hero__o {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -14vmin;
  width: min(96vmin, 960px);
  height: auto;
  translate: 0 -46%;
}

.hero__o rect {
  fill: var(--carbon-2);
}

.hero__inner {
  align-self: center;
  max-width: 78rem;
}

.hero__eyebrow {
  margin: 0 0 clamp(18px, 3vh, 32px);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vermilion);
}

.hero__title {
  margin: 0;
  max-width: 11.5em;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--vermilion);
}

/* The orange quarter circle: same radius as the logo bite, used as the final period. */
.quarter-home {
  display: inline-block;
  width: 0.26em;
  height: 0.26em;
  margin-left: 0.05em;
}

.quarter {
  display: block;
  width: var(--q, 100%);
  height: var(--q, 100%);
  background: var(--q-color, var(--vermilion));
  border-top-right-radius: 100%;
  transform-origin: 0 100%;
  translate: var(--qx, 0) var(--qy, 0);
  will-change: translate;
}

.hero__sub {
  max-width: 34rem;
  margin: clamp(24px, 4vh, 44px) 0 0;
  font-size: var(--fs-lead);
  color: var(--muted);
}

.hero__for {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 10px;
  max-width: 52rem;
  margin-top: clamp(20px, 3.5vh, 36px);
}

.hero__for-label {
  margin: 0 8px 0 0;
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vermilion);
}

.hero__for ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__for li {
  padding: 0.5em 1.05em;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.35;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  align-items: baseline;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__facts strong {
  margin-right: 0.4em;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--marfil);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vermilion);
}
