:root {
  --ink: #102747;
  --blue: #0755d9;
  --orange: #ff8b32;
  --muted: #53647b;
  --background: #faf7f0;
  --surface: #f3ede2;
  --line: #e6dfd3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-size: 15px;
  line-height: 1.75;
}
::selection {
  background: #ffcc9e;
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.16;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  margin-bottom: 26px;
}
h2 {
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  margin-bottom: 24px;
}
h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
  max-width: 70ch;
}
em {
  font-style: normal;
  color: var(--blue);
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 88px;
}
.surface {
  background: var(--surface);
}
.site-header {
  background: var(--background);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand-text {
  font-size: 27px;
  letter-spacing: -1.3px;
  font-weight: 800;
  line-height: 1.1;
  color: #0644c6;
}
.brand-text > span {
  color: #ed731a;
  margin-left: 2px;
}
.brand small {
  display: block;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 1.5px;
  margin-top: 6px;
}
.original-logo img {
  width: 178px;
  height: 80px;
  object-fit: contain;
}
.original-logo .brand-text {
  display: none;
}
nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}
nav a {
  font-size: 13px;
  font-weight: 700;
  position: relative;
  padding-block: 12px;
  white-space: nowrap;
}
nav a:hover,
nav a[aria-current] {
  color: var(--blue);
}
nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  left: calc(50% - 2px);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--blue);
  color: white;
  padding: 12px 19px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover {
  background: #003da8;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 50px;
  align-items: center;
  padding-block: 66px 72px;
}
.hero h1 {
  font-size: clamp(2.6rem, 4.05vw, 3.95rem);
  line-height: 1.16;
}
.hero h1 em {
  color: var(--blue);
}
.hero-copy > p {
  max-width: 420px;
  font-size: 16px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  border: 0;
  border-radius: 5px;
  padding: 15px 23px;
  background: var(--orange);
  color: #172a43;
  font-weight: 800;
  font-size: 13px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #ffa758;
  transform: translateY(-2px);
}
.button span,
.text-link span {
  font-size: 21px;
  line-height: 1;
}
.button.secondary {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--surface);
}
.hero-note {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-top: 38px;
}
.note-line {
  width: 25px;
  height: 2px;
  background: var(--orange);
}
.hero-image {
  position: relative;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.hero-image > img {
  height: auto;
  object-fit: contain;
}
.hero-image:after {
  display: none;
}
.image-caption {
  position: relative;
  padding: 22px 28px;
  background: var(--ink);
  color: white;
}
.image-caption > span {
  font-size: 12px;
  color: #d4e4f6;
}
.image-caption strong {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  margin-top: 4px;
  letter-spacing: -0.5px;
}
.image-caption strong span {
  color: var(--orange);
}
.image-corner {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 40px;
  line-height: 1;
  color: var(--orange);
  font-weight: 400;
}
.expertise-strip {
  background: var(--blue);
  color: white;
}
.expertise-strip .wrap {
  display: flex;
  justify-content: space-between;
  padding-block: 25px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.orange {
  color: #ffad6b;
}
.split-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.lead {
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  padding-block: 8px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.section-top h2 {
  margin-bottom: 0;
}
.section-top p {
  margin-top: 18px;
  margin-bottom: 0;
}
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
  transition: color 0.2s;
}
.service-row h3 {
  margin-bottom: 10px;
  font-size: 23px;
}
.service-row p {
  margin-bottom: 0;
  max-width: 75ch;
  font-size: 14px;
}
.service-row > span {
  font-size: 30px;
  color: var(--blue);
  transition: transform 0.2s;
}
.service-row:hover h3 {
  color: var(--blue);
}
.service-row:hover > span {
  transform: translate(3px, -3px);
}
.service-row small {
  display: block;
  color: var(--blue);
  font-size: 12px;
  margin-top: 14px;
  font-weight: 650;
}
.all-services {
  color: var(--muted);
  font-size: 12px;
  margin-top: 30px;
  word-spacing: 4px;
}
.caption {
  font-size: 12px;
  margin-bottom: 22px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px 30px;
}
.project-card img {
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.project-copy {
  padding: 22px 0 0;
}
.project-copy small {
  font-size: 11px;
  color: var(--blue);
  font-weight: 800;
}
.project-copy h3 {
  font-size: 25px;
  margin-block: 9px 12px;
}
.project-copy p {
  font-size: 14px;
  margin-bottom: 10px;
}
.people-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-bottom: 90px;
}
.people-section img {
  height: 360px;
  border-radius: 14px;
}
.people-section p {
  margin-bottom: 26px;
}
.cta {
  background: var(--blue);
  color: white;
  margin-top: 20px;
  padding: 58px 0;
}
.cta > .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta h2 {
  font-size: 35px;
  margin-bottom: 12px;
}
.cta p {
  color: #d5e5ff;
  margin-bottom: 0;
}
footer {
  padding-top: 65px;
  background: var(--surface);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1.1fr 1fr;
  gap: 35px;
  padding-bottom: 55px;
}
.footer-main h3 {
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.footer-main > div > a:not(.brand) {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 9px;
}
.footer-main > div > a:hover {
  color: var(--blue);
}
.footer-main p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 22px;
}
.footer-main .footer-message h3 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.4px;
}
.footer-main .footer-message .text-link {
  display: inline-flex;
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.page-heading {
  padding-block: 74px 52px;
}
.page-heading h1 {
  max-width: 1000px;
}
.page-heading > p {
  font-size: 18px;
  max-width: 700px;
}
.wide-photo img {
  height: 430px;
  border-radius: 14px;
  object-position: center 42%;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 45px;
}
.principles article {
  border-top: 2px solid var(--blue);
  padding-top: 24px;
}
.principles h3 {
  font-size: 22px;
}
.principles p {
  font-size: 14px;
}
.services-main {
  padding-bottom: 75px;
}
.services-main .service-row {
  padding-block: 35px;
}
.services-main .service-row h3 {
  font-size: 28px;
}
.projects-section {
  padding-top: 0;
}
.concept-notice {
  font-size: 13px;
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 6px;
  max-width: none;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-block: 30px 40px;
}
.filters button {
  background: var(--background);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
}
.filters button.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.filters button:hover {
  border-color: var(--blue);
}
[hidden] {
  display: none !important;
}
.career-note {
  margin-top: 40px;
  background: var(--background);
  padding: 32px;
  border-radius: 12px;
}
.career-note h3 {
  font-size: 26px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  padding-bottom: 90px;
}
.contact-layout aside h2 {
  font-size: 30px;
}
.contact-layout aside > p {
  font-size: 14px;
}
.contact-detail {
  margin-block: 35px;
}
.contact-detail h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.contact-detail p {
  font-size: 13px;
  margin-bottom: 25px;
}
.contact-notice {
  background: var(--surface);
  padding: 18px;
  border-radius: 6px;
}
.contact-layout form {
  background: var(--surface);
  padding: 35px;
  border-radius: 14px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 19px;
}
label > span {
  font-weight: 400;
  color: var(--muted);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  margin-top: 8px;
  border: 1px solid #c4cfde;
  background: var(--background);
  border-radius: 5px;
  color: var(--ink);
  font-size: 13px;
  caret-color: var(--blue);
}
textarea {
  resize: vertical;
  min-height: 120px;
}
::placeholder {
  color: #65748b;
  opacity: 1;
}
.form-note {
  font-size: 12px;
  line-height: 1.7;
}
#form-status {
  font-size: 13px;
  margin: 16px 0 0;
  color: var(--blue);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--background);
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1000px) {
  .hero-image {
    animation: hero-appear 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes hero-appear {
    from {
      clip-path: inset(0 0 8% 0 round 14px);
      filter: saturate(0.4);
    }
    to {
      clip-path: inset(0 0 0 0 round 14px);
      filter: saturate(1);
    }
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .header-inner {
    gap: 20px;
  }
  nav {
    gap: 18px;
  }
  .header-cta {
    display: none;
  }
  .hero {
    gap: 30px;
  }
  .hero-image {
    height: auto;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .footer-main {
    gap: 25px;
  }
  .contact-layout {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 80px;
    justify-content: space-between;
  }
  .brand-text {
    font-size: 24px;
  }
  .brand img {
    width: 43px;
    height: 43px;
  }
  .brand small {
    font-size: 7px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 0;
    border-radius: 5px;
  }
  .menu-toggle span {
    height: 2px;
    width: 22px;
    background: var(--ink);
    margin-inline: auto;
  }
  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--background);
    padding: 18px 24px 25px;
    box-shadow: 0 12px 25px #10274712;
    gap: 3px;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  nav a {
    font-size: 15px;
  }
  nav a[aria-current]:after {
    left: auto;
    right: 5px;
    bottom: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 42px 35px;
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 8.5vw, 3.8rem);
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-note {
    margin-top: 24px;
  }
  .hero-image {
    height: auto;
    border-bottom-right-radius: 14px;
  }
  .image-caption {
    padding: 20px 23px;
  }
  .image-caption strong {
    font-size: 18px;
  }
  .expertise-strip .wrap {
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding-block: 20px;
    font-size: 15px;
  }
  .section {
    padding-block: 56px;
  }
  .split-intro {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  h2 {
    font-size: 2.2rem;
  }
  .lead {
    font-size: 19px;
  }
  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .service-row {
    gap: 20px;
    padding-block: 24px;
  }
  .service-row h3,
  .services-main .service-row h3 {
    font-size: 21px;
    line-height: 1.35;
  }
  .service-row p {
    font-size: 13px;
  }
  .service-row > span {
    font-size: 24px;
  }
  .all-services {
    font-size: 10px;
    line-height: 2;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-copy h3 {
    font-size: 23px;
  }
  .people-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 55px;
  }
  .people-section img {
    height: 300px;
  }
  .cta {
    padding-block: 40px;
  }
  .cta > .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
  }
  .cta h2 {
    font-size: 29px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
  .footer-message {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
  .page-heading {
    padding-block: 45px 30px;
  }
  .page-heading h1 {
    font-size: 2.7rem;
  }
  .page-heading > p {
    font-size: 16px;
  }
  .wide-photo img {
    height: 280px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }
  .principles article {
    padding-top: 20px;
  }
  .principles h3 {
    margin-bottom: 12px;
  }
  .career-note {
    padding: 25px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 50px;
  }
  .contact-layout form {
    padding: 22px;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .projects-section {
    padding-top: 0;
  }
  .filters {
    gap: 7px;
  }
  .filters button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .original-logo img {
    width: 150px;
    height: 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Project cards expand in place to reveal their respective briefs. */
.project-card > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  border-radius: 12px;
}
.project-card > summary::-webkit-details-marker {
  display: none;
}
.project-card > summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}
.project-card > summary:hover h3,
.project-card[open] > summary h3 {
  color: var(--blue);
}
.project-card[open] .project-brief {
  margin-top: 20px;
  padding: 24px;
  background: var(--surface, #f4f7fb);
  border-radius: 12px;
}
.project-brief h4 {
  margin: 0 0 12px;
  font-size: 18px;
}
.project-brief p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}
.project-brief .project-concept {
  margin-top: 16px;
  font-size: 12px;
}
.project-grid {
  align-items: start;
}

/* Service briefs open in place, without navigating away. */
details.service-row {
  display: block;
}
.service-row > summary {
  cursor: pointer;
  list-style: none;
}
.service-row > summary::-webkit-details-marker {
  display: none;
}
.service-row > summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
  border-radius: 4px;
}
.service-row[open] .service-brief {
  margin-top: 20px;
}

.purpose-section {
  padding-top: 0;
}
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.purpose-grid h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}
.purpose-grid p {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.office-address {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
