/* Austpro Management Services Group
   Palette comes from the logo and the portfolio photography:
   dusk-sky navy, the gold of the logo and of lit windows, render white. */

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #14223a;
  --navy-deep: #0e192c;
  --navy-lift: #213453;
  --gold: #d1ae55;
  --gold-bright: #e2c57a;
  --bronze: #86661a;
  --white: #ffffff;
  --mist: #eef2f6;
  --ink: #172033;
  --slate: #556070;
  --rule: #d5dbe4;
  --field: #aeb8c6;
  --on-navy: #eef1f6;
  --on-navy-muted: #adb8c9;
  --rule-navy: rgba(255, 255, 255, 0.16);

  --display: "Jost", "Century Gothic", "Futura", "Avenir Next", sans-serif;
  --text: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  --wrap: 80rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(4rem, 9vw, 7.5rem);
  --ease-out: cubic-bezier(0.16, 0.84, 0.24, 1);
}

/* Base ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6.5rem;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h1 {
  font-weight: 300;
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}

h2 {
  font-weight: 300;
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.016em;
}

h3 {
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
}

p {
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Layout ---------------------------------------------------------------- */

main {
  flex: 1 0 auto;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  padding-block: var(--band);
}

.band--mist {
  background: var(--mist);
}

.band--navy {
  background: var(--navy);
  color: var(--on-navy);
}

.band--tight-top {
  padding-top: 0;
}

.flow > * + * {
  margin-top: 1.25rem;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head p {
  margin-top: 1rem;
  color: var(--slate);
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
}

.section-head--split > div {
  max-width: 44rem;
}

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .split--top {
    align-items: start;
  }

  .split--wide-left {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

/* Links and buttons ------------------------------------------------------ */

.text-link,
.prose a {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.text-link:hover,
.prose a:hover {
  text-decoration-color: currentColor;
}

.text-link {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.7rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 2px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.button--gold {
  background: var(--gold);
  color: var(--navy);
}

.button--gold:hover {
  background: var(--gold-bright);
}

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

.button--navy:hover {
  background: var(--navy-lift);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

/* Header ---------------------------------------------------------------- */

.site-header {
  background: var(--navy);
  color: var(--on-navy);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
}

.site-header__logo {
  display: block;
  padding-block: 1.1rem;
}

.site-header__logo img {
  width: 11rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block: 0.6rem;
  border-top: 1px solid var(--rule-navy);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
}

.site-nav a {
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.site-nav a:hover {
  border-bottom-color: rgba(209, 174, 85, 0.6);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

.site-nav a.site-nav__cta {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
}

.site-nav a.site-nav__cta:hover,
.site-nav a.site-nav__cta[aria-current="page"] {
  background: var(--gold);
  color: var(--navy);
}

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

  .site-header__inner {
    flex-wrap: nowrap;
    min-height: 5.25rem;
  }

  .site-header__logo img {
    width: 12.5rem;
  }

  .site-nav {
    width: auto;
    gap: clamp(1.5rem, 3.5vw, 2.75rem);
    padding-block: 0;
    border-top: 0;
  }
}

/* Hero: the portfolio as a skyline ------------------------------------- */

.hero {
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding-top: clamp(2rem, 5vw, 4rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.hero__copy {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero__lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: 1.1875rem;
  color: var(--on-navy-muted);
}

.hero .actions {
  margin-top: 2.25rem;
}

.hero__legend {
  padding-block: 0 2rem;
  font-size: 0.975rem;
  color: var(--on-navy-muted);
}

.skyline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: clamp(0.5rem, 1.3vw, 1rem);
}

/* The ground line the towers stand on. Absolutely positioned inside the
   caption row so it does not take part in grid auto-placement. */
.skyline::before {
  content: "";
  position: absolute;
  grid-row: 2;
  grid-column: 1 / -1;
  top: 0;
  left: -100vw;
  right: -100vw;
  height: 2px;
  background: var(--gold);
}

.tower {
  display: grid;
  grid-row: 1 / span 2;
  grid-template-rows: subgrid;
  text-decoration: none;
}

.tower--president {
  display: none;
}

.tower__photo {
  align-self: end;
  overflow: hidden;
  background: var(--navy-lift);
}

.tower__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tower--aspect .tower__photo {
  aspect-ratio: 560 / 1120;
}

.tower--regent .tower__photo {
  aspect-ratio: 570 / 1500;
}

.tower--president .tower__photo {
  aspect-ratio: 365 / 830;
}

.tower--surfers .tower__photo {
  aspect-ratio: 287 / 896;
}

.tower__caption {
  display: block;
  padding-block: 0.85rem 1.25rem;
  line-height: 1.3;
}

.tower__name {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--white);
}

.tower__place {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8125rem;
  color: var(--on-navy-muted);
}

.tower:hover .tower__name {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

@media (min-width: 35rem) {
  .skyline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tower--president {
    display: grid;
  }

  .tower__name {
    font-size: 1.0625rem;
  }

  .tower__place {
    font-size: 0.9rem;
  }
}

@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: 1fr auto;
    column-gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 0.1rem + 4.7vw, 3.875rem);
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .hero__legend {
    grid-column: 1;
    grid-row: 2;
    padding-block: 0.85rem 2.25rem;
  }

  .skyline {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-rows: subgrid;
  }

  .tower__caption {
    padding-bottom: 2.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tower__photo {
    animation: tower-rise 1.15s var(--ease-out) both;
  }

  .tower:nth-child(1) .tower__photo {
    animation-delay: 0.2s;
  }

  .tower:nth-child(2) .tower__photo {
    animation-delay: 0.32s;
  }

  .tower:nth-child(3) .tower__photo {
    animation-delay: 0.44s;
  }

  .tower:nth-child(4) .tower__photo {
    animation-delay: 0.56s;
  }

  .tower__caption {
    animation: fade-in 0.6s ease both 1.2s;
  }
}

@keyframes tower-rise {
  from {
    clip-path: inset(100% 0 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Inner page heading ----------------------------------------------------- */

.page-head {
  background: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 2px solid var(--gold);
}

.page-head p {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  color: var(--on-navy-muted);
}

/* Video ------------------------------------------------------------------ */

.video__poster,
.video__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--navy);
}

.video__poster {
  position: relative;
  overflow: hidden;
}

.video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video__play {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.2rem 0.7rem 1rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 2px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1;
  transition: background-color 0.15s;
}

.video__play::before {
  content: "";
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.7rem;
  border-color: transparent transparent transparent currentColor;
}

.video__poster:hover .video__play {
  background: var(--gold-bright);
}

.video figcaption {
  margin-top: 0.75rem;
  font-size: 0.975rem;
  color: var(--slate);
}

/* Figures ---------------------------------------------------------------- */

.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1.5rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}

.figure {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}

.figure dd {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.75rem, 1.9rem + 3.4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.figure dt {
  margin-top: 0.6rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--slate);
}

@media (min-width: 50rem) {
  .figures {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Services ---------------------------------------------------------------- */

.services {
  display: grid;
  gap: 2.5rem;
}

.services .section-head {
  margin-bottom: 0;
}

.service-list {
  columns: 2 15rem;
  column-gap: clamp(2rem, 4vw, 3.5rem);
}

.service-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--rule);
  break-inside: avoid;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.3;
}

/* Marker borrowed from the diamonds in the Austpro logo. */
.service-list li::before,
.diamond-list li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--bronze);
  transform: translateY(-0.12em) rotate(45deg);
}

@media (min-width: 56rem) {
  .services {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(3rem, 6vw, 5rem);
  }
}

/* Projects ---------------------------------------------------------------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
}

.project {
  position: relative;
  display: block;
  text-decoration: none;
}

.project__photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--mist);
}

.project__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project__name {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
}

.project__place {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.975rem;
  line-height: 1.4;
  color: var(--slate);
}

.project__status {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.3rem 0.65rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 2px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.project:hover .project__name {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

@media (min-width: 48rem) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.75rem 1.5rem;
  }
}

@media (min-width: 70rem) {
  .project-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter button {
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--field);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.filter button span {
  margin-left: 0.35rem;
  font-weight: 400;
  color: var(--slate);
}

.filter button:hover {
  border-color: var(--navy);
}

.filter button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.filter button[aria-pressed="true"] span {
  color: var(--on-navy-muted);
}

/* Lightbox ---------------------------------------------------------------- */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-navy);
}

.lightbox::backdrop {
  background: rgba(9, 16, 29, 0.94);
}

.lightbox__stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: 1rem var(--gutter) 1.25rem;
  gap: 1rem;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--on-navy-muted);
}

.lightbox__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.lightbox__photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s;
}

.lightbox__photo img.is-loaded {
  opacity: 1;
}

.lightbox__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.lightbox__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--white);
}

.lightbox__place {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--on-navy-muted);
}

.lightbox__nav {
  display: flex;
  gap: 0.6rem;
}

.lightbox button {
  min-height: 2.75rem;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--rule-navy);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.lightbox button:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

/* About ------------------------------------------------------------------ */

.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
}

.photo-pair img {
  width: 100%;
}

.photo-pair img:last-child {
  margin-top: clamp(2rem, 6vw, 4.5rem);
}

.guarantee {
  margin-top: 2.5rem;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--gold);
}

.guarantee p {
  margin-top: 0.75rem;
}

.message p {
  font-size: 1.1875rem;
}

.message p + p {
  margin-top: 1.25rem;
}

.message p:first-child {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--white);
}

.byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.byline img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 2px;
}

.byline__name {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--white);
}

.byline__role {
  display: block;
  font-size: 0.975rem;
  color: var(--on-navy-muted);
}

.record div {
  display: grid;
  grid-template-columns: 9.75rem minmax(0, 1fr);
  grid-template-areas:
    "value label"
    "value note";
  column-gap: 1.25rem;
  align-items: center;
  padding-block: 1.25rem;
  border-top: 1px solid var(--rule-navy);
}

.record div:last-child {
  border-bottom: 1px solid var(--rule-navy);
}

.record dt {
  grid-area: label;
  align-self: end;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--white);
}

.record dd {
  grid-area: note;
  align-self: start;
  font-size: 0.975rem;
  line-height: 1.45;
  color: var(--on-navy-muted);
}

.record dd.record__value {
  grid-area: value;
  align-self: center;
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.departments {
  display: grid;
  gap: 2.5rem 2rem;
}

.department {
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
}

.diamond-list {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.diamond-list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.diamond-list li + li {
  margin-top: 0.55rem;
}

.diamond-list li::before {
  width: 0.4rem;
  height: 0.4rem;
}

@media (min-width: 38rem) {
  .departments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 66rem) {
  .departments {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.people {
  display: grid;
  gap: 2.5rem 2.5rem;
}

.person {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.person img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 2px;
}

.person__role {
  margin-top: 0.15rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.975rem;
  line-height: 1.35;
  color: var(--bronze);
}

.person__bio {
  margin-top: 0.6rem;
  font-size: 1rem;
  line-height: 1.55;
}

@media (min-width: 44rem) {
  .people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 68rem) {
  .people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.directory {
  display: grid;
  gap: 2.25rem 2rem;
}

.directory__entry {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.55;
}

.directory__role {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.975rem;
  color: var(--bronze);
}

.directory__entry h3 {
  margin-block: 0.2rem 0.5rem;
  font-size: 1.2rem;
}

.directory__entry a {
  overflow-wrap: anywhere;
}

@media (min-width: 38rem) {
  .directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 66rem) {
  .directory {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Contact ---------------------------------------------------------------- */

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
}

.field label span {
  font-weight: 400;
  color: var(--slate);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--field);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--slate);
}

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

.form__note {
  font-size: 0.975rem;
  color: var(--slate);
}

.form__status {
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--mist);
  font-size: 1rem;
}

@media (min-width: 36rem) {
  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full,
  .form__actions,
  .form__note,
  .form__status {
    grid-column: 1 / -1;
  }
}

.details {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--mist);
}

.details h2 {
  font-size: 1.75rem;
}

.details dl {
  margin-top: 1.25rem;
}

.details dl div {
  padding-block: 0.95rem;
  border-top: 1px solid var(--rule);
}

.details dt {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.975rem;
  color: var(--bronze);
}

.details dd {
  overflow-wrap: anywhere;
}

.hours {
  width: 100%;
  margin-top: 0.25rem;
  border-collapse: collapse;
  font-size: 1.0625rem;
}

.hours th,
.hours td {
  padding: 0.15rem 0;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.hours td {
  text-align: right;
  white-space: nowrap;
}

.map {
  aspect-ratio: 4 / 3;
  background: var(--mist);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 48rem) {
  .map {
    aspect-ratio: 21 / 9;
    max-height: 34rem;
    width: 100%;
  }
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.principles {
  display: grid;
  gap: 1.5rem 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--rule-navy);
  font-size: 1.0625rem;
}

.principles strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--white);
}

@media (min-width: 52rem) {
  .principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-footer__main {
  display: grid;
  gap: 2.5rem 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.site-footer__brand img {
  width: 12.5rem;
}

.site-footer__brand p {
  max-width: 22rem;
  margin-top: 1.25rem;
}

.site-footer h2 {
  margin-bottom: 0.75rem;
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: 0;
  color: var(--white);
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.site-footer__legal {
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid var(--rule-navy);
  font-size: 0.9375rem;
}

@media (min-width: 44rem) {
  .site-footer__main {
    grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 4fr);
  }
}

/* Not found --------------------------------------------------------------- */

.not-found {
  min-height: 55vh;
  display: grid;
  align-content: center;
}

.not-found p {
  max-width: 36rem;
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  color: var(--on-navy-muted);
}

.not-found .actions {
  margin-top: 2.25rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
