:root {
  --navy: #2C384C;
  --gray: #A4A8AC;
  --white: #ffffff;
  --text: #2C384C;
  --band: #f6f7f8;
  --danger: #7a1e1e;
  --max: 74rem;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --space: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
}

a:hover {
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.45rem 0.7rem;
  z-index: 20;
}

.skip:focus {
  top: 0.5rem;
  color: var(--white);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--navy);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  padding: 0.85rem 0;
}

.logo-link {
  display: block;
  line-height: 0;
  margin-right: auto;
}

.logo-link img {
  width: 7.75rem;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

a.btn,
button.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.62rem 1.05rem;
  border: 0;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}

a.btn:hover,
button.btn:hover {
  background: #243044;
  color: var(--white);
}

a.btn-secondary {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

a.btn-secondary:hover {
  background: var(--band);
  color: var(--navy);
}

.action-phone {
  align-self: center;
  font-weight: 600;
  text-underline-offset: 0.22rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.7rem);
  margin: 0 0 1rem;
  max-width: 14em;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 38rem;
}

.hero {
  padding: 0 0 4.5rem;
}

.hero-photo img {
  width: 100%;
  max-width: none;
  height: clamp(15rem, 52vw, 36rem);
  object-fit: cover;
  object-position: center 42%;
}

.hero-copy {
  padding-top: clamp(2.25rem, 5vw, 4.25rem);
}

.hero-copy p:last-of-type {
  max-width: 38rem;
}

.section {
  padding: 4.25rem 0;
}

.hero-grid,
.split,
.contact-layout {
  display: grid;
  gap: 1.75rem;
}

.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin: 1.5rem 0 0;
}

.band {
  background: var(--band);
  padding: 4.25rem 0;
}

.page-intro {
  padding-bottom: 2.5rem;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  padding: 1.15rem 0 0;
  margin: 0.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--gray);
}

.jump a {
  font-weight: 500;
  text-underline-offset: 0.22rem;
}

.cards {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.cards li,
.address-card,
.details-card {
  background: var(--white);
  border: 1px solid var(--gray);
  padding: 1.35rem 1.3rem 0.55rem;
}

.band .cards li {
  background: var(--white);
}

.cards a {
  font-weight: 600;
  text-decoration: none;
}

.cards a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.cards p {
  margin-bottom: 0.7rem;
}

.store-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.store-list li {
  margin: 0;
  padding: 0.8rem 0;
  border-top: 1px solid var(--gray);
  font-weight: 600;
}

.gallery {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--navy);
  padding: 3.25rem 0 2.75rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-logo {
  width: 8.25rem;
  height: auto;
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

address {
  font-style: normal;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.footer-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--gray);
}

.footer-end p {
  margin: 0;
  max-width: 36rem;
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.prose li {
  margin: 0.35rem 0;
}

.form label,
.checks legend {
  font-weight: 600;
}

.form label {
  display: block;
  margin: 1.15rem 0 0.35rem;
}

.req,
.hint {
  font-weight: 400;
}

.hint {
  margin: 0.15rem 0 0.4rem;
  max-width: 40rem;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  max-width: 40rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--gray);
  border-radius: 0;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.form input:focus,
.form textarea:focus {
  border-color: var(--navy);
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.checks {
  border: 0;
  padding: 0;
  margin: 1.25rem 0 0.2rem;
}

.checks legend {
  margin-bottom: 0.35rem;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  margin: 0.1rem 0;
  min-height: 2.35rem;
}

.checks input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--navy);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.25rem 0;
  max-width: 40rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.28rem;
  accent-color: var(--navy);
  flex: 0 0 auto;
}

.consent label {
  margin: 0;
  font-weight: 400;
}

.form .btn {
  margin-top: 0.4rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  border: 1px solid var(--navy);
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

.alert p {
  margin-bottom: 0.4rem;
}

.alert ul {
  margin: 0;
  padding-left: 1.15rem;
}

.alert-error {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-weight: 600;
  margin: 0.35rem 0 0;
}

.thanks {
  border: 1px solid var(--gray);
  border-top: 1px solid var(--navy);
  background: var(--band);
  padding: 1.35rem 1.4rem;
  max-width: 40rem;
}

.thanks p:last-child {
  margin-bottom: 0;
}

section[id] {
  scroll-margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .logo-link img {
    width: 10.25rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .store-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.7fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .split,
  .contact-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
  }

  .contact-layout {
    align-items: start;
    gap: 3rem;
  }

  .split-reverse .frame {
    order: -1;
  }
}

@media (min-width: 960px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 5;
  }

  section[id] {
    scroll-margin-top: 11rem;
  }
}

@media (min-width: 1100px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 719px) {
  .wrap {
    width: min(var(--max), calc(100% - 2rem));
  }

  .hero,
  .section,
  .band {
    padding-bottom: 3rem;
  }

  .section,
  .band {
    padding-top: 3rem;
  }

  .site-nav {
    width: 100%;
    order: 3;
    gap: 0.75rem 1.15rem;
  }

  .header-bar > a.btn {
    order: 2;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
