@font-face {
  font-family: OpenSans;
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: OpenSans;
  src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Cardo;
  src: url("../fonts/Cardo-Italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}
:root {
  --font: OpenSans, Arial, sans-serif;
  --ink: #292d39;
  --muted: #646772;
  --soft: #f5f6f8;
  --accent-text: #bc3039;
  --focus: #e84545;
  --button-bg: #ca343d;
  --button-text: #fff;
  --button-hover: #aa2730;
  --line: #ffffff26;
}
/* Content-driven layout: no fixed content heights or overflow masking. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 6.2vw, 5.4rem);
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
button,
input,
textarea {
  max-width: 100%;
}
input,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #aaa;
  border-radius: 4px;
  padding: 0.9rem 1rem;
  background: #fff;
  color: #202127;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
input::placeholder,
textarea::placeholder {
  color: #6b6b71;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: calc(100% - clamp(2rem, 8vw, 8rem));
  max-width: 1160px;
  margin-inline: auto;
}
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.soft {
  background: var(--soft);
}
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-heading > p:last-child {
  margin-top: 1.2rem;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-text);
}
.site-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  min-width: 0;
}
.brand img {
  width: 189px;
  max-width: 100%;
  height: auto;
}
.brand i {
  font-size: 2.2rem;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}
.site-header nav a {
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  padding-block: 0.75rem;
}
.site-header nav a:hover {
  text-decoration: underline;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  min-height: 44px;
}
.hero-content {
  padding-block: clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 1.75rem auto 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--button-bg);
  border-radius: 3px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
  transform: translateY(-2px);
}
.text-link {
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-content .hero-note {
  font-size: 0.8rem !important;
  margin-top: 3rem !important;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 2rem;
}
.feature > i {
  font-size: 2.5rem;
  color: var(--accent-text);
}
.feature h3 {
  margin-bottom: 0.75rem;
}
.feature p {
  font-size: 0.95rem;
}
.work-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.work-card {
  min-width: 0;
}
.work-card img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  transition: filter 0.25s;
}
.work-card:hover img {
  filter: brightness(0.9);
}
.work-card figcaption {
  display: flex;
  gap: 0.8rem;
  padding: 1.15rem 0;
  align-items: start;
}
.work-card h3 {
  font-size: 1rem;
  line-height: 1.4;
}
.work-card p {
  font-size: 0.8rem;
  margin-top: 0.15rem;
}
.project-number {
  font-size: 0.7rem;
  color: var(--accent-text);
  font-weight: 700;
  padding-top: 0.25rem;
}
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1.5rem;
}
.person h3 {
  font-size: 1.4rem;
}
.person .role {
  color: var(--accent-text);
  font-size: 0.8rem;
  margin: 0.5rem 0 1rem;
}
.person > p:last-child {
  font-size: 0.9rem;
}
.site-footer {
  padding-top: 4rem;
}
.site-footer a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 1rem;
  z-index: 10;
  background: #fff;
  color: #111;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
@media (min-width: 1600px) {
  .wrap {
    max-width: 1320px;
  }
}
@media (max-width: 1000px) {
  .work-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features-grid {
    gap: 2rem;
  }
  .site-header {
    gap: 1rem;
  }
  .site-header nav {
    gap: 1rem;
  }
}
@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 1.25rem;
  }
  .site-header nav {
    width: 100%;
    justify-content: center;
    gap: 0.5rem 1.5rem;
  }
  .js .menu-toggle {
    display: inline-flex;
  }
  .js .site-header nav {
    display: none;
  }
  .js .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }
  .js .site-header nav a {
    padding: 0.75rem 1rem;
    border-radius: 3px;
  }
  .js .site-header nav a:hover {
    background: var(--line);
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-content {
    padding-block: 4rem;
  }
  .site-header .brand {
    font-size: 1.75rem;
  }
  .site-header .brand img {
    width: 160px;
  }
}
@media (max-width: 520px) {
  .features-grid,
  .work-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .team-grid {
    gap: 2.5rem;
  }
  .person img {
    max-width: 340px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .text-link {
    justify-content: center;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-heading {
    text-align: left;
  }
  .hero-content h1 br {
    display: none;
  }
  .brand i {
    font-size: 1.75rem;
  }
  .site-header {
    gap: 0.5rem;
  }
  .work-card img {
    aspect-ratio: 1.3;
  }
}
@media (max-width: 300px) {
  .site-header .brand {
    font-size: 1.4rem;
  }
  .site-header .brand img {
    width: 120px;
  }
  .menu-toggle {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  h1 {
    font-size: 2rem;
  }
  .button {
    padding: 0.8rem;
    gap: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.hero {
  background: #292d49 url("../images/banner.jpg") center/cover no-repeat;
  color: #fff;
}
.hero .eyebrow {
  color: #ffabb0;
}
.hero-content h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.7rem);
  max-width: 1000px;
  margin-inline: auto;
}
.hero-content > p:not(.eyebrow) {
  color: #e0e1e9;
}
.hero-content .hero-note {
  color: #bec1d2 !important;
}
.hero-content {
  padding-bottom: clamp(4rem, 9vw, 8rem);
}
.feature {
  text-align: center;
}
.feature > i {
  display: block;
  margin-bottom: 1.5rem;
}
.work-section {
  padding-top: 0;
  padding-bottom: 0;
}
.work-section .section-heading {
  padding-inline: 1rem;
}
.work-grid {
  gap: 2px;
  max-width: 1920px;
  margin-inline: auto;
}
.work-card {
  background: #f5f6f8;
  position: relative;
  overflow: hidden;
}
.work-card img {
  aspect-ratio: 1.3;
}
.work-card figcaption {
  padding: 1.25rem;
}
.work-card:hover {
  background: #f0f1f4;
}
.team-grid {
  gap: 2rem;
}
.person img {
  border-radius: 3px;
}
.testimonial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #53354a;
  color: #fff;
}
.testimonial-image {
  min-width: 0;
}
.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1.35;
}
.testimonial-copy {
  padding: clamp(2rem, 5vw, 5rem);
  align-self: center;
}
.testimonial-copy .eyebrow {
  color: #f7c8d9;
}
.testimonial-copy blockquote {
  font-family: Cardo, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
  line-height: 1.4;
}
.testimonial-copy > p:not(.eyebrow) {
  margin-top: 1.5rem;
  color: #fff;
  font-size: 0.8rem;
}
.testimonial-copy small {
  display: block;
  margin-top: 1rem;
  color: #e0ccd9;
  font-size: 0.7rem;
}
.download {
  text-align: center;
  max-width: 800px;
}
.download > p:not(.eyebrow) {
  margin: 1.25rem auto 2rem;
  max-width: 620px;
}
.source-link {
  display: block;
  width: fit-content;
  margin: 1.25rem auto 0;
  min-height: 44px;
  font-size: 0.875rem;
}
.site-footer {
  background: #303451;
  color: #fff;
}
.site-footer p {
  color: #c5c8d6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-grid h2 {
  font-size: 0.9rem;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}
.footer-grid p {
  font-size: 0.875rem;
  margin-top: 1.25rem;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-grid a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
}
.footer-grid > div:last-child > a {
  margin-top: 0.75rem;
}
@media (max-width: 960px) {
  .testimonial {
    grid-template-columns: minmax(0, 1fr);
  }
  .testimonial-image img {
    max-height: 460px;
    aspect-ratio: 1.5;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .testimonial-copy {
    padding: 2.5rem clamp(1rem, 4vw, 2rem);
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-grid {
    gap: 1rem;
  }
  .work-section .section-heading {
    width: calc(100% - 2rem);
    padding: 0;
  }
  .feature {
    text-align: left;
  }
  .person img {
    max-width: none;
  }
}
