:root {
  --navy: #0d2f45;
  --navy-2: #123f58;
  --teal: #00b6b4;
  --cyan: #06a7d7;
  --ink: #123149;
  --muted: #557082;
  --ice: #f3f8fa;
  --white: #fff;
  --line: #d8e6ec;
  --shadow: 0 16px 42px rgba(13, 47, 69, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.45; }
img { display: block; width: 100%; }
button, a { font: inherit; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: white; padding: 12px 16px; border-radius: 6px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(13,47,69,.12); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; flex-shrink: 0; }
.brand-mark { font-size: clamp(25px, 3vw, 38px); font-weight: 950; letter-spacing: -2.5px; line-height: 1; color: var(--navy); }
.brand-mark span { color: var(--teal); }
.brand-mark.small { font-size: 26px; }
.brand-divider { width: 1px; height: 38px; background: var(--teal); }
.brand-copy { font-size: 11px; font-weight: 600; line-height: 1.25; }
.nav { display: flex; gap: 28px; font-size: 13px; font-weight: 650; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--teal); transition: right .25s ease; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 11px 7px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; }

.hero { overflow: hidden; background: radial-gradient(circle at 40% 30%, #f8fcfd 0, #fff 42%, #f4fafc 100%); }
.hero-grid { display: grid; grid-template-columns: .88fr 1.22fr; min-height: 630px; align-items: center; gap: 58px; }
.hero-copy { position: relative; z-index: 2; padding: 60px 0; }
.hero h1 { margin: 0; font-size: clamp(58px, 7.4vw, 105px); line-height: .88; letter-spacing: -6px; color: var(--navy); font-weight: 950; }
.hero h1 span { color: var(--teal); }
.accent-line { width: 52px; height: 6px; border-radius: 999px; margin: 30px 0 15px; background: var(--teal); }
.hero-lead { margin: 0 0 22px; font-size: clamp(23px, 2.2vw, 33px); line-height: 1.08; letter-spacing: -.8px; }
.hero-kicker { color: #00819a; font-size: 15px; font-weight: 800; }
.hero-text { max-width: 520px; font-size: 16px; color: #2c4d61; }
.hero-media { position: relative; min-height: 500px; align-self: stretch; clip-path: polygon(18% 4%, 100% 4%, 92% 100%, 0 100%); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.shape { position: absolute; z-index: 2; pointer-events: none; }
.shape-one { top: 0; right: -4%; width: 40%; height: 14%; background: var(--teal); transform: skewX(-18deg); }
.shape-two { left: 6%; bottom: 0; width: 28%; height: 9%; background: var(--navy); opacity: .85; transform: skewX(-30deg); }

.section { padding: 92px 0; }
.about { position: relative; background: linear-gradient(125deg, #fff 0 56%, #e9f7fa 56% 100%); overflow: hidden; }
.about::after { content: ""; position: absolute; width: 560px; height: 560px; border: 70px solid rgba(0,173,193,.08); border-radius: 50%; right: -180px; top: 120px; }
.section-heading { position: relative; z-index: 2; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(42px, 5vw, 69px); line-height: .98; letter-spacing: -3px; font-weight: 950; }
.section-heading .accent-line { margin: 18px 0 40px; height: 5px; width: 54px; }
.purpose-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.purpose-card { min-height: 265px; padding: 36px; border-radius: 17px; box-shadow: var(--shadow); }
.purpose-card.dark { color: white; background: linear-gradient(145deg, #133b53, #0b273b); }
.purpose-card.teal { color: white; background: linear-gradient(145deg, #0399a8, #007c95); }
.purpose-card.light { background: rgba(255,255,255,.88); }
.purpose-card svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.purpose-card h3 { font-size: 22px; line-height: 1.05; margin: 25px 0 15px; }
.purpose-card p { margin: 0; font-size: 14px; opacity: .9; }

.value-band { position: relative; overflow: hidden; padding: 72px 0; color: white; background: radial-gradient(circle at 11% 110%, #00aaa8 0 12%, transparent 12.2%), linear-gradient(115deg, #123d56, #08283d); }
.value-grid { display: grid; grid-template-columns: .58fr 1.42fr; gap: 60px; align-items: center; }
.section-heading.inverse h2 { color: white; }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.value-pill { min-height: 88px; display: flex; align-items: center; gap: 17px; padding: 18px 20px; border-radius: 12px; background: #f8fbfc; color: var(--ink); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.value-pill span { color: #007f95; font-size: 32px; min-width: 35px; text-align: center; }
.value-pill b { font-size: 14px; line-height: 1.15; }

.directions { background: linear-gradient(180deg, #fff 0, #f9fcfd 100%); }
.directions-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.conference-photo { margin: 0; min-height: 525px; border-radius: 0 55px 0 55px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.conference-photo::after { content: ""; position: absolute; width: 22px; height: 150px; right: 32px; top: -25px; background: rgba(0,177,190,.35); transform: skewX(-12deg); }
.conference-photo img { height: 100%; min-height: 525px; object-fit: cover; object-position: 48% center; }
.direction-list { display: grid; gap: 0; }
.direction-item { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.direction-item:last-child { border-bottom: 0; }
.direction-item > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; color: white; font-size: 29px; background: linear-gradient(145deg, #0b6f86, var(--navy)); }
.direction-item:nth-child(even) > span { color: var(--navy); background: #dceff4; }
.direction-item h3 { margin: 0 0 3px; font-size: 18px; }
.direction-item p { margin: 0; color: var(--muted); font-size: 14px; }

.community { overflow: hidden; background: linear-gradient(135deg, #f7fbfc, #fff); }
.gallery { display: grid; grid-template-columns: 1.45fr .95fr; grid-template-rows: 245px 245px; gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 17px; box-shadow: var(--shadow); }
.gallery-main { grid-row: 1 / 3; }
.gallery img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery-main img { object-position: center; }
.gallery figure:nth-child(2) img { object-position: center 42%; }
.gallery figure:nth-child(3) img { object-position: center 35%; }

.principles { background: white; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.principle { display: grid; grid-template-columns: 55px 1fr; gap: 16px; min-height: 135px; align-items: start; padding: 25px; border: 1px solid #e0e9ed; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(13,47,69,.07); }
.principle > span { color: #008aa0; font-size: 34px; line-height: 1; }
.principle h3 { font-size: 17px; margin: 0 0 7px; }
.principle p { margin: 0; color: var(--muted); font-size: 13px; }

.cta { color: white; background: linear-gradient(115deg, #123d56, #06273b); overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 315px; align-items: stretch; }
.cta-copy { padding: 63px 0; position: relative; z-index: 2; }
.cta h2 { margin: 0 0 34px; max-width: 720px; font-size: clamp(32px, 4vw, 50px); line-height: 1.02; letter-spacing: -2px; }
.cta-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.button { min-height: 52px; border-radius: 8px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; cursor: pointer; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.button.primary { border: 1px solid var(--teal); background: var(--teal); color: white; }
.button.secondary { border: 1px solid rgba(255,255,255,.7); background: transparent; color: white; }
.cta-building { position: relative; min-height: 315px; background: linear-gradient(150deg, transparent 0 19%, rgba(255,255,255,.92) 19.2% 22%, transparent 22.2%), url("assets/fact-community-museum.jpg") center/cover; clip-path: polygon(18% 0,100% 0,100% 100%,0 100%); }
.cta-building::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(5,38,57,.15), rgba(0,182,180,.15)); }

.footer { border-top: 1px solid rgba(13,47,69,.12); background: white; }
.footer-inner { min-height: 74px; display: flex; align-items: center; gap: 28px; font-size: 12px; }
.footer-lines { margin-left: auto; width: 240px; height: 20px; border-bottom: 1px solid #5aa7b4; position: relative; }
.footer-lines::after { content: "///"; position: absolute; right: 0; top: 0; color: var(--teal); font-weight: 900; font-size: 22px; letter-spacing: -4px; }

.contact-dialog { width: min(520px, calc(100% - 32px)); border: 0; border-radius: 20px; padding: 42px; color: var(--ink); box-shadow: 0 28px 100px rgba(3,31,48,.35); }
.contact-dialog::backdrop { background: rgba(5,35,52,.72); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; background: #edf5f7; border-radius: 50%; font-size: 26px; cursor: pointer; }
.dialog-kicker { color: var(--teal); font-weight: 950; }
.contact-dialog h2 { font-size: 34px; margin: 8px 0 13px; }
.contact-dialog p { color: var(--muted); margin-bottom: 26px; }

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

@media (max-width: 960px) {
  .shell { width: min(100% - 32px, 760px); }
  .brand-copy, .brand-divider { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav { display: none; position: absolute; top: 78px; left: 16px; right: 16px; padding: 22px; border-radius: 14px; background: white; box-shadow: var(--shadow); flex-direction: column; gap: 19px; }
  .nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 28px; }
  .hero-copy { padding: 38px 0 20px; }
  .hero-media { min-height: 460px; }
  .purpose-grid, .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-card:last-child { grid-column: 1 / 3; }
  .value-grid { grid-template-columns: 1fr; gap: 15px; }
  .value-list { grid-template-columns: repeat(2, 1fr); }
  .directions-grid { grid-template-columns: 1fr; }
  .conference-photo, .conference-photo img { min-height: 420px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-building { min-height: 230px; clip-path: polygon(0 15%,100% 0,100% 100%,0 100%); }
}

@media (max-width: 620px) {
  .header-inner { min-height: 68px; }
  .nav { top: 68px; }
  .hero h1 { font-size: 57px; letter-spacing: -4px; }
  .hero-lead { font-size: 23px; }
  .hero-media { min-height: 330px; clip-path: polygon(10% 0,100% 0,92% 100%,0 100%); }
  .section { padding: 68px 0; }
  .section-heading h2 { font-size: 42px; letter-spacing: -2.5px; }
  .purpose-grid, .principles-grid, .value-list { grid-template-columns: 1fr; }
  .purpose-card:last-child { grid-column: auto; }
  .purpose-card { min-height: 230px; }
  .value-pill { min-height: 75px; }
  .directions-grid { gap: 32px; }
  .conference-photo, .conference-photo img { min-height: 310px; }
  .direction-item { grid-template-columns: 51px 1fr; gap: 13px; }
  .direction-item > span { width: 48px; height: 48px; font-size: 24px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 320px 210px 210px; }
  .gallery-main { grid-row: auto; }
  .cta-copy { padding: 56px 0; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .footer-inner { flex-wrap: wrap; padding: 20px 0; gap: 12px; }
  .footer-lines { width: 100%; margin-left: 0; }
}
