:root {
  --ink: #17342e;
  --green: #153f35;
  --green-2: #275f51;
  --moss: #789474;
  --paper: #f4f0e6;
  --paper-2: #e8e1d2;
  --white: #fffdf8;
  --gold: #d1a04e;
  --gold-dark: #855d25;
  --blue: #0959b5;
  --line: rgba(21, 63, 53, .19);
  --shadow: 0 24px 70px rgba(18, 47, 39, .13);
  --radius: 6px;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3.8rem, 8vw, 7.7rem); }
h2 { font-size: clamp(2.7rem, 5vw, 5rem); }
h3 { font-size: 1.65rem; }
p:last-child { margin-bottom: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: clamp(78px, 9vw, 135px) 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: white;
  background: var(--green);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.notice-bar {
  position: relative;
  z-index: 30;
  margin: 0;
  background: var(--gold);
  color: #18362e;
  text-align: center;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.notice-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 7px 20px;
  text-decoration: none;
}
.notice-bar a:hover { background: rgba(255,255,255,.2); }
.notice-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(21,63,53,.12);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(244, 240, 230, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand img { flex: 0 0 auto; }
.brand span { display: grid; line-height: 1; }
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.27rem;
  font-weight: 400;
  letter-spacing: -.02em;
}
.brand small {
  margin-top: 7px;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 43px); }
.main-nav a {
  position: relative;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}
.main-nav a:not(.nav-feature)::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-feature {
  padding: 10px 17px;
  border: 1px solid var(--green);
  border-radius: 100px;
  transition: .2s ease;
}
.nav-feature:hover, .nav-feature[aria-current="page"] { color: var(--paper); background: var(--green); }

.eyebrow {
  margin-bottom: 20px;
  color: var(--green-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow.light { color: #c9d9d1; }
.lead { max-width: 650px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.58; }
.large-copy { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.36; letter-spacing: -.02em; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(18, 47, 39, .16); }
.button-primary { color: var(--white); background: var(--green); }
.button-light { color: var(--green); background: var(--white); }
.button-gold { color: #17342e; background: var(--gold); }
.text-link {
  font-size: .86rem;
  font-weight: 750;
  text-underline-offset: 5px;
}

.home-hero { overflow: hidden; padding-top: clamp(85px, 9vw, 130px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: center; gap: clamp(40px, 7vw, 95px); }
.home-hero h1 { max-width: 720px; margin-bottom: 32px; font-size: clamp(3rem, 5.1vw, 5.2rem); }
.home-hero h1 em { color: var(--green-2); font-weight: 400; }
.hero-photos { min-width: 0; margin: 0; }
.hero-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: clamp(245px, 27vw, 335px) clamp(112px, 13vw, 155px);
  gap: 10px;
  padding: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-photo { display: block; min-width: 0; overflow: hidden; background: var(--paper-2); }
.hero-photo-main { grid-column: 1 / -1; }
.hero-photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hero-photo:hover img { transform: scale(1.018); }
.hero-photos figcaption { margin-top: 12px; color: #536c65; font-size: .67rem; line-height: 1.55; }
.hero-photos figcaption a { text-underline-offset: 3px; }
.waterline { height: 48px; overflow: hidden; color: var(--blue); background: var(--paper); }
.waterline svg { width: 100%; height: 100%; }

.paper-section { background: var(--white); }
.section-intro { margin-bottom: clamp(55px, 7vw, 90px); }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 8vw, 120px); align-items: end; }
.split-heading h2 { max-width: 780px; margin-bottom: 0; }
.split-heading > p { margin-bottom: 8px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value-card { min-height: 315px; padding: 34px 40px 20px 0; border-right: 1px solid var(--line); }
.value-card + .value-card { padding-left: 40px; }
.value-card:last-child { padding-right: 0; border-right: 0; }
.card-number { color: var(--gold-dark); font-size: .71rem; font-weight: 800; letter-spacing: .16em; }
.value-card h3 { margin: 48px 0 18px; }

.story-section { color: var(--paper); background: var(--green); }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 150px); }
.story-title { position: sticky; top: 145px; align-self: start; }
.story-title h2 { margin-bottom: 35px; }
.story-title > p:last-child { color: #c4d2cc; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 25px 1fr; gap: 28px; padding: 0 0 70px; }
.timeline li:not(:last-child)::before { position: absolute; top: 12px; bottom: -4px; left: 6px; width: 1px; content: ""; background: rgba(255,255,255,.22); }
.timeline-marker { position: relative; z-index: 1; width: 13px; height: 13px; margin-top: 8px; border: 3px solid var(--green); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.timeline-date { margin-bottom: 9px; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.timeline h3 { margin-bottom: 16px; color: var(--white); }
.timeline li p:last-child { color: #c4d2cc; }

.opportunity-panel-section { background: var(--paper-2); }
.opportunity-panel { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: clamp(45px, 6vw, 78px); color: var(--white); background: var(--green-2); box-shadow: var(--shadow); }
.opportunity-panel h2 { margin-bottom: 19px; font-size: clamp(2.5rem, 4vw, 4.3rem); }
.opportunity-panel p:not(.eyebrow) { max-width: 700px; color: #e0e9e5; }
.opportunity-panel .eyebrow { color: #d8e4df; }
.opportunity-panel .button { flex: 0 0 auto; }

.site-footer { padding: 65px 0; color: #d2ded9; background: #0c2c25; font-size: .8rem; line-height: 1.65; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 40px; }
.footer-brand { align-self: center; color: var(--white); }
.footer-meta { text-align: right; }

/* Mooring page */
.mooring-hero { padding-top: clamp(60px, 7vw, 100px); overflow: hidden; }
.mooring-hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.mooring-hero h1 {
  margin-bottom: 6px;
  font-size: clamp(3.1rem, 5.3vw, 4.75rem);
  white-space: nowrap;
}
.hero-kicker { margin-bottom: 28px; color: var(--green-2); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.4vw, 3.7rem); line-height: 1.08; letter-spacing: -.035em; }
.mooring-hero-image { position: relative; margin: 0 -6vw 0 0; }
.mooring-hero-image::before { position: absolute; z-index: -1; top: -36px; right: -36px; bottom: 45px; left: 13%; content: ""; background: var(--paper-2); }
.mooring-hero-image img { width: 100%; height: min(70vw, 760px); object-fit: cover; object-position: center; box-shadow: var(--shadow); }
.mooring-hero-image figcaption { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 13px 19px; color: var(--white); background: rgba(10, 42, 34, .93); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mooring-hero-image figcaption span { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }

.intro-band { padding: clamp(70px, 8vw, 115px) 0; color: var(--white); background: var(--green); }
.intro-band-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px, 10vw, 150px); align-items: start; }
.intro-band h2 { color: var(--gold); }
.intro-band p { color: #cedbd6; }
.intro-band .large-copy { color: var(--white); }

.facts-section { background: var(--white); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid > div { padding: 32px 30px 34px 0; border-right: 1px solid var(--line); }
.facts-grid > div + div { padding-left: 30px; }
.facts-grid > div:last-child { border: 0; }
.facts-grid dt { margin-bottom: 28px; color: var(--green-2); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.facts-grid dd { margin: 0; font-family: Georgia, serif; font-size: clamp(1.2rem, 2vw, 1.62rem); line-height: 1.28; }
.facts-note, .gallery-note { max-width: 900px; margin: 24px 0 0; color: #587069; font-size: .8rem; }

.particulars-section { background: var(--paper-2); }
.particulars-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.particulars-card { padding: 34px 42px 36px 0; border-bottom: 1px solid var(--line); }
.particulars-card:nth-child(odd) { border-right: 1px solid var(--line); }
.particulars-card:nth-child(even) { padding-left: 42px; }
.particulars-card h3 { margin-bottom: 14px; }
.particulars-card p { margin-bottom: 0; }
.transport-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.transport-list strong { color: var(--green-2); }

.gallery-section { background: var(--paper); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 340px; gap: 18px; }
.gallery-card { position: relative; min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 0; background: var(--paper-2); cursor: zoom-in; }
.gallery-card::after { position: absolute; right: 15px; bottom: 15px; display: grid; width: 38px; height: 38px; border-radius: 50%; content: "+"; place-items: center; color: var(--green); background: rgba(255,253,248,.9); font: 400 1.35rem/1 Georgia, serif; opacity: 0; transform: translateY(8px); transition: .2s ease; }
.gallery-card:hover::after, .gallery-card:focus-visible::after { opacity: 1; transform: none; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.035); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-card:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; }

.lightbox { width: min(1000px, calc(100% - 30px)); max-width: none; max-height: calc(100vh - 30px); margin: auto; padding: 0; overflow: visible; border: 0; color: white; background: transparent; }
.lightbox::backdrop { background: rgba(5, 25, 20, .93); backdrop-filter: blur(8px); }
.lightbox figure { display: grid; place-items: center; margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; box-shadow: 0 25px 80px rgba(0,0,0,.38); }
.lightbox figcaption { padding: 12px 50px 0; color: #e6edea; font-size: .82rem; text-align: center; }
.lightbox-close, .lightbox-nav { position: fixed; z-index: 2; display: grid; border: 0; border-radius: 50%; place-items: center; color: var(--green); background: var(--white); cursor: pointer; }
.lightbox-close { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 1.9rem; }
.lightbox-nav { top: 50%; width: 48px; height: 48px; font-size: 1.1rem; transform: translateY(-50%); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.contribution-section { color: var(--white); background: var(--green-2); }
.contribution-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 145px); }
.contribution-grid > div:first-child { position: sticky; top: 145px; align-self: start; }
.contribution-grid .large-copy { color: #d6e2de; }
.contribution-list article { display: grid; grid-template-columns: 42px 1fr; gap: 24px; padding: 0 0 38px; border-bottom: 1px solid rgba(255,255,255,.2); }
.contribution-list article + article { padding-top: 38px; }
.contribution-list article > span { padding-top: 6px; color: #f0d49a; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.contribution-list h3 { margin-bottom: 12px; color: var(--white); }
.contribution-list p { color: #d3dfdb; }

.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-grid li { min-height: 320px; padding: 30px 30px 20px 0; border-right: 1px solid var(--line); }
.process-grid li + li { padding-left: 30px; }
.process-grid li:last-child { border-right: 0; }
.process-grid li > span { display: grid; width: 34px; height: 34px; border: 1px solid var(--gold-dark); border-radius: 50%; place-items: center; color: var(--gold-dark); font-size: .75rem; font-weight: 800; }
.process-grid h3 { margin: 45px 0 16px; font-size: 1.4rem; }
.process-grid p { font-size: .93rem; }
.process-note { max-width: 930px; margin: 38px 0 0; padding: 22px 25px; border-left: 4px solid var(--gold); background: var(--paper); }
.process-note strong { color: var(--green); }

.apply-section { color: var(--white); background: #0c2c25; }
.apply-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(45px, 9vw, 135px); align-items: center; }
.apply-card h2 { max-width: 740px; }
.apply-card p:not(.eyebrow) { max-width: 700px; color: #cddbd6; }
.apply-actions { display: grid; gap: 15px; justify-items: start; }
.apply-actions small { color: #9fb3ab; font-size: .74rem; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay, .reveal-delay-2 { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-card img, .button { transition: none; }
}

@media (max-width: 960px) {
  :root { --shell: min(100% - 40px, 760px); }
  .hero-grid, .mooring-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-photos { width: min(650px, 100%); margin: 0 auto; }
  .hero-photo-grid { grid-template-rows: min(54vw, 350px) min(27vw, 175px); }
  .mooring-hero-image { width: min(650px, 100%); margin: 20px auto 0; }
  .mooring-hero-image img { height: min(105vw, 760px); }
  .split-heading, .story-grid, .intro-band-grid, .contribution-grid, .apply-card { grid-template-columns: 1fr; }
  .story-title, .contribution-grid > div:first-child { position: static; }
  .values-grid, .facts-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(2), .facts-grid > div:nth-child(2), .process-grid li:nth-child(2) { border-right: 0; }
  .value-card:nth-child(3), .facts-grid > div:nth-child(n+3), .process-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .value-card:nth-child(3) { padding-left: 0; }
  .process-grid li:nth-child(3) { padding-left: 0; }
  .facts-grid > div:nth-child(3) { padding-left: 0; }
  .opportunity-panel { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 2; text-align: left; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 30px); }
  body { font-size: 16px; }
  .notice-bar { font-size: .65rem; }
  .notice-bar a { gap: 8px; }
  .header-inner { min-height: 76px; }
  .brand img { width: 45px; height: 45px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { font-size: .58rem; }
  .main-nav { gap: 8px; }
  .main-nav a:not(.nav-feature) { display: none; }
  .nav-feature { padding: 8px 12px; font-size: .72rem !important; }
  .home-hero h1 { font-size: clamp(2.75rem, 13vw, 4.1rem); }
  .mooring-hero h1 { font-size: clamp(2.35rem, 14vw, 3.9rem); }
  .hero-photo-grid { gap: 7px; padding: 7px; }
  .values-grid, .facts-grid, .process-grid, .particulars-grid, .footer-grid { grid-template-columns: 1fr; }
  .particulars-card, .particulars-card:nth-child(even) { padding: 28px 0 32px; border-right: 0; }
  .value-card, .value-card + .value-card, .facts-grid > div, .facts-grid > div + div, .process-grid li, .process-grid li + li { min-height: auto; padding: 28px 0 34px; border-right: 0; border-top: 1px solid var(--line); }
  .value-card:first-child, .facts-grid > div:first-child, .process-grid li:first-child { border-top: 0; }
  .value-card h3, .process-grid h3 { margin-top: 25px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; gap: 10px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 2; }
  .lightbox-nav { top: auto; bottom: 20px; transform: none; }
  .lightbox-close { top: 12px; right: 12px; }
  .footer-meta { grid-column: auto; }
  .opportunity-panel { padding: 38px 27px; }
}

@media (max-width: 420px) {
  .notice-bar span:last-child { display: none; }
  .button { width: 100%; }
  .button-row { align-items: stretch; }
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 360px; }
  .gallery-wide { grid-column: auto; }
  .gallery-tall { grid-row: auto; }
}
