:root {
  color-scheme: dark;
  --bg: #030810;
  --panel: #0a1822;
  --ink: #edf5f7;
  --muted: #b3c3c9;
  --cyan: #2ee8d2;
  --line: #253944;
  --shell: 72rem;
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  font-size: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.shell { width: calc(100% - 4rem); max-width: var(--shell); margin-inline: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: normal; overflow-wrap: break-word; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.14; }
h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); line-height: 1.25; }
h3 { font-size: 1.5rem; line-height: 1.35; }
h4 { font-size: 1.25rem; line-height: 1.4; }
p { text-wrap: pretty; }
section[id], #main, #approach { scroll-margin-top: 1.5rem; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 10; padding: .75rem 1rem; background: var(--cyan); color: #031512; }
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 5.5rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex: 0 0 auto; }
.brand img { width: 2.75rem; height: 2.75rem; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 1.125rem; letter-spacing: .15em; }
nav { display: flex; align-items: center; justify-content: flex-end; gap: 2rem; font-size: 1rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.section-link { color: var(--muted); }
.section-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.nav-contact { border: 1px solid #44857e; padding: .5rem 1rem; font-weight: 600; }
.nav-contact:hover { border-color: var(--cyan); color: var(--cyan); }

.hero { position: relative; isolation: isolate; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(3,8,16,.98) 0%, rgba(3,8,16,.87) 43%, rgba(3,8,16,.14) 86%), linear-gradient(0deg, var(--bg), transparent 25%); }
.hero-content { padding-block: 5.5rem 4.5rem; }
.eyebrow { margin-bottom: 1rem; color: var(--cyan); font-size: .875rem; font-weight: 600; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.hero-copy { max-width: 35rem; margin-block: 1.5rem 2rem; color: #d0dce0; font-size: 1.25rem; line-height: 1.65; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .8rem 1.5rem; background: var(--cyan); color: #001a17; font-size: 1.0625rem; font-weight: 600; }
.button:hover { background: #75f1e1; }
.hero-note { max-width: 35rem; margin-top: 2.25rem; color: #b7c9ce; font-size: .9375rem; }

.section { padding-block: 5rem; }
.section-heading { max-width: 46rem; margin-bottom: 2.5rem; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.service { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.service h3 { margin-bottom: .75rem; }
.service > p { max-width: 36rem; color: var(--muted); }
.service .service-detail { margin-top: .75rem; color: #c8d6da; font-size: 1rem; }

.experience { background: var(--panel); }
.project { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; padding-block: 2rem; border-top: 1px solid #344651; }
.project-scope h3 { font-size: 1.625rem; }
.project-scope p { margin-top: .5rem; color: #79e3d6; font-size: 1rem; line-height: 1.5; }
.project-copy p { margin-top: .75rem; color: var(--muted); }
.project-note { border-top: 1px solid #344651; padding-top: 1.5rem; font-size: .875rem; color: var(--muted); }

.about-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; }
.about-copy > p { color: var(--muted); }
.about-copy > p + p { margin-top: 1rem; }
.approach { margin-top: 1.75rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.approach h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.approach p { color: var(--muted); }

.contact { padding-block: 3.5rem; background: #2ee8d2; color: #032720; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.contact h2 { font-size: 2rem; }
.contact p { margin-top: .75rem; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.contact-details a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.email-link { font-size: 1.25rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.phone-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.contact a:focus-visible { outline-color: #032720; }
.site-footer { padding-block: 1.75rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .875rem; color: var(--muted); }
.footer-name { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1rem; font-weight: 600; color: var(--ink); }

@media (max-width: 56rem) {
  .shell { width: calc(100% - 3rem); }
  nav { gap: 1rem; }
  .about-layout { gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 42rem) {
  body { font-size: 1rem; }
  .shell { width: calc(100% - 2.5rem); }
  .nav-wrap { min-height: 4.75rem; gap: .75rem; padding-block: .75rem; flex-wrap: wrap; }
  .brand { gap: .5rem; }
  .brand img { width: 2.25rem; height: 2.25rem; }
  .brand-name { font-size: 1rem; letter-spacing: .12em; }
  nav .section-link { display: none; }
  .nav-contact { font-size: .9375rem; padding: .5rem .75rem; }
  h1 { font-size: 2.5rem; line-height: 1.18; }
  h2 { font-size: 1.875rem; line-height: 1.3; }
  h3 { font-size: 1.375rem; line-height: 1.4; }
  .hero-content { padding-block: 3rem; }
  .hero-image { object-position: 73% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,8,16,.96), rgba(3,8,16,.69)), linear-gradient(0deg, var(--bg), transparent 35%); }
  .eyebrow { letter-spacing: .04em; }
  .hero-copy { font-size: 1.0625rem; margin-block: 1.25rem 1.5rem; }
  .hero-note { margin-top: 1.5rem; font-size: .875rem; }
  .section { padding-block: 3rem; }
  .section-heading { margin-bottom: 1.75rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding-block: 1.5rem; }
  .project { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 1.75rem; }
  .project-scope h3 { font-size: 1.5rem; }
  .project-copy h4 { font-size: 1.25rem; }
  .about-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact { padding-block: 2.5rem; }
  .contact h2 { font-size: 1.875rem; line-height: 1.3; }
  .email-link { font-size: 1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: .25rem; }
}

@media (max-width: 23rem) {
  h1 { font-size: 2.25rem; }
}

@media (forced-colors: active) {
  .button { border: 1px solid ButtonText; }
}
