:root {
  --ink: #153d46;
  --teal: #21616c;
  --paper: #fff;
  --pale: #edf3f4;
  --muted: #53656b;
  --line: #d5e0e2;
  --frost: rgb(255 255 255 / 72%);
  --frost-dark: rgb(21 61 70 / 90%);
  --frost-edge: rgb(255 255 255 / 88%);
  --frost-shadow: 0 8px 28px rgb(21 61 70 / 6%), inset 0 1px 0 rgb(255 255 255 / 75%);
  --frost-blur: 14px;
  --frost-radius: 1.25rem;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  scrollbar-color: var(--teal) var(--pale);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: linear-gradient(145deg, #e8f1f3, #fafcfc 45%, #e4eef0);
  color: var(--ink);
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; }
a, button { transition: background .2s, color .2s; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid #ac742e; outline-offset: 4px; }
img { max-width: 100%; }
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 6%;
  border: 1px solid rgb(255 255 255 / 38%);
  background: transparent;
  gap: .5rem 1rem;
}
.brand { display: block; flex: 0 1 10rem; min-width: 0; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; object-fit: contain; }
nav {
  display: flex;
  flex-wrap: wrap;
  order: 3;
  width: 100%;
  justify-content: space-between;
  gap: .25rem .75rem;
  font-size: .875rem;
}
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.header-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid;
  font-size: .875rem;
}
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: rgb(255 255 255 / 30%); }
.hero-copy { padding: 2.75rem 6% 2rem; min-width: 0; }
.eyebrow { font-size: .75rem; letter-spacing: .1em; font-weight: bold; margin: 0 0 1.5rem; }
h1, h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: normal;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 0 0 1.75rem;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
h1 em { font-weight: normal; color: var(--teal); }
h2 { font-size: clamp(2rem, 7vw, 3.375rem); }
.hero-copy > p:not(.eyebrow) { max-width: 26rem; color: var(--muted); margin-bottom: 1.875rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: .875rem 1.5rem;
  background: var(--frost-dark);
  color: white;
  border: 1px solid rgb(255 255 255 / 35%);
  font-size: .875rem;
  text-align: center;
}
.button:hover { background: var(--teal); color: white; }
.locations { font-size: .875rem; letter-spacing: .1em; margin-top: 1.75rem; }
.hero-photo { position: relative; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, 0, 0) scale(1.08); }
.hero-photo > span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  max-width: calc(100% - 2rem);
  padding: .5rem .875rem;
  background: #ffffffeb;
  font-size: .8125rem;
}
.work, .service { padding: 3.5rem 6%; }
.section-head > div { min-width: 0; }
.section-head > p { color: var(--muted); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.filters button {
  max-width: 100%;
  min-height: 44px;
  background: white;
  border: 1px solid var(--line);
  padding: .5rem .875rem;
  border-radius: 1.875rem;
  font-size: .875rem;
  color: var(--ink);
}
.filters button:hover { background: var(--pale); }
.filters button[aria-pressed=true] { background: var(--frost-dark); color: white; border-color: rgb(255 255 255 / 40%); }
.count { font-size: .8125rem; color: var(--muted); margin-bottom: 1.5rem; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.photo { display: block; padding: .5rem; text-align: left; color: inherit; min-width: 0; }
.image-wrap { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--pale); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.enlarge { position: absolute; bottom: .875rem; right: .875rem; background: white; padding: .25rem .75rem; font-size: .75rem; }
.caption { display: flex; justify-content: space-between; gap: .75rem; font-size: .875rem; padding: .5rem; margin-top: .25rem; }
.caption span:last-child { color: var(--muted); flex-shrink: 0; }
.outline { background: white; color: var(--ink); display: flex; margin: 2.75rem auto 0; }
.outline[hidden] { display: none; }
.expertise, .contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 3.5rem 6%; }
.expertise { background: linear-gradient(135deg, #153d46, #21616c); color: white; }
.expertise > div > p:not(.eyebrow) { max-width: 26rem; color: #cfdee0; }
.expertise-list { display: grid; gap: .875rem; }
.expertise-list article { padding: 1.25rem; }
h3 { font-size: 1.25rem; font-weight: normal; line-height: 1.4; margin: 0 0 .625rem; }
.expertise-list p { color: #cfdee0; margin: 0; }
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 2rem; }
.service-grid article { padding: 1.5rem; }
.service-grid p { color: var(--muted); }
.sustainability { padding: 1.25rem 1.5rem; background: var(--pale); margin-top: 2.25rem; color: var(--muted); }
.contact { background: rgb(219 235 238 / 35%); }
.contact > div { min-width: 0; }
.contact h2 { font-size: clamp(2.75rem, 9vw, 4rem); }
.pdf { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; padding: .75rem 1rem; }
.contact-details { padding: 1.5rem; }
.contact-details > p { color: var(--muted); margin-top: 0; max-width: 26rem; }
.contact-details > a { display: block; width: fit-content; max-width: 100%; font-size: 1.5rem; line-height: 1.7; min-height: 44px; overflow-wrap: anywhere; }
.contact-details .email { font-size: 1rem; margin-top: 1.25rem; }
.contact-meta { margin-top: 1.875rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.contact-meta span { font-size: .8125rem; color: var(--muted); }
.contact-meta p { margin: 0 0 .75rem; font-size: .875rem; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding: 1.5rem 6%; font-size: .8125rem; }
footer span:nth-child(2) { width: 100%; order: 3; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.skip { position: absolute; left: 1.25rem; top: -100px; z-index: 5; background: white; padding: 1rem; }
.skip:focus { top: .625rem; }
dialog {
  border: 0;
  background: var(--frost-dark);
  color: white;
  width: calc(100% - 1.5rem);
  max-width: 1100px;
  max-height: calc(100dvh - 1.5rem);
  padding: .75rem;
  overflow: auto;
}
dialog[open] { display: flex; flex-direction: column; gap: .75rem; }
dialog::backdrop { background: rgb(4 26 32 / 60%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
dialog img { display: block; width: 100%; height: auto; min-height: 0; max-height: 65dvh; object-fit: contain; margin: auto; }
.viewer-toolbar, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-shrink: 0; }
.viewer-toolbar p { margin: 0; min-width: 0; font-size: .875rem; }
.viewer-bottom { font-size: .875rem; }
.viewer-bottom span { flex-shrink: 0; }
dialog button { flex-shrink: 0; min-height: 44px; color: white; background: transparent; border: 1px solid #ffffff70; padding: .375rem .625rem; font-size: .875rem; }
dialog button:hover { background: var(--teal); }
@media (min-width: 600px) {
  header { padding: 1rem 5%; }
  .brand { flex-basis: 11rem; }
  nav { order: initial; width: auto; justify-content: center; gap: 1rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .hero-copy { padding: 3.5rem 6%; }
  h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
  .work, .service, .expertise, .contact { padding: 4.5rem 6%; }
  dialog { padding: 1.25rem; }
  dialog img { max-height: 70dvh; }
  dialog button { padding: .5rem 1rem; }
  footer span:nth-child(2) { width: auto; order: initial; }
}
@media (min-width: 1000px) {
  nav { gap: 1.875rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-height: 620px; }
  .hero-copy { padding: 4.75rem 9% 2.75rem 10%; }
  .hero-photo { aspect-ratio: auto; }
  .hero-photo img { position: absolute; inset: 0; }
  .hero-photo > span { bottom: 1.5rem; left: 1.5rem; }
  .locations { margin-top: 3rem; }
  .work, .service { padding: 5.625rem 5%; }
  .section-head { display: flex; justify-content: space-between; align-items: end; gap: 2.5rem; }
  .section-head > p { max-width: 21.25rem; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
  .image-wrap { height: 330px; aspect-ratio: auto; }
  .expertise, .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4.5rem; padding: 5.25rem 7%; }
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 3rem; }
  .contact-details > a { font-size: 1.6875rem; }
  .contact-details .email { font-size: 1.125rem; }
}
@media (hover: hover) and (pointer: fine) {
  .enlarge { opacity: 0; transition: opacity .2s; }
  .photo:hover img { transform: scale(1.035); }
  .photo:hover .enlarge, .photo:focus-visible .enlarge { opacity: 1; }
}
@media (min-width: 1500px) {
  main, header, footer { max-width: 1700px; margin: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.header-shell { height: 11.0625rem; }
header {
  position: fixed;
  top: max(.5rem, env(safe-area-inset-top));
  inset-inline: .5rem;
  width: calc(100% - 1rem);
  z-index: 20;
  border-radius: 1.75rem;
  box-shadow: 0 8px 26px #153d461c, inset 0 1px 1px #ffffffbf, inset 0 -1px 1px #153d4640;
  transition: padding .25s, box-shadow .25s, border-radius .25s;
}
header nav a { border-radius: 999px; padding-inline: .375rem; }
header nav a { background: transparent; }
@media (hover: hover) {
  header nav a:hover { background: transparent; color: var(--ink); }
}
.brand { position: relative; height: 5.3125rem; transition: height .25s; }
.brand .logo-full { width: 10rem; height: auto; opacity: 1; transition: opacity .2s, transform .25s; transform-origin: left center; }
.brand .logo-square { position: absolute; top: 50%; left: 0; width: 2.75rem; height: 2.75rem; opacity: 0; transform: translateY(-50%) scale(.85); transition: opacity .2s, transform .25s; }
header.is-scrolled { padding-block: .5rem; border-radius: 2rem; }
header.is-scrolled .brand { height: 2.75rem; }
header.is-scrolled .logo-full { opacity: 0; transform: scale(.85); pointer-events: none; }
header.is-scrolled .logo-square { opacity: 1; transform: translateY(-50%) scale(1); }
html { scroll-padding-top: 8rem; }
@media (min-width: 600px) {
  .header-shell { height: 8.84375rem; }
  .brand { height: 5.84375rem; }
  .brand .logo-full { width: 11rem; }
  html { scroll-padding-top: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo img { transform: none !important; }
}
@media (max-width: 599px) {
  header.is-scrolled {
    flex-wrap: nowrap;
    gap: .375rem;
    padding-inline: .625rem;
  }
  header.is-scrolled .brand { flex: 0 0 2.75rem; }
  header.is-scrolled nav {
    order: initial;
    width: auto;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: .125rem;
  }
  header.is-scrolled nav a { white-space: nowrap; }
  header.is-scrolled .header-contact { display: none; }
  html { scroll-padding-top: 5rem; }
}

:is(header, .button, .filters button, .hero-photo > span, .photo, .enlarge, .expertise-list article, .service-grid article, .sustainability, .pdf, .contact-details, footer, dialog, dialog button) {
  border: 1px solid var(--frost-edge);
  border-radius: var(--frost-radius);
  box-shadow: var(--frost-shadow);
  -webkit-backdrop-filter: blur(var(--frost-blur)) saturate(120%);
  backdrop-filter: blur(var(--frost-blur)) saturate(120%);
}
:is(header, .filters button, .hero-photo > span, .photo, .enlarge, .service-grid article, .sustainability, .pdf, .contact-details, footer, .outline) { background: var(--frost); }
header { --frost-blur: 24px; border-radius: 1.75rem; }
:is(.button, .filters button, .pdf, .enlarge, dialog button) { border-radius: 999px; }
.button:not(.outline), .filters button[aria-pressed=true] { background: var(--frost-dark); border-color: rgb(255 255 255 / 35%); }
:is(.button, .pdf, .filters button):hover { background: rgb(255 255 255 / 94%); color: var(--ink); }
.button:not(.outline):hover, .filters button[aria-pressed=true]:hover { background: rgb(33 97 108 / 96%); color: white; }
.image-wrap { border-radius: .875rem; }
.expertise-list article, dialog button { background: rgb(255 255 255 / 9%); border-color: rgb(255 255 255 / 22%); box-shadow: 0 8px 24px rgb(4 26 32 / 7%), inset 0 1px 0 rgb(255 255 255 / 12%); }
.expertise-list p { color: #e4eef0; }
footer { border-radius: 0; }
dialog { border-color: rgb(255 255 255 / 28%); }
dialog img { border-radius: .75rem; }
dialog button:hover { background: rgb(255 255 255 / 20%); }
@media (max-width: 599px) {
  :root { --frost-blur: 10px; }
  .service-grid article, .contact-details { padding: 1.25rem; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --frost: #f8fbfc; --frost-dark: #153d46; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --frost: #f8fbfc; --frost-dark: #153d46; --frost-edge: #d5e0e2; }
  :is(header, .button, .filters button, .hero-photo > span, .photo, .enlarge, .expertise-list article, .service-grid article, .sustainability, .pdf, .contact-details, footer, dialog, dialog button, dialog::backdrop) { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .expertise-list article, dialog button { background: #24525c; border-color: #66878e; }
}
@media (forced-colors: active) {
  :is(header, .button, .filters button, .hero-photo > span, .photo, .enlarge, .expertise-list article, .service-grid article, .sustainability, .pdf, .contact-details, footer, dialog, dialog button) { background: Canvas; color: CanvasText; border-color: ButtonText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .filters button[aria-pressed=true] { background: Highlight; color: HighlightText; }
}
