@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #263544;
  --ink: #0a1a33;
  --slate: #4f6478;
  --accent: #3d5a73;
  --accent-2: #62778f;
  --pale: #eef1f4;
  --grey: #7b8798;
  --rule: #d7dce3;
  --terracotta: #c77b58;
  --terracotta-hover: #d58f6e;
  --shell: 1280px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

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

html {
  scroll-behavior: auto;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--pale);
  color: var(--navy);
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  padding: 0.8rem 1rem;
  background: var(--navy);
  color: var(--pale);
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: none;
}

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

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero {
  position: relative;
  min-height: clamp(38rem, 50vw, 45rem);
  overflow: hidden;
  background: var(--pale);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7.5rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.brand {
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  letter-spacing: -0.025em;
}

.brand img {
  width: clamp(3.25rem, 5vw, 4.5rem);
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 3.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  text-decoration-color: var(--navy);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(2rem, 5vw, 4.75rem);
  text-align: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.25rem, 7.2vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero-copy > p {
  margin-bottom: 2rem;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  min-width: min(17rem, 100%);
  padding: 0.9rem 2rem;
  background: var(--terracotta);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--terracotta-hover);
}

.button-primary:focus-visible {
  background: var(--terracotta-hover);
  outline-color: var(--navy);
}

.ridge {
  display: block;
  width: 100%;
}

.ridge-hero {
  position: absolute;
  inset: auto 0 0;
  height: clamp(8rem, 12.5vw, 11.25rem);
}

.hero-ridge-silhouette {
  opacity: 0.72;
}

.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.value {
  min-height: clamp(42rem, 51vw, 47rem);
  display: grid;
  align-items: center;
}

.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
}

.value-copy {
  max-width: 39rem;
}

.value h2,
.services h2,
.contact h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 4.6vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.editorial-accent {
  padding: 0.02em 0.09em;
  background: var(--terracotta);
  color: var(--navy);
  white-space: nowrap;
}

.value-copy p {
  max-width: 62ch;
  margin-bottom: 1.5rem;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.55;
}

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

.value-mountain {
  width: calc(100% + var(--gutter));
  max-height: 30rem;
  overflow: visible;
}

.clients {
  padding-block: clamp(2.6rem, 4vw, 4.5rem);
  padding-inline: 1rem;
  background: var(--navy);
  color: var(--pale);
}

.clients-inner {
  display: grid;
  gap: clamp(2rem, 3vw, 2.8rem);
}

.clients h2 {
  margin: 0;
  color: var(--pale);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: center;
}

.client-list {
  --client-logo-height: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 2rem;
  width: min(100%, 740px);
  min-height: 110px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.client-logo {
  max-width: 100%;
}

.client-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: calc(var(--client-logo-height) * var(--client-logo-scale, 1));
}

.client-logo-gente {
  justify-self: start;
}

.client-logo-eyh {
  --client-logo-scale: 1.18;
  justify-self: end;
}

.client-logo-turia {
  --client-logo-scale: 1.08;
}

.services {
  overflow: hidden;
  padding-bottom: clamp(3.5rem, 5vw, 4.5rem);
}

.section-heading-row {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.service-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.service-card {
  min-height: 20rem;
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--navy);
  color: var(--pale);
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-icon {
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: 1.2rem;
}

.service-rule {
  height: 1px;
  margin-bottom: 1.2rem;
  background: var(--accent-2);
}

.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card p {
  max-width: 24ch;
  margin-bottom: 0;
  color: var(--rule);
  font-size: 1rem;
}

.culture {
  position: relative;
  min-height: clamp(28rem, 36vw, 34rem);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.culture-copy {
  position: relative;
  z-index: 1;
  align-self: start;
  padding-top: clamp(3.5rem, 5vw, 4.75rem);
  text-align: center;
}

.culture h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.7rem, 5.1vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.culture p {
  color: var(--slate);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}

.ridge-culture {
  position: absolute;
  inset: auto 0 0;
  height: clamp(7rem, 10vw, 9.4rem);
}

.culture-ridge-surface {
  opacity: 0.56;
}

.contact {
  padding-top: clamp(4rem, 7vw, 6.5rem);
}

.contact h2 {
  margin-bottom: 0.15rem;
}

.contact-intro {
  margin-bottom: 2rem;
  color: var(--slate);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  caret-color: var(--terracotta);
}

.field input {
  min-height: 3.25rem;
  padding: 0.6rem 0.8rem;
}

.field textarea {
  min-height: 8.25rem;
  resize: vertical;
  padding: 0.8rem;
}

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

.field input:focus,
.field textarea:focus {
  border-color: var(--terracotta);
  outline: none;
  box-shadow: 0 0 0 2px var(--terracotta);
}

.submit-button {
  width: 100%;
}

.contact-status {
  margin: 0;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.contact-status:empty {
  position: absolute;
}

.contact-details {
  position: relative;
  display: grid;
  align-content: start;
  gap: 2rem;
  margin: 0;
  padding-left: clamp(2rem, 4vw, 4rem);
  font-style: normal;
}

.contact-details::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--rule);
  content: "";
}

.contact-details div {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.contact-details div:last-child {
  border-bottom: 0;
}

.contact-details dt {
  margin-bottom: 0.2rem;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  text-decoration-thickness: 1px;
}

.contact-email .icon {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
}

.contact-email span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
}

.brand-icon {
  width: 1.375rem;
  height: 1.375rem;
  fill: currentColor;
  stroke: none;
}

.contact-email:hover,
.social-links a:hover {
  color: var(--slate);
}

.site-footer {
  padding-block: 1.5rem 1.25rem;
  background: var(--navy);
  color: var(--pale);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.25rem;
}

.footer-brand {
  font-size: 1.02rem;
}

.footer-logo-field {
  display: grid;
  place-items: center;
  background: transparent;
}

.footer-logo-field img {
  width: 2.35rem;
  height: 2.35rem;
  filter: brightness(0) invert(1);
}

.footer-nav .nav-links {
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--rule);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration-color: currentColor;
}

.footer-copyright {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--slate);
  color: var(--rule);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  :root {
    --gutter: 1.25rem;
  }

  .hero {
    min-height: 41rem;
  }

  .masthead {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1.25rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .hero-copy {
    padding-top: 3rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.1rem, 14vw, 4.1rem);
  }

  .hero-copy > p {
    max-width: 27ch;
  }

  .value {
    min-height: auto;
  }

  .value-layout {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }

  .value h2,
  .services h2,
  .contact h2 {
    font-size: clamp(2.5rem, 12vw, 3.35rem);
  }

  .value-mountain {
    width: calc(100% + var(--gutter));
    min-height: 16rem;
    margin-left: auto;
  }

  .clients {
    padding-block: 3rem;
  }

  .client-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
  }

  .client-logo-gente,
  .client-logo-eyh {
    justify-self: center;
  }

  .service-track {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 18rem;
  }

  .services {
    padding-bottom: 3rem;
  }

  .culture {
    min-height: 29rem;
  }

  .culture-copy {
    padding-top: 3.25rem;
  }

  .culture h2 {
    font-size: clamp(2.65rem, 12vw, 3.6rem);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-details {
    padding: 2.5rem 0 0;
  }

  .contact-details::before {
    inset: 0 0 auto;
    width: auto;
    height: 1px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-nav {
    width: 100%;
  }

  .footer-nav .nav-links {
    justify-content: flex-start;
    gap: 0.25rem 1.25rem;
  }
}

@media (forced-colors: active) {
  .button,
  .service-card,
  .clients,
  .site-footer {
    border: 1px solid CanvasText;
  }
}
