:root {
  --blue: #008fc2;
  --deep: #052c40;
  --ink: #182227;
  --muted: #58686f;
  --pale: #eef7fa;
  --line: #d9e3e7;
  --white: #fff;
  --font: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #008fc2;
  outline-offset: 5px;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #e8eef0;
}
.brand img {
  width: 143px;
  height: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav > a:not(.button):hover {
  color: var(--blue);
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 17px 25px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #0075a1;
  transform: translateY(-2px);
}
.button.small {
  padding: 14px 19px;
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  min-height: 680px;
  height: calc(100svh - 104px);
  max-height: 950px;
  isolation: isolate;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-photo {
  object-position: center 54%;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(1, 16, 26, 0.72),
      rgba(1, 16, 26, 0.25) 65%,
      rgba(1, 16, 26, 0.08)
    ),
    linear-gradient(0deg, rgba(1, 16, 26, 0.4), transparent 25%);
}
.hero-content {
  padding: 95px 7% 125px;
  max-width: 1100px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
}
.eyebrow.light {
  color: #e0f6ff;
}
.hero h1 {
  font-size: clamp(46px, 5.5vw, 82px);
  letter-spacing: -0.055em;
  line-height: 1.12;
  font-weight: 500;
}
.hero h1 em {
  font-style: normal;
  color: #72d8ff;
}
.hero-intro {
  margin: 27px 0 32px;
  color: #e0eaf0;
  line-height: 1.65;
  font-size: 19px;
}
.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 7%;
  right: 7%;
  border-top: 1px solid #ffffff40;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #e2edf2;
}
.hero-bottom a {
  display: flex;
  gap: 40px;
}
.wrap {
  width: min(1280px, 86%);
  margin-inline: auto;
}
.intro {
  padding-block: 92px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 90px;
}
.intro .eyebrow {
  grid-column: 1/-1;
}
h2 {
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.18;
}
.intro > p:last-child {
  color: var(--muted);
  align-self: center;
}
.menu-toggle {
  border: 0;
  background: none;
  color: var(--ink);
}
@media (max-width: 800px) {
  .site-header {
    height: 86px;
    padding: 10px 6%;
  }
  .brand img {
    width: 116px;
  }
  .site-header nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    gap: 12px;
    font-size: 14px;
  }
  .hero {
    height: auto;
    min-height: 670px;
  }
  .hero-content {
    padding: 80px 7% 140px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-intro {
    font-size: 17px;
  }
  .hero-bottom p {
    max-width: 160px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 65px;
  }
  .intro .eyebrow {
    margin: 0;
  }
  .hero-photo {
    object-position: 63% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
/* Service content and project photography */
.service-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 100px;
}
.service-item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.index {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}
.service-item h3 {
  font-size: 25px;
  font-weight: 500;
  margin: 19px 0 12px;
  letter-spacing: -0.035em;
}
.service-item p {
  font-size: 16px;
  color: var(--muted);
}
.service-item > a {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 700;
}
.service-item > a:hover {
  color: var(--blue);
}
.projects {
  background: var(--pale);
  padding: 100px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 38px;
}
.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}
.text-link:hover {
  color: var(--blue);
}
.filter-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 32px 0;
}
.filter-row button {
  padding: 9px 19px;
  border-radius: 30px;
  border: 1px solid #cbdce3;
  background: transparent;
  font-size: 14px;
  color: var(--deep);
}
.filter-row button.active {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.filter-row button:hover {
  border-color: var(--blue);
}
#project-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 28px;
  min-height: 240px;
}
.project-card .project-image {
  width: 100%;
  border: 0;
  background: var(--deep);
  padding: 0;
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
}
.project-image img {
  width: 100%;
  aspect-ratio: 1.43;
  object-fit: cover;
  height: auto;
  transition: transform 0.5s;
}
.project-image:hover img {
  transform: scale(1.035);
}
.project-image > span {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  color: var(--deep);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  transition: background 0.2s;
}
.project-image:hover > span {
  background: var(--blue);
  color: white;
}
.project-category {
  font-size: 12px;
  color: #477387;
  margin: 17px 0 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.about {
  padding-block: 115px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: 40% center;
  border-radius: 5px;
}
.photo-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 20px 24px;
  background: #fff;
  color: var(--deep);
  font-size: 15px;
}
.about-copy h2 span {
  color: var(--blue);
}
.about-copy p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 23px;
  font-size: 16px;
}
.about-copy .text-link {
  margin-top: 26px;
}
.process {
  padding: 100px 0;
  background: var(--deep);
  color: white;
}
.process .section-heading > p {
  color: #b9ced7;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-top: 28px;
}
.steps article {
  border-top: 1px solid #ffffff35;
  padding-top: 28px;
}
.steps span {
  font-size: 14px;
  color: #65cbee;
}
.steps h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 20px 0 15px;
}
.steps p {
  color: #bdd0d9;
  font-size: 16px;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10%;
  padding-block: 110px;
}
.faq > div > p:last-child {
  font-size: 16px;
  color: var(--muted);
  margin-top: 26px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  padding: 25px 0;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  color: var(--blue);
  font-size: 24px;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  font-size: 16px;
  color: var(--muted);
  padding: 0 36px 26px 0;
}
.contact {
  background: var(--pale);
  padding: 105px 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
}
.contact-copy h2 span {
  color: var(--blue);
}
.contact-copy > p:not(.eyebrow) {
  margin: 25px 0 35px;
  color: var(--muted);
  max-width: 380px;
}
.contact-phone {
  display: block;
  font-size: 30px;
  letter-spacing: -0.04em;
  font-family: Manrope, sans-serif;
}
.contact-email {
  display: inline-block;
  margin-top: 8px;
  border-bottom: 1px solid #9bb7c5;
  color: #3b6375;
}
.contact-note {
  margin-top: 35px;
  font-size: 14px;
  color: #607b88;
  border-left: 2px solid var(--blue);
  padding-left: 18px;
}
form {
  background: #fff;
  padding: 35px;
  border-radius: 7px;
  border: 1px solid #dde8ed;
}
form h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd8df;
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  padding: 12px 13px;
  font-size: 15px;
  margin-top: 8px;
  line-height: 1.45;
  min-width: 0;
}
textarea {
  resize: vertical;
}
form > .button {
  width: 100%;
  margin-top: 2px;
}
.form-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 17px;
}
#inquiry-result {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 25px;
  font-size: 14px;
}
#inquiry-result[hidden] {
  display: none;
}
.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.copy-inquiry {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: white;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
}
#copy-status {
  font-size: 13px;
  color: #315766;
}
footer {
  background: #071e29;
  color: white;
  padding: 65px 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-wordmark {
  font-family: Manrope, sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.3;
}
.footer-wordmark > span {
  color: #18a6d7;
}
.footer-wordmark small {
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.17em;
  font-weight: 400;
  display: block;
}
.footer-top > p {
  font-family: Manrope, sans-serif;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
.footer-top > div {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 14px;
  color: #b4c8d2;
}
.footer-top > div a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid #ffffff23;
  display: flex;
  gap: 30px;
  padding-top: 24px;
  font-size: 12px;
  color: #8ca7b5;
}
.footer-bottom > span {
  margin-right: auto;
}
dialog {
  border: 0;
  border-radius: 8px;
  padding: 0;
  width: min(1040px, 92vw);
  max-height: 92svh;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #031923e8;
  backdrop-filter: blur(7px);
}
#dialog-image {
  width: 100%;
  height: min(65svh, 650px);
  object-fit: contain;
  background: #031923;
}
.close-dialog {
  position: absolute;
  right: 14px;
  top: 14px;
  background: white;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  z-index: 1;
}
.dialog-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
}
.dialog-caption p {
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.dialog-caption h3 {
  font-weight: 500;
  font-size: 25px;
}
.dialog-caption > a {
  font-size: 13px;
  text-decoration: underline;
}
.photo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 20px 20px;
  font-size: 13px;
}
.photo-controls button {
  background: var(--pale);
  border: 0;
  border-radius: 30px;
  width: 42px;
  height: 42px;
  font-size: 20px;
}
.modal-open {
  overflow: hidden;
}
@media (max-width: 1000px) {
  .site-header nav {
    gap: 20px;
  }
  .contact-layout {
    gap: 5%;
  }
  form {
    padding: 24px;
  }
  .compact-service-grid {
    gap: 20px;
  }
  .about {
    gap: 5%;
  }
  .about-photo img {
    height: 570px;
  }
  .intro {
    gap: 25px 50px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 85px;
  }
  .site-header.menu-open nav {
    display: flex;
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: white;
    padding: 20px 7%;
    box-shadow: 0 20px 20px #00152212;
  }
  .site-header.menu-open nav > a {
    padding: 16px;
    width: 100%;
    text-align: left;
  }
  .service-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 60px;
  }
  .service-item h3 {
    margin-top: 12px;
  }
  .service-item > a {
    margin-top: 16px;
  }
  .projects {
    padding: 65px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading > .text-link {
    margin-top: 25px;
  }
  .filter-row {
    gap: 7px;
  }
  .filter-row button {
    font-size: 13px;
    padding: 8px 13px;
  }
  #project-count {
    width: 100%;
    margin: 8px 0 0;
  }
  .gallery {
    gap: 30px 18px;
  }
  .project-card h3 {
    font-size: 20px;
  }
  .project-image img {
    aspect-ratio: 1.1;
  }
  .about {
    grid-template-columns: 1fr;
    padding-block: 65px;
    gap: 40px;
  }
  .about-photo img {
    height: 430px;
  }
  .process {
    padding: 65px 0;
  }
  .process .section-heading > p {
    margin-top: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 0;
  }
  .steps h3 {
    margin: 10px 0;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 65px;
  }
  .contact {
    padding: 65px 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-grid {
    gap: 0 15px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-top > div {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-bottom > span {
    width: 100%;
  }
  .dialog-caption {
    display: block;
    padding: 15px 20px;
  }
  .dialog-caption h3 {
    font-size: 22px;
  }
  .dialog-caption > a {
    display: block;
    margin-top: 10px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 44px;
  }
  .hero {
    min-height: 630px;
  }
  .hero-content {
    padding-top: 76px;
  }
  .hero-intro br {
    display: none;
  }
  .hero-content .eyebrow {
    font-size: 10px;
    letter-spacing: 0.13em;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .project-image img {
    aspect-ratio: 1.3;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  form {
    padding: 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-top > div {
    display: grid;
  }
  .contact-phone {
    font-size: 28px;
  }
  .contact-email {
    font-size: 16px;
  }
  .photo-tag {
    padding: 16px;
    font-size: 14px;
  }
  .about-photo img {
    height: 350px;
  }
}
