:root {
  --navy: #0b2142;
  --navy-2: #132f55;
  --gold: #c79a42;
  --gold-2: #e3c17a;
  --ink: #1d2633;
  --muted: #657080;
  --line: #e6e8ec;
  --paper: #ffffff;
  --mist: #f5f7f9;
  --beige: #f1eadf;
  --shadow: 0 22px 60px rgba(12, 27, 48, 0.14);
  --radius: 8px;
  --header-height: 166px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

section {
  scroll-margin-top: var(--header-height);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(11, 33, 66, 0.09);
  box-shadow: 0 10px 30px rgba(11, 33, 66, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 13px 20px 11px;
}

.brand {
  display: grid;
  justify-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(142px, 16vw, 210px);
  height: auto;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
}

.brand span {
  margin-top: 3px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 18px;
}

.primary-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 22px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 33, 66, 0.16);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-icon::before {
  transform: translateY(-7px);
}

.menu-icon::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-2px) rotate(-90deg);
}

.hero {
  position: relative;
  min-height: min(720px, calc(82svh - 52px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.collaboration-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-media {
  background-image: url("../assets/images/hero-luxury-family-beach.jpg");
}

.hero-overlay,
.collaboration-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 32, 0.82) 0%, rgba(5, 16, 32, 0.54) 44%, rgba(5, 16, 32, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 16, 32, 0.35), rgba(5, 16, 32, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin-top: -16px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  font-size: 1.32rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #111827;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.section {
  padding: 92px 0;
}

.academy {
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.section-heading p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-copy p:not(.eyebrow) {
  margin: 22px 0 0;
}

.section-copy h2,
.section-heading h2 {
  color: var(--navy);
}

.image-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel::before {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.66);
  content: "";
  pointer-events: none;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.stat-row div {
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: #fff;
  box-shadow: 0 14px 40px rgba(11, 33, 66, 0.07);
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row strong {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.stat-row span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.focus {
  background: #fff;
}

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

.section-heading p {
  margin: 18px auto 0;
  max-width: 640px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.focus-card {
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 50px rgba(11, 33, 66, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.focus-card:nth-child(4),
.focus-card:nth-child(5) {
  grid-column: span 3;
}

.focus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(11, 33, 66, 0.14);
}

.focus-card img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
}

.focus-card-body {
  padding: 24px;
}

.icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(199, 154, 66, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
}

.focus-card h3 {
  color: var(--navy);
}

.focus-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.workshop {
  background:
    linear-gradient(120deg, rgba(11, 33, 66, 0.96), rgba(19, 47, 85, 0.92)),
    url("../assets/images/coastal-destination-galle.jpg") center/cover;
  color: #fff;
}

.workshop-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.workshop .section-copy h2,
.workshop .section-copy p {
  color: #fff;
}

.workshop .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.pillar-list {
  display: grid;
  gap: 16px;
}

.pillar {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.pillar span {
  grid-row: span 2;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(227, 193, 122, 0.5);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.pillar p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.collaboration {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  color: #fff;
}

.collaboration-media {
  background-image: url("../assets/images/collaboration-stilt-fishermen.jpg");
}

.collaboration-overlay {
  background:
    linear-gradient(90deg, rgba(5, 16, 32, 0.87) 0%, rgba(5, 16, 32, 0.74) 58%, rgba(5, 16, 32, 0.48) 100%),
    linear-gradient(0deg, rgba(5, 16, 32, 0.28), rgba(5, 16, 32, 0.24));
}

.collaboration-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.collaboration-copy {
  max-width: 660px;
}

.collaboration-copy h2 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
}

.collaboration-copy p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.contact-card {
  display: block;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-style: normal;
  box-shadow: var(--shadow);
}

.contact-card img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.contact-card h2 {
  color: var(--navy);
  font-size: 2rem;
}

.contact-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.contact-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  text-decoration-color: rgba(199, 154, 66, 0.55);
  text-underline-offset: 4px;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: #8b6727;
}

.site-footer {
  padding: 26px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 650ms ease, transform 650ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(199, 154, 66, 0.7);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 940px) {
  .section {
    padding: 72px 0;
  }

  .two-column,
  .workshop-layout,
  .collaboration-grid {
    grid-template-columns: 1fr;
  }

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

  .focus-card,
  .focus-card:nth-child(4),
  .focus-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    justify-items: center;
    padding: 10px 14px;
  }

  .brand {
    justify-items: center;
    max-width: calc(100% - 92px);
  }

  .brand img {
    width: 132px;
    max-height: 66px;
    object-position: center;
  }

  .brand span {
    font-size: 0.9rem;
  }

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

  .primary-nav {
    display: none;
    width: 100%;
    justify-content: center;
    gap: 0;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(11, 33, 66, 0.08);
    text-align: center;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 11px 0;
  }

  .hero {
    min-height: calc(76svh - 28px);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 16, 32, 0.84), rgba(5, 16, 32, 0.44));
  }

  .hero-content {
    margin-top: 0;
    padding: 42px 0 54px;
  }

  .stat-row,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card img {
    aspect-ratio: 1.55;
  }

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

  .pillar span {
    margin-bottom: 16px;
  }

  .collaboration {
    padding: 78px 0;
  }

  .contact-card {
    padding: 26px;
  }
}
