@font-face {
  font-family: 'Uncode Icons';
  src: url('/assets/uncode-icons.woff2') format('woff2');
  font-display: block;
}

:root {
  --ink: #303133;
  --muted: #777777;
  --red: #c92228;
  --max: 1128px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 63px;
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: 'Playfair Display', Georgia, serif;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
.content-width {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 63px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 31px;
  height: 100%;
}
.site-header nav a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  line-height: 63px;
  text-decoration: none;
  text-transform: uppercase;
}
.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 1px;
  content: '';
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.site-header nav a:hover::after,
.site-header nav a.active::after {
  transform: scaleX(1);
}
.site-header nav a.active {
  color: var(--red);
}
.mobile-wordmark,
.menu-toggle {
  display: none;
}

.hero {
  height: calc(70vh - 63px);
  min-height: 500px;
  display: grid;
  place-items: center;
  background: url('/assets/connie-hero-1.png') center center / cover no-repeat;
}
.hero img {
  width: calc((100% - 72px) * 0.4);
}

.intro {
  padding: 144px 0 108px;
  text-align: center;
}
.intro h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}
.intro .btn-container {
  margin-top: 72px;
}
.button {
  display: inline-block;
  padding: 13px 31px;
  margin: 1px 0;
  border: 1px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover {
  background: #a91c22;
}

.section-banner {
  position: relative;
  height: 450px;
  display: grid;
  place-items: center;
  isolation: isolate;
  background-position: center;
  background-size: cover;
}
.section-banner::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: rgba(0, 0, 0, 0.3);
}
.section-banner h2 {
  width: min(var(--max), calc(100% - 48px));
  margin: 0;
  color: #fff;
  font-size: 75px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.banner-about {
  background-image: url('/assets/connie-hero-2.png');
}
.banner-services {
  background-image: url('/assets/connie-hero-3.png');
}
.banner-testimonials {
  background-image: url('/assets/connie-hero-4.png');
}
.banner-associates {
  background-image: url('/assets/connie-hero-5.png');
}
.banner-contact {
  background-image: url('/assets/connie-hero-6.png');
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 126px 0 48px;
}
.headshot {
  width: 100%;
}
.about-copy p {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.2;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.awards {
  padding: 114px 0 108px;
  text-align: center;
}
.awards h3 {
  margin: 0;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
}
.accent-rule {
  width: 35px;
  height: 1px;
  margin: 36px auto 64px;
  background: var(--red);
}
.award-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 36px;
}
.award-links a {
  display: inline-block;
  justify-self: center;
  padding: 13px 31px;
  margin: 0 0 1px;
  border: 1px solid var(--ink);
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
}
.award-links a:nth-child(-n + 2) {
  justify-self: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px 36px;
  padding: 126px 0 108px;
  text-align: center;
}
.services-grid article {
  min-height: 118px;
}
.icon {
  display: inline-block;
  font-family: 'Uncode Icons';
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}
.services-grid .icon {
  height: 70px;
  font-size: 70px;
}
.icon-message::before {
  content: '\e687';
}
.icon-cogs::before {
  content: '\f085';
}
.icon-streetsign::before {
  content: '\e029';
}
.icon-camera::before {
  content: '\f030';
}
.icon-tools::before {
  content: '\e033';
}
.icon-microphone::before {
  content: '\f130';
}
.icon-facebook::before {
  content: '\e661';
}
.icon-linkedin::before {
  content: '\e66c';
}
.services-grid h3 {
  margin: 27px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.testimonials {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
  margin: 90px 0 80px;
  padding: 54.5px max(24px, calc((100% - 1110px) / 2)) 107.5px;
  font-family: Poppins, Arial, sans-serif;
  text-align: center;
}
.testimonial {
  display: none;
  max-width: 1110px;
  margin: 0;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
}
.testimonial.active {
  display: block;
  animation: quote-in 350ms ease;
}
.testimonial p {
  margin: 0;
}
.testimonial cite {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  line-height: 35px;
  font-style: normal;
}
.testimonial-dots {
  position: absolute;
  bottom: 42px;
  display: flex;
  gap: 11px;
}
.testimonial-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid #777;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.testimonial-dots button.active {
  background: #303133;
}
@keyframes quote-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.associates {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: center;
  padding: 126px 0 108.015625px;
}
.associates img {
  width: 100%;
}
#associates {
  margin-top: -8px;
}

.contact {
  padding: 221.375px 0 30.625px;
}
.contact-details {
  margin-bottom: 54px;
  text-align: center;
}
.contact-details p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.contact-details p:first-child {
  margin-bottom: 27px;
}
.contact-details a {
  text-decoration: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
#contact-form label {
  display: block;
}
#contact-form {
  text-align: center;
}
#contact-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#contact-form input,
#contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #eaeaea;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font:
    14px/1.45 'Playfair Display',
    Georgia,
    serif;
}
#contact-form input {
  height: 40.5px;
  padding: 10px 15px;
}
#contact-form textarea {
  min-height: 114.5px;
  height: 114.5px;
  margin-top: 18px;
  padding: 10px 15px;
  resize: vertical;
}
#contact-form .button {
  width: auto;
  min-height: 45.5px;
  margin: 18px 0 0;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
}
.cf-turnstile {
  height: 0;
  min-height: 0;
  overflow: hidden;
}
.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  text-align: center;
}
.form-status:empty {
  display: none;
}
.form-status.error {
  color: #a91c22;
}

footer {
  min-height: 72.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(24px, calc((100% - var(--max)) / 2));
  background: #303133;
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
}
footer p {
  margin: 0;
}
.social-links {
  display: flex;
  gap: 14px;
  font-size: 18px;
}
.social-links a {
  text-decoration: none;
}

@media (min-width: 960px) and (max-width: 1199px) {
  .testimonials {
    padding-inline: 41px;
  }
}

@media (min-width: 1600px) {
  .testimonials {
    min-height: 638px;
    margin: 90px 0 72px;
    padding: 108.5px max(24px, calc((100% - 1110px) / 2)) 161.5px;
  }
  #associates {
    margin-top: 0;
  }
}

@media (max-width: 959px) {
  html {
    scroll-padding-top: 75px;
  }
  .content-width {
    width: calc(100% - 66px);
  }
  .site-header {
    height: 75px;
    justify-content: space-between;
    padding-left: 36px;
  }
  .mobile-wordmark {
    display: block;
    width: 249px;
  }
  .mobile-wordmark img {
    width: 100%;
    height: auto;
  }
  .menu-toggle {
    width: 92px;
    height: 75px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    border: 0;
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span:not(.screen-reader-text) {
    width: 20px;
    height: 2px;
    background: #303133;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }
  .menu-toggle[aria-expanded='true'] span:nth-of-type(2) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:nth-of-type(3) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded='true'] span:nth-of-type(4) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .site-header nav {
    position: absolute;
    top: 75px;
    right: 0;
    left: 0;
    height: auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 18px 33px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    width: 100%;
    line-height: 42px;
  }
  .site-header nav a::after {
    bottom: 8px;
  }
  .hero {
    height: calc(60vh - 74.4px);
    min-height: 360px;
  }
  .hero img {
    width: min(calc((100% - 66px) * 0.8), 500px);
  }
  .intro {
    width: 100%;
    padding: 108px 33px;
  }
  .intro h1 {
    font-size: 20px;
    line-height: 1.5;
  }
  .intro .btn-container {
    margin-top: 36px;
  }
  .intro .button {
    transform: scale(0.8);
    transform-origin: center;
  }
  .section-banner {
    height: 107.5px;
    min-height: 107.5px;
    padding: 36px 33px;
  }
  .banner-about {
    height: 177.5px;
  }
  .banner-services {
    height: 142.5px;
  }
  .section-banner h2 {
    width: 100%;
    font-size: 35px;
    line-height: 1;
  }
  .about-content {
    display: block;
    padding: 126px 0 43px;
  }
  .about-copy {
    padding-top: 36px;
  }
  .about-copy p {
    margin-bottom: 36px;
    font-size: 20px;
    line-height: 1.2;
  }
  .awards {
    padding: 119px 0 108px;
  }
  .awards h3 {
    font-size: 35px;
    line-height: 1.2;
  }
  .accent-rule {
    margin-top: 40px;
    margin-bottom: 60px;
  }
  .award-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 324px;
    margin-inline: auto;
  }
  .award-links a {
    width: 100%;
    min-height: 0;
    display: inline-block;
    justify-self: center;
    padding: 13px 31px;
    border: 1px solid var(--ink);
    line-height: normal;
    transform: scale(0.8);
    transform-origin: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 126px 0 108px;
  }
  .services-grid article {
    min-height: 127px;
  }
  .services-grid article:nth-child(4) {
    margin-top: 54px;
  }
  .services-grid h3 {
    font-size: 20px;
    line-height: 1.5;
  }
  .testimonials {
    min-height: 929.25px;
    margin: 90px 0 72px;
    padding: 54px 42px;
  }
  .testimonial {
    font-size: 17px;
    line-height: 1.75;
  }
  .testimonial cite {
    margin-top: 18px;
    font-size: 13px;
    line-height: 29.75px;
  }
  .testimonial-dots {
    bottom: 62px;
  }
  .associates {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 126px 0 108px;
  }
  .associates img {
    height: calc((100vw - 66px) * 97 / 324);
    object-fit: contain;
  }
  .associates .desktop-only {
    display: none;
  }
  #associates {
    margin-top: 0;
  }
  .contact {
    padding: 126px 0 126px;
  }
  .contact-details {
    margin-bottom: 54px;
  }
  .contact-details p {
    font-size: 24px;
    line-height: 1.2;
  }
  .contact-details p:first-child {
    margin-bottom: 27px;
  }
  .contact-details p:last-child {
    margin-bottom: 0;
  }
  .form-grid {
    gap: 18px;
  }
  #contact-form input {
    height: 40.5px;
  }
  #contact-form {
    padding-bottom: 31.25px;
  }
  #contact-form textarea {
    min-height: 114.5px;
    height: 114.5px;
    margin-top: 18px;
  }
  #contact-form .cf-turnstile {
    height: 0;
    min-height: 0;
    overflow: hidden;
  }
  #contact-form .button {
    width: 100%;
    min-height: 45.5px;
    margin: 18px 0 0;
  }
  .form-status:empty {
    display: none;
  }
  .form-status:not(:empty) {
    margin-top: 14px;
  }
  footer {
    min-height: 189px;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding: 35px 33px;
    text-align: center;
  }
}

@media (min-width: 570px) and (max-width: 959px) {
  .content-width {
    width: calc(100% - 72px);
  }
  .hero {
    height: calc(70vh - 74.8px);
  }
  .hero img {
    width: calc((100% - 72px) * 0.4);
  }
  .intro {
    width: 100%;
    padding: 126px 36px 108px;
  }
  .intro .btn-container {
    margin-top: 54px;
  }
  .intro .button {
    transform: none;
  }
  .section-banner {
    height: auto;
    min-height: 122px;
    padding: 36px;
  }
  .section-banner h2 {
    font-size: 50px;
    line-height: 1;
  }
  .award-links {
    max-width: none;
  }
  .award-links a,
  .award-links a:nth-child(-n + 2) {
    width: auto;
    justify-self: center;
    transform: none;
  }
  .testimonials {
    min-height: 705px;
    padding: 54px 45px 108px;
  }
  .testimonial {
    font-size: 20px;
    line-height: 1.75;
  }
  .testimonial cite {
    font-size: 13px;
    line-height: 35px;
  }
  .associates {
    grid-template-columns: repeat(5, 1fr);
  }
  .associates img {
    height: auto;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-left: 25px;
  }
  .mobile-wordmark {
    width: 225px;
  }
  .menu-toggle {
    width: 75px;
    padding-inline: 27px;
  }
  .content-width {
    width: calc(100% - 72px);
  }
  .associates img {
    height: calc((100vw - 72px) * 43 / 144);
  }
  .intro {
    width: 100%;
    padding-inline: 36px;
  }
  .section-banner {
    padding-inline: 36px;
  }
  .hero img {
    width: min(calc((100% - 72px) * 0.8), 500px);
  }
  .testimonials {
    padding-inline: 45px;
  }
}

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