/* Shell, header, footer. */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--wide { max-width: 1420px; }

.section { padding-block: clamp(4rem, 3rem + 5.5vw, 8rem); }
.section--warm { background: var(--night-2); }
.section--light { background: var(--sand); color: #4A423B; }
.section--light h2, .section--light h3, .section--light h4 { color: var(--night); }
.section--light .eyebrow { color: var(--clay-3); }
.section--light .tick::before { background: var(--clay-3); }
.section--light a { color: var(--night); }
.section--light .lede { color: #4A423B; }

.head { max-width: 58ch; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.head--split .tick { grid-column: 1 / -1; }
.head--split h2 { margin-bottom: 0; }
@media (max-width: 820px) {
  .head--split { grid-template-columns: 1fr; }
  .head--split h2 { margin-bottom: 0.6rem; }
}

/* ---------------------------------------------------------------- header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  border-bottom: 1px solid var(--line-2);
}
.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: clamp(42px, 5.4vw, 54px); width: auto; display: block; }
.brand b {
  font-family: var(--display);
  font-variation-settings: "wght" 420, "opsz" 36;
  font-weight: 400;
  font-size: 1.12rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--sand);
  line-height: 1;
}

.menu { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1.75rem); }
.menu a {
  color: var(--sand-2);
  text-decoration: none;
  font-size: 0.88rem;
  font-variation-settings: "wght" 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu a:hover, .menu a:focus-visible { color: var(--sand); border-bottom-color: var(--brass); }
.menu .btn { border-bottom: 1px solid var(--brass); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  color: var(--sand); cursor: pointer;
}
.menu-btn i { position: relative; width: 18px; height: 1px; background: currentColor; display: block; }
.menu-btn i::before, .menu-btn i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor;
  transition: transform 0.25s var(--ease);
}
.menu-btn i::before { top: -6px; }
.menu-btn i::after { top: 6px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .menu {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--night);
    border-bottom: 1px solid var(--line);
    padding: 0.25rem var(--gutter) 1.5rem;
    display: none;
  }
  .menu.open { display: flex; }
  .menu a { font-size: 1.05rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line-2); }
  .menu .btn { margin-top: 1.1rem; justify-content: center; }
}

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) 2rem; }
.foot__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 1fr));
}
.foot__logo { width: min(230px, 72%); margin-bottom: 1.3rem; }
.foot address { font-style: normal; font-size: 0.95rem; line-height: 1.6; color: var(--sand-2); }
.foot address a { color: var(--sand); text-decoration-color: var(--line); }
.foot h4 {
  font-variation-settings: "wght" 620;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.55rem; }
.foot ul a {
  color: var(--sand-2);
  text-decoration: none;
  font-size: 0.93rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.foot ul a:hover { color: var(--sand); border-bottom-color: var(--brass); }
.foot__base {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--sand-3);
}
.foot__base a { color: var(--sand-3); }
.foot__base a:hover { color: var(--sand); }

@media (max-width: 900px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 470px) { .foot__grid { grid-template-columns: 1fr; } }
