:root {
  --ink: #13212b;
  --muted: #5b6871;
  --line: #d8e1e5;
  --paper: #f8faf9;
  --white: #ffffff;
  --navy: #082436;
  --blue: #0d6687;
  --teal: #2a8f8b;
  --copper: #b87942;
  --shadow: 0 20px 70px rgba(8, 36, 54, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 25, 38, 0.92), rgba(6, 25, 38, 0.52));
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.brand-mark img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  object-position: center top;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.94rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--white);
}

.header-action,
.primary-button,
.secondary-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-action {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover,
.contact-form button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 130px clamp(22px, 6vw, 86px) 78px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/bluewater-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 22, 35, 0.94) 0%, rgba(5, 22, 35, 0.78) 38%, rgba(5, 22, 35, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 22, 35, 0.1), rgba(5, 22, 35, 0.64));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8fdad4;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button {
  background: var(--copper);
  color: var(--white);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.trust-strip {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 6vw, 86px);
  right: clamp(22px, 6vw, 86px);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 32, 47, 0.8);
  backdrop-filter: blur(10px);
}

.trust-strip span {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-align: center;
}

.trust-strip span:last-child {
  border-right: 0;
}

.intro-section,
.services-section,
.classes-section,
.instructor-section,
.industries-section,
.process-section,
.contact-section {
  padding: clamp(72px, 10vw, 132px) clamp(22px, 6vw, 86px);
}

.intro-grid,
.section-heading,
.process-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro-grid p,
.section-heading p,
.process-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.classes-section {
  background:
    linear-gradient(180deg, rgba(13, 102, 135, 0.07), transparent 38%),
    var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(8, 36, 54, 0.04);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
}

.classes-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 46px;
}

.class-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.class-list article {
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 36, 54, 0.05);
}

.class-list h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.04rem;
}

.class-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.flier-card {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.flier-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.secondary-dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.instructor-section {
  background: var(--white);
}

.instructor-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.instructor-card {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.instructor-photo {
  display: block;
  width: min(260px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.instructor-card h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.instructor-card p {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.credential-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.credential-list span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.instructor-bio {
  display: grid;
  gap: 18px;
}

.instructor-bio p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.industries-section h2 {
  max-width: 900px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.industry-list span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.process-section {
  background:
    linear-gradient(90deg, rgba(13, 102, 135, 0.08), transparent 54%),
    var(--paper);
}

.process-steps {
  display: grid;
  gap: 12px;
}

.process-steps div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.process-steps strong {
  color: var(--blue);
}

.process-steps span {
  color: var(--muted);
}

.contact-section {
  background: var(--white);
}

.contact-section > * {
  min-width: 0;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(42, 143, 139, 0.2);
  border-color: var(--teal);
}

.contact-form button {
  border: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.74);
  background: #061925;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 100%;
  }

  .nav-links {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-action {
    position: absolute;
    top: 18px;
    right: clamp(18px, 4vw, 56px);
  }

  .hero {
    min-height: calc(100svh - 28px);
    padding-top: 196px;
  }

  .trust-strip,
  .service-grid,
  .classes-layout,
  .instructor-layout,
  .intro-grid,
  .section-heading,
  .process-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .flier-card {
    position: static;
  }

  .instructor-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
  }

  .header-action {
    position: static;
    flex: 1 1 100%;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: calc(100svh - 28px);
    padding: 192px 20px 164px;
  }

  h1 {
    font-size: 2.62rem;
  }

  .hero-actions a {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
    font-size: 0.9rem;
    text-align: center;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    padding: 9px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
  }

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

  .class-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .process-steps div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-form {
    padding: 20px;
  }

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