@font-face {
  font-family: "SixFourSerif";
  src: local("Georgia");
}

:root {
  --sf-black: #0d0d0d;
  --sf-charcoal: #262626;
  --sf-muted: #555;
  /* Meets WCAG AA contrast on white for navigation, links, and controls. */
  --sf-accent: #167a9e;
  --sf-light: #f0f0f0;
  --sf-white: #fff;
  --sf-max: 1500px;
  --sf-gutter: clamp(1.4rem, 4vw, 4.9rem);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sf-white);
  color: var(--sf-black);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--sf-accent);
}

/* Keep keyboard navigation clearly visible without changing the visual design. */
:focus-visible {
  outline: 3px solid var(--sf-accent);
  outline-offset: 4px;
}

.skip-link {
  background: var(--sf-black);
  color: var(--sf-white);
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-200%);
  transition: transform 0.15s ease;
  z-index: 100;
}

.skip-link:focus {
  color: var(--sf-white);
  transform: translateY(0);
}

h1,
h2,
h3 {
  color: var(--sf-black);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.9rem, 4.9vw, 4.65rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.9rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2.05rem);
}

p {
  margin: 0 0 1.28rem;
}

ol {
  margin-bottom: 1.3rem;
  margin-left: 1.32rem;
}

li {
  margin-bottom: 1rem;
  padding-left: 0.2rem;
}

.grid-container.wide {
  max-width: var(--sf-max);
  padding-left: var(--sf-gutter);
  padding-right: var(--sf-gutter);
}

.site-header {
  background: var(--sf-white);
  position: relative;
  z-index: 10;
}

.brand {
  display: block;
  width: min(20vw, 244px);
}

.brand img {
  display: block;
  height: auto;
  width: 100%;
}

.site-top-bar {
  background: var(--sf-white);
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: clamp(1.25rem, 2.4vw, 2.1rem) clamp(1.4rem, 4vw, 4.9rem);
}

.site-top-bar .top-bar-left,
.site-top-bar .top-bar-right {
  background: transparent;
  flex: 0 0 auto;
}

.site-top-bar .top-bar-right {
  margin-left: auto;
}

.site-title-bar {
  align-items: center;
  background: transparent;
  color: var(--sf-black);
  display: flex;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0;
  text-transform: uppercase;
}

.site-title-bar .menu-icon {
  background: transparent;
  height: 1.25rem;
  margin: 0;
  width: 1.7rem;
}

.site-title-bar .menu-icon::after {
  background: var(--sf-black);
  box-shadow: 0 0.45rem 0 var(--sf-black), 0 0.9rem 0 var(--sf-black);
  height: 0.125rem;
  width: 1.7rem;
}

.site-menu-panel {
  background: var(--sf-white);
  border: 1px solid #e2e2e2;
  box-shadow: 0 0.75rem 1.8rem rgba(0, 0, 0, 0.1);
  color: var(--sf-black);
  display: none !important;
  min-width: min(21rem, calc(100vw - 2.8rem));
  padding: 0.7rem 0;
  position: absolute;
  right: clamp(1.4rem, 4vw, 4.9rem);
  top: 100%;
  z-index: 20;
}

.site-menu-panel.is-open {
  display: block !important;
}

.site-menu-panel .menu {
  background: transparent;
  text-align: right;
}

.site-menu-panel a {
  color: var(--sf-black);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  padding: 0.55rem 1.25rem;
}

.site-menu-panel a:hover,
.site-menu-panel a:focus {
  background: var(--sf-light);
  color: var(--sf-accent);
}

.hero-section {
  padding: 0;
}

.hero-section--image {
  background-image: linear-gradient(90deg, rgba(13, 13, 13, 0.56), rgba(13, 13, 13, 0.18)), url("/images/iStock-470195542-edited%20for%20front%20page.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: clamp(32rem, 56vw, 52rem);
}

.hero-content {
  align-items: center;
  display: flex;
  min-height: inherit;
}

.hero-copy {
  text-align: center;
}

.hero-copy h1 {
  color: var(--sf-white);
  font-size: clamp(3.15rem, 6.4vw, 6.9rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.32);
}

.page-section {
  padding: clamp(4.7rem, 8vw, 9.2rem) 0;
}

.section-accent {
  background: var(--sf-light);
}

.section-white {
  background: var(--sf-white);
}

.content-pair h2 {
  color: var(--sf-charcoal);
}

.content-pair p,
.content-pair li,
.about-section p,
.basic-page p,
.basic-page li {
  font-size: clamp(1rem, 1.16vw, 1.22rem);
}

.about-section h2,
.team-section h2 {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.team-section {
  padding-top: clamp(4.5rem, 7vw, 8rem);
}

.team-grid {
  row-gap: 2.75rem;
}

.team-member img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: block;
  margin: 0 auto 8%;
  object-fit: cover;
  object-position: center;
  width: 75%;
}

.team-member img.focal-top {
  object-position: 54% 15%;
}

.team-member h3 {
  margin-bottom: 0.55rem;
  text-align: center;
}

.team-member p {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.site-footer {
  background: var(--sf-black);
  color: var(--sf-white);
  padding: 3.3rem var(--sf-gutter) 3.6rem;
  text-align: center;
}

.site-footer a {
  color: var(--sf-white);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--sf-accent);
}

.social-links,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  justify-content: center;
}

.social-links {
  margin-bottom: 1.7rem;
}

.social-links a {
  align-items: center;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  position: relative;
  width: 28px;
}

.social-links svg {
  fill: currentColor;
  height: 24px;
  width: 24px;
}

.footer-nav {
  margin-bottom: 1.7rem;
}

.site-footer p {
  font-size: 0.93rem;
  margin-bottom: 0.45rem;
}

.cookie-banner {
  align-items: center;
  background: var(--sf-white);
  bottom: 0;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  padding: 1rem 1.25rem;
  position: fixed;
  right: 0;
  z-index: 40;
}

.cookie-banner p {
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0;
}

.cookie-banner button {
  background: var(--sf-accent);
  border: 1px solid var(--sf-accent);
  color: var(--sf-white);
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0.7rem 1.05rem;
}

.cookie-banner.is-hidden {
  display: none;
}

.basic-page {
  min-height: 48vh;
  padding: clamp(5rem, 8vw, 9rem) 0 clamp(6rem, 9vw, 10rem);
}

.basic-page h1 {
  font-size: clamp(3rem, 5.4vw, 5.9rem);
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

.basic-page h2,
.basic-page h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 2rem 0 0.75rem;
}

.basic-page .narrow {
  max-width: 1000px;
}

.basic-page .legal {
  max-width: 1120px;
}

.interest-form {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.interest-form label,
.interest-form legend {
  color: var(--sf-black);
  font-size: 0.96rem;
  font-weight: 400;
}

.interest-form label span {
  color: var(--sf-muted);
}

.interest-form input[type="text"],
.interest-form input[type="email"],
.interest-form input[type="tel"] {
  border: 1px solid #111;
  box-shadow: none;
  height: 3rem;
}

.interest-form fieldset {
  margin: 1rem 0 1.5rem;
}

.interest-form fieldset label {
  margin-right: 1.5rem;
}

.form-honeypot {
  display: none;
}

.form-status {
  margin: 1rem 0 0;
}

.form-status.is-success {
  color: #176b3a;
}

.form-status.is-error {
  color: #a31313;
}

.interest-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.interest-submit {
  background: var(--sf-black);
  color: var(--sf-white);
  padding: 0.9rem 1.5rem;
}

.interest-submit:hover,
.interest-submit:focus {
  background: var(--sf-accent);
  color: var(--sf-white);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media screen and (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .brand {
    width: min(62vw, 270px);
  }

  .hero-section {
    min-height: 31rem;
  }

  .hero-copy {
    padding: 0 1.5rem;
  }

  .page-section {
    padding: 18vw 0;
  }

  .content-pair h2 {
    margin-bottom: 1.5rem;
  }

  .about-section .cell + .cell {
    margin-top: 0;
  }

  .team-member img {
    margin-bottom: 1.2rem;
  }
}
