/* Liposomee Management — navy, teal and gold from the maze logo. Font self-hosted (Montserrat, SIL OFL). */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root { --navy: #10243f; --deep: #07213a; --teal: #3db5c0; --gold: #e9a948; --muted: #6b7a8c; --line: #e3e7ec; --paper: #fff; --cycle: 8s; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: radial-gradient(70rem 30rem at 50% -8rem, rgba(61, 181, 192, .10), transparent 70%), radial-gradient(60rem 26rem at 50% calc(100% + 8rem), rgba(233, 169, 72, .10), transparent 70%), var(--paper); color: var(--navy); font: 400 16px/1.6 "Montserrat", "Helvetica Neue", Arial, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }

main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(3rem, 10vh, 6rem) clamp(1rem, 4vw, 2.5rem) 2rem; display: flex; flex-direction: column; align-items: center; gap: clamp(3rem, 9vh, 5.5rem); }
.logo { margin: 0; width: min(26rem, 80vw); animation: rise 1.2s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* Four work areas side by side. Every 2 s the next tile zooms in slightly and shows its caption. */
.areas { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 2vw, 1.6rem); }
.areas figure { margin: 0; }
.areas .pic { border-radius: 14px; overflow: hidden; background: var(--deep); box-shadow: 0 6px 18px rgba(7, 33, 58, .18); animation: lift var(--cycle) ease-in-out infinite; }
.areas img { animation: zoom var(--cycle) ease-in-out infinite; }
.areas figcaption { min-height: 4.6em; padding-top: 1.1rem; text-align: center; font-weight: 600; font-size: clamp(.72rem, 1.15vw, .88rem); text-transform: uppercase; letter-spacing: .12em; line-height: 1.45; opacity: 0; animation: caption var(--cycle) ease-in-out infinite; }
.areas figcaption span { display: block; width: max-content; margin: 0 auto .55rem; padding-top: .55rem; font-weight: 500; font-size: .72rem; letter-spacing: .2em; color: var(--muted); border-top: 2px solid; border-image: linear-gradient(90deg, var(--teal), var(--gold)) 1; }
.areas li:nth-child(2) * { animation-delay: calc(var(--cycle) / 4); }
.areas li:nth-child(3) * { animation-delay: calc(var(--cycle) / 2); }
.areas li:nth-child(4) * { animation-delay: calc(var(--cycle) * 3 / 4); }
@keyframes zoom    { 0%, 25%, 100% { transform: scale(1); } 5%, 20% { transform: scale(1.07); } }
@keyframes lift    { 0%, 25%, 100% { box-shadow: 0 6px 18px rgba(7, 33, 58, .18); } 5%, 20% { box-shadow: 0 14px 34px rgba(7, 33, 58, .32); } }
@keyframes caption { 0%, 25%, 100% { opacity: 0; transform: translateY(6px); } 5%, 20% { opacity: 1; transform: none; } }

@media (max-width: 720px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .areas figcaption { opacity: 1; }
}

.legal { text-align: center; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 1.6rem 1rem 2rem; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--navy); }

/* Legal pages */
.doc { flex: 1; width: 100%; max-width: 44rem; margin: 0 auto; padding: 3rem 1.5rem 1rem; display: block; }
.doc .doc-logo { width: 12rem; margin-bottom: 2.5rem; }
.doc h1 { font-weight: 600; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 1.8rem; }
.doc h2 { font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin: 2rem 0 .5rem; }
.doc p { margin: 0 0 1rem; font-size: .95rem; }
.todo { background: #fff3c4; padding: 0 .25rem; }
/* Thin teal-to-gold line under the logo, echoing the maze colours. */
main > .logo::after { content: ""; display: block; width: 5rem; height: 2px; margin: clamp(2rem, 5vh, 3rem) auto 0; background: linear-gradient(90deg, var(--teal), var(--gold)); border-radius: 2px; }
