* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark: #134F3A;
  --green-accent: #2E7D5A;
  --navy: #0B1D3A;
  --slate-blue: #365A7D;
  --gray-tint: #F2F4F6;
  --cream: #fbf8ef;
  --white: #ffffff;
  --border: #d7dde4;
  --muted: #475569;
  --serif: Georgia, "Times New Roman", serif;
  --logo-serif: "Cinzel", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1460px;
  margin: 0 auto;
  min-height: 172px;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.brand-mark {
  width: 225px;
  height: 195px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  margin-left: -15px;
}

.company-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-10px);
}

.company-name h1 {
  font-family: var(--logo-serif);
  font-size: 51px;
  font-weight: 600;
  letter-spacing: 2.8px;
  color: var(--green-dark);
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(11, 29, 58, .15);
}

.solutions-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.solutions-row::before,
.solutions-row::after {
  content: "";
  width: 88px;
  height: 2px;
  background: #65766e;
}

.solutions {
  font-family: var(--logo-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 8.5px;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1;
}

.tagline {
  margin-top: 11px;
  font-size: 13px;
  letter-spacing: 3.9px;
  color: #4c5b56;
  text-transform: uppercase;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:not(.work-btn) {
  padding: 8px 0;
  position: relative;
}

.main-nav a.active::after,
.main-nav a:not(.work-btn):hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background: var(--green-dark);
}

.work-btn {
  background: var(--green-dark);
  color: white;
  padding: 16px 26px;
  border-radius: 7px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(19,79,58,.22);
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  background-color: #dbe4eb;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.06) 0%, rgba(251,248,239,.80) 36%, rgba(251,248,239,.48) 61%, rgba(11,29,58,.24) 100%),
    url("assets/hero-lighthouse-wide.jpg");
  background-size: cover;
  background-position: left top;
  overflow: hidden;

  background-repeat: no-repeat;}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 52%, rgba(255, 230, 182, .30), transparent 25%),
    linear-gradient(180deg, transparent 70%, rgba(0, 42, 80, .16));
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1460px;
  min-height: 620px;
  margin: 0 auto;
  padding: 52px 54px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  margin-left: 300px;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: 61px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -1.7px;
  color: var(--navy);
  text-shadow: 0 2px 18px rgba(255,255,255,.48);
  white-space: nowrap;
}

.hero-copy h1 span {
  color: var(--green-dark);
}

.hero-line {
  width: 110px;
  height: 4px;
  background: var(--green-accent);
  margin: 27px 0 24px;
}

.hero-copy p {
  font-size: 21px;
  line-height: 1.58;
  color: #143456;
  max-width: 535px;
  text-shadow: 0 2px 18px rgba(255,255,255,.45);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 29px;
  flex-wrap: wrap;
}

.btn {
  min-width: 172px;
  height: 55px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.btn.primary {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 16px 28px rgba(19,79,58,.24);
}

.btn.secondary {
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(11,29,58,.45);
  backdrop-filter: blur(6px);
}

/* Feature panel */
.feature-panel {
  background: linear-gradient(155deg, #061b33 0%, #082b4e 100%);
  color: white;
  border-radius: 22px;
  padding: 31px 34px;
  box-shadow: 0 28px 55px rgba(3,23,44,.34);
  max-width: 500px;
  justify-self: end;
}

.feature {
  display: flex;
  gap: 19px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(46,125,90,.6);
}

.feature:first-child {
  padding-top: 0;
}

.feature:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 29px;
  flex: 0 0 auto;
}

.feature h3 {
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 7px;
  color: white;
}

.feature p {
  font-size: 15.5px;
  line-height: 1.45;
  color: #e4ecf3;
}

/* Trust */
.trust-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 -16px 32px rgba(11,29,58,.05);
}

.trust-grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  gap: 17px;
  padding: 32px 30px;
  border-right: 1px solid var(--border);
  min-height: 150px;
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  color: var(--green-dark);
  font-size: 43px;
  line-height: 1;
}

.trust-item h4 {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 5px;
}

.trust-item p {
  font-size: 14px;
  color: #1f3b59;
}

/* About */
.about {
  background: linear-gradient(135deg, var(--green-dark), #073624);
  color: white;
  text-align: center;
  padding: 40px 30px 45px;
  position: relative;
  overflow: hidden;
}

.about::after {
  content: "";
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.08);
  position: absolute;
  right: 75px;
  bottom: -90px;
}

.about-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 14px;
}

.about-heading span {
  height: 2px;
  width: 210px;
  background: rgba(255,255,255,.36);
}

.about h2 {
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about p {
  max-width: 880px;
  margin: 0 auto;
  color: #edf8f2;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

/* Services */
.services {
  max-width: 1280px;
  margin: 0 auto;
  padding: 78px 40px;
}

.section-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 900;
  margin-bottom: 9px;
}

.section-heading h2,
.contact-copy h2 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 30px;
  background: white;
  box-shadow: 0 14px 30px rgba(11,29,58,.04);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #eef4f8;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
}

/* Capability note */
.capability-note {
  background: var(--gray-tint);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 30px;
  text-align: center;
}

.capability-inner {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--navy);
  font-size: 15px;
}

/* Contact */
.contact {
  background: var(--gray-tint);
  padding: 78px 40px;
}

.contact-container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  font-weight: 800;
  color: var(--navy);
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px 16px;
}

.contact-form {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 34px;
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 13px;
  font-family: var(--sans);
  font-size: 14px;
}

.contact-form button {
  background: var(--green-dark);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* Footer */
footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 34px 40px;
  font-size: 13px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Responsive */
@media (max-width: 1120px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 30px;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 60px 30px;
  }

  .hero-copy {
    margin-left: 0;
  }

  .hero-copy h1 {
    white-space: normal;
  }

  .feature-panel {
    justify-self: start;
    max-width: 680px;
  }

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

  .services-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

  .brand-mark {
  width: 225px;
  height: 195px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  margin-left: -15px;
}

  .company-name h1 {
    font-size: 27px;
    letter-spacing: 1.5px;
  }

  .solutions {
    font-size: 15px;
    letter-spacing: 5px;
  }

  .solutions-row::before,
  .solutions-row::after {
    width: 35px;
  }

  .tagline {
    font-size: 8px;
    letter-spacing: 1.7px;
  }

  .main-nav {
    gap: 16px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .feature {
    flex-direction: column;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .about-heading span {
    width: 45px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}


/* Final mobile and tablet fixes */
@media (max-width: 1100px) {
  .site-header {
    position: relative;
  }

  .header-container {
    min-height: auto;
    padding: 22px 22px 26px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .company-name {
    transform: translateX(-6px);
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .hero {
    min-height: auto;
    background-position: left top;
  }

  .hero-container {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 58px 28px;
    gap: 32px;
  }

  .hero-copy {
    margin-left: 0;
    max-width: 720px;
  }

  .hero-copy h1 {
    white-space: normal;
    font-size: 54px;
  }

  .feature-panel {
    justify-self: start;
    width: min(100%, 620px);
  }
}

@media (max-width: 700px) {
  .brand {
    flex-direction: column;
    gap: 0;
  }

  .brand-mark {
  width: 225px;
  height: 195px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  margin-left: -15px;
}

  .company-name {
    transform: none;
    min-width: auto;
  }

  .company-name h1 {
    font-size: 31px;
    letter-spacing: 1.5px;
    text-align: center;
  }

  .solutions-row {
    gap: 10px;
  }

  .solutions-row::before,
  .solutions-row::after {
    width: 44px;
  }

  .solutions {
    font-size: 17px;
    letter-spacing: 5px;
  }

  .tagline {
    font-size: 9px;
    letter-spacing: 2px;
    text-align: center;
  }

  .main-nav {
    font-size: 11px;
    gap: 10px 15px;
  }

  .work-btn {
    padding: 12px 16px;
  }

  .hero {
    background-position: 18% top;
  }

  .hero-container {
    padding: 42px 20px;
  }

  .hero-copy h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .feature-panel {
    padding: 24px 22px;
  }

  .feature {
    flex-direction: column;
    gap: 12px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .services,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-heading {
    gap: 12px;
  }

  .about-heading span {
    width: 38px;
  }

  .about h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 31px;
  }
}
