:root {
  --navy: #062f4b;
  --navy-deep: #032338;
  --blue: #8eb8c8;
  --mist: #dfeaed;
  --foam: #f7f7f3;
  --sand: #d9c8a8;
  --clay: #b3654c;
  --ink: #0f1f29;
  --white: #ffffff;
  --line: rgba(6, 47, 75, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #dfe3e4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header,
.mobile-nav,
main,
footer {
  width: min(100%, 1600px);
  margin-inline: auto;
}

main,
footer {
  background: var(--foam);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  height: 92px;
  padding: 14px clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 243, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand img {
  width: 76px;
  height: 66px;
  object-fit: contain;
  border-radius: 2px;
}
.desktop-nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 2vw, 34px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.desktop-nav a { position: relative; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--navy);
  transition: right .25s ease;
}
.desktop-nav a:hover::after { right: 0; }
.header-cta,
.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .01em;
}
.header-cta { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

main { overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  grid-template-rows: auto 88px;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(56px, 8vw, 116px) clamp(24px, 6vw, 96px) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.membership h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
}
.hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 7vw, 108px);
  line-height: .91;
  color: var(--navy);
}
.hero-intro {
  max-width: 650px;
  margin: 34px 0 40px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  color: #40535f;
}
.hero-actions {
  grid-column: 1 / -1;
  width: 100%;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.action-card {
  height: 88px;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(18px, 2.5vw, 40px);
  border-right: 1px solid rgba(255,255,255,.35);
  transition: filter .25s ease;
}
.action-card:nth-child(1) { background: #dcebed; }
.action-card:nth-child(2) { background: #e4d4b6; }
.action-card:nth-child(3) { background: #a9c8d1; }
.action-card:last-child { border-right: 0; }
.action-card:hover { filter: brightness(.97); }
.action-title { font-size: 18px; font-weight: 800; }
.arrow { font-size: 24px; color: var(--navy); }

.hero-visual {
  position: relative;
  padding: clamp(32px, 4vw, 64px);
  background: var(--mist);
  min-height: 650px;
  display: grid;
  place-items: center;
}
.coast-frame {
  width: min(100%, 560px);
  height: auto;
  aspect-ratio: 1 / 1.05;
  position: relative;
  overflow: hidden;
  background: #c4dbe2;
  border-radius: 2px 2px 110px 2px;
}
.chamber-photo-frame { background: #d7e3e6; }
.chamber-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.chamber-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(3,35,56,.18) 100%);
}
.coast-horizon {
  position: absolute;
  inset: 0 0 48% 0;
  background:
    radial-gradient(circle at 76% 64%, rgba(255,255,255,.82) 0 5%, transparent 5.3%),
    linear-gradient(180deg, #95becf 0%, #d3e3e7 76%, #edf1ef 100%);
}
.coast-water {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 58%;
  background:
    repeating-linear-gradient(-7deg, transparent 0 31px, rgba(255,255,255,.35) 31px 33px),
    linear-gradient(180deg, #739eaf 0%, #5f8796 100%);
  clip-path: polygon(0 0, 100% 13%, 100% 100%, 0 100%);
}
.coast-sand {
  position: absolute;
  right: -6%; bottom: -5%;
  width: 58%; height: 70%;
  background: linear-gradient(145deg, #ebddc0, #bd9c6c);
  clip-path: polygon(28% 0, 100% 4%, 100% 100%, 0 100%, 8% 61%);
  opacity: .94;
}
.coast-rock {
  position: absolute;
  right: 5%; top: 22%;
  width: 38%; height: 28%;
  background: linear-gradient(145deg, #61786f, #293f3e 82%);
  clip-path: polygon(0 100%, 8% 58%, 26% 36%, 47% 18%, 77% 23%, 100% 49%, 91% 100%);
  filter: drop-shadow(0 18px 22px rgba(5,33,49,.22));
}
.coast-stamp {
  position: absolute;
  z-index: 1;
  left: 34px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,.2);
}
.coast-stamp span { font-size: 13px; letter-spacing: .24em; font-weight: 800; }
.coast-stamp strong { margin-top: 5px; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 54px); font-weight: 500; letter-spacing: -.03em; }

.directory,
.events {
  padding: clamp(76px, 9vw, 138px) clamp(24px, 6vw, 96px);
}
.directory { background: var(--white); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-heading h2,
.membership h2 { font-size: clamp(54px, 6vw, 88px); color: var(--navy); line-height: .96; }
.directory-mark {
  width: 88px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 28px;
  color: var(--navy);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 235px;
  gap: 14px;
}
.category {
  position: relative;
  overflow: hidden;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: #cadce2;
  isolation: isolate;
}
.category img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.category::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 32%, rgba(3,35,56,.76));
}
.category:hover img { transform: scale(1.035); }
.category span { color: white; font: 500 clamp(28px, 3vw, 46px)/1 Georgia, serif; letter-spacing: -.035em; }
.category i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); font-style: normal; font-size: 20px; }
.category-photo-a { grid-column: span 7; grid-row: span 2; }
.category-photo-b { grid-column: span 5; }
.category-photo-c { grid-column: span 5; }
.category-photo-d { grid-column: span 4; }
.category-photo-e { grid-column: span 4; }
.category-photo-f { grid-column: span 4; }
.category-photo-a img { object-position: 20% center; }
.category-photo-c img { object-position: center 42%; }
.category-photo-e img { object-position: center 60%; }
.category-photo-f img { object-position: center 28%; }

.events { background: var(--foam); }
.text-link {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--navy);
  font-size: 14px;
  font-weight: 800;
}
.text-link span { margin-left: 8px; }
.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}
.featured-event {
  background: var(--navy);
  color: var(--white);
}
.event-art { height: 440px; position: relative; overflow: hidden; }
.event-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.event-content { padding: 30px 32px 36px; }
.event-content h3,
.event-row h3 { margin: 0; font-family: Georgia, serif; font-weight: 500; letter-spacing: -.025em; }
.event-content h3 { font-size: clamp(34px, 4vw, 54px); }
.event-content p { color: rgba(255,255,255,.78); line-height: 1.55; }
.event-date { margin: 0 0 14px !important; color: #c8dce3 !important; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.event-list { border-top: 1px solid var(--line); }
.event-row {
  min-height: 126px;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.date-block { width: 62px; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--white); }
.date-block strong { font-family: Georgia, serif; font-size: 26px; font-weight: 500; line-height: 1; }
.date-block span { margin-top: 6px; font-size: 10px; font-weight: 900; letter-spacing: .13em; color: #657681; }
.event-row h3 { font-size: clamp(21px, 2.2vw, 30px); color: var(--navy); }
.event-row p { margin: 7px 0 0; color: #63737c; font-size: 14px; }
.row-arrow { font-size: 22px; color: var(--navy); }

.membership {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, .9fr);
  background: var(--navy);
  color: var(--white);
}
.membership-copy { padding: clamp(72px, 9vw, 140px) clamp(24px, 6vw, 96px); align-self: center; }
.membership .eyebrow { color: #afcbd5; }
.membership h2 { color: var(--white); }
.membership-copy > p:not(.eyebrow) { max-width: 610px; margin: 30px 0 36px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.55; color: #cfdee3; }
.button-light { background: var(--white); color: var(--navy); }
.button-light span { margin-left: 10px; }
.membership-grid { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: rgba(255,255,255,.14); }
.member-tile { position: relative; overflow: hidden; background: var(--mist); }
.member-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-a img { object-position: center 45%; }
.tile-b img { object-position: 55% center; }
.tile-d img { object-position: right bottom; }
.photo-credit { position: absolute; bottom: 8px; right: 8px; left: 8px; text-align: right; font-size: 9px; line-height: 1.3; color: white; text-shadow: 0 1px 3px #000; }
.image-sources { grid-column: 1 / -1; margin: 0; font-size: 11px; line-height: 1.7; color: #b5c8d2; }
.image-sources a { text-decoration: underline; text-underline-offset: 3px; }

.sponsors {
  padding: clamp(78px, 9vw, 130px) clamp(24px, 6vw, 96px);
  background: #f3f6f4;
}
.sponsor-heading-wrap { max-width: 780px; margin-bottom: 44px; }
.sponsor-heading-wrap h2 { margin: 8px 0 0; font: 500 clamp(48px, 6vw, 82px)/.95 Georgia, serif; letter-spacing: -.045em; color: var(--navy); }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sponsor-card {
  min-height: 190px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.sponsor-card:hover { transform: translateY(-4px); background: white; box-shadow: 0 18px 44px rgba(22,52,67,.09); }
.sponsor-card img { width: min(190px, 90%); height: 96px; object-fit: contain; }
.sponsor-card span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5f7079; text-align: center; }

footer {
  padding: 42px clamp(24px, 6vw, 96px) 54px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 40px;
  align-items: start;
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
}
.footer-brand img { width: 98px; height: 86px; object-fit: contain; }
.footer-column p { margin: 0; line-height: 1.65; }
.footer-label { margin-bottom: 12px !important; color: #fff; font-weight: 800; }
.footer-top-link { font-weight: 800; color: white; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .header-cta { justify-self: end; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-actions { align-self: auto; }
  .hero-copy { min-height: 680px; }
  .hero-visual { min-height: 680px; }
  .events-layout { grid-template-columns: 1fr; }
  .membership { grid-template-columns: 1fr; }
  .membership-grid { min-height: 520px; }
  .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-auto-rows: 210px; }
  .category-photo-a { grid-column: span 8; }
  .category-photo-b, .category-photo-c { grid-column: span 4; }
  .category-photo-d, .category-photo-e, .category-photo-f { grid-column: span 4; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-header {
    height: 76px;
    padding: 10px 18px;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  .brand img { width: 54px; height: 54px; }
  .header-cta { display: none; }
  .menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    justify-self: end;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: white; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-nav {
    display: flex;
    position: fixed;
    z-index: 45;
    top: 76px;
    left: 0; right: 0;
    padding: 24px 20px 32px;
    flex-direction: column;
    gap: 0;
    background: var(--foam);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 28px/1.1 Georgia, serif; color: var(--navy); }
  .mobile-nav .mobile-join { margin-top: 20px; padding: 16px 20px; border: 0; background: var(--navy); color: white; text-align: center; font: 800 14px/1 system-ui, sans-serif; border-radius: 999px; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 0; }
  .hero-copy { min-height: auto; padding: 70px 20px 38px; }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-intro { margin: 26px 0 28px; font-size: 17px; }
  .hero-actions { display: block; border-bottom: 0; padding: 0; }
  .action-card { height: 72px; min-height: 72px; padding: 0 20px; border-right: 0; border-bottom: 1px solid rgba(6,47,75,.14); grid-template-columns: 1fr auto; gap: 16px; }
  .action-title { font-size: 20px; line-height: 1.1; }
  .arrow { font-size: 26px; }
  .hero-visual { min-height: 500px; padding: 18px; }
  .coast-frame { width: 100%; min-height: 464px; aspect-ratio: auto; border-radius: 2px 2px 70px 2px; }
  .chamber-hero-photo { min-height: 464px; }
  .coast-stamp { left: 24px; bottom: 24px; }
  .directory, .events { padding: 76px 20px; }
  .section-heading { align-items: flex-start; margin-bottom: 34px; }
  .section-heading h2, .membership h2 { font-size: 54px; }
  .directory-mark { width: 58px; font-size: 20px; }
  .category-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }
  .category { min-height: 220px; }
  .category-photo-a img { object-position: 20% center; }
  .category-photo-a, .category-photo-b, .category-photo-c, .category-photo-d, .category-photo-e, .category-photo-f { grid-column: span 1; grid-row: span 1; }
  .category:first-child { min-height: 340px; }
  .category span { font-size: 36px; }
  .events-heading .text-link { display: none; }
  .event-art { height: 330px; }
  .event-row { grid-template-columns: 62px 1fr; gap: 15px; padding: 17px 0; }
  .row-arrow { display: none; }
  .date-block { width: 58px; height: 64px; }
  .event-row h3 { font-size: 22px; }
  .membership-copy { padding: 76px 20px; }
  .membership-grid { min-height: 390px; }
  .sponsors { padding: 76px 20px; }
  .sponsor-heading-wrap { margin-bottom: 30px; }
  .sponsor-heading-wrap h2 { font-size: 52px; }
  .sponsor-grid { grid-template-columns: 1fr; gap: 10px; }
  .sponsor-card { min-height: 150px; padding: 24px; }
  footer { grid-template-columns: 1fr; gap: 28px; padding: 38px 20px 46px; }
}
