﻿:root {
  --ink: #10243f;
  --muted: #526171;
  --paper: #f6fbff;
  --panel: #ffffff;
  --line: #d6e6f2;
  --blue: #0062b8;
  --blue-deep: #003d88;
  --cyan: #03b8c9;
  --green: #45a85c;
  --shadow: 0 24px 70px rgba(0, 51, 103, 0.16);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(3, 184, 201, 0.13), transparent 28rem),
    linear-gradient(145deg, #ffffff 0%, var(--paper) 46%, #eef7fb 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(0, 98, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 98, 184, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px 0 14px;
}

.site-header::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  border-bottom: 1px solid rgba(214, 230, 242, 0.72);
  background: rgba(246, 251, 255, 0.72);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.brand-mark {
  width: min(560px, 86vw);
  padding: 8px 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-link,
.menu-toggle,
.primary-action,
.service-button,
.back-link,
.icon-button {
  border: 1px solid rgba(0, 98, 184, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  font-weight: 800;
}

.nav-link:hover,
.nav-link.active,
.menu-toggle:hover {
  border-color: rgba(3, 184, 201, 0.82);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 98, 184, 0.22);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 18px;
  content: "";
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 750;
}

.dropdown-panel a:hover {
  background: rgba(3, 184, 201, 0.13);
  color: var(--blue-deep);
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 800;
}

main {
  padding: 20px 0 84px;
}

.view {
  display: none;
  animation: viewIn 260ms ease both;
}

.view.active {
  display: block;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-stage {
  display: grid;
  min-height: clamp(290px, 48vh, 460px);
  align-items: center;
  justify-items: center;
  margin: 8px 0 28px;
  padding: clamp(28px, 6vw, 74px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(240, 251, 255, 0.82)),
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(3, 184, 201, 0.22), transparent 18rem);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-banner {
  width: min(760px, 100%);
  margin: 0 auto 24px;
}

.banner-stage p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.philosophy-line {
  max-width: 1080px;
  margin: 8px auto 24px;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.announcement-carousel {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}

.carousel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-button {
  min-height: 40px;
  border: 1px solid rgba(0, 98, 184, 0.22);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.carousel-button:hover:not(:disabled) {
  border-color: rgba(3, 184, 201, 0.82);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 98, 184, 0.18);
  transform: translateY(-1px);
}

.carousel-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.announcement-viewport {
  overflow: hidden;
}

.announcement-track {
  display: flex;
  gap: 18px;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.announcement-card {
  display: grid;
  grid-template-columns: minmax(190px, 42%) minmax(0, 1fr);
  flex: 0 0 calc((100% - 18px) / 2);
  min-height: 224px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--mx, 20%) var(--my, 30%), rgba(3, 184, 201, 0.18), transparent 13rem),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(0, 51, 103, 0.12);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.announcement-carousel.show-one .announcement-card {
  flex-basis: 100%;
}

.announcement-media {
  min-height: 224px;
  background: linear-gradient(140deg, rgba(0, 98, 184, 0.1), rgba(3, 184, 201, 0.16));
}

.announcement-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.announcement-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.announcement-copy time {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.announcement-copy p {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.55;
}

.carousel-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.project-sections,
.people-section,
.staff-section {
  display: grid;
  gap: 28px;
}

.project-stage,
.people-section,
.staff-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.35rem;
}

.page-heading {
  display: grid;
  gap: 14px;
  max-width: 860px;
  padding: 44px 0 34px;
}

.page-heading p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-card-list,
.project-index,
.service-grid,
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.project-card {
  min-height: 164px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--mx, 18%) var(--my, 20%), rgba(3, 184, 201, 0.18), transparent 11rem),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 42px rgba(0, 45, 90, 0.09);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.project-card:hover {
  border-color: rgba(3, 184, 201, 0.76);
  box-shadow: 0 26px 60px rgba(0, 67, 133, 0.18);
}

.project-card a {
  display: grid;
  grid-template-columns: 164px 1fr;
  min-height: 164px;
}

.project-image {
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(0, 98, 184, 0.08), rgba(3, 184, 201, 0.11));
}

.project-image img {
  width: 100%;
  height: 100%;
  min-height: 164px;
  object-fit: cover;
  object-position: center;
}

.project-card-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.project-card-copy strong {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
}

.project-card-copy small {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.empty-state {
  margin: 0;
  padding: 26px;
  border: 1px dashed rgba(0, 98, 184, 0.26);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
}

.back-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin: 32px 0 20px;
  padding: 0 16px;
  font-weight: 800;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--mx, 30%) var(--my, 10%), rgba(3, 184, 201, 0.20), transparent 15rem),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.detail-image {
  display: grid;
  min-height: 280px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(140deg, rgba(0, 98, 184, 0.10), rgba(3, 184, 201, 0.14));
}

.detail-image img {
  width: min(180px, 70%);
}

.detail-copy {
  display: grid;
  gap: 18px;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

dl {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
}

dt {
  color: var(--blue);
  font-weight: 900;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
}

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

.service-button {
  min-height: 148px;
  padding: 24px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(3, 184, 201, 0.26), transparent 10rem),
    linear-gradient(145deg, #ffffff, #edf9fd);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: left;
  transform: perspective(850px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.service-button:hover,
.primary-action:hover,
.back-link:hover {
  border-color: rgba(3, 184, 201, 0.82);
  box-shadow: 0 18px 40px rgba(0, 98, 184, 0.18);
  transform: translateY(-2px);
}

.people-grid {
  align-items: stretch;
}

.person-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--mx, 80%) var(--my, 10%), rgba(3, 184, 201, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.91);
  box-shadow: 0 18px 48px rgba(0, 51, 103, 0.11);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.person-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.person-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.role {
  color: var(--blue-deep);
  font-weight: 900;
}

.staff-section p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-dialog {
  width: min(560px, calc(100% - 30px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-dialog::backdrop {
  background: rgba(16, 36, 63, 0.52);
  backdrop-filter: blur(6px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dialog-heading h2 {
  margin-top: 6px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue-deep);
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fafdff;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(3, 184, 201, 0.18);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.primary-action {
  min-height: 46px;
  justify-self: start;
  padding: 0 24px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.68;
}

@media (max-width: 940px) {
  .site-header {
    justify-items: stretch;
  }

  .brand-mark {
    justify-self: center;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
  }

  .nav-dropdown::after {
    display: none;
  }

  .dropdown-panel {
    position: static;
    min-width: 100%;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .carousel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .announcement-card {
    grid-template-columns: 1fr;
  }

  .announcement-media {
    min-height: 170px;
  }

  .project-card-list,
  .project-index,
  .service-grid,
  .people-grid,
  .project-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .brand-mark {
    width: min(290px, 64vw);
  }

  .banner-stage {
    min-height: 330px;
    padding: 24px;
  }

  .philosophy-line {
    margin-top: 0;
    font-size: 1.12rem;
  }

  .carousel-controls {
    width: 100%;
  }

  .carousel-button {
    flex: 1;
  }

  .project-card a,
  .person-card {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .person-card img {
    max-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .service-button {
    min-height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .interactive-surface {
    transform: none !important;
  }
}



