:root {
  --bg: oklch(62% 0.19 145);
  --bg-dark: oklch(36% 0.13 148);
  --bg-deep: oklch(24% 0.09 151);
  --panel: oklch(28% 0.11 150 / 0.58);
  --white: oklch(100% 0 0);
  --lime: oklch(88% 0.19 119);
  --border: oklch(100% 0 0 / 0.16);
  --muted: oklch(94% 0.025 145 / 0.76);
  --display: "Manrope", "Trebuchet MS", sans-serif;
  --body: "DM Sans", Verdana, sans-serif;
  --radius: 28px;
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--white); background: var(--bg); font-family: var(--body); font-size: 16px; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.section { width: min(100% - 48px, var(--max)); margin-inline: auto; padding-block: clamp(88px, 10vw, 168px); }
.site-header { position: fixed; z-index: 50; top: 14px; left: 50%; width: min(calc(100% - 28px), 1500px); min-height: 64px; padding: 10px 12px 10px 18px; transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid var(--border); border-radius: 18px; background: oklch(24% 0.09 151 / 0.82); backdrop-filter: blur(14px); box-shadow: 0 14px 40px oklch(15% 0.08 150 / .16); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: 26px; }
.desktop-nav a, .header-actions > a, .text-button { padding: 10px 0; border: 0; background: transparent; color: var(--white); cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.desktop-nav a:hover, .header-actions > a:hover, .text-button:hover { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 6px; }
.header-actions { justify-self: end; gap: 18px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .045em; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--lime { background: var(--lime); color: var(--bg-deep); }
.button--lime:hover { background: oklch(82% 0.19 119); }
.button--outline { border-color: oklch(100% 0 0 / .5); background: transparent; color: var(--white); }
.button--outline:hover { border-color: var(--lime); background: oklch(24% 0.09 151 / .22); }
.button--compact { min-height: 42px; padding-inline: 18px; font-size: 12px; }
.menu-toggle, .mobile-menu { display: none; }
.hero { min-height: 100svh; padding-top: 130px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.hero-art { min-width: 0; animation: float 5s ease-in-out infinite; }
.hero-art img, .section-art img, .whale-art img, .community-art img { width: 100%; max-height: 720px; object-fit: contain; transition: transform .35s ease-out; }
.eyebrow, .section-number { display: inline-block; margin-bottom: 24px; font-size: 12px; font-weight: 600; letter-spacing: .09em; }
.eyebrow { padding: 8px 13px; border: 1px solid var(--border); border-radius: 999px; background: oklch(24% 0.09 151 / .22); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .94; text-wrap: balance; }
h1 { font-size: clamp(76px, 9.4vw, 154px); }
h2 { font-size: clamp(48px, 6.8vw, 106px); }
h3 { font-size: clamp(25px, 2.1vw, 38px); }
.hero-tagline { margin: 28px 0 34px; font-family: var(--display); font-size: clamp(24px, 2.25vw, 38px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.hero-tagline strong { color: var(--lime); font-weight: 800; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.contract { width: min(100%, 580px); margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border: 1px solid var(--border); border-radius: 15px; background: oklch(24% 0.09 151 / .24); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; letter-spacing: .01em; }
.contract span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contract button { margin-left: auto; padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px; background: transparent; color: var(--white); cursor: pointer; font: 700 11px var(--body); letter-spacing: .06em; }
.contract button:hover:not(:disabled) { border-color: var(--lime); background: oklch(24% 0.09 151 / .3); }
.contract button:disabled { opacity: .45; cursor: not-allowed; }
.about, .whale, .community { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(52px, 9vw, 150px); }
.about { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: var(--bg-dark); }
.section-copy p, .community-copy p { max-width: 52ch; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 22px); }
.section-number { color: var(--lime); }
.features { padding-bottom: clamp(110px, 13vw, 200px); }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.section-intro .section-number { align-self: flex-start; }
.section-intro h2 { max-width: 950px; text-align: right; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 620px; padding: 30px 30px 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: transform .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: oklch(88% 0.19 119 / .58); }
.feature-card span { font-size: 12px; letter-spacing: .08em; color: var(--lime); }
.feature-card h3 { margin-top: 20px; }
.feature-card p { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.feature-card img { width: 100%; height: 350px; margin-top: auto; object-fit: contain; object-position: center bottom; }
.whale { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: var(--bg-deep); }
.whale-copy em { color: var(--lime); font-style: normal; }
.whale-copy p { margin-top: 32px; color: var(--muted); font-size: 20px; }
.community { min-height: 880px; }
.community-art { order: 2; }
.community-copy .button-row { margin-top: 34px; }
.final-cta { position: relative; min-height: 760px; padding-inline: clamp(30px, 7vw, 110px); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-radius: 40px; background: var(--bg-dark); }
.final-cta h2 { font-size: clamp(56px, 7.8vw, 124px); }
.final-cta p { margin: 24px 0 32px; font-size: 20px; color: var(--muted); }
.cta-copy { position: relative; z-index: 2; }
.cta-art { width: 100%; max-height: 680px; object-fit: contain; align-self: end; }
.site-footer { width: min(100% - 48px, var(--max)); margin-inline: auto; padding: 80px 0 28px; }
.footer-main { padding-bottom: 54px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { font: 800 25px var(--display); letter-spacing: -.02em; }
.footer-brand span, .footer-main p, .footer-bottom { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.footer-main nav { justify-self: end; display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 600; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; padding: 12px 18px; transform: translate(-50%, 20px); opacity: 0; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-deep); color: var(--white); font-size: 13px; pointer-events: none; transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.click-ripple { position: fixed; z-index: 200; width: 12px; height: 12px; margin: -6px; border: 2px solid var(--lime); border-radius: 50%; pointer-events: none; animation: ripple .62s ease-out forwards; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes float { 50% { transform: translateY(-7px); } }
@keyframes ripple { to { opacity: 0; transform: scale(3.4); } }
@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-actions { display: none; }
  .menu-toggle { justify-self: end; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 2px; background: var(--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-menu { position: absolute; top: 72px; left: 0; right: 0; padding: 18px; display: grid; gap: 4px; visibility: hidden; opacity: 0; transform: translateY(-8px); border: 1px solid var(--border); border-radius: 18px; background: var(--bg-deep); transition: .2s ease; }
  .mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
  .mobile-menu a, .mobile-menu .text-button { min-height: 48px; padding: 13px 10px; text-align: left; }
  .mobile-menu .button { margin-top: 8px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; min-height: 500px; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section, .site-footer { width: min(100% - 32px, var(--max)); }
  .site-header { top: 8px; width: calc(100% - 16px); }
  .hero { min-height: auto; padding-top: 118px; grid-template-columns: 1fr; gap: 28px; }
  .hero-art { min-height: 340px; display: grid; place-items: center; }
  .hero-art img { max-height: 420px; }
  .hero-copy { text-align: center; }
  .hero-copy .button-row { justify-content: center; }
  .contract { margin-inline: auto; text-align: left; }
  h1 { font-size: clamp(62px, 22vw, 102px); }
  h2 { font-size: clamp(43px, 13vw, 72px); line-height: .98; }
  .about, .whale, .community { grid-template-columns: 1fr; gap: 38px; }
  .about, .whale { padding-inline: 16px; }
  .section-art, .whale-art, .community-art { min-height: 340px; display: grid; place-items: center; }
  .section-copy br { display: none; }
  .section-intro { display: block; }
  .section-intro h2 { text-align: left; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:last-child { grid-column: auto; min-height: 560px; display: flex; }
  .feature-card img { height: 320px; }
  .community-art { order: 0; }
  .final-cta { width: calc(100% - 32px); min-height: 720px; padding: 70px 22px 0; grid-template-columns: 1fr; text-align: center; }
  .final-cta h2 { font-size: clamp(52px, 15vw, 78px); }
  .cta-art { max-height: 390px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .footer-main nav { justify-self: start; }
  .footer-main p { margin: 0; }
}
@media (max-width: 430px) {
  .brand img { width: 38px; height: 38px; }
  .hero-tagline { font-size: 24px; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 54px; }
  .contract { gap: 8px; padding-left: 13px; }
  .feature-card { padding: 24px 22px 0; }
  .footer-main nav { flex-wrap: wrap; gap: 20px; }
  .footer-bottom { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
