/* Header + top bar + mobile toggle */

.spp-topbar {
  background: #3a3a3a;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 400;
}

.spp-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.15rem;
  padding-block: 0.28rem;
}

.spp-topbar__left,
.spp-topbar__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.spp-topbar__claim {
  gap: 0.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #e3cba4 !important;
  white-space: nowrap;
}

.spp-topbar__claim:hover {
  color: var(--spp-white) !important;
}

.spp-topbar__claim svg {
  width: 0.8rem;
  height: 0.8rem;
  opacity: 1;
}

.spp-topbar__claim-short {
  display: none;
}

.spp-topbar a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.spp-topbar a:hover {
  color: var(--spp-white);
}

.spp-topbar svg {
  width: 0.9rem;
  height: 0.9rem;
  opacity: 0.85;
}

.spp-topbar__cta {
  background: var(--spp-gold);
  color: var(--spp-white) !important;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: var(--spp-radius);
}

.spp-topbar__cta:hover {
  background: var(--spp-gold-deep);
}

.spp-topbar__order {
  background: var(--spp-white);
  color: #2a2a2a !important;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.28rem 0.85rem;
  border-radius: var(--spp-radius-pill);
}

.spp-topbar__order:hover {
  background: var(--spp-cream);
}

/* Header bar height. On desktop the homepage hero pulls up by this to sit behind the header. */
:root {
  --spp-header-h: 5.55rem;
}

/* With the full nav, the empty .spp-header__actions wraps to a second grid row and adds the 1rem gap. */
@media (min-width: 1280px) {
  :root {
    --spp-header-h: 6.55rem;
  }
}

.spp-header {
  position: sticky;
  top: 0;
  z-index: 90;
  overflow: visible;
  background: #fff;
  border-bottom: 0;
  transition: background-color 0.25s var(--spp-ease);
}

/* Until scroll, the header floats on the first section so its background runs up to the top bar. */
.spp-header:not(.is-compact) {
  background: transparent;
}

/* Must match the header height exactly, or a strip of body background shows under the header. */
.spp-main > :first-child:not(.spp-fp-hero) {
  margin-top: calc(-1 * var(--spp-header-h));
  border-top: var(--spp-header-h) solid transparent;
  background-origin: border-box;
}

/* Photo heroes: the photo itself runs up behind the header, with a soft fade so the logo and menu stay legible. */
.spp-main > .spp-we-hero:first-child {
  border-top: 0;
}

.spp-main > .spp-we-hero:first-child .spp-we-hero__scene {
  position: relative;
}

.spp-main > .spp-we-hero:first-child .spp-we-hero__scene img {
  height: calc(min(72vh, 38rem) + var(--spp-header-h));
}

.spp-main > .spp-we-hero:first-child .spp-we-hero__scene::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: calc(var(--spp-header-h) + 4rem);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.spp-header__inner {
  max-width: 1440px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--spp-header-h);
  padding-block: 0.65rem;
}

.spp-header__logo {
  grid-column: 2;
  position: relative;
  z-index: 2;
  width: 210px;
  height: 4.25rem;
  align-self: center;
}

/* Offsets center the disc on the logo's text ring, which sits right of and above the image center. */
.spp-header.has-logo-disc .spp-header__logo::before {
  content: "";
  position: absolute;
  left: calc(50% + 6.5px);
  top: -10.5px;
  z-index: -1;
  width: 186px;
  height: 186px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(51, 51, 51, 0.1);
  transform: translateX(-50%);
  transition: width 0.25s var(--spp-ease), height 0.25s var(--spp-ease), top 0.25s var(--spp-ease), left 0.25s var(--spp-ease);
}

.spp-header.has-logo-disc.is-compact .spp-header__logo::before {
  left: calc(50% + 3.2px);
  top: -5.5px;
  width: 94px;
  height: 94px;
}

.spp-header__logo img {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 186px;
  max-width: none;
  height: auto;
  transition: width 0.25s var(--spp-ease);
}

.spp-header.is-compact .spp-header__logo {
  width: 96px;
}

.spp-header.has-logo-disc .spp-header__logo img {
  top: 4px;
}

.spp-header.is-compact .spp-header__logo img {
  width: 92px;
  top: 0.1rem;
}

.spp-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.75rem);
}

.spp-nav--left {
  grid-column: 1;
  justify-content: flex-end;
  padding-right: clamp(1rem, 2vw, 2rem);
}

.spp-nav--right {
  grid-column: 3;
  justify-content: flex-start;
  padding-left: clamp(1rem, 2vw, 2rem);
}

.spp-header__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 3;
}

.spp-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--spp-radius-pill);
  background: var(--spp-gold);
  color: var(--spp-white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.spp-header__cta:hover {
  background: var(--spp-gold-deep);
  color: var(--spp-white);
}

.spp-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spp-forest);
  white-space: nowrap;
}

.spp-nav a:hover,
.spp-nav a.is-active {
  color: var(--spp-gold-deep);
}

.spp-nav .spp-header__cta {
  margin-left: 0.15rem;
  color: var(--spp-white);
}

.spp-nav .spp-header__cta:hover {
  color: var(--spp-white);
  background: var(--spp-gold-deep);
}

.spp-header__menu-btn {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spp-forest);
}

.spp-header__menu-btn span {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1.5px solid var(--spp-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.spp-header__menu-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}
@media (max-width: 1439px) {
  .spp-nav {
    gap: clamp(1rem, 1.7vw, 2.75rem);
  }

  .spp-nav--left {
    padding-right: 0.75rem;
  }

  .spp-nav--right {
    padding-left: 0.75rem;
  }

  .spp-nav a {
    letter-spacing: 0.08em;
  }
}

/* Tablet and phone: logo centered, menu icon only. On the homepage it floats on the hero sky until scroll. */
@media (max-width: 1279px) {
  .spp-nav {
    display: none;
  }

  :root {
    --spp-header-h: 7.5rem;
  }

  .spp-header {
    box-shadow: 0 1px 0 var(--spp-border-soft);
  }

  .spp-header:not(.is-compact) {
    box-shadow: none;
  }

  .spp-header__inner {
    padding-block: 0.4rem;
    transition: min-height 0.25s var(--spp-ease);
  }

  .spp-header.is-compact .spp-header__inner {
    min-height: 3.85rem;
    padding-block: 0.3rem;
  }

  .spp-header__logo {
    display: block;
    width: 124px;
    height: auto;
    transition: width 0.25s var(--spp-ease);
  }

  .spp-header.is-compact .spp-header__logo {
    width: 58px;
  }

  .spp-header__logo img,
  .spp-header.has-logo-disc .spp-header__logo img,
  .spp-header.is-compact .spp-header__logo img {
    position: static;
    display: block;
    width: 100%;
    transform: none;
  }

  .spp-header.has-logo-disc .spp-header__logo::before {
    display: none;
  }

  .spp-header__menu-btn {
    display: inline-flex;
    font-size: 0;
    gap: 0;
  }

  .spp-header__menu-btn span {
    width: 2.6rem;
    height: 2.6rem;
    border-width: 1px;
  }

  .spp-header__menu-btn svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke-width: 1.5;
  }
}

@media (max-width: 960px) {
  .spp-topbar__left span:not(.spp-topbar__loc),
  .spp-topbar__left a:nth-child(2) {
    display: none;
  }
}

@media (max-width: 720px) {
  .spp-topbar__right a:not(.spp-topbar__order),
  .spp-topbar__left {
    display: none;
  }
}

@media (max-width: 480px) {
  .spp-topbar__claim-full {
    display: none;
  }

  .spp-topbar__claim-short {
    display: inline;
  }

  .spp-topbar__claim {
    letter-spacing: 0;
  }

  .spp-topbar__claim svg {
    display: none;
  }

  .spp-topbar__order {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .spp-topbar__loc {
    display: none;
  }
}
