/* Ocean Flo Martial Arts Academy — coming-soon site (ARTWERKS). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-var.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-var.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/fraunces-italic-var.woff2) format('woff2'); }

:root {
  --abyss: #05143a; --navy: #0c305d; --ocean: #016993; --teal: #178c92; --aqua: #3ad0bd; --aqua-soft: #9fe6db;
  --foam: #e8f5f3; --sand: #f5f0e7; --salt: #fbfbf8; --ink: #0b1526; --ink-soft: #2a3a52; --mist: #a9bdcb; --mist-soft: #d7e3ea;
  --line: rgba(12, 48, 93, .14); --line-dark: rgba(255, 255, 255, .14);
  --head: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif; --body: 'Inter', 'Helvetica Neue', Arial, sans-serif; --flow: 'Fraunces', Georgia, serif;
  --radius: 22px; --header-h: 76px; --shell: min(100% - 8vw, 1240px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--salt); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 22px; }
h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 10px; }
h1 em, h2 em { font-family: var(--flow); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--aqua); }
.on-foam h2 em { color: var(--ocean); }
p { max-width: 62ch; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-soft); }
.on-dark .lead, .week .lead { color: var(--mist-soft); }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(84px, 10vw, 140px); position: relative; }
.on-dark { background: var(--abyss); color: #f2f7f8; }
.on-dark p { color: var(--mist-soft); }
.on-foam { background: var(--foam); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.on-dark .eyebrow, .week .eyebrow, .hero .eyebrow { color: var(--aqua); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; padding: 12px 18px; background: #fff; color: var(--ink); border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
::selection { background: var(--aqua); color: var(--abyss); }
[hidden] { display: none !important; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--head); font-weight: 700; font-size: 16px; white-space: nowrap; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--aqua); color: var(--abyss); box-shadow: 0 12px 30px -12px rgba(58, 208, 189, .7); }
.button--primary:hover { background: #5ee0cf; }
.button--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.button svg { width: 18px; height: 18px; }
.button[disabled] { opacity: .6; cursor: progress; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.top { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: rgba(5, 20, 58, .78); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line-dark); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--mist); }
.top .button { min-height: 44px; padding-inline: 20px; font-size: 15px; }

.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: flex-end; background: var(--abyss); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media img { object-position: center 60%; transform: scale(1.06); animation: drift 18s ease-in-out infinite alternate; }
.hero__current { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .9; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,20,58,.25) 0%, rgba(5,20,58,.3) 40%, rgba(5,20,58,.86) 78%, var(--abyss) 100%); }
.hero__veil::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 35%, rgba(58,208,189,.22), transparent 70%); }
.hero__inner { position: relative; z-index: 2; padding: 120px 0 40px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(48px, 7.6vw, 108px); margin-bottom: 26px; max-width: 12ch; text-wrap: balance; }
.hero .lead { color: var(--mist-soft); max-width: 56ch; margin-bottom: 34px; }
.hero__mark { justify-self: end; align-self: center; position: relative; width: min(100%, 360px); }
.hero__mark img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); animation: bob 7s ease-in-out infinite; }
.hero__mark::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(58,208,189,.35), transparent 65%); filter: blur(20px); }
.hero__facts { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 0 36px; padding: 26px 0 40px; border-top: 1px solid var(--line-dark); font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--mist); }
.hero__facts b { color: #fff; font-weight: 800; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1.12) translate3d(-1.5%, -2%, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.tide { background: var(--navy); color: #fff; overflow: hidden; border-block: 1px solid var(--line-dark); }
.tide__track { display: flex; width: max-content; animation: tide 42s linear infinite; }
.tide__group { display: flex; align-items: center; gap: 44px; padding: 18px 22px; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.tide__group span { display: inline-flex; align-items: center; gap: 44px; }
.tide__group span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
@keyframes tide { to { transform: translateX(-50%); } }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split > * { min-width: 0; }
.split--reverse > .art { order: -1; }
.art { position: relative; border-radius: calc(var(--radius) * 1.4); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(5,20,58,.5); margin: 0; }
.art--landscape { aspect-ratio: 4 / 3; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; font-family: var(--head); font-weight: 600; font-size: 13px; color: #fff; background: rgba(5,20,58,.55); padding: 8px 12px; border-radius: 10px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); width: max-content; max-width: calc(100% - 44px); }

.programs { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.programs li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.programs b { font-family: var(--head); font-weight: 700; font-size: 17px; }
.programs span { font-size: 15px; color: var(--ink-soft); }
.roots { margin: 22px 0; font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--mist); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: none; }
.roots span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); padding: 5px 9px; border: 1px solid rgba(58,208,189,.4); border-radius: 999px; }

.week { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--abyss) 60%, #031029); color: #fff; }
.week__current { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; mix-blend-mode: screen; pointer-events: none; }
.week .shell { position: relative; }
.steps { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--head); font-weight: 800; font-size: 14px; color: var(--aqua); border: 1px solid rgba(58,208,189,.5); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }
.steps b { display: block; font-family: var(--head); font-weight: 700; color: #fff; }
.steps span { font-size: 15px; color: var(--mist-soft); }
.where { margin-top: 34px; font-style: normal; font-size: 15px; color: var(--mist-soft); line-height: 1.6; }
.where b { font-family: var(--head); font-weight: 700; color: #fff; }
.card-form { padding: clamp(24px, 3vw, 38px); border-radius: calc(var(--radius) * 1.2); background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); margin: 0; }
.card-form h3 { font-size: 24px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--mist-soft); }
.field input, .field select { width: 100%; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(5,20,58,.5); color: #fff; font-family: var(--body); font-weight: 400; font-size: 16px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fe6db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input.is-invalid { border-color: #ff8a8a; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-form .button { width: 100%; margin-top: 6px; }
.card-form__note { margin: 14px 0 0; font-size: 12.5px; color: var(--mist); }
.card-form__note.is-error { color: #ffb4b4; }
.card-form__done { text-align: center; padding: 20px 0 8px; }
.card-form__done .ring { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: var(--abyss); animation: pop .6s cubic-bezier(.2,.8,.2,1); }
.card-form__done .ring svg { width: 44px; height: 44px; }
.card-form__done p { color: var(--mist-soft); margin-inline: auto; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.footer { background: var(--abyss); color: var(--mist); padding: 64px 0 36px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; align-items: start; }
.footer__grid img { width: 200px; }
.footer p { margin: 14px 0 0; max-width: 40ch; font-size: 14.5px; line-height: 1.7; }
.footer h4 { font-family: var(--head); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 0; }
.footer a { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .top .button { min-height: 40px; padding-inline: 16px; font-size: 14px; }
  .brand small { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding: 90px 0 30px; }
  .hero__mark { display: none; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 72px); }
  .split { grid-template-columns: 1fr; }
  .split--reverse > .art { order: 0; }
  .art { aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .eyebrow { font-size: 12px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__facts { gap: 10px 22px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__current, .week__current { display: none; }
}
