/* ============================================================
   ARLO — Masthead
   A two-part identity bar: a service strip that carries the live
   opening status, today's window, the address and the call line,
   above the sticky night bar with the ARLO seal, the icon-led
   navigation and the visit action.
   ============================================================ */

/* ---------- Service strip ---------- */
.site-strip {
  --strip-ink: #cfc4b4;
  --strip-ink-strong: #efe5d6;
  --strip-accent: #d9a77e;

  position: relative;
  z-index: 55;
  color: var(--strip-ink);
  font-size: clamp(0.6875rem, 0.65rem + 0.2vw, 0.8125rem);
  line-height: 1.6;
  border-bottom: 1px solid rgba(217, 167, 126, 0.14);
  background-color: #140d07;
  background-image:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M0 24 24 0' stroke='%23d9a77e' stroke-opacity='0.07'/><circle cx='6' cy='18' r='0.8' fill='%23fdf9f2' fill-opacity='0.1'/></svg>"),
    linear-gradient(90deg, rgba(154, 91, 50, 0.3), rgba(154, 91, 50, 0.05) 44%, rgba(217, 167, 126, 0.14));
}

.site-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 2rem);
  min-height: var(--strip-h);
}

.site-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  white-space: nowrap;
}

.site-strip__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: var(--strip-ink-strong);
  transition: color var(--dur-med) var(--ease-out);
}

.site-strip__status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #7d6c58;
  transition:
    background var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
}

.site-strip__status.is-open {
  color: var(--strip-accent);
}

.site-strip__status.is-open::before {
  background: var(--strip-accent);
  animation: strip-pulse var(--dur-pulse) var(--ease-in-out) infinite;
}

.site-strip__status:empty,
.site-strip__hours:empty {
  display: none;
}

.site-strip__hours {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.site-strip__hours::before {
  content: "";
  width: 1px;
  height: 0.85em;
  background: rgba(217, 167, 126, 0.3);
}

@keyframes strip-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(217, 167, 126, 0.2);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(217, 167, 126, 0);
  }
}

.site-strip__place,
.site-strip__call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--strip-ink);
  transition: color var(--dur-fast) var(--ease-out);
}

.site-strip__place {
  flex: 0 1 auto;
}

.site-strip__place > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-strip__place:hover,
.site-strip__place:focus-visible,
.site-strip__call:hover,
.site-strip__call:focus-visible {
  color: var(--strip-accent);
}

.site-strip__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--strip-accent);
}

.site-strip__icon svg {
  width: 100%;
  height: 100%;
}

.site-strip__num {
  font-family: var(--font-num);
  font-variant-numeric: lining-nums;
  letter-spacing: 0.04em;
}

.site-strip__call {
  flex-shrink: 0;
}

/* ---------- Night bar ---------- */
.site-header {
  --header-ink: #f6efe3;
  --header-ink-soft: #cfc4b4;
  --header-accent: #d9a77e;
  --header-line: rgba(217, 167, 126, 0.22);
  --header-pill: rgba(217, 167, 126, 0.09);

  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--header-ink-soft);
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 -1px 0 rgba(217, 167, 126, 0.06);
  background-image:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M0 28 28 0' stroke='%23d9a77e' stroke-opacity='0.09'/><path d='M0 0 28 28' stroke='%23d9a77e' stroke-opacity='0.045'/><circle cx='7' cy='21' r='0.9' fill='%23fdf9f2' fill-opacity='0.13'/><ellipse cx='21' cy='7' rx='1.7' ry='1.1' transform='rotate(-32 21 7)' fill='%23d9a77e' fill-opacity='0.15'/></svg>"),
    radial-gradient(85% 240% at 100% 0%, rgba(217, 167, 126, 0.2), transparent 62%),
    radial-gradient(70% 200% at 0% 100%, rgba(154, 91, 50, 0.34), transparent 60%),
    linear-gradient(180deg, #2b2116 0%, #20170f 58%, #150e08 100%);
  transition:
    border-color var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 167, 126, 0.34) 16%,
    rgba(217, 167, 126, 0.75) 50%,
    rgba(217, 167, 126, 0.34) 84%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}

.site-header.is-scrolled {
  border-color: var(--header-line);
  box-shadow: inset 0 -1px 0 rgba(217, 167, 126, 0.07), 0 0.9rem 2.1rem -1.2rem rgba(0, 0, 0, 0.85);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

section[id],
#main {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.header__inner {
  display: grid;
  grid-template-columns: minmax(auto, 1fr) auto minmax(auto, 1fr);
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2.25rem);
  height: var(--header-h);
}

/* ---------- ARLO seal + wordmark ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.7rem;
  justify-self: start;
  line-height: 1;
  padding-inline-end: 0.85rem;
  border-inline-end: 2px solid var(--header-accent);
}

.brand__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--header-accent);
  transition:
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  color: var(--header-ink);
  transform: rotate(-10deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.brand__wordmark {
  font-family: var(--font-brand);
  font-size: clamp(0.9375rem, 0.6875rem + 0.75vw, 1.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--wordmark-ls);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--header-ink);
  margin-inline-end: calc(-1 * var(--wordmark-ls));
  transition: color var(--dur-fast) var(--ease-out);
}

.brand__tagline {
  font-size: clamp(0.6875rem, 0.65rem + 0.15vw, 0.75rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--header-ink-soft);
}

/* ---------- Icon-led navigation ---------- */
.header__nav {
  display: flex;
  align-items: center;
  justify-self: center;
  min-width: 0;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.15rem, 0.5vw, 0.45rem);
}

.header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem clamp(0.55rem, 1vw, 0.8rem);
  border-radius: 999px;
  line-height: 1.5;
  font-size: clamp(0.875rem, 0.75rem + 0.3125vw, 0.9375rem);
  white-space: nowrap;
  color: var(--header-ink-soft);
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.header__link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--header-accent);
  opacity: 0.7;
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
}

.header__link-icon svg {
  width: 100%;
  height: 100%;
}

.header__link-label {
  transition: transform var(--dur-med) var(--ease-out);
}

.header__link:hover {
  color: var(--header-ink);
  background: var(--header-pill);
}

.header__link:hover .header__link-icon,
.header__link:hover .header__link-label {
  transform: translateY(-1px);
}

.header__link:hover .header__link-icon {
  opacity: 1;
}

.header__link.is-current {
  color: var(--header-ink);
  background: var(--header-pill);
  box-shadow: inset 0 0 0 1px rgba(217, 167, 126, 0.26);
}

.header__link.is-current .header__link-icon {
  opacity: 1;
}

/* ---------- Visit action ---------- */
.header__actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  flex-shrink: 0;
}

/* Keyboard focus on the night bar */
.site-header :focus-visible {
  outline-color: var(--header-accent);
}

/* ---------- Shared button (used across the site) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: clamp(0.875rem, 0.8125rem + 0.3125vw, 1rem);
  font-weight: 500;
  padding: 0.68rem 1.4rem;
  border-radius: 6px;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.btn--primary:hover {
  background: var(--color-accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(127, 74, 38, 0.22);
}

.btn--primary:active {
  transform: none;
  box-shadow: none;
}

.header__cta {
  padding: 0.62rem 1.4rem;
  border-radius: 999px;
  font-size: clamp(0.8125rem, 0.75rem + 0.3125vw, 0.9375rem);
  box-shadow:
    inset 0 0 0 1px rgba(253, 249, 242, 0.2),
    0 0.6rem 1.2rem -0.7rem rgba(0, 0, 0, 0.75);
}

.header__cta:hover {
  box-shadow:
    inset 0 0 0 1px rgba(253, 249, 242, 0.3),
    0 0.7rem 1.4rem -0.7rem rgba(0, 0, 0, 0.8);
}

/* ---------- Burger ---------- */
.header__burger {
  display: none;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--header-ink);
  transition: background-color var(--dur-fast) var(--ease-out);
}

.header__burger:hover {
  background: var(--header-pill);
}

.header__burger-bars {
  display: grid;
  gap: 0.26rem;
  width: 1.05rem;
}

.header__burger-bar {
  height: 1.5px;
  background: currentColor;
  transition:
    transform var(--dur-med) var(--ease-out),
    opacity var(--dur-med) var(--ease-out);
}

.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(1) {
  transform: translateY(0.35rem) rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] .header__burger-bar:nth-child(3) {
  transform: translateY(-0.35rem) rotate(-45deg);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 59.99rem) {
  .header__inner {
    column-gap: clamp(0.75rem, 2vw, 1.5rem);
  }

  .brand__tagline {
    display: none;
  }

  .header__link {
    font-size: 0.875rem;
  }

  .site-strip__badge,
  .site-strip__place,
  .site-strip__call {
    font-size: 0.75rem;
  }
}

@media (max-width: 48.0625rem) {
  .header__link {
    gap: 0.25rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.8125rem;
  }

  .header__link-icon {
    display: none;
  }

  .header__cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 39.99rem) {
  .site-header {
    min-height: 0;
  }

  .site-strip {
    display: none;
  }

  .header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.4rem;
    height: auto;
    min-height: var(--header-h-mobile);
    padding-block: 0.25rem 0.3rem;
    row-gap: 0;
  }

  .brand {
    gap: 0.4rem;
  }

  .brand__mark {
    width: 1.4rem;
    height: 1.4rem;
  }

  .brand__wordmark {
    font-size: 0.875rem;
  }

  .header__cta {
    padding: 0.32rem 0.6rem;
    font-size: 0.75rem;
  }

  .header__actions {
    gap: 0.35rem;
  }

  .header__nav {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }

  .header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0.3rem;
  }

  .header__item + .header__item .header__link {
    border-block-start: 1px solid var(--header-line);
  }

  .header__link {
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.7rem var(--container-pad);
    border-radius: 0;
    font-size: 0.875rem;
  }

  .header__link-icon {
    display: grid;
  }

  html.js-header .header__nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    display: none;
    background-color: #150e08;
    box-shadow:
      inset 0 1px 0 var(--header-line),
      0 1.4rem 2.2rem -1.4rem rgba(0, 0, 0, 0.85);
  }

  html.js-header .header__nav.is-open {
    display: block;
  }

  html.js-header .header__burger {
    display: grid;
  }

  .btn {
    padding: 0.78rem 1.5rem;
  }

  section[id],
  #main {
    scroll-margin-top: 4.5rem;
  }
}

@media (max-width: 29.99rem) {
  .btn--primary {
    padding-inline: 1.25rem;
  }

  .header__cta {
    padding-inline: 0.6rem;
  }
}

@media (max-width: 24.99rem) {
  .brand__wordmark {
    font-size: 0.8125rem;
  }
}
