:root {
    --ink: #132d31;
    --ink-deep: #082f36;
    --teal: #064b55;
    --teal-light: #0b6870;
    --turquoise: #00a991;
    --turquoise-bright: #00b99f;
    --accent: #d9683f;
    --paper: #ffffff;
    --mist: #eef7f5;
    --warm: #f7f3ed;
    --line: #d7e2df;
    --muted: #5e7073;
    --danger: #a52a2a;
    --shadow: 0 20px 55px rgba(8, 47, 54, 0.13);
    --shell: 1240px;
    --header-height: 126px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid #f0a72f;
    outline-offset: 3px;
}

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--paper);
    background: var(--ink-deep);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal-light);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow--light {
    color: #91ede0;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink-deep);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    font-size: 64px;
}

h2 {
    margin-bottom: 20px;
    font-size: 42px;
}

h3 {
    margin-bottom: 12px;
    font-size: 23px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: var(--paper);
    background: var(--turquoise);
    border-color: var(--turquoise);
}

.button--primary:hover {
    background: #008f7b;
    border-color: #008f7b;
}

.button--secondary {
    color: var(--teal);
    background: transparent;
    border-color: var(--teal);
}

.button--secondary:hover {
    color: var(--paper);
    background: var(--teal);
}

.button--ghost {
    color: var(--paper);
    background: rgba(8, 47, 54, 0.25);
    border-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
}

.button--ghost:hover {
    background: rgba(8, 47, 54, 0.72);
    border-color: var(--paper);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-weight: 750;
    text-decoration: none;
}

.text-link span {
    transition: transform 160ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.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;
}

.button-row--center {
    justify-content: center;
}

/* Header */
.site-header {
    position: relative;
    z-index: 100;
    background: var(--paper);
    box-shadow: 0 1px 0 rgba(8, 47, 54, 0.1);
}

.site-header__bar {
    min-height: 36px;
    color: #dbeae8;
    background: var(--ink-deep);
    font-size: 13px;
}

.site-header__bar-inner {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__bar p {
    margin: 0;
}

.site-header__contact {
    display: flex;
    gap: 22px;
}

.site-header__contact a {
    color: var(--paper);
    font-weight: 650;
    text-decoration: none;
}

.site-header__main {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: block;
    width: 252px;
    flex: 0 0 auto;
}

.brand img {
    width: 100%;
}

.main-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 28px;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav > ul > li {
    position: relative;
    display: flex;
    align-items: center;
}

.main-nav > ul > li > a {
    position: relative;
    padding: 32px 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.main-nav > ul > li > a::after {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    height: 2px;
    background: var(--turquoise);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.is-current > a::after {
    transform: scaleX(1);
}

.main-nav__cta {
    min-height: 46px;
    padding-inline: 18px;
    white-space: nowrap;
}

.menu-toggle,
.submenu-toggle {
    display: none;
}

.submenu {
    position: absolute;
    z-index: 3;
    top: calc(100% - 12px);
    left: -22px;
    display: grid;
    width: 520px;
    grid-template-columns: 1fr 1fr;
    gap: 2px 20px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    box-shadow: var(--shadow);
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 150ms ease, transform 150ms ease;
}

.submenu a {
    display: block;
    padding: 9px 10px;
    border-radius: 3px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 620;
    text-decoration: none;
}

.submenu a:hover {
    color: var(--teal);
    background: var(--mist);
}

.main-nav li:hover > .submenu,
.main-nav li:focus-within > .submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    overflow: hidden;
    color: var(--paper);
    background: var(--ink-deep);
}

.hero__media,
.hero__shade,
.page-hero__media,
.page-hero__shade {
    position: absolute;
    inset: 0;
}

.hero__media img,
.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(4, 31, 36, 0.92) 0%, rgba(4, 31, 36, 0.74) 46%, rgba(4, 31, 36, 0.16) 78%);
}

.hero__media {
    z-index: -2;
}

.hero__content {
    position: relative;
    padding-top: 115px;
    padding-bottom: 190px;
}

.hero h1 {
    max-width: 780px;
    margin-bottom: 26px;
    color: var(--paper);
    font-size: 68px;
}

.hero__intro {
    max-width: 660px;
    margin: 0 0 34px;
    color: #e3efed;
    font-size: 20px;
    line-height: 1.65;
}

.hero__facts {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(4, 41, 47, 0.78);
    backdrop-filter: blur(10px);
}

.hero__facts p {
    display: flex;
    min-height: 105px;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 20px 32px;
}

.hero__facts p + p {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__facts strong {
    color: #8ce7da;
    font-size: 25px;
    line-height: 1;
    white-space: nowrap;
}

.hero__facts span {
    color: var(--paper);
    font-size: 14px;
    font-weight: 620;
}

/* Sections */
.section {
    padding: 96px 0;
}

.section--services,
.section--projects,
.section--related {
    background: var(--warm);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 48px;
}

.section-heading h2 {
    max-width: 720px;
    margin-bottom: 0;
}

.section-heading > p,
.section-heading > .text-link {
    max-width: 470px;
    margin: 0 0 5px;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #cfdad6;
    border-left: 1px solid #cfdad6;
}

.service-card {
    position: relative;
    min-width: 0;
    min-height: 320px;
    padding: 32px;
    border-right: 1px solid #cfdad6;
    border-bottom: 1px solid #cfdad6;
    background: rgba(255, 255, 255, 0.72);
    transition: background-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
    z-index: 1;
    background: var(--paper);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(8, 47, 54, 0.09);
}

.service-card__number {
    margin: 0 0 52px;
    color: var(--turquoise);
    font-size: 13px;
    font-weight: 800;
}

.service-card h3 a {
    text-decoration: none;
}

.service-card > p:not(.service-card__number) {
    min-height: 78px;
    margin: 0 0 22px;
    color: var(--muted);
}

.section-action {
    margin-top: 32px;
    text-align: center;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 76px;
}

.split-layout__media {
    position: relative;
}

.split-layout__media::after {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 42%;
    height: 40%;
    border-right: 8px solid var(--turquoise);
    border-bottom: 8px solid var(--turquoise);
    content: "";
    pointer-events: none;
}

.split-layout__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.split-layout__content .rich-text {
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    color: var(--ink);
    font-weight: 650;
}

.check-list li::before {
    position: absolute;
    top: 0.52em;
    left: 0;
    width: 16px;
    height: 8px;
    border-bottom: 2px solid var(--turquoise);
    border-left: 2px solid var(--turquoise);
    content: "";
    transform: rotate(-45deg);
}

.section--process {
    color: #dfeceb;
    background: var(--ink-deep);
}

.section--process h2,
.section--process h3 {
    color: var(--paper);
}

.section--process .section-heading > p {
    color: #b8ccca;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    list-style: none;
}

.process-grid li {
    min-width: 0;
    padding: 34px 28px 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.process-grid li:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.process-grid span {
    display: block;
    margin-bottom: 55px;
    color: #86dfd2;
    font-size: 14px;
    font-weight: 800;
}

.process-grid p {
    margin: 0;
    color: #b8ccca;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 16px;
}

.project-card {
    position: relative;
    min-width: 0;
    min-height: 460px;
    overflow: hidden;
    color: var(--paper);
    background: var(--ink-deep);
    text-decoration: none;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.project-card::after {
    position: absolute;
    inset: 38% 0 0;
    background: linear-gradient(transparent, rgba(4, 31, 36, 0.9));
    content: "";
}

.project-card > span {
    position: absolute;
    z-index: 1;
    right: 26px;
    bottom: 25px;
    left: 26px;
}

.project-card small,
.project-card strong {
    display: block;
}

.project-card small {
    margin-bottom: 7px;
    color: #8ce7da;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.project-card strong {
    font-size: 21px;
    line-height: 1.25;
}

.project-card:hover img {
    transform: scale(1.035);
}

/* Contact form */
.section--contact {
    color: #dcebe9;
    background: var(--teal);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 80px;
}

.contact-layout__intro {
    position: sticky;
    top: 30px;
    padding-top: 12px;
}

.contact-layout__intro h2 {
    color: var(--paper);
}

.contact-layout__intro > p:not(.eyebrow) {
    color: #c1d7d4;
    font-size: 18px;
}

.contact-promise {
    display: grid;
    gap: 3px;
    margin-top: 38px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-promise strong {
    color: var(--paper);
}

.contact-promise span {
    color: #b8cfcc;
}

.contact-layout__form {
    padding: 36px;
    border-radius: 7px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 24px 50px rgba(2, 25, 29, 0.22);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    min-width: 0;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 11px 13px;
    border: 1px solid #c9d6d3;
    border-radius: 4px;
    color: var(--ink);
    background: #fbfdfc;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
    min-height: 138px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--turquoise);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 169, 145, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #7b8a8c;
}

.errorlist {
    margin: 7px 0 0;
    padding: 0;
    color: var(--danger);
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.form-errors {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-left: 4px solid var(--danger);
    color: #7a2020;
    background: #fff2f0;
}

.check-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
}

.check-field input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--turquoise);
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.button--submit {
    width: 100%;
}

.form-note {
    margin: 13px 0 0;
    color: #6d7f81;
    font-size: 12px;
    text-align: center;
}

.cf-turnstile {
    min-height: 65px;
    margin-top: 20px;
}

/* Content pages */
.page-hero {
    position: relative;
    isolation: isolate;
    min-height: 510px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: var(--paper);
    background: var(--ink-deep);
}

.page-hero__media {
    z-index: -2;
}

.page-hero__shade {
    z-index: -1;
    background: linear-gradient(0deg, rgba(4, 31, 36, 0.92), rgba(4, 31, 36, 0.24) 76%);
}

.page-hero__content {
    padding-top: 130px;
    padding-bottom: 70px;
}

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 18px;
    color: inherit;
}

.page-hero__content > p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: #e0ecea;
    font-size: 20px;
}

.page-hero--plain {
    min-height: 400px;
    color: var(--ink-deep);
    background: var(--mist);
}

.page-hero--plain .page-hero__content > p:not(.eyebrow) {
    color: var(--muted);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 50px;
    color: currentColor;
    font-size: 13px;
}

.breadcrumbs a {
    font-weight: 700;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 84px;
}

.article-body {
    max-width: 790px;
    color: #30484c;
    font-size: 18px;
}

.rich-text > :first-child {
    margin-top: 0;
}

.rich-text > :last-child {
    margin-bottom: 0;
}

.rich-text h2 {
    margin: 52px 0 18px;
    font-size: 34px;
}

.rich-text h3 {
    margin: 38px 0 15px;
    font-size: 26px;
}

.rich-text a {
    color: var(--teal-light);
    font-weight: 700;
}

.rich-text blockquote {
    margin: 36px 0;
    padding: 8px 0 8px 28px;
    border-left: 4px solid var(--turquoise);
    color: var(--teal);
    font-size: 22px;
    font-weight: 650;
}

.article-aside {
    position: sticky;
    top: 30px;
    padding: 28px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--turquoise);
    border-radius: 4px;
    background: var(--mist);
}

.article-aside h2 {
    font-size: 26px;
}

.article-aside p:not(.eyebrow) {
    color: var(--muted);
}

.article-aside .button {
    width: 100%;
    margin-top: 8px;
}

.section--gallery {
    background: var(--mist);
}

.gallery-heading > p {
    max-width: 510px;
    margin: 0;
    color: var(--muted);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 30px;
}

.gallery-filters a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid #c6d8d4;
    border-radius: 4px;
    color: var(--teal);
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.gallery-filters a:hover,
.gallery-filters a.is-active {
    border-color: var(--teal);
    color: var(--paper);
    background: var(--teal);
}

.gallery-filters span {
    min-width: 25px;
    padding: 1px 6px;
    border-radius: 999px;
    color: inherit;
    background: rgba(0, 169, 145, 0.13);
    font-size: 12px;
    text-align: center;
}

.gallery-filters a.is-active span,
.gallery-filters a:hover span {
    background: rgba(255, 255, 255, 0.16);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-card,
.gallery-grid--legacy figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #cfddd9;
    border-radius: 4px;
    background: var(--paper);
}

.gallery-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #d8e4e1;
}

.gallery-card__image img,
.gallery-grid--legacy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.gallery-card__image:hover img,
.gallery-card__image:focus-visible img {
    transform: scale(1.025);
}

.gallery-card__image > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 3px;
    color: var(--paper);
    background: rgba(4, 31, 36, 0.82);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.gallery-card figcaption,
.gallery-grid--legacy figcaption {
    display: grid;
    gap: 10px;
    padding: 16px 17px 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.gallery-card figcaption a {
    width: fit-content;
    color: var(--teal-light);
    font-size: 13px;
    font-weight: 800;
}

.gallery-grid--legacy figure {
    display: grid;
    grid-template-rows: auto 1fr;
}

.gallery-grid--legacy img {
    aspect-ratio: 4 / 3;
}

.gallery-pagination {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

.gallery-pagination a,
.gallery-pagination > span {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border: 1px solid var(--teal);
    border-radius: 4px;
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
}

.gallery-pagination a:last-child,
.gallery-pagination > span:last-child {
    justify-self: end;
}

.gallery-pagination a:hover {
    color: var(--paper);
    background: var(--teal);
}

.gallery-pagination > span[aria-disabled="true"] {
    border-color: #cfddd9;
    color: #81918f;
}

.gallery-pagination p {
    margin: 0;
    color: var(--muted);
    text-align: center;
}

.photo-lightbox {
    width: min(1120px, calc(100% - 40px));
    max-width: none;
    height: min(820px, calc(100dvh - 40px));
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    color: var(--paper);
    background: #061f24;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.photo-lightbox::backdrop {
    background: rgba(2, 17, 20, 0.82);
    backdrop-filter: blur(5px);
}

.photo-lightbox figure {
    display: grid;
    height: 100%;
    grid-template-rows: minmax(0, 1fr) auto;
    margin: 0;
}

.photo-lightbox img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    background: #03171b;
}

.photo-lightbox figcaption {
    min-height: 66px;
    padding: 17px 82px;
    color: #d9e8e5;
    background: var(--ink-deep);
    text-align: center;
}

.photo-lightbox button {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: var(--paper);
    background: rgba(4, 31, 36, 0.84);
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    place-items: center;
}

.photo-lightbox button:hover {
    background: var(--teal-light);
}

.photo-lightbox__close {
    top: 14px;
    right: 14px;
}

.photo-lightbox__previous,
.photo-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
}

.photo-lightbox__previous {
    left: 14px;
}

.photo-lightbox__next {
    right: 14px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #cfdad6;
    border-left: 1px solid #cfdad6;
}

.related-grid article {
    min-width: 0;
    min-height: 230px;
    padding: 28px;
    border-right: 1px solid #cfdad6;
    border-bottom: 1px solid #cfdad6;
    background: rgba(255, 255, 255, 0.7);
}

.related-grid article > p {
    color: var(--turquoise);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.related-grid h3 a {
    text-decoration: none;
}

.related-grid article > span {
    color: var(--muted);
}

.simple-hero {
    padding: 100px 0 72px;
    background: var(--mist);
}

.simple-hero h1 {
    max-width: 800px;
    margin-bottom: 18px;
}

.simple-hero p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: 19px;
}

.search-form {
    display: grid;
    max-width: 760px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 30px;
}

.search-form input {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid #bdcfcb;
    border-radius: 4px;
    color: var(--ink);
    background: var(--paper);
}

.search-results {
    display: grid;
    border-top: 1px solid var(--line);
}

.search-results article {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.search-results article > p {
    margin: 0 0 7px;
    color: var(--turquoise);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.search-results h2 {
    margin-bottom: 10px;
    font-size: 27px;
}

.search-results h2 a {
    text-decoration: none;
}

.search-results span,
.empty-state p {
    color: var(--muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
}

.empty-state {
    padding: 38px;
    border-left: 5px solid var(--turquoise);
    background: var(--mist);
}

.confirmation {
    display: grid;
    min-height: 610px;
    place-items: center;
    padding: 80px 0;
    background: var(--mist);
}

.confirmation__inner {
    max-width: 720px;
    text-align: center;
}

.confirmation__mark {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    margin: 0 auto 24px;
    border: 2px solid var(--turquoise);
    border-radius: 50%;
    color: var(--teal);
    font-size: 32px;
    font-weight: 800;
}

.confirmation__inner > p:not(.eyebrow, .confirmation__mark) {
    color: var(--muted);
    font-size: 19px;
}

.confirmation .button {
    margin-top: 18px;
}

.flash-wrap {
    position: fixed;
    z-index: 120;
    top: 145px;
    right: 24px;
    width: min(420px, calc(100% - 48px));
}

.flash-message {
    margin: 0;
    padding: 15px 18px;
    border-left: 4px solid var(--turquoise);
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
    color: #bfd3d0;
    background: #062c32;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 62px;
}

.site-footer__brand img {
    width: 240px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.site-footer__brand p {
    max-width: 390px;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: var(--paper);
    font-size: 15px;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #d6e4e2;
    text-decoration: none;
}

.site-footer a:hover {
    color: #86e7d9;
}

.site-footer address {
    font-style: normal;
}

.site-footer__bottom {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 13px;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom div {
    display: flex;
    gap: 20px;
}

@media (max-width: 1120px) {
    :root {
        --header-height: 92px;
    }

    .site-header__bar {
        display: none;
    }

    .site-header__main {
        min-height: 92px;
    }

    .brand {
        width: 220px;
    }

    .menu-toggle {
        display: inline-flex;
        min-height: 46px;
        align-items: center;
        gap: 10px;
        padding: 9px 13px;
        border: 1px solid var(--line);
        border-radius: 4px;
        color: var(--ink);
        background: var(--paper);
        font-weight: 700;
        cursor: pointer;
    }

    .menu-toggle__lines {
        display: grid;
        width: 22px;
        gap: 4px;
    }

    .menu-toggle__lines span {
        display: block;
        height: 2px;
        background: currentColor;
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        z-index: 20;
        top: 92px;
        right: 0;
        bottom: 0;
        display: block;
        width: min(440px, 100%);
        padding: 22px 24px 40px;
        overflow-y: auto;
        background: var(--paper);
        box-shadow: -20px 20px 50px rgba(8, 47, 54, 0.18);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 220ms ease, visibility 220ms ease;
    }

    .main-nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .main-nav > ul {
        display: block;
    }

    .main-nav > ul > li {
        display: grid;
        grid-template-columns: 1fr 46px;
        border-bottom: 1px solid var(--line);
    }

    .main-nav > ul > li > a {
        padding: 16px 0;
        font-size: 17px;
    }

    .main-nav > ul > li > a::after {
        display: none;
    }

    .submenu-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        align-self: center;
        border: 0;
        border-radius: 4px;
        color: var(--teal);
        background: var(--mist);
        font-size: 24px;
        cursor: pointer;
    }

    .submenu {
        position: static;
        display: none;
        width: auto;
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        padding: 0 0 14px 12px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .submenu.is-open {
        display: grid;
    }

    .main-nav__cta {
        width: 100%;
        margin-top: 24px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid li:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .process-grid li:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card:first-child {
        grid-column: 1 / -1;
    }

    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .site-footer__grid > div:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 820px) {
    .shell {
        width: min(calc(100% - 36px), var(--shell));
    }

    h1,
    .hero h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 36px;
    }

    .hero {
        min-height: 720px;
    }

    .hero__shade {
        background: linear-gradient(90deg, rgba(4, 31, 36, 0.92), rgba(4, 31, 36, 0.55));
    }

    .hero__content {
        padding-top: 100px;
        padding-bottom: 230px;
    }

    .hero__facts {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hero__facts p {
        display: grid;
        min-height: 120px;
        gap: 6px;
        padding: 18px;
    }

    .section {
        padding: 74px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .split-layout,
    .contact-layout,
    .article-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .split-layout__media {
        order: 2;
    }

    .contact-layout__intro,
    .article-aside {
        position: static;
    }

    .project-card {
        min-height: 360px;
    }

    .page-hero {
        min-height: 450px;
    }

    .page-hero__content {
        padding-top: 95px;
        padding-bottom: 52px;
    }

    .breadcrumbs {
        margin-bottom: 35px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__grid > div:last-child {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    :root {
        --header-height: 78px;
    }

    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .site-header__main {
        min-height: 78px;
    }

    .brand {
        width: 172px;
    }

    .menu-toggle {
        min-height: 42px;
        padding: 7px 10px;
        font-size: 14px;
    }

    .main-nav {
        top: 78px;
        padding-inline: 18px;
    }

    h1,
    .hero h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 31px;
    }

    h3 {
        font-size: 21px;
    }

    .hero {
        min-height: 750px;
    }

    .hero__media img {
        object-position: 60% center;
    }

    .hero__shade {
        background: linear-gradient(90deg, rgba(4, 31, 36, 0.93), rgba(4, 31, 36, 0.66));
    }

    .hero__content {
        padding-top: 72px;
        padding-bottom: 245px;
    }

    .hero__intro {
        font-size: 17px;
        line-height: 1.6;
    }

    .button-row {
        display: grid;
    }

    .button-row .button {
        width: 100%;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .pagination {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .hero__facts {
        grid-template-columns: 1fr;
        padding: 10px 0;
    }

    .hero__facts p {
        display: flex;
        min-height: 58px;
        padding: 9px 14px;
    }

    .hero__facts p + p {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .hero__facts strong {
        width: 86px;
        font-size: 21px;
    }

    .section {
        padding: 60px 0;
    }

    .service-grid,
    .process-grid,
    .project-grid,
    .form-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
        padding: 25px 22px;
    }

    .service-card__number {
        margin-bottom: 24px;
    }

    .service-card > p:not(.service-card__number) {
        min-height: 0;
    }

    .split-layout {
        gap: 36px;
    }

    .split-layout__media::after {
        right: -7px;
        bottom: -7px;
        border-width: 5px;
    }

    .process-grid li,
    .process-grid li:nth-child(3),
    .process-grid li:nth-child(4) {
        padding: 26px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }

    .process-grid span {
        margin-bottom: 24px;
    }

    .project-card,
    .project-card:first-child {
        min-height: 330px;
        grid-column: auto;
    }

    .contact-layout {
        gap: 30px;
    }

    .contact-layout__form {
        padding: 24px 18px;
    }

    .page-hero,
    .page-hero--plain {
        min-height: 390px;
    }

    .page-hero__content > p:not(.eyebrow) {
        font-size: 17px;
    }

    .article-body {
        font-size: 16px;
    }

    .rich-text h2 {
        margin-top: 40px;
        font-size: 29px;
    }

    .rich-text h3 {
        font-size: 23px;
    }

    .gallery-filters {
        flex-wrap: nowrap;
        margin-right: -14px;
        margin-left: -14px;
        padding: 0 14px 7px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .gallery-filters a {
        flex: 0 0 auto;
    }

    .gallery-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-pagination p {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .gallery-pagination a,
    .gallery-pagination > span {
        grid-row: 2;
        width: 100%;
    }

    .photo-lightbox {
        width: 100%;
        height: 100dvh;
        border-radius: 0;
    }

    .photo-lightbox figcaption {
        min-height: 78px;
        padding: 16px 62px;
        font-size: 14px;
    }

    .photo-lightbox button {
        width: 44px;
        height: 44px;
    }

    .photo-lightbox__previous {
        left: 8px;
    }

    .photo-lightbox__next {
        right: 8px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        padding-top: 54px;
        padding-bottom: 44px;
    }

    .site-footer__brand,
    .site-footer__grid > div:last-child {
        grid-column: auto;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }

    .site-footer__bottom div {
        flex-wrap: wrap;
    }

    .flash-wrap {
        top: 92px;
        right: 14px;
        width: calc(100% - 28px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
