/* Pòtay Inite — main stylesheet. Colors and fonts are set here. */
:root {
  --navy: #1B2433;        /* dark sections, text */
  --teal: #184856;        /* cards, buttons */
  --teal-hover: #12394A;
  --orange: #D4532A;      /* logo accent */
  --cream: #FBFAF5;       /* page background */
  --stone: #F0EFEB;       /* hero card, quote cards, logo tiles */
  --ink: #1B2433;
  --ink-soft: #3F4756;
  --muted: #5E6573;
  --line: #D9D7D0;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4.3vw, 70px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.lead { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.5; color: var(--ink-soft); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 50; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.title-light { font-weight: 400; font-size: clamp(38px, 4.2vw, 64px); letter-spacing: -0.02em; }
.title-bold { font-weight: 700; font-size: clamp(36px, 4.2vw, 64px); letter-spacing: -0.015em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 4px; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 19px; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-hover); }
.btn-cream { background: var(--cream); color: var(--navy); }
.btn-cream:hover { background: #fff; }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.row-end { display: flex; justify-content: flex-end; margin-top: 48px; }
.link-teal { color: var(--teal); font-weight: 600; }

/* Header */
.site-header { background: var(--cream); position: relative; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.header-brand { font-weight: 400; font-size: 22px; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.header-panel { display: flex; align-items: center; gap: 28px; flex: 1 1 auto; justify-content: flex-end; flex-wrap: wrap; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px clamp(20px, 3.2vw, 64px); font-size: 17px; }
.nav-list a { text-decoration: none; padding: 8px 0; display: inline-block; text-underline-offset: 5px; }
.nav-list a:hover, .nav-list a[aria-current="page"] { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; font-size: 14px; font-weight: 600; }
.lang-switch a { display: flex; align-items: center; height: 44px; padding: 0 9px; text-decoration: none; border-radius: 4px; color: var(--muted); }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="true"] { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; border: 1.5px solid var(--navy); border-radius: 4px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .header-row { min-height: 76px; }
  .header-panel { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 18px; padding: 8px 0 18px; }
  .header-panel.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; width: 100%; font-size: 20px; }
  .nav-list a { padding: 10px 0; }
}

/* Hero: card floating over the landscape */
.hero { background-color: var(--navy); background-size: cover; background-position: center bottom; background-attachment: fixed; padding: 0 0 clamp(260px, 34vw, 560px); }
@media (hover: none), (max-width: 900px) { .hero { background-attachment: scroll; } }
.hero-card { margin: 0 auto 0 calc(var(--gutter) * 0.98); max-width: calc(100% - var(--gutter) * 0.98); background: var(--stone); display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 1.2vw, 20px) clamp(20px, 1.2vw, 18px) clamp(28px, 1.2vw, 20px) clamp(24px, 3.2vw, 52px); }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(16px, 3.5vw, 56px); padding-bottom: clamp(8px, 2vw, 32px); }
.hero-title { font-weight: 400; font-size: clamp(54px, 6.6vw, 104px); line-height: 0.95; letter-spacing: -0.03em; }
.hero-logo { width: clamp(220px, 24vw, 380px); height: auto; margin: clamp(24px, 3vw, 44px) 0 clamp(40px, 6vw, 110px); }
.hero-intro { font-size: clamp(20px, 2.2vw, 34px); line-height: 1.32; letter-spacing: -0.01em; max-width: 760px; margin-bottom: 24px; }
.hero-media { position: relative; flex: 1 1 420px; min-width: 0; border-radius: 14px; overflow: hidden; min-height: 460px; max-height: 820px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; position: absolute; inset: 0; }
.hero-badge { position: absolute; right: 18px; bottom: 22px; width: 124px; padding: 18px 10px 16px; border-radius: 12px; background: rgba(27, 36, 51, .92); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; letter-spacing: 0.05em; line-height: 1.3; }
.hero-badge-ring { width: 84px; height: 84px; border: 2px solid #fff; border-radius: 50%; }

/* Pillars */
.pillars { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 6vw, 80px); }
.pillars-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 72px); }
.pillars-head p { margin-top: 30px; font-size: 19px; line-height: 1.6; color: #E7EAEE; }
.pillar-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pillar-card { background: var(--teal); border-radius: 18px; padding: 36px 30px; min-height: clamp(320px, 31vw, 500px); }
.pillar-card h3 { font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -0.01em; max-width: 13ch; }
.pillar-card p { margin-top: 26px; font-size: 18px; line-height: 1.5; max-width: 30ch; color: #E9F0F2; }
.pillar-card:nth-child(3) { min-height: clamp(300px, 29.5vw, 470px); }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } .pillar-card { min-height: 0; } .pillar-card:nth-child(3) { min-height: 0; } }

/* Pathways */
.pathways { padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.split-head .lead { max-width: 560px; color: var(--ink); padding-top: 6px; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }
.pathway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pathway-card { background: var(--teal); color: #fff; padding: 34px 15px 15px; display: flex; flex-direction: column; }
.pathway-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0 20px; }
.pathway-card h3 { font-weight: 700; font-size: clamp(24px, 2.2vw, 34px); }
.pathway-num { font-weight: 700; font-size: clamp(24px, 2.2vw, 34px); }
.pathway-card p { padding: 0 20px; margin: 18px 0 clamp(40px, 5vw, 76px); font-size: 17px; line-height: 1.45; max-width: 640px; color: #E9F0F2; }
.pathway-card img { width: 100%; aspect-ratio: 1.92; object-fit: cover; margin-top: auto; }
@media (max-width: 760px) { .pathway-grid { grid-template-columns: 1fr; } }

/* Voices */
.voices { padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 8vw, 120px); }
.voices > .wrap > h2 { margin-bottom: clamp(32px, 4vw, 52px); }
.quote-featured { margin: 0 0 14px; background: var(--stone); padding: clamp(32px, 4.3vw, 70px) clamp(24px, 3vw, 46px) clamp(40px, 5vw, 80px); }
.quote-featured blockquote { margin: 0; font-weight: 700; font-size: clamp(28px, 3.9vw, 60px); line-height: 1.12; letter-spacing: -0.01em; max-width: 27ch; }
.quote-featured figcaption { margin-top: 44px; font-size: 18px; color: var(--ink-soft); }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quote-card { margin: 0; background: var(--stone); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; }
.quote-card blockquote { margin: 0; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.35; }
.quote-card figcaption { font-size: 18px; color: var(--ink-soft); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } .quote-card { min-height: 0; } }

/* Network */
.network { padding: clamp(60px, 8vw, 120px) 0 clamp(64px, 6vw, 100px); }
.network-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 50px); }
.network-head p { margin-top: 22px; font-size: 18px; color: var(--ink-soft); }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.partner-tile { background: var(--stone); border-radius: 10px; min-height: 124px; display: flex; align-items: center; justify-content: center; padding: 22px; box-shadow: 0 1px 3px rgba(27,36,51,.06); }
.partner-tile a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.partner-tile img { max-height: 64px; max-width: 160px; width: auto; height: auto; mix-blend-mode: multiply; }
.partner-tile span { font-weight: 700; font-size: 18px; text-align: center; }

/* Join */
.join { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 3vw, 50px); }
.join .lead { color: #E7EAEE; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.join-photo { width: 100%; aspect-ratio: 0.69; object-fit: cover; }
.join-form { background: var(--cream); color: var(--ink); border-radius: 8px; padding: clamp(28px, 3.5vw, 56px); display: flex; flex-direction: column; gap: 6px; }
.join-form h3 { font-weight: 700; font-size: clamp(26px, 2.2vw, 34px); margin-bottom: 18px; }
.join-form label { font-size: 15px; font-weight: 600; margin-top: 12px; }
.join-form input:not([type=checkbox]), .join-form select, .join-form textarea { font: inherit; font-size: 17px; padding: 12px 2px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 0; }
.join-form select { padding-right: 24px; }
.join-form textarea { border: 1.5px solid var(--ink); padding: 12px; border-radius: 2px; margin-top: 6px; }
.join-form .btn { margin-top: 24px; align-self: flex-start; }
.check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 15px !important; margin-top: 18px !important; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: 0 0 auto; }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } .join-photo { aspect-ratio: 1.2; } }

/* Footer */
.site-footer { background: var(--cream); padding: clamp(56px, 6vw, 90px) 0 32px; border-top: 1px solid var(--line); }
.footer-wordmark { font-weight: 300; font-size: clamp(44px, 4.6vw, 72px); letter-spacing: -0.03em; line-height: 1; }
.footer-tagline { margin-top: clamp(40px, 5vw, 80px); color: var(--ink-soft); font-size: 18px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.5fr) minmax(0, 1.4fr); gap: 40px; margin-top: 56px; }
.footer-col p { color: var(--ink-soft); margin-bottom: 20px; max-width: 34ch; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-heading { font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 28px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-links a { font-size: 22px; font-weight: 600; }
.underline-form { display: flex; flex-direction: column; }
.underline-form label { font-size: 14px; color: var(--ink-soft); }
.underline-form input[type=email] { font: inherit; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 10px 0; margin-bottom: 4px; }
.link-button { margin-top: 16px; align-self: center; background: none; border: 0; font: inherit; font-size: 17px; color: var(--ink); cursor: pointer; padding: 10px 20px; min-height: 44px; }
.link-button:hover { text-decoration: underline; }
.footer-note { text-align: center; color: var(--ink-soft); max-width: 40ch; margin: 64px auto 0; font-size: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-newsletter { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Inner pages */
.page-band { background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 100px) 0 clamp(48px, 6vw, 84px); }
.page-band .lead { color: #E7EAEE; margin-top: 22px; max-width: 760px; }
.page-body { padding: clamp(48px, 6vw, 90px) 0 clamp(72px, 8vw, 120px); }
.page-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.page-photo { width: 100%; border-radius: 14px; aspect-ratio: 1.2; object-fit: cover; }
@media (max-width: 860px) { .page-split { grid-template-columns: 1fr; } }
.prose { max-width: 760px; font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 24px; margin: 30px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--teal); }
.prose img { border-radius: 10px; margin: 28px 0; }
.prose blockquote { margin: 28px 0; padding: 24px 28px; background: var(--stone); font-size: 21px; }
.section-sub { font-size: clamp(28px, 2.6vw, 40px); margin: 0 0 28px; }
.section-sub ~ .section-sub { margin-top: 72px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-details p { font-size: 20px; margin-bottom: 22px; }
.contact-details a { color: var(--teal); }
.contact-grid .join-form { background: var(--stone); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Events */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.ev-card { background: var(--cream); border: 1px solid #ECEAE3; display: flex; flex-direction: column; }
.ev-card-image { display: block; aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.ev-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ev-card:hover .ev-card-image img { transform: scale(1.03); }
.ev-card-body { padding: 26px 22px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.ev-card-title { font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; }
.ev-card-title a { text-decoration: none; }
.ev-card-title a:hover { text-decoration: underline; }
.ev-card-meta { font-size: 16px; color: var(--ink-soft); }
.ev-sep { margin: 0 10px; }
.ev-more { margin-top: 12px; font-size: 16px; text-underline-offset: 3px; }
.ev-btn { margin-top: 22px; min-width: 150px; min-height: 44px; font-size: 16px; }
.ev-card.is-past .ev-card-image img { filter: saturate(.85); }

/* Event page */
.ev-hero { background: var(--navy); color: #fff; padding: clamp(40px, 5vw, 70px) 0 clamp(48px, 6vw, 84px); }
.ev-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ev-back { display: inline-block; color: #E7EAEE; padding: 10px 0; margin-bottom: 18px; }
.ev-hero-meta { margin: 22px 0 30px; font-size: clamp(18px, 1.5vw, 22px); color: #E7EAEE; }
.ev-hero-image { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: 14px; }
@media (max-width: 860px) { .ev-hero-grid { grid-template-columns: 1fr; } }
.ev-block + .ev-block { margin-top: clamp(56px, 6vw, 90px); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy); max-width: 1100px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.gallery-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 20, 28, .94); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; }
.lightbox figcaption { margin-top: 14px; font-size: 16px; color: #D9DCE1; min-height: 1.4em; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 44px 22px; }
.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card-image { display: block; aspect-ratio: 1.6; background: var(--stone); overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--muted); }
.post-category { font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }
.post-card-title { font-size: 24px; font-weight: 700; line-height: 1.25; }
.post-card-title a { text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; }
.post-card-summary { color: var(--ink-soft); }
.post { padding: clamp(40px, 5vw, 70px) 0 clamp(72px, 8vw, 120px); }
.post-wrap { max-width: 920px; }
.back-link { display: inline-block; padding: 10px 0; }
.post-head { margin: 24px 0 36px; }
.post-title { font-size: clamp(36px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.015em; margin: 14px 0 18px; }
.post-image { width: 100%; margin-bottom: 40px; }

/* Scroll-in animation (respects reduced-motion settings) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
