/* First desktop refinement: header, hero and the supply ribbon only. */
:root {
  --header-height: 88px;
  --header-compact-height: 72px;
}

html { scroll-padding-top: 104px; }
body { padding-top: var(--header-height); }
.skip { position: fixed; z-index: 60; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  isolation: isolate;
  background: transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(251 239 230 / 84%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgb(48 33 26 / 10%), 0 8px 32px rgb(48 33 26 / 3%);
  opacity: 0;
  transition: opacity 240ms ease;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-row {
  height: var(--header-height);
  grid-template-columns: 136px minmax(0, 1fr) auto auto;
  gap: 24px;
  border-bottom: 1px solid rgb(117 102 88 / 22%);
  transition: height 240ms ease, border-color 240ms ease;
}
.site-header.is-scrolled .header-row {
  height: var(--header-compact-height);
  border-bottom-color: transparent;
}
.brand, .brand img { width: 136px; }
.brand { display: block; }
.primary-nav {
  justify-content: center;
  padding-left: 0;
  gap: clamp(16px, 1.5vw, 24px);
  height: 100%;
}
.primary-nav > a, .services-menu > summary {
  font-size: 14px;
  font-weight: 500;
  padding-block: 12px;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: color 180ms ease;
}
.services-menu {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.services-menu summary { height: 100%; gap: 6px; }
.services-menu summary > img { opacity: .7; transition: transform 180ms ease; }
.services-menu[open] summary > img { transform: rotate(-90deg); }
.services-menu[open] summary::after { bottom: 14px; height: 1px; }
.header-row { position: relative; }
.services-dropdown {
  top: calc(100% + 8px);
  left: -24px;
  width: 368px;
  padding: 8px;
  border: 1px solid rgb(215 194 174 / 70%);
  border-radius: 8px;
  background: #fdf4ec;
  box-shadow: 0 16px 48px rgb(48 33 26 / 12%);
}
.services-dropdown > a {
  grid-template-columns: 32px 1fr 16px;
  gap: 4px 16px;
  padding: 16px;
  border: 0;
  border-radius: 4px;
  transition: background-color 180ms ease;
}
.services-dropdown > a + a { border-top: 1px solid rgb(215 194 174 / 45%); }
.services-dropdown a:hover { background: var(--sand); }
.services-dropdown a:focus-visible { outline-offset: -3px; }
.services-dropdown a > span { grid-column: 2; grid-row: 1; font-size: 14px; }
.services-dropdown a > small { grid-column: 2; grid-row: 2; font-size: 12px; line-height: 1.5; }
.services-dropdown a > .service-menu-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  opacity: .9;
}
.services-dropdown a > .service-menu-arrow {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 16px;
  height: 16px;
  opacity: .65;
}
.tracking {
  min-height: 32px;
  padding-left: 24px;
  gap: 8px;
  font-size: 13px;
  color: var(--stone);
  transition: color 180ms ease;
}
.tracking:hover { color: var(--red); }
.tracking img { width: 16px; height: 16px; opacity: .7; }
.header-cta {
  min-height: 48px;
  padding: 12px 16px;
  font-size: 13px;
  border-color: rgb(185 50 35 / 50%);
  color: var(--red);
}
.site-header.is-scrolled .header-cta { background: var(--red); color: #fff; border-color: var(--red); }
.site-header.is-scrolled .header-cta:hover { background: #a92f20; border-color: #a92f20; }

.hero { padding: 0; }
.hero-stage {
  display: grid;
  grid-template-columns: 51% 49%;
  align-items: center;
  min-height: 520px;
  aspect-ratio: auto;
  overflow: visible;
}
.hero-content.container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  padding: 40px 0 48px;
  margin: 0;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 11px;
  letter-spacing: .08em;
}
.hero-eyebrow-rule { display: block; width: 32px; height: 1px; background: var(--red); opacity: .5; }
.hero h1 {
  max-width: none;
  font-size: clamp(70px, 5.75vw, 84px);
  line-height: .99;
  letter-spacing: -.035em;
}
.hero h1 > span { display: inline-block; padding-top: 8px; }
.hero-lead {
  max-width: 400px;
  margin-top: 24px;
  color: var(--stone);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions { gap: 24px; margin-top: 32px; }
.hero-actions .button {
  min-height: 52px;
  padding: 12px 24px;
  gap: 24px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgb(185 50 35 / 8%);
}
.hero-actions .text-link {
  min-height: 48px;
  gap: 16px;
  padding: 12px 0;
  font-size: 13px;
  border-bottom-color: rgb(48 33 26 / 32%);
}
.hero-actions a img { transition: transform 180ms ease; }
.hero-actions a:hover img { transform: translateX(3px); }
.hero-visual {
  position: relative;
  align-self: stretch;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}
.hero-image {
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  mask-image: none;
  -webkit-mask-image: none;
}

.supply-strip {
  margin: 0;
  background: var(--ink);
  border: 0;
  color: var(--paper);
}
.supply-row {
  min-height: 88px;
  padding: 16px 0;
  grid-template-columns: auto minmax(24px,1fr) auto minmax(24px,1fr) auto auto;
  gap: 24px;
}
.supply-stop { gap: 16px; font-size: 16px; }
.supply-stop img { width: 28px; height: 28px; opacity: .9; }
.supply-stop > span { display: flex; flex-direction: column; gap: 3px; }
.supply-stop strong { font-size: 15px; font-weight: 500; line-height: 1.4; }
.supply-stop small { font-size: 12px; color: #cdb6a2; line-height: 1.5; }
.supply-line { background: #80654f; }
.supply-line::after { width: 4px; height: 4px; top: -1.5px; background: #bc9670; }
.supply-arrow::after { width: 5px; height: 5px; top: -2px; border-width: 1px; background: none; border-color: #bc9670; }
.supply-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  margin-left: 8px;
  padding-left: 24px;
  border-left: 1px solid #5e493a;
  font-size: 12px;
  white-space: nowrap;
}
.supply-link img { width: 16px; height: 16px; filter: brightness(0) invert(1); opacity: .75; }
.supply-link:hover { color: #eac399; }
.supply-link:focus-visible { outline-color: var(--paper); outline-offset: 4px; }

@media (min-width: 1100px) and (max-width: 1279px) {
  .header-row { grid-template-columns: 120px minmax(0,1fr) auto auto; gap: 16px; }
  .brand, .brand img { width: 120px; }
  .primary-nav { gap: 12px; }
  .primary-nav > a, .services-menu > summary { font-size: 12px; }
  .tracking { padding-left: 16px; font-size: 11px; }
  .header-cta { padding-inline: 12px; font-size: 11px; }
  .hero h1 { font-size: 66px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 16px; gap: 16px; }
  .supply-row { gap: 16px; }
  .supply-stop { gap: 12px; }
  .supply-link { gap: 8px; padding-left: 16px; margin-left: 0; }
}
@media (min-width: 1100px) and (max-height: 800px) {
  .hero-stage { min-height: 456px; }
  .hero-content.container { padding-block: 32px; }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero h1 { font-size: clamp(66px, 5.4vw, 78px); }
  .hero h1 > span { padding-top: 4px; }
  .hero-lead { margin-top: 24px; }
  .hero-actions { margin-top: 24px; }
  .supply-row { min-height: 80px; padding-block: 12px; }
}
@supports not (backdrop-filter: blur(20px)) {
  .site-header::before { background: rgb(251 239 230 / 98%); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header::before, .header-row, .hero-actions a img, .services-menu summary > img { transition: none; }
}
