:root {
  --navy: #07345f;
  --navy-deep: #032844;
  --ocean: #0a6a98;
  --teal: #1b96aa;
  --sky: #e9f7fb;
  --sand: #f7f3e9;
  --gold: #e2aa47;
  --coral: #df634f;
  --leaf: #39815f;
  --ink: #12324a;
  --muted: #5f7180;
  --white: #ffffff;
  --line: rgba(7, 52, 95, .13);
  --shadow: 0 24px 70px rgba(3, 40, 68, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: 'Avenir Next', Avenir, 'Trebuchet MS', system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-150%); background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: white; transition: background .25s ease, box-shadow .25s ease, height .25s ease, color .25s ease; }
.site-header.scrolled { height: 72px; color: var(--navy); background: rgba(255,255,255,.94); box-shadow: 0 8px 28px rgba(3,40,68,.08); backdrop-filter: blur(14px); }
.brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: brightness(0) invert(1); transition: filter .25s ease; }
.site-header.scrolled .brand img { filter: none; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; letter-spacing: .02em; }
.brand small { margin-top: 3px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.site-nav { display: flex; gap: 34px; align-items: center; }
.site-nav a { position: relative; font-size: .93rem; font-weight: 600; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; border: 0; background: transparent; color: currentColor; width: 46px; height: 46px; padding: 12px; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px 0; border-radius: 10px; background: currentColor; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 760px; height: 100svh; max-height: 980px; display: flex; align-items: center; color: white; background: var(--navy) url('/assets/pono-coast-hero.png') center / cover no-repeat; isolation: isolate; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1,31,58,.87) 0%, rgba(2,44,76,.66) 42%, rgba(3,40,68,.08) 75%), linear-gradient(0deg, rgba(3,40,68,.52) 0%, transparent 38%); }
.hero-content { padding-top: 48px; }
.eyebrow { margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-dark { color: var(--ocean); }
.eyebrow-gold { color: var(--gold); }
.hero h1, h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 { max-width: 850px; font-size: clamp(3.3rem, 6.5vw, 6.4rem); text-shadow: 0 4px 22px rgba(0,0,0,.16); }
.hero h1 em { color: #ffd887; font-weight: 500; }
.hero-copy { max-width: 660px; margin: 26px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.65; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-deep); background: #ffd887; box-shadow: 0 13px 28px rgba(0,0,0,.15); }
.button-primary:hover { background: #ffe39e; }
.button-quiet { color: white; border-color: rgba(255,255,255,.45); background: rgba(3,40,68,.15); backdrop-filter: blur(8px); }
.button-quiet:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.hero-note { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 18px; align-items: center; color: rgba(255,255,255,.84); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-note i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.intro { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(400px, 1.15fr); gap: 120px; align-items: start; }
.section-heading h2, .mark-copy h2, .work-heading h2, .purpose-inner h2, .contact h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); color: var(--navy); }
.intro-copy { padding-top: 32px; }
.intro-copy p { color: var(--muted); font-size: 1.08rem; }
.intro-copy .lead { margin-top: 0; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.45; }

.mark-story { position: relative; overflow: hidden; padding: 120px 0; color: white; background: var(--navy-deep); }
.mark-story::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 22% 46%, rgba(27,150,170,.22), transparent 32%), radial-gradient(circle at 78% 18%, rgba(226,170,71,.12), transparent 28%); }
.mark-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.mark-visual { display: grid; place-items: center; }
.logo-orbit { width: min(410px, 90%); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 64px rgba(255,255,255,.018); }
.logo-orbit img { width: 74%; filter: brightness(0) invert(1); }
.mark-copy h2 { color: white; }
.mark-copy > p:not(.eyebrow) { max-width: 640px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.element-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 42px 0 0; padding: 0; list-style: none; }
.element-list li { min-width: 0; display: grid; gap: 4px; }
.element-list li > span { width: 26px; height: 5px; margin-bottom: 9px; border-radius: 99px; }
.element-list strong { font-size: .9rem; color: white; }
.element-list small { color: rgba(255,255,255,.55); font-size: .7rem; line-height: 1.35; }
.sun { background: #f3c653; } .nature { background: #56a875; } .air { background: #9bd9e7; } .ocean { background: #278ec1; } .earth { background: #dc715e; }

.name-meaning { position: relative; overflow: hidden; padding: 104px 0; color: var(--navy-deep); background: linear-gradient(145deg, #da713f 0%, #e68349 52%, #ca5d35 100%); isolation: isolate; }
.name-meaning::before { content: ''; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 12% 16%, rgba(255,224,154,.22), transparent 33%), radial-gradient(circle at 88% 82%, rgba(112,42,24,.17), transparent 37%); }
.name-meaning-pattern { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; pointer-events: none; }
.name-meaning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.word-entry { min-width: 0; height: 100%; padding: clamp(32px, 4vw, 50px); border: 1px solid rgba(255,255,255,.56); border-radius: 26px; background: rgba(255,249,234,.92); box-shadow: 0 24px 60px rgba(84,31,17,.18); backdrop-filter: blur(5px); }
.word-entry-header { display: flex; gap: 22px; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid rgba(7,52,95,.16); }
.word-entry h2 { color: var(--navy); font-size: clamp(2.7rem, 4.8vw, 4.4rem); }
.pronunciation { margin: 8px 0 0 !important; color: var(--ocean) !important; font-size: .82rem !important; font-weight: 700; letter-spacing: .13em; }
.language { margin-top: 9px; padding: 7px 13px; border: 1px solid rgba(7,52,95,.18); border-radius: 999px; color: var(--navy); background: rgba(255,255,255,.48); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.word-entry > p { color: #3e5361; line-height: 1.72; }
.word-entry > p:first-of-type { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; }
.word-entry strong { color: var(--navy); }
.definition-list { display: grid; gap: 14px; margin: 26px 0 0; padding-left: 24px; color: #3e5361; }
.definition-list li { padding-left: 7px; line-height: 1.62; }
.definition-list li::marker { color: var(--coral); font-weight: 800; }
.definition-list em { color: var(--navy); font-weight: 700; }
.together-label { margin-top: 32px; color: var(--navy) !important; font-size: .77rem !important; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.work { background: linear-gradient(180deg, #f7fbfc 0%, #fff 75%); }
.work-heading { display: grid; justify-items: center; text-align: center; margin-bottom: 58px; }
.work-heading .eyebrow { margin-bottom: 12px; }
.work-heading > span { width: 72px; height: 3px; margin-top: 24px; border-radius: 99px; background: var(--gold); }
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.project-card { position: relative; min-height: 405px; grid-column: span 2; display: flex; flex-direction: column; align-items: center; overflow: hidden; padding: 30px 28px 34px; border: 2px solid rgba(226,170,71,.88); border-radius: 20px; text-align: center; background: linear-gradient(150deg, #fff9e4 0%, #ffedb7 58%, #ffe09a 100%); box-shadow: 0 12px 32px rgba(123,83,24,.13), inset 0 0 34px rgba(255,216,135,.24); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:nth-child(4), .project-card:nth-child(5) { grid-column: span 3; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 24px 70px rgba(123,83,24,.2), inset 0 0 34px rgba(255,216,135,.3); }
.project-card h3 { min-height: 58px; display: grid; place-items: center; margin: 0 0 18px; color: var(--navy); font-family: 'Avenir Next', Avenir, 'Trebuchet MS', system-ui, sans-serif; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: .02em; line-height: 1.1; text-transform: uppercase; }
.project-icon { height: 104px; display: grid; place-items: center; margin-bottom: 17px; color: var(--navy); }
.project-icon svg { width: 106px; height: 84px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.project-card p:last-child { max-width: 430px; margin: 0; color: var(--ink); line-height: 1.48; }

.purpose-banner { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; padding: 88px 0; color: white; text-align: center; background: #d98562 url('/assets/purpose-sunset.png') center / cover no-repeat; isolation: isolate; }
.purpose-banner::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(3,40,68,.03), rgba(3,40,68,.12)); }
.purpose-inner { display: flex; flex-direction: column; align-items: center; }
.purpose-inner img { width: 104px; filter: brightness(0) invert(1); opacity: .96; }
.purpose-inner .eyebrow { margin: 18px 0 16px; color: white; text-shadow: 0 2px 14px rgba(3,40,68,.42); }
.purpose-inner h2 { max-width: 1040px; color: white; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.12; text-shadow: 0 3px 24px rgba(3,40,68,.58); }
.purpose-values { display: flex; gap: 20px; align-items: center; justify-content: center; margin-top: 34px; color: rgba(255,255,255,.96); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(3,40,68,.55); }
.purpose-values i { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: #ffe09a; box-shadow: 0 1px 7px rgba(3,40,68,.35); }

.contact { padding: 72px 0; background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 82px; align-items: center; }
.contact h2 { max-width: 620px; font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: 1.1; }
.contact-copy > p:last-child { color: var(--muted); font-size: 1.1rem; }
.contact-form { display: grid; gap: 13px; min-width: 0; padding: 22px 24px; border: 1px solid rgba(7,52,95,.11); border-radius: 22px; background: white; box-shadow: 0 18px 55px rgba(3,40,68,.08); }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contact-form label { display: grid; gap: 5px; min-width: 0; color: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(7,52,95,.18); border-radius: 10px; color: var(--ink); background: #fbfdfe; font: inherit; font-size: 1rem; line-height: 1.4; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form input { min-height: 42px; padding: 8px 11px; }
.contact-form textarea { min-height: 82px; padding: 9px 11px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ocean); background: white; box-shadow: 0 0 0 3px rgba(10,106,152,.12); }
.contact-form-actions { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-top: 2px; }
.contact-submit { min-height: 42px; padding: 0 24px; border: 0; border-radius: 999px; color: var(--navy-deep); background: #ffd887; font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.contact-submit:hover { transform: translateY(-2px); background: #ffe39e; }
.contact-submit:focus-visible { outline: 3px solid rgba(10,106,152,.3); outline-offset: 3px; }
.contact-form-actions small { color: var(--muted); font-size: .72rem; }

.site-footer { position: relative; overflow: hidden; padding: 54px 0 190px; color: white; background: linear-gradient(180deg, #06385d, #02243d); }
.site-footer > *:not(.footer-botanicals) { position: relative; z-index: 1; }
.footer-botanicals { position: absolute; z-index: 0; inset: auto 0 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: .28; pointer-events: none; }
.footer-main { display: grid; grid-template-columns: 1fr auto 1fr; gap: 42px; align-items: center; padding-block: 12px 22px; }
.footer-contact { display: grid; gap: 12px; justify-self: start; }
.footer-contact a, .footer-contact p { display: flex; gap: 12px; align-items: center; margin: 0; color: rgba(255,255,255,.88); }
.footer-contact svg { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: #ffd17b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact a:hover span { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-center { display: grid; gap: 14px; justify-items: center; text-align: center; }
.footer-policy { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; justify-content: center; }
.footer-policy a { color: rgba(255,255,255,.74); font-size: .86rem; text-align: center; }
.footer-policy a:hover { color: #fff; }
.footer-copyright { color: rgba(255,255,255,.45); font-size: .76rem; }
.footer-logo { width: 102px; height: 102px; justify-self: end; object-fit: contain; filter: brightness(0) invert(1); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Policy pages */
.policy-page { min-height: 100vh; background: #f7fbfc; }
.policy-header { position: static; height: 82px; color: var(--navy); background: white; border-bottom: 1px solid var(--line); }
.policy-header .brand img { filter: none; }
.policy-header .site-nav a { color: var(--navy); }
.policy-main { padding: 88px 0 120px; }
.policy-shell { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
.policy-back { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 36px; color: var(--ocean); font-weight: 700; }
.policy-main h1 { margin: 0 0 12px; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.policy-updated { margin: 0 0 48px; color: var(--muted); }
.policy-content { padding: clamp(28px, 6vw, 58px); border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 18px 60px rgba(3,40,68,.06); }
.policy-content h2 { margin: 42px 0 12px; color: var(--navy); font-size: 1.6rem; letter-spacing: -.02em; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { color: #4f6575; }
.policy-content ul { padding-left: 22px; }
.policy-content a { color: var(--ocean); text-decoration: underline; text-underline-offset: 3px; }
.policy-note { margin: 0 0 30px; padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; color: var(--ink) !important; background: #fff8e7; }

@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .intro, .mark-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .name-meaning { padding: 86px 0; }
  .name-meaning-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-copy { padding-top: 0; }
  .mark-visual { order: 2; }
  .logo-orbit { max-width: 340px; }
  .project-card { grid-column: span 3; }
  .project-card:nth-child(4), .project-card:nth-child(5) { grid-column: span 3; }
  .footer-main { gap: 26px; }
  .footer-policy { gap: 12px 20px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { height: 74px; padding-inline: 16px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { display: none; }
  .nav-toggle { display: block; z-index: 2; cursor: pointer; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: grid; place-content: center; gap: 26px; text-align: center; color: white; background: rgba(3,40,68,.98); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav a { font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; font-weight: 500; }
  .site-header.menu-visible { color: white; }
  .site-header.menu-visible .brand img { filter: brightness(0) invert(1); }
  .hero { min-height: 700px; height: 100svh; background-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(1,31,58,.88), rgba(2,44,76,.44)), linear-gradient(0deg, rgba(3,40,68,.62), transparent 46%); }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .hero-content { padding-top: 0; }
  .hero-copy { font-size: 1.02rem; line-height: 1.55; }
  .hero-actions { margin-top: 28px; }
  .button { width: 100%; }
  .hero-note { display: none; }
  .element-list { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .name-meaning { padding: 68px 0; }
  .name-meaning-pattern { opacity: .3; }
  .word-entry { padding: 28px 24px 32px; border-radius: 20px; }
  .word-entry-header { align-items: flex-end; margin-bottom: 24px; padding-bottom: 20px; }
  .word-entry h2 { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .language { margin-bottom: 4px; }
  .word-entry > p { font-size: .96rem; }
  .definition-list { gap: 12px; padding-left: 21px; font-size: .92rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:nth-child(4), .project-card:nth-child(5) { grid-column: auto; min-height: 370px; }
  .purpose-banner { min-height: 580px; padding: 72px 0; background-position: 57% center; }
  .purpose-inner h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .purpose-values { max-width: 310px; flex-wrap: wrap; gap: 10px 14px; margin-top: 28px; }
  .contact { padding: 54px 0; }
  .contact-form { padding: 20px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-contact { justify-self: center; justify-items: start; }
  .footer-policy { max-width: 420px; gap: 14px 22px; }
  .footer-logo { justify-self: center; }
  .policy-header .site-nav { display: none; }
  .policy-main { padding-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
