:root {
  --navy: #082c3b;
  --navy-deep: #061e29;
  --teal: #08747b;
  --teal-bright: #18a4a8;
  --canvas: #f3efe4;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #102a34;
  --muted: #607078;
  --line: #ced5d3;
  --header-height: 88px;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-150%);
}

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

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

.eyebrow {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow-light {
  color: #63c8c9;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(5, 30, 41, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand,
.footer-brand {
  flex: 0 0 auto;
  background: var(--white);
}

.brand {
  width: 178px;
  height: 58px;
  padding: 6px 10px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--white);
  font-size: 0.77rem;
  font-weight: 700;
}

.site-nav > a:not(.nav-cta) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid transparent;
}

.site-nav > a:not(.nav-cta):hover,
.site-nav > a:not(.nav-cta):focus-visible {
  border-color: #65c6c7;
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--teal-bright);
  color: var(--navy-deep);
  border: 1px solid var(--teal-bright);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #76d4d4;
  border-color: #76d4d4;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.menu-icon {
  width: 19px;
  display: grid;
  gap: 4px;
}

.menu-icon span {
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
  transform: translateY(5px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  height: 760px;
  min-height: 620px;
  max-height: 860px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep);
  color: var(--white);
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 24, 34, 0.9) 0%, rgba(4, 24, 34, 0.73) 42%, rgba(4, 24, 34, 0.2) 76%, rgba(4, 24, 34, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: var(--header-height);
}

.hero-eyebrow {
  color: #84d6d5;
}

.hero h1 {
  max-width: 810px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 4.55rem;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 32px;
  color: #edf4f3;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 700;
}

.button-primary {
  background: var(--teal-bright);
  color: var(--navy-deep);
  border-color: var(--teal-bright);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #71d4d3;
  border-color: #71d4d3;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.68);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.trust-line {
  margin: 0;
  color: #d7e3e2;
  font-size: 0.77rem;
  font-weight: 700;
}

.trust-line span {
  display: inline-block;
  margin-inline: 7px;
  color: #55b7b9;
}

.carousel-controls {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.carousel-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 0 0;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.carousel-caption span:last-child {
  color: #9fd8d8;
}

.carousel-control-set {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-arrow {  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--white);
  background: rgba(5, 30, 41, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 44px;
  height: 44px;
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 10px;
  left: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.46);
}

.carousel-dot.is-active::before {
  background: var(--white);
}

.section {
  padding-block: 112px;
}

.section-heading h2,
.about-title h2,
.area-copy h2,
.contact-copy h2,
.craftsmanship-heading h2 {
  margin-bottom: 0;
  font-size: 3.15rem;
}

.services-heading {
  margin-bottom: 64px;
}

.services-heading h2 {
  max-width: 790px;
}

.services-section {
  background: var(--paper);
}

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

.service-item {
  min-height: 280px;
  padding: 32px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.service-number,
.project-index {
  display: block;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-number {
  margin-bottom: 48px;
}

.service-item h3 {
  max-width: 280px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 1.3rem;
}

.service-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.craftsmanship-section {
  color: var(--white);
  background: var(--navy);
}

.craftsmanship-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: 100px;
  align-items: start;
}

.craftsmanship-heading {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.craftsmanship-heading h2 {
  max-width: 540px;
  color: var(--white);
}

.stitch-line {
  width: 100%;
  height: 2px;
  margin-top: 48px;
  background: repeating-linear-gradient(90deg, var(--teal-bright) 0 14px, transparent 14px 25px);
}

.craft-list {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.craft-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.craft-mark {
  width: 14px;
  height: 14px;
  margin-top: 7px;
  border: 2px solid #58c1c2;
  transform: rotate(45deg);
}

.craft-item h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: 1.18rem;
}

.craft-item p {
  max-width: 540px;
  margin-bottom: 0;
  color: #bdd0d4;
}

.projects-section {
  background: var(--canvas);
}

.project-heading {
  max-width: 780px;
  margin-bottom: 58px;
}

.project-list {
  border-top: 1px solid #aebbb8;
}

.project-row {
  min-height: 118px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(100px, 0.55fr);
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid #aebbb8;
  transition: background-color 180ms ease;
}

.project-row h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 400;
}

.project-action {
  justify-self: end;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-action span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.project-row:hover,
.project-row:focus-visible {
  background: rgba(255, 255, 255, 0.4);
}

.project-row:hover .project-action span,
.project-row:focus-visible .project-action span {
  transform: translateY(-3px);
}

.projects-next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
}

.projects-next-step p {
  margin: 0;
  color: #40575e;
}

.projects-next-step a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 18px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.about-section {
  background: var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 110px;
}

.about-title h2 {
  max-width: 700px;
}

.about-copy > p {
  margin-bottom: 44px;
  color: #425860;
  font-size: 1.05rem;
  line-height: 1.9;
}


.service-area {
  padding-block: 78px;
  background: #dce8e5;
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: 90px;
  align-items: start;
}

.area-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.location-pin {
  width: 20px;
  height: 20px;
  position: relative;
  border: 2px solid var(--teal);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.location-pin::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.area-copy h2 {
  max-width: 760px;
  margin-bottom: 24px;
}

.area-copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: #40575e;
}

.contact-section {
  color: var(--white);
  background: #087b81;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 110px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--white);
}

.contact-copy > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: #d6eded;
}

.contact-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.contact-link {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-weight: 700;
}

.contact-link span:last-child {
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.contact-link:hover span:last-child,
.contact-link:focus-visible span:last-child {
  transform: translate(3px, -3px);
}

.social-links {
  display: flex;
  gap: 28px;
  padding-top: 26px;
  font-size: 0.8rem;
  font-weight: 700;
}

.social-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.site-footer {
  padding-block: 34px;
  color: #b8c8cc;
  background: var(--navy-deep);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  width: 150px;
  height: 48px;
  padding: 5px 9px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

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

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

  .brand {
    width: 158px;
    height: 52px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(390px, 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    color: var(--white);
    background: var(--navy-deep);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

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

  .site-nav > a:not(.nav-cta) {
    padding: 16px 4px;
    border-bottom-color: rgba(255, 255, 255, 0.18);
  }

  .nav-cta {
    margin-top: 24px;
    min-height: 52px;
  }

  .hero {
    height: 700px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: 4rem;
  }

  .section {
    padding-block: 92px;
  }

  .section-heading h2,
  .about-title h2,
  .area-copy h2,
  .contact-copy h2,
  .craftsmanship-heading h2 {
    font-size: 2.7rem;
  }

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

  .craftsmanship-layout,
  .contact-layout {
    gap: 64px;
  }

  .about-layout {
    gap: 70px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

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

  .brand {
    width: 142px;
    height: 47px;
  }

  .hero {
    height: 720px;
    min-height: 720px;
    max-height: 720px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(4, 24, 34, 0.46) 0%, rgba(4, 24, 34, 0.75) 36%, rgba(4, 24, 34, 0.96) 100%);
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 114px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: 2.65rem;
  }

  .hero-copy {
    margin-bottom: 23px;
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 18px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .trust-line {
    max-width: 330px;
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .trust-line span {
    margin-inline: 4px;
  }

  .carousel-controls {
    bottom: 22px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .carousel-caption {
    margin: 0;
    font-size: 0.75rem;
  }

  .carousel-control-set {
    gap: 2px;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading h2,
  .about-title h2,
  .area-copy h2,
  .contact-copy h2,
  .craftsmanship-heading h2 {
    font-size: 2.25rem;
  }
  .craftsmanship-layout,
  .about-layout,
  .area-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-heading {
    margin-bottom: 44px;
  }

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

  .service-item {
    min-height: auto;
    padding: 26px 24px 30px;
  }

  .service-number {
    margin-bottom: 26px;
  }

  .craftsmanship-layout {
    gap: 48px;
  }

  .craftsmanship-heading {
    position: static;
  }

  .project-heading {
    margin-bottom: 40px;
  }

  .project-row {
    min-height: 104px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .project-row h3 {
    font-size: 1.38rem;
  }

  .project-action {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }

  .projects-next-step {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .projects-next-step a {
    align-self: flex-start;
  }

  .about-layout,
  .area-layout,
  .contact-layout {
    gap: 46px;
  }

  .service-area {
    padding-block: 64px;
  }

  .area-label {
    padding-top: 0;
  }

  .contact-actions {
    margin-top: 4px;
  }

  .contact-link {
    min-height: 72px;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-eyebrow {
    max-width: 300px;
  }

  .section-heading h2,
  .about-title h2,
  .area-copy h2,
  .contact-copy h2,
  .craftsmanship-heading h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
