@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-400.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-500.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-600.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-700.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-800.ttf") format("truetype"); }
:root { --ink: #0a2540; --muted: #536b78; --aqua: #0fb9b1; --pale: #eef6f6; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: Manrope, Arial, sans-serif; color: var(--muted); background: white; font-size: 16px; line-height: 1.75; }
h1,h2,h3,h4,h5,h6,button,input,summary { font-family: Manrope, Arial, sans-serif; }
h1,h2,h3,h4,h5,h6,a,p,span,button { text-transform: none !important; }
h1,h2,h3 { color: var(--ink); letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.18; font-weight: 700; margin-bottom: 28px; }
h3 { font-size: 22px; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 18px; }
a { transition: color .2s; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 3px solid var(--aqua); outline-offset: 5px; }
[hidden] { display: none !important; }
.ndl-section { padding: 100px 0; }
.eyebrow { display: block; color: #087f7c; font-size: 12px; font-weight: 800; letter-spacing: .13em; margin-bottom: 20px; }
.ndl-pale { background: var(--pale); }
.ndl-dark { background: #082638; color: #c7d7df; }
.ndl-dark h2,.ndl-dark h3,.ndl-dark a,.ndl-dark .eyebrow { color: white; }
.section-heading { display: flex; gap: 30px; justify-content: space-between; align-items: end; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { flex-shrink: 0; }
.section-intro { max-width: 650px; margin-bottom: 35px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; color: var(--ink); font-size: 14px; font-weight: 700; padding: 10px 0; }
.text-link:hover { color: var(--aqua); }
.theme-btn { border-radius: 6px; }
.ndl-logo { display: block; width: 174px; height: auto; max-width: 100%; }
.ndl-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 50; color: white; border-bottom: 1px solid #ffffff26; }
.ndl-header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ndl-nav { display: flex; align-items: center; gap: 30px; }
.ndl-nav a { font-size: 14px; font-weight: 700; color: inherit; }
.ndl-nav a:hover,.ndl-nav a[aria-current] { color: var(--aqua); }
.ndl-nav-contact { border: 1px solid #ffffff50; border-radius: 6px; padding: 9px 15px; display: flex; align-items: center; gap: 16px; }
.brand-dark { display: none; }
.ndl-header-solid { background: white; color: var(--ink); position: relative; border-color: #dfe9ec; }
.ndl-header-solid .brand-light { display: none; }
.ndl-header-solid .brand-dark { display: block; }
.ndl-header-solid .ndl-nav-contact { border-color: #d5e3e6; }
.ndl-menu-toggle { display: none; color: inherit; padding: 10px; font-size: 24px; }
.ndl-hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding: 170px 0 100px; background-size: cover; background-position: center; background-color: #0a2540; overflow: hidden; }
.ndl-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#031d32bd,#031d323d),linear-gradient(#031d3250,transparent); }
.ndl-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.ndl-hero-content { max-width: 950px; }
.ndl-hero h1 { color: white; margin-bottom: 35px; }
.ndl-hero .hero-intro { max-width: 540px; color: #e4f0f3; font-size: 17px; line-height: 1.8; }
.ndl-hero .eyebrow { color: #8be5df; }
.hero-links { display: flex; align-items: center; gap: 28px; margin-top: 35px; }
.hero-links .text-link { color: white; }
.photo-card { display: block; position: relative; overflow: hidden; border-radius: 16px; background: #dfe9ec; color: white; }
.photo-card img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.photo-card:hover img { transform: scale(1.025); }
.photo-caption { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 48px 20px 18px; background: linear-gradient(transparent,#031d32c4); color: white; font-size: 13px; line-height: 1.5; }
.about-layout,.prep-layout,.faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.about-layout .photo-card img { aspect-ratio: 2.22; object-fit: contain; }
.about-layout .photo-card { margin-bottom: 24px; }
.about-copy { align-self: center; }
.club-principles { display: grid; grid-template-columns: repeat(4,1fr); gap: 25px; margin-top: 65px; padding-top: 35px; border-top: 1px solid #dfe9ec; }
.club-principles i { color: #098a85; font-size: 26px; margin-bottom: 15px; }
.club-principles p { font-size: 14px; color: var(--ink); margin: 0; }
.dive-options { margin-top: 45px; }
.dive-option { display: grid; grid-template-columns: 50px 1fr 1fr; gap: 25px; padding: 30px 0; border-top: 1px solid #ffffff24; align-items: start; }
.dive-option > span { color: #65c9c4; font-size: 13px; }
.dive-option h3 { margin: 0; }
.dive-option p { margin: 0; font-size: 15px; }
.learning-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.learning-card { padding: 32px; border: 1px solid #dce8eb; border-radius: 14px; display: flex; flex-direction: column; }
.learning-card > i { font-size: 32px; color: #098a85; margin-bottom: 35px; }
.learning-card h3 { margin-bottom: 16px; }
.learning-card p { font-size: 15px; }
.learning-card > span { font-size: 12px; color: #607985; padding-top: 18px; margin-top: auto; }
.coast-grid { display: grid; grid-template-columns: 1fr 1.8fr 1fr; gap: 24px; align-items: center; margin-top: 40px; }
.coast-grid .photo-card img { height: auto; }
.photo-masonry { columns: 3; column-gap: 22px; }
.photo-masonry .photo-card { margin-bottom: 22px; break-inside: avoid; }
.films-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.home-films { grid-template-columns: repeat(3,minmax(0,1fr)); }
.film-card { overflow: hidden; border: 1px solid #dce8eb; border-radius: 14px; background: white; min-width: 0; }
.film-player { position: relative; background: #061e32; }
.club-video { width: 100%; aspect-ratio: 16/9; object-fit: contain; display: block; background: #061e32; }
.film-duration { position: absolute; pointer-events: none; top: 12px; right: 12px; padding: 2px 8px; font-size: 11px; border-radius: 5px; color: white; background: #031d32ba; }
.film-description { padding: 23px; }
.film-description h3 { font-size: 20px; margin-bottom: 10px; }
.film-description p { color: var(--muted); font-size: 14px; margin: 0; }
.ndl-dark .film-card { background: #123448; border-color: #ffffff24; }
.ndl-dark .film-description p { color: #c7d7df; }
.prep-layout .photo-card img { aspect-ratio: 2.22; object-fit: contain; }
.preparation-list { margin: 25px 0; }
.preparation-list li { margin: 12px 0; }
.preparation-list i { color: #098a85; margin-right: 12px; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 24px; align-items: center; }
.people-grid img { height: auto; }
.faq-layout { align-items: start; }
.faq-list details { border-bottom: 1px solid #dce8eb; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; color: var(--ink); font-size: 17px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-size: 12px; flex-shrink: 0; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 15px; font-size: 15px; }
.ndl-footer { background: #082638; color: #bed0d9; padding: 80px 0 25px; }
.footer-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 50px; border-bottom: 1px solid #ffffff26; }
.ndl-footer h2,.ndl-footer h3,.ndl-footer a { color: white; }
.ndl-footer .eyebrow { color: #79d7d0; }
.footer-heading h2 { margin: 0; }
.footer-heading > a { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.footer-columns { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr 1fr; gap: 30px; padding: 50px 0; }
.footer-columns h3 { font-size: 15px; letter-spacing: 0; margin-bottom: 15px; }
.footer-columns p,.footer-columns nav a { font-size: 13px; line-height: 1.9; }
.footer-columns nav { display: flex; flex-direction: column; gap: 6px; }
.footer-copyright { font-size: 12px; padding-top: 20px; border-top: 1px solid #ffffff26; }
.portfolio-heading { padding: 55px 0 65px; background: var(--pale); }
.portfolio-back { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 45px; color: var(--muted); }
.portfolio-heading h1 { font-size: clamp(44px,6vw,78px); margin-bottom: 30px; }
.portfolio-heading-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.portfolio-heading-bottom p { margin: 0; }
.portfolio-heading-bottom > span { font-size: 13px; white-space: nowrap; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 45px; }
.portfolio-filters button { padding: 10px 22px; border: 1px solid #dce8eb; border-radius: 30px; font-weight: 700; color: var(--ink); font-size: 14px; }
.portfolio-filters button span { margin-left: 9px; font-size: 11px; opacity: .65; }
.portfolio-filters button.is-active { background: var(--ink); border-color: var(--ink); color: white; }
.media-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.media-group-heading h2 { font-size: 30px; margin: 0; }
.media-group-heading p { margin: 0; font-size: 13px; }
.portfolio-media-group + .portfolio-media-group { margin-top: 70px; }
.photo-dialog { border: 0; padding: 40px 60px; background: #071c2bf5; color: white; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; }
.photo-dialog::backdrop { background: #03121de6; }
.photo-dialog[open] { display: flex; align-items: center; justify-content: center; }
.photo-dialog figure { margin: 0; max-width: 100%; text-align: center; }
.photo-full { display: block; max-width: 100%; max-height: calc(100dvh - 130px); width: auto; height: auto; margin: auto; object-fit: contain; }
.photo-full-caption { margin-top: 15px; font-size: 14px; }
.photo-dialog button { position: absolute; color: white; background: #ffffff12; border-radius: 50%; width: 40px; height: 40px; z-index: 1; }
.photo-close { top: 15px; right: 18px; }
.photo-prev { left: 10px; top: 48%; }
.photo-next { right: 10px; top: 48%; }
.photo-counter { position: absolute; bottom: 15px; left: 20px; font-size: 12px; }
body.photo-open { overflow: hidden; }
@media (max-width: 1199px) { .ndl-nav { gap: 20px; } .ndl-nav a { font-size: 13px; } }
@media (max-width: 991px) {
 .ndl-section { padding: 70px 0; }
 .ndl-header-inner { min-height: 82px; }
 .ndl-menu-toggle { display: block; }
 .ndl-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; background: white; color: var(--ink); padding: 20px 30px; box-shadow: 0 15px 25px #031d3220; }
 .ndl-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
 .ndl-nav a { padding: 12px; font-size: 15px; }
 .ndl-nav-contact { border-color: #dce8eb; margin-top: 10px; }
 .ndl-hero { padding: 150px 0 80px; }
 .about-layout,.prep-layout,.faq-layout { gap: 35px; }
 .learning-grid { gap: 15px; }
 .learning-card { padding: 24px; }
 .learning-card h3 { font-size: 19px; }
 .home-films { grid-template-columns: 1fr; }
 .home-films .film-card { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
 .photo-masonry { columns: 2; }
 .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
 .section-heading,.portfolio-heading-bottom,.media-group-heading,.footer-heading { align-items: start; flex-direction: column; gap: 20px; }
 .section-heading { margin-bottom: 25px; }
 .section-heading > p { flex-shrink: 1; }
 .about-layout,.prep-layout,.faq-layout { grid-template-columns: 1fr; }
 .about-layout .about-copy { grid-row: 1; }
 .club-principles { grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 35px; }
 .learning-grid { grid-template-columns: 1fr; }
 .learning-card > i { margin-bottom: 20px; }
 .learning-card > span { padding-top: 8px; }
 .dive-option { grid-template-columns: 32px 1fr; gap: 14px; }
 .dive-option p { grid-column: 2; }
 .coast-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
 .coast-grid .photo-card:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
 .people-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
 .people-grid .photo-card:last-child { grid-column: 1 / -1; }
 .films-grid { grid-template-columns: 1fr; gap: 22px; }
 .home-films .film-card { display: block; }
 .ndl-logo { width: 150px; }
 .ndl-hero { padding-top: 140px; }
 .ndl-hero h1 br { display: none; }
 .hero-links { gap: 20px; flex-wrap: wrap; }
 .photo-caption { font-size: 12px; padding: 40px 12px 13px; }
 .portfolio-heading { padding: 30px 0 45px; }
 .portfolio-back { margin-bottom: 30px; }
 .portfolio-content { padding-top: 40px; }
 .portfolio-media-group + .portfolio-media-group { margin-top: 45px; }
 .photo-masonry { column-gap: 12px; }
 .photo-masonry .photo-card { margin-bottom: 12px; border-radius: 10px; }
 .photo-caption i { display: none; }
 .photo-dialog { padding: 55px 12px; }
 .photo-dialog button { background: #071c2b9e; }
 .photo-full { max-height: calc(100dvh - 160px); }
 .footer-columns { gap: 30px 20px; }
}
@media (max-width: 399px) { .photo-masonry { columns: 1; } .footer-columns { grid-template-columns: 1fr; } .ndl-hero h1 { font-size: 39px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before,*::after { transition: none !important; } }

.ndl-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 23px; border-radius: 6px; background: #0fb9b1; color: #052733; font-size: 14px; font-weight: 800; }
.ndl-button:hover { background: #50d7cf; color: #052733; }
.skip-link { position: fixed; top: -100px; left: 15px; padding: 10px 20px; background: white; color: #0a2540; z-index: 100; }
.skip-link:focus { top: 12px; }
.film-player.is-playing .film-duration { display: none; }

/* About the club */
.about-page-story { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 60px; }
.about-page-story p + p, .about-page-sea p + p { margin-top: 18px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 45px; }
.about-values article { border-top: 1px solid #ffffff30; padding-top: 28px; }
.about-values article > i { color: #73d8d1; font-size: 28px; margin-bottom: 25px; }
.about-values h3 { font-size: 23px; margin-bottom: 18px; }
.about-values p { font-size: 15px; margin: 0; }
.about-page-sea { display: grid; grid-template-columns: .7fr 1fr; align-items: center; gap: 85px; }
.about-page-sea > div:first-child { max-width: 350px; width: 100%; margin: auto; }
.about-friends-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-page-invite { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 45px; border-top: 1px solid #dce8eb; padding-top: 35px; }
.about-page-invite h3 { font-size: 24px; margin-bottom: 14px; }
.about-page-invite p { max-width: 600px; margin: 0; }
.about-page-invite .ndl-button { flex-shrink: 0; }
@media (min-width: 992px) and (max-width: 1199px) { .ndl-nav { gap: 15px; } .ndl-nav a { font-size: 12px; } }
@media (max-width: 991px) { .about-page-story, .about-page-sea { gap: 35px; } .about-values { gap: 25px; } .about-page-invite { align-items: start; flex-direction: column; } }
@media (max-width: 767px) { .about-page-story, .about-page-sea, .about-values, .about-friends-grid { grid-template-columns: 1fr; } .about-page-sea > div:first-child { order: 2; max-width: 300px; } .about-page-invite .ndl-button { max-width: 100%; white-space: normal; text-align: center; } }

/* Programs and consistent home-page photo rows. */
.program-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 40px; }
.program-card { border: 1px solid #d9e6e8; border-radius: 16px; background: white; padding: 32px; display: flex; flex-direction: column; }
.program-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.program-top > i { font-size: 30px; color: #098a85; }
.program-top > span { color: #77919b; font-size: 13px; }
.program-audience { color: #087f7c; font-size: 12px !important; font-weight: 700; margin-bottom: 12px; }
.program-card h3 { font-size: 26px; margin-bottom: 18px; }
.program-card > p { font-size: 15px; }
.program-note { padding-top: 20px; margin-top: auto; border-top: 1px solid #e1ebed; color: #526d79; font-size: 13px; }
.program-footnote { font-size: 13px; margin-top: 25px; max-width: 820px; }
.steps-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; margin-top: 40px; }
.steps-grid article { border-top: 1px solid #d5e3e6; padding-top: 25px; }
.step-number { display: block; font-size: 13px; font-weight: 800; color: #098a85; margin-bottom: 22px; }
.steps-grid h3 { font-size: 21px; margin-bottom: 15px; }
.steps-grid p { font-size: 14px; }
.ndl-dark .steps-grid article { border-color: #ffffff30; }
.ndl-dark .step-number { color: #73d8d1; }
.training-programs { margin-top: 40px; }
.program-skills { list-style: none; padding: 20px 0 0; border-top: 1px solid #e1ebed; margin-top: auto; }
.program-skills li { font-size: 13px; margin: 10px 0; padding-left: 18px; position: relative; }
.program-skills li::before { content: ''; position: absolute; top: 9px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #098a85; }
/* Equal-height cards on the homepage, with full-size originals in the viewer. */
#places .coast-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
#places .coast-grid .photo-card { aspect-ratio: 4 / 5; }
#places .coast-grid .photo-card img { width: 100%; height: 100%; object-fit: cover; }
#places .coast-grid .photo-card:nth-child(2) img { object-position: 50% center; }
#gallery .photo-masonry { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; columns: auto; }
#gallery .photo-card { margin: 0; aspect-ratio: 4 / 3; }
#gallery .photo-card img { width: 100%; height: 100%; object-fit: cover; }
#gallery .photo-card[href*="granite-rock"] img { object-position: 50% 35%; }
#gallery .photo-card[href*="sunset-boat"] img { object-position: 50% 45%; }
#gallery .photo-card[href*="after-the-dive"] img { object-position: 50% 58%; }
@media (max-width: 991px) { .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } #gallery .photo-masonry { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; } }
@media (max-width: 767px) {
 .program-grid { grid-template-columns: 1fr; }
 .program-card { padding: 25px; }
 #places .coast-grid { grid-template-columns: 1fr; gap: 18px; }
 #places .coast-grid .photo-card { aspect-ratio: 4 / 3; grid-column: auto; grid-row: auto; }
 #places .coast-grid .photo-card:first-child img { object-position: center 40%; }
 #gallery .photo-masonry { gap: 12px; }
 #gallery .photo-card { aspect-ratio: 1; }
 .steps-grid { gap: 25px; }
}
@media (max-width: 399px) { .steps-grid { grid-template-columns: 1fr; } #gallery .photo-masonry { grid-template-columns: 1fr; } #gallery .photo-card { aspect-ratio: 4 / 3; } }
