@font-face {
  font-family: "Neue Montreal";
  src: url("/assets/neuemontreal-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("/assets/neuemontreal-medium-webfont.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("/assets/neuemontreal-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT America";
  src: url("/assets/gt_america_medium-webfont.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT America";
  src: url("/assets/gt-america-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #5a59ec;
  --purple-hover: #4140e2;
  --highlight: #d4d4ff;
  --ink: #000;
  --paper: #fff;
  --muted: #595959;
  --rule: #dedede;
  --gutter: 56px;
  --body-font: "Neue Montreal", Arial, sans-serif;
  --nav-font: "GT America", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, textarea, select { font-family: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.page-width { width: 100%; padding-right: var(--gutter); padding-left: var(--gutter); }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  border-radius: 4px;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.masthead { padding-top: 16px; padding-bottom: 16px; }
.masthead a, .wordmark { display: block; width: 100%; height: auto; }
.navigation {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  width: max-content;
  max-width: calc(100% - 24px);
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 24px auto 0;
  padding: 8px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 4px 4px 12px #00000029;
}
.brand-icon { flex: 0 0 40px; border-radius: 50%; }
.brand-icon img { width: 40px; height: 40px; }
.compact-wordmark, .menu-toggle { display: none; }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  position: relative;
  isolation: isolate;
  padding: 12px 20px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}
.nav-links a::before {
  position: absolute;
  z-index: -1;
  right: 18px;
  bottom: 9px;
  left: 18px;
  height: 11px;
  background: var(--highlight);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav-links a:hover::before, .nav-links a:focus-visible::before { transform: scaleX(1); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 48px;
  padding: 16px 24px;
  border: 0;
  border-radius: 100px;
  background: var(--purple);
  color: #fff;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 180ms ease;
}
.button:hover { background: var(--purple-hover); }
.nav-button { min-height: 40px; padding: 12px 23px; }
.mobile-navigation { display: none; }

.hero { padding-top: 40px; }
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 49.398;
  overflow: hidden;
  background: #eaeaea;
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.motion-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  min-width: 88px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 100px;
  background: rgb(255 255 255 / 95%);
  color: #000;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}
.motion-icon { display: block; width: 12px; font-size: 12px; text-align: center; }
.motion-toggle:hover { background: #fff; }
.hero-copy { max-width: 1054px; margin: 0 auto; padding: 96px 0 24px; text-align: center; }
.hero-copy h1 { font-size: 56px; line-height: 1.04; }
.highlight { position: relative; z-index: 0; display: inline-block; white-space: nowrap; }
.highlight::before {
  position: absolute;
  z-index: -1;
  bottom: 9px;
  left: -5px;
  width: calc(100% + 10px);
  height: 20px;
  background: var(--highlight);
  content: "";
}
.hero-copy > p { max-width: 710px; margin: 24px auto 0; font-size: 24px; line-height: 1.3; }
.hero-copy > .button { margin-top: 32px; }

.services { padding-top: 112px; padding-bottom: 112px; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}
.section-heading h2, .articles h2 { font-size: 48px; line-height: 1.04; }
.section-heading > p { max-width: 460px; margin-left: auto; font-size: 20px; line-height: 1.3; }
.service-list { border-top: 1px solid var(--rule); }
.service-list article {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  align-items: center;
  gap: 48px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}
.service-list h3 { font-size: 32px; line-height: 1.1; }
.service-list p { max-width: 550px; font-size: 18px; line-height: 1.4; }
.service-list a, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  font-size: 18px;
  font-weight: 500;
}
.service-list a:hover, .text-link:hover { color: var(--purple); }
.service-list a span, .text-link span { font-family: Arial, sans-serif; font-size: 24px; font-weight: 400; }
.projects { padding-bottom: 96px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
.project-grid figure { min-width: 0; }
.project-image { width: 100%; aspect-ratio: 1.6; overflow: hidden; background: #f0f0ef; }
.project-image img { width: 100%; height: 100%; object-fit: contain; }
.project-grid figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 20px; }
.project-grid h3 { font-size: 28px; line-height: 1.1; }
.project-grid figcaption p { font-size: 14px; line-height: 1.3; text-align: right; }
.project-detail { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.group-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
}
.group-note h2 { font-size: 28px; line-height: 1.15; }
.group-note p { margin-top: 10px; color: var(--muted); }
.group-note .text-link { flex-shrink: 0; }

.contact { position: relative; padding-top: 88px; padding-bottom: 88px; background: #000; color: #fff; }
#sb-footer { position: absolute; top: 0; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: 80px; }
.contact-copy { position: sticky; top: 112px; }
.contact-copy h2 { font-size: clamp(48px, 4.8vw, 76px); line-height: 1.02; }
.contact-copy p { max-width: 330px; margin-top: 24px; font-size: 22px; line-height: 1.3; }
.contact-copy > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 32px; padding-bottom: 4px; border-bottom: 1px solid #777; font-size: 18px; }
.contact-copy > a:hover { color: var(--highlight); border-color: var(--highlight); }
.form-panel { min-width: 0; }
.form-panel > h3 { margin-bottom: 28px; font-size: 28px; line-height: 1.15; }
.articles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 88px;
}
.articles p { max-width: 520px; margin-top: 20px; font-size: 20px; line-height: 1.35; }
.articles .text-link { flex-shrink: 0; }
footer { padding-top: 32px; padding-bottom: 24px; border-top: 1px solid var(--rule); }
.footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.footer-top > img { flex-shrink: 0; width: 40px; height: 40px; }
.footer-top a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.footer-top a:hover { color: var(--purple); }
.footer-top .back-top { margin-left: auto; }
.footer-wordmark { width: 100%; height: auto; }
.copyright { margin-top: 24px; color: var(--muted); font-size: 13px; }
.recovery-page { min-height: 100svh; padding-top: 24px; padding-bottom: 64px; }
.recovery-page > a:first-child { display: block; }
.recovery-page h1 { max-width: 900px; margin-top: clamp(56px, 8vw, 112px); font-size: clamp(36px, 5vw, 64px); line-height: 1.04; }
.recovery-page p { max-width: 720px; margin-top: 24px; font-size: 20px; line-height: 1.45; }
.recovery-page p a { color: var(--purple); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.recovery-page p .text-link { display: inline; min-height: 0; font-size: inherit; font-weight: inherit; }
.recovery-page > .button { max-width: 100%; margin-top: 32px; line-height: 1.2; }

@media (min-width: 990px) and (max-width: 1439px) {
  :root { --gutter: 20px; }
  .navigation { top: 10px; margin-top: 14px; }
  .hero { padding-top: 30px; }
  .hero-copy { max-width: 890px; padding-top: 70px; }
  .hero-copy h1 { font-size: 48px; }
  .section-heading h2, .articles h2 { font-size: 44px; }
  .service-list article { gap: 32px; }
  .contact-inner { gap: 56px; }
}

@media (max-width: 989px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 88px; }
  .masthead, .brand-icon, .nav-links, .nav-button { display: none; }
  .navigation {
    top: 8px;
    justify-content: space-between;
    width: calc(100% - 24px);
    gap: 20px;
    margin-top: 8px;
    padding: 8px 8px 8px 16px;
  }
  .compact-wordmark { display: flex; align-items: center; min-height: 44px; width: min(239px, calc(100% - 64px)); }
  .compact-wordmark img { width: 100%; height: auto; }
  .menu-toggle {
    position: relative;
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--purple);
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-navigation {
    position: fixed;
    z-index: 29;
    top: 54px;
    right: 12px;
    left: 12px;
    display: flex;
    max-height: calc(100dvh - 70px);
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding: 30px 24px 24px;
    border-radius: 0 0 28px 28px;
    background: #fff;
    box-shadow: 4px 12px 12px #00000029;
  }
  .mobile-navigation a { min-height: 44px; padding: 6px 4px; font-size: 32px; font-weight: 500; line-height: 1; }
  .mobile-navigation a:hover { color: var(--purple); }
  .mobile-navigation a:last-child { color: var(--purple); }
  .hero { padding-top: 16px; }
  .hero-copy { max-width: 724px; padding-top: 60px; }
  .hero-copy h1 { font-size: 38px; }
  .highlight::before { bottom: 6px; height: 16px; }
  .hero-copy > p { max-width: 600px; font-size: 22px; }
  .services { padding-top: 80px; padding-bottom: 80px; }
  .section-heading { gap: 24px; margin-bottom: 36px; }
  .section-heading h2, .articles h2 { font-size: 38px; }
  .section-heading > p { font-size: 18px; }
  .service-list article { grid-template-columns: 0.65fr 1.35fr auto; gap: 24px; padding: 26px 0; }
  .service-list h3 { font-size: 28px; }
  .service-list p { font-size: 16px; }
  .service-list a { gap: 12px; font-size: 16px; white-space: nowrap; }
  .project-grid { column-gap: 20px; }
  .project-grid figcaption { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 16px; }
  .project-grid h3 { font-size: 26px; }
  .project-grid figcaption p { text-align: left; }
  .projects { padding-bottom: 64px; }
  .group-note { gap: 28px; }
  .group-note h2 { font-size: 24px; }
  .group-note .text-link { gap: 16px; font-size: 16px; }
  .contact { padding-top: 64px; padding-bottom: 64px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-copy { position: static; }
  .contact-copy h2 { font-size: 56px; }
  .contact-copy p { max-width: 470px; font-size: 20px; }
  .contact-copy > a { margin-top: 24px; }
  .articles { gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .articles p { font-size: 18px; }
  .articles .text-link { font-size: 16px; gap: 16px; }
  .footer-top { gap: 16px 24px; }
  .footer-top .back-top { margin-left: 0; }
}

@media (max-width: 749px) {
  .hero { padding: 8px 0 0; }
  /* Shorter than the original phone montage so the lead action is accessible. */
  .hero-media { height: clamp(180px, 62vw, 290px); aspect-ratio: auto; }
  .motion-toggle { right: 12px; bottom: 12px; min-width: 80px; min-height: 44px; padding: 10px 12px; }
  .hero-copy { max-width: 560px; padding: 24px 20px 0; text-align: left; }
  .hero-copy h1 { font-size: clamp(34px, 10.25vw, 40px); line-height: 1.04; }
  .hero-copy > p { margin-top: 16px; font-size: 18px; line-height: 1.3; }
  .hero-copy > .button { width: 100%; margin-top: 24px; }
  .services { padding-top: 64px; padding-bottom: 64px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .section-heading h2, .articles h2 { font-size: 36px; }
  .section-heading > p { max-width: 480px; margin-left: 0; font-size: 18px; }
  .service-list article { grid-template-columns: 1fr auto; align-items: start; gap: 12px 20px; padding: 24px 0; }
  .service-list h3 { grid-column: 1; align-self: center; font-size: 28px; }
  .service-list p { grid-row: 2; grid-column: 1 / -1; max-width: 480px; font-size: 17px; }
  .service-list a { grid-column: 2; grid-row: 1; align-self: center; margin-top: -4px; margin-bottom: -4px; font-size: 16px; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-image { aspect-ratio: auto; }
  .project-image img { height: auto; object-fit: contain; }
  .project-grid figcaption { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; }
  .project-grid h3 { font-size: 26px; }
  .project-grid figcaption p { font-size: 13px; }
  .projects { padding-bottom: 56px; }
  .group-note { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
  .group-note h2 { max-width: 420px; font-size: 26px; }
  .group-note p { font-size: 17px; }
  .group-note .text-link { font-size: 17px; }
  .contact { padding-top: 48px; padding-bottom: 48px; }
  .contact-inner { gap: 40px; }
  .contact-copy h2 { font-size: 48px; }
  .contact-copy p { margin-top: 20px; font-size: 20px; }
  .contact-copy > a { font-size: 17px; }
  .form-panel > h3 { margin-bottom: 24px; font-size: 26px; }
  .articles { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 56px; padding-bottom: 48px; }
  .articles p { margin-top: 20px; }
  .articles .text-link { font-size: 18px; }
  footer { padding-top: 24px; padding-bottom: 20px; }
  .footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-bottom: 32px; }
  .footer-top > img { grid-column: 1 / -1; margin-bottom: 12px; }
  .footer-top a { min-height: 44px; font-size: 14px; }
  .copyright { margin-top: 20px; font-size: 12px; }
  .recovery-page { padding-top: 20px; padding-bottom: 40px; }
  .recovery-page p { font-size: 18px; }
}

@media (max-width: 749px) and (max-height: 740px) {
  .hero-media { height: clamp(150px, 44vw, 200px); }
  .hero-copy { padding-top: 20px; }
  .hero-copy > p { margin-top: 12px; }
  .hero-copy > .button { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
