:root {
  --bg: #1a1a1a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #f4f4f4;
  --muted: rgba(244, 244, 244, 0.78);
  --line: rgba(244, 244, 244, 0.12);
  --accent: #ff6a00;
  --accent-dark: #d85700;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 106, 0, 0.16), transparent 24%),
    linear-gradient(180deg, #202020 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 244, 244, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 244, 244, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 82%);
}

.page-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 56px;
}

.brand {
  color: var(--text);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1.1rem;
}

.brand-outbound {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-sub {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.hero,
.section {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.hero.is-visible,
.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 100vh;
  padding: 0;
}

.hero-image {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78)),
    linear-gradient(110deg, rgba(26, 26, 26, 0.88) 8%, rgba(26, 26, 26, 0.3) 48%, rgba(26, 26, 26, 0.82) 100%),
    url("IMG-20250818-WA0015.png")
      58% center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.45rem;
  color: var(--accent);
}

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

h1,
h2,
.stat-value {
  font-family: "Montserrat", sans-serif;
}

h1 {
  display: grid;
  gap: 0;
  font-size: clamp(4.8rem, 12vw, 9.8rem);
  max-width: 10ch;
  line-height: 0.88;
  text-transform: lowercase;
}

.headline-outbound,
.headline-sailing {
  display: block;
}

.headline-outbound {
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.headline-sailing {
  color: var(--text);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 18ch;
}

.goal-headline {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 24ch;
  line-height: 1.06;
}

.goal-accent {
  color: var(--accent);
}

.hero-tagline {
  margin: 34px 0 0;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  color: var(--text);
}

.hero-text,
.info-card p,
.form-note,
label {
  line-height: 1.6;
  color: var(--muted);
}

.hero-text {
  max-width: 50ch;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #1a1a1a;
}

.button-primary:hover {
  background: #ff7f26;
}

.info-card,
.team-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 44px;
}

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

.goal-layout,
.team-grid {
  display: grid;
  gap: 20px;
}

.goal-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.95fr);
  align-items: stretch;
}

.goal-copy {
  display: grid;
  gap: 18px;
  padding: 32px;
  width: fit-content;
  max-width: 116ch;
  justify-self: start;
  align-self: start;
}

.goal-copy p,
.team-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.goal-copy p {
  font-size: 2.8rem;
  line-height: 1.3;
}

.goal-image {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5)),
    url("goal-image.png")
      58% center/cover no-repeat;
  box-shadow: var(--shadow);
}

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

.team-card {
  padding: 24px;
}

.team-card-featured {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.team-media {
  display: flex;
  justify-content: center;
}

.team-copy {
  display: grid;
  gap: 12px;
}

.team-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  color: var(--text);
}

.team-headshot {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  filter: saturate(0.82) brightness(0.92);
}

.headshot-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px dashed rgba(244, 244, 244, 0.22);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.08), rgba(255, 255, 255, 0.02));
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.info-card {
  padding: 24px;
}

.info-card h3 {
  margin-bottom: 14px;
  font-size: 1.4rem;
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  max-width: 820px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.96rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(244, 244, 244, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

input::placeholder,
textarea::placeholder {
  color: rgba(244, 244, 244, 0.45);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(255, 106, 0, 0.24);
  border-color: var(--accent);
}

.form-note {
  min-height: 1.4em;
  margin: 0;
}

.hidden-field {
  display: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 32px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 20, 0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  z-index: 20;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-title,
.toast-text {
  margin: 0;
}

.toast-title {
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.toast-text {
  margin-top: 8px;
  color: var(--text);
  line-height: 1.5;
}

@media (max-width: 920px) {
  .hero,
  .cards,
  .goal-layout,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card-featured {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .team-media {
    justify-content: flex-start;
  }

  .hero-image {
    min-height: 82vh;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-copy {
    width: min(100% - 24px, 1320px);
    padding: 88px 0 44px;
  }

  h1 {
    font-size: clamp(3.5rem, 15vw, 5.2rem);
    line-height: 0.92;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  .goal-headline {
    font-size: clamp(2.3rem, 9vw, 3.7rem);
    max-width: 12ch;
    line-height: 1.02;
  }

  .hero-tagline {
    margin-top: 26px;
    max-width: 18ch;
    font-size: 1.2rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 320px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .goal-copy {
    width: 100%;
    max-width: none;
    padding: 22px;
  }

  .goal-copy p {
    font-size: 1.45rem;
    line-height: 1.35;
  }

  .goal-image {
    min-height: 260px;
  }

  .team-card-featured {
    gap: 18px;
  }

  .team-headshot {
    max-width: 180px;
  }

  .contact-form {
    max-width: none;
    padding: 22px;
  }

  .info-card,
  .team-card,
  .contact-form,
  .goal-image {
    width: min(100% - 24px, 1320px);
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    width: min(100% - 24px, 1320px);
  }

  .toast {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
