:root {
  --op-navy: #252751;
  --op-ink: #2d3450;
  --op-green: #166454;
  --op-mint: #e6f1e9;
  --op-lime: #c9e7af;
  --op-line: #dfe4e5;
  --op-cream: #f8faf7;
  --op-serif: "Georgia", serif;
}
html { scroll-padding-top: 106px; }
.site-header { min-height: 79px; background: #fff; position: sticky; top: 0; z-index: 12; }
.admin-bar .site-header { top: 32px; }
.header-row { width: min(calc(100% - 80px), 1250px); }
.site-header .brand { width: clamp(176px, 20vw, 244px); }
.site-header .site-navigation a { font-size: .9rem; }
.site-header .header-cta { border-radius: 100px; padding-inline: 1.48rem; }
.op-home { color: var(--op-ink); }
.op-home > div { margin-block: 0; }
.op-home .wrap { width: min(calc(100% - 94px), 1216px); }
.op-home .wp-block-group__inner-container { display: contents; }
.op-home h1, .op-home h2 {
  color: var(--op-navy);
  font-family: var(--op-serif);
  font-weight: 400;
  letter-spacing: -.066em;
  line-height: .99;
  text-wrap: balance;
}
.op-home h2 { font-size: clamp(2.55rem, 5.6vw, 5rem); margin-bottom: .36em; }
.op-home h3 { font-weight: 700; color: var(--op-navy); letter-spacing: -.045em; line-height: 1.08; }
.op-home figure { margin: 0; }
.op-label {
  display: flex; align-items: center; gap: .55rem;
  margin: 0 0 1rem;
  color: var(--op-green);
  font-size: .76rem; line-height: 1.35; font-weight: 730; letter-spacing: .075em; text-transform: uppercase;
}
.op-hero { background: var(--op-mint); overflow: clip; }
.op-hero .wrap { width: min(calc(100% - 94px), 1216px); }
.op-hero-grid { display: grid; grid-template-columns: 1fr .84fr; align-items: center; gap: clamp(2rem, 6.5vw, 6.15rem); }
.op-hero-copy { padding-block: clamp(4.2rem, 8vw, 7.5rem); }
.op-hero-copy .op-label::before { content: ""; flex: 0 0 24px; height: 2px; background: #2a845f; }
.op-hero h1 { font-size: clamp(3.1rem, 5.3vw, 5rem); margin: 0 0 .27em; text-wrap: initial; }
.op-intro { max-width: 39ch; line-height: 1.58; font-size: clamp(1.06rem, 1.65vw, 1.32rem); margin: 0 0 1.65rem; }
.op-hero .wp-block-buttons { display: flex; gap: .65rem; }
.op-hero .wp-block-button__link { border-radius: 100px; padding: .7rem 1.3rem; }
.op-hero .is-style-outline > .wp-block-button__link { border-color: #80a995; }
.op-hero-image { position: relative; align-self: stretch; min-width: 0; }
.op-hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; }
.op-routes { border-bottom: 1px solid var(--op-line); }
.op-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.op-route-grid p { margin: 0; }
.op-route-grid p + p { border-left: 1px solid var(--op-line); }
.op-route-grid a {
  display: flex; justify-content: space-between; align-items: center; gap: .7em;
  min-height: 66px; padding: .8rem clamp(.8rem, 2vw, 1.75rem);
  color: var(--op-navy); font-size: .96rem; font-weight: 700; text-decoration: none;
}
.op-route-grid p:first-child a { padding-left: 0; }
.op-route-grid p:last-child a { padding-right: 0; }
.op-route-grid span { color: var(--op-green); font-size: 1.15em; }
.op-route-grid a:hover { color: var(--op-green); text-decoration: underline; }
.op-services { padding-block: clamp(3.5rem, 7vw, 6.7rem); }
.op-section-head { margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.op-section-head h2 { text-wrap: initial; }
.op-section-head > p:last-child { max-width: 56ch; margin: 0; font-size: 1.06rem; }
.op-service {
  display: grid; grid-template-columns: .96fr 1fr .88fr; gap: clamp(1rem, 3.5vw, 3rem);
  border-top: 1px solid var(--op-line); padding-block: clamp(1.45rem, 3.2vw, 2.4rem);
}
.op-service-name h3 { font-size: clamp(1.33rem, 2.45vw, 2.15rem); margin-bottom: .5rem; }
.op-service-name .op-label { margin: 0; text-transform: none; letter-spacing: .02em; font-size: .82rem; }
.op-service-copy > p:first-child { margin-bottom: .65rem; }
.op-link { margin-bottom: 0; font-size: .93rem; font-weight: 700; }
.op-link a { text-decoration-thickness: 1px; text-underline-offset: .25em; }
.op-link span { display: inline-block; margin-left: .28em; text-decoration: none; }
.op-service-tasks ul { margin: 0; padding-left: 1.1rem; font-size: .91rem; }
.op-service-tasks li::marker { color: var(--op-green); }
.op-project {
  margin-block: .25rem 1.5rem; padding: clamp(1.65rem, 4.6vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem); background: var(--op-navy); color: #e6e5f0;
  border-radius: 5px;
}
.op-project .op-label, .op-project a { color: var(--op-lime); }
.op-project-copy { container-type: inline-size; }
.op-project h3 {
  color: #fff; font-family: var(--op-serif); font-weight: 400;
  font-size: clamp(1.45rem, 3.2vw, 3.45rem);
  font-size: min(3.45rem, 10.4cqi);
  margin-bottom: .3em; overflow-wrap: normal;
}
.op-project-copy > p:not(.op-label):not(.op-link) { max-width: 47ch; }
.op-project-board { background: #f5f8f2; color: var(--op-navy); padding: clamp(1rem, 2.55vw, 2rem); border-radius: 4px; }
.op-board-title { margin: 0 0 .65rem; font-size: 1.2rem; line-height: 1.25; font-weight: 740; }
.op-board-row {
  position: relative; margin: 0; border-top: 1px solid #d8e2d5; padding: .62rem 0 .62rem 1.05rem; line-height: 1.36;
}
.op-board-row::before { content: ''; position: absolute; top: 1rem; left: 0; width: .44rem; height: .44rem; border-radius: 50%; background: #318160; }
.op-board-row:last-child { padding-bottom: .1rem; }
.op-board-row strong, .op-board-row span { display: block; }
.op-board-row strong { font-size: .94rem; }
.op-board-row span { color: #466158; font-size: .83rem; padding-top: .18rem; }
.op-about { background: var(--op-mint); }
.op-about-grid { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(3rem, 6vw, 5rem); }
.op-portrait-frame { background: #d5e8d9; border-radius: 180px 180px 8px 8px; overflow: hidden; min-width: 0; }
.op-portrait img { display: block; width: 100%; height: clamp(265px, 36vw, 410px); object-fit: cover; object-position: center 42%; }
.op-about-copy h2 { text-wrap: initial; max-width: 11ch; }
.op-about-copy > p:not(.op-label) { max-width: 52ch; }
.op-references { padding-block: clamp(2rem, 4vw, 3.5rem); }
.op-reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.op-reference-group + .op-reference-group { border-left: 1px solid var(--op-line); padding-left: 2rem; }
.op-reference-group h2 { font: 700 .9rem/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; margin: 0 0 .7rem; }
.op-logos { display: grid; gap: clamp(.5rem, 2vw, 1.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; max-width: 455px; }
.op-logos img { width: 100%; height: clamp(42px, 6vw, 58px); object-fit: contain; object-position: center; }
.op-contact { background: var(--op-navy); color: #e6e5f0; padding-block: clamp(3rem, 6.8vw, 6.25rem); }
.op-contact-grid { display: grid; grid-template-columns: .88fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.op-contact-copy h2 { color: white; max-width: 10ch; text-wrap: initial; }
.op-contact-copy p:not(.op-label) { max-width: 42ch; }
.op-contact-copy .op-label, .op-contact-copy a { color: var(--op-lime); }
.op-contact-copy p:last-child { margin-bottom: 0; }
.op-form-card { background: #f7faf4; color: var(--op-navy); border-radius: 5px; padding: clamp(1.25rem, 3vw, 2.45rem); min-width: 0; }
.op-form-card h3 { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.7vw, 2rem); }
.op-form-card p { margin-bottom: .7rem; }
.op-form-card p:last-child { margin-bottom: 0; }
.op-form-card .wpcf7 input:not([type=submit]):not([type=hidden]), .op-form-card .wpcf7 textarea { border-color: #a5b7a9; border-radius: 3px; }
.op-form-card .wpcf7 textarea { height: 6.5rem; }
.op-form-card .wpcf7-submit, .op-form-card .button { border-radius: 100px; padding-inline: 1.35rem; }
@media (max-width: 850px) {
  .op-home .wrap { width: calc(100% - 56px); }
  .op-hero-grid { gap: 1.75rem; }
  .op-service { grid-template-columns: 1fr 1.3fr; gap: .8rem 1.5rem; }
  .op-service-tasks { grid-column: 2; }
}
@media (max-width: 760px) {
  .op-project { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .admin-bar .site-header { top: 0; }
  .op-home .wrap, .header-row { width: calc(100% - 36px); }
  .site-header { min-height: 66px; }
  .op-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .op-hero-copy { padding-block: 3rem 1.65rem; }
  .op-hero h1 { font-size: clamp(2.75rem, 11.4vw, 4.15rem); }
  .op-hero-image { margin-inline: -18px !important; }
  .op-hero-image img { position: static; height: clamp(180px, 59vw, 275px); object-position: center 60%; }
  .op-route-grid { grid-template-columns: 1fr; }
  .op-route-grid p + p { border-left: 0; border-top: 1px solid var(--op-line); }
  .op-route-grid a { min-height: 45px; padding: .55rem 0; font-size: .9rem; }
  .op-service, .op-about-grid, .op-reference-grid, .op-contact-grid { grid-template-columns: 1fr; }
  .op-service-tasks { grid-column: auto; }
  .op-about-copy { grid-row: 1; }
  .op-portrait-frame { max-width: 330px; width: 100%; }
  .op-reference-grid { gap: 1.1rem; }
  .op-reference-group + .op-reference-group { border-left: 0; border-top: 1px solid var(--op-line); padding: 1.1rem 0 0; }
}
