/* Brand: aboveallepoxy.homes
   Shared shell only. Page sections belong in css/<page>.css. */

:root {
  --nav-h: 112px;
  --abo80-max: 1140px;
  --dna-bg: hsl(193, 27%, 9%);
  --dna-surface: hsl(193, 27%, 14%);
  --dna-surface-2: hsl(193, 27%, 18%);
  --dna-ink: hsl(193, 14%, 96%);
  --dna-ink-soft: hsl(193, 12%, 72%);
  --dna-line: hsla(193, 27%, 82%, 0.14);
  --dna-accent: hsl(193, 24%, 39%);
  --dna-accent-2: hsl(213, 19%, 47%);
  --dna-accent-ink: #ffffff;
  --abo80-link: color-mix(in srgb, var(--dna-accent) 40%, var(--dna-ink));
  --btn-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--dna-bg);
  color: var(--dna-ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "IBM Plex Serif", Georgia, serif;
  text-wrap: balance;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p {
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--abo80-link);
  outline-offset: 3px;
}

.abo80-shell {
  width: min(var(--abo80-max), calc(100% - 48px));
  margin-inline: auto;
}

.abo80-skip {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--dna-ink);
  color: var(--dna-bg);
  text-decoration: none;
  padding: 8px 12px;
}

.abo80-skip:focus {
  transform: none;
}

.abo80-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.abo80-btn-solid {
  background: var(--dna-accent);
  color: var(--dna-accent-ink);
}

.abo80-btn-solid:hover {
  background: color-mix(in srgb, var(--dna-accent) 86%, #081014);
}

.abo80-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--dna-surface);
  border-bottom: 1px solid var(--dna-line);
}

.abo80-utility {
  background: var(--dna-surface-2);
  border-bottom: 1px solid var(--dna-line);
}

.abo80-utility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  min-height: 40px;
  padding-block: 8px;
}

.abo80-hours {
  color: var(--dna-ink);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
}

.abo80-utility-phone {
  color: var(--dna-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.abo80-utility-phone:hover {
  color: var(--abo80-link);
}

.abo80-bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  min-height: 68px;
}

.abo80-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.abo80-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.abo80-brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

.abo80-brand-place {
  color: var(--dna-ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.abo80-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--dna-line);
  background: var(--dna-surface);
  align-content: center;
  justify-items: center;
  gap: 5px;
  cursor: pointer;
}

.abo80-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--dna-ink);
}

.abo80-top.is-open .abo80-toggle {
  border-color: var(--abo80-link);
}

.abo80-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-width: 0;
}

.abo80-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.abo80-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--dna-ink);
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.abo80-nav a:hover,
.abo80-nav a[aria-current="page"] {
  color: var(--abo80-link);
}

.abo80-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--dna-accent);
}

.abo80-foot {
  background: var(--dna-surface);
  border-top: 1px solid var(--dna-line);
  padding: 22px 0 18px;
}

.abo80-foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.abo80-foot-nav,
.abo80-reach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.abo80-foot-nav a,
.abo80-reach a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.abo80-foot-nav a:hover,
.abo80-reach a:hover {
  color: var(--abo80-link);
}

.abo80-reach {
  margin-left: auto;
}

.abo80-legal {
  margin-top: 8px;
  color: var(--dna-ink-soft);
  font-size: 0.875rem;
  text-wrap: pretty;
}

main[data-page-slot]:empty {
  display: block;
  min-height: 32vh;
}

@media (max-width: 900px) {
  .abo80-ready .abo80-toggle {
    display: inline-grid;
  }

  .abo80-ready .abo80-panel {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 4px 0 16px;
    border-top: 1px solid var(--dna-line);
  }

  .abo80-ready .abo80-top.is-open .abo80-panel {
    display: flex;
  }

  .abo80-ready .abo80-nav {
    display: grid;
    gap: 0;
  }

  .abo80-ready .abo80-nav a {
    width: fit-content;
  }

  .abo80-ready .abo80-btn {
    width: 100%;
  }

  .abo80-reach {
    margin-left: 0;
  }

  .abo80-utility-phone {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .abo80-shell {
    width: min(var(--abo80-max), calc(100% - 32px));
  }

  .abo80-bar-row,
  .abo80-utility-row {
    gap: 8px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .abo80-btn,
  .abo80-nav a,
  .abo80-utility-phone,
  .abo80-foot-nav a,
  .abo80-reach a {
    transition: none;
  }
}
