/* Creative Flux Studio — glass + red, minimal */
:root {
  --bg: #0b0708;
  --bg-2: #120a0c;
  --text: #f5eeee;
  --muted: #b3a3a5;
  --red: #e5202e;
  --red-2: #ff4b55;
  --wine: #7a0f1c;
  --rose: #ff8a8f;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .1);
  --line-red: rgba(229, 32, 46, .45);
  --radius: 20px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --head: 'Unbounded', 'Manrope', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .6rem; }
h3 { font-size: 1.1rem; font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: .82rem; color: var(--muted); }
.red { color: var(--red-2); }
.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 60ch; }
.accent {
  background: linear-gradient(100deg, var(--red-2), var(--red) 45%, var(--rose));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; margin-top: 2.5rem; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.ic { flex-shrink: 0; }

/* background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(ellipse at top, var(--bg-2), var(--bg) 60%); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; background: var(--red); top: -180px; left: -140px; opacity: .35; }
.o2 { width: 420px; height: 420px; background: var(--wine); top: 30%; right: -160px; animation-delay: -6s; }
.o3 { width: 360px; height: 360px; background: #ff5a3c; bottom: -160px; left: 30%; opacity: .18; animation-delay: -12s; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .25;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

/* glass */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; color: var(--text);
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: linear-gradient(135deg, var(--red-2), var(--red) 55%, var(--wine)); box-shadow: 0 10px 30px -10px var(--red); }
.btn-red:hover { box-shadow: 0 14px 40px -8px var(--red); }
.btn-glass:hover { border-color: var(--line-red); background: var(--glass-2); }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }

/* nav */
.nav-wrap { position: sticky; top: 14px; z-index: 50; padding-inline: 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .7rem .6rem 1rem; border-radius: 999px; margin-top: 14px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 500; font-size: 1.02rem; }
.brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(229, 32, 46, .5)); }
.brand b { color: var(--red-2); font-weight: 700; }
.nav-links { display: flex; list-style: none; gap: .2rem; }
.nav-links a { padding: .5rem .9rem; border-radius: 999px; font-size: .92rem; color: var(--muted); transition: .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: var(--glass-2); }
.nav-links a.on { box-shadow: inset 0 0 0 1px var(--line-red); }
.nav-cta { display: flex; align-items: center; gap: .5rem; }
.burger { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: .4rem; }
.only-mobile { display: none; }

/* toasts */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); top: 90px; z-index: 60; display: grid; gap: .5rem; width: auto; }
.toast { display: flex; align-items: center; gap: .5rem; padding: .8rem 1.2rem; border-radius: 14px; border-color: var(--line-red); animation: toast 5s forwards; }
@keyframes toast { 0% { opacity: 0; transform: translateY(-10px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; visibility: hidden; } }

/* sections */
.section { padding: 5.5rem 0; }
.section.tight { padding: 2.5rem 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red-2); margin-bottom: .9rem; }
.sec-head { max-width: 640px; margin-bottom: 2.8rem; }

/* hero */
.hero { padding: 5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { margin: 1.2rem 0; }
.hero .lead { margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.badge { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.logo-stage { position: absolute; inset: 8%; border-radius: 36px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08); }
.logo-stage img { width: 58%; filter: drop-shadow(0 0 30px rgba(229, 32, 46, .65)); animation: float 6s ease-in-out infinite; position: relative; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-red); }
.r1 { width: 70%; aspect-ratio: 1; animation: spin 24s linear infinite; border-style: dashed; opacity: .6; }
.r2 { width: 92%; aspect-ratio: 1; opacity: .25; }
.float-card { position: absolute; display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 14px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.float-card .ic { color: var(--red-2); }
.fc1 { top: 4%; left: -4%; }
.fc2 { bottom: 16%; left: -8%; animation-delay: -2s; }
.fc3 { top: 38%; right: -6%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* socials */
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; transition: .25s; }
.socials a:hover { color: var(--red-2); border-color: var(--line-red); transform: translateY(-3px); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-radius: var(--radius); padding: 1.8rem; gap: 1rem; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--red-2); }
.stat span { color: var(--muted); font-size: .9rem; }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card { border-radius: var(--radius); padding: 1.6rem; transition: transform .3s, border-color .3s, background .3s; position: relative; overflow: hidden; }
a.card:hover { transform: translateY(-4px); border-color: var(--line-red); background: var(--glass-2); }
.card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 32, 46, .12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::after { opacity: 1; }
.ic-box { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--red-2); background: rgba(229, 32, 46, .1); border: 1px solid var(--line-red); margin-bottom: 1.2rem; }
.service h3 { margin-bottom: .5rem; }
.service p { font-size: .95rem; margin-bottom: 1.2rem; }
.more { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 700; color: var(--red-2); }
a.card:hover .more .ic { transform: translateX(3px); }
.more .ic { transition: transform .25s; }

.project, .post { padding: 0; }
.thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--bg-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.card:hover .thumb img { transform: scale(1.05); }
.thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(229, 32, 46, .35), transparent 60%), linear-gradient(135deg, #1a0d10, #0d0809); }
.thumb-ph img { width: 30%; height: auto; opacity: .9; filter: drop-shadow(0 0 20px rgba(229, 32, 46, .6)); }
.chip { position: absolute; top: 12px; left: 12px; padding: .3rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(11, 7, 8, .6); border: 1px solid var(--line-red); backdrop-filter: blur(10px); }
.project-body { padding: 1.3rem 1.4rem 1.5rem; }
.project-body h3 { margin: .2rem 0 .45rem; }
.project-body p { font-size: .93rem; margin-bottom: .6rem; }

/* about */
.about-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.about-split p { margin-bottom: 1.6rem; }
.mission { border-color: var(--line-red); background: linear-gradient(160deg, rgba(229, 32, 46, .14), var(--glass) 60%); }
.mission p { font-size: 1.15rem; margin: 0; font-weight: 500; }

.member { text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 2px solid var(--line-red); }
.avatar.ph { display: grid; place-items: center; font-family: var(--head); font-size: 1.6rem; color: var(--red-2); background: rgba(229, 32, 46, .1); }
.member p { font-size: .9rem; margin-top: .6rem; }
.member-links { display: flex; justify-content: center; gap: .6rem; margin-top: .8rem; color: var(--muted); }
.member-links a:hover { color: var(--red-2); }

/* partners */
.partners-label { text-align: center; color: var(--muted); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.partner { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.6rem .9rem 1rem; border-radius: 18px; font-family: var(--head); font-weight: 500; color: var(--muted); transition: .25s; }
.partner img { height: 64px; width: auto; transition: transform .3s; }
a.partner[href]:hover img { transform: rotate(-4deg) scale(1.05); }
a.partner[href]:hover { color: var(--text); border-color: var(--line-red); }

/* page hero */
.page-hero { padding: 5rem 0 2rem; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1rem; max-width: 20ch; }
.page-hero .center h1, .page-hero .center .lead { margin-inline: auto; }
.page-hero .center .btn { margin-top: 2rem; }

/* detail */
.detail-split { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: start; }
.prose { font-size: 1.05rem; color: #e6dcdd; }
.prose p { margin-bottom: 1.1rem; }
.prose a { color: var(--red-2); text-decoration: underline; }
.cover { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; padding: 0; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.5rem; }
.checks li { display: flex; gap: .6rem; align-items: center; padding: .85rem 1rem; border-radius: 14px; font-size: .95rem; }
.checks .ic { color: var(--red-2); }
.aside-title { margin-bottom: 1rem; }
aside { position: sticky; top: 110px; }
.meta { display: grid; gap: 1.1rem; }
.meta b { display: block; font-weight: 600; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters a { padding: .5rem 1.1rem; border-radius: 999px; font-size: .9rem; color: var(--muted); transition: .2s; }
.filters a:hover { color: var(--text); }
.filters a.on { color: var(--text); border-color: var(--line-red); background: rgba(229, 32, 46, .15); }

/* form */
.cta-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.form { border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text);
  background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form select option { background: var(--bg-2); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(229, 32, 46, .2); }
.form .btn { justify-self: start; }
.errorlist { list-style: none; color: var(--rose); font-size: .8rem; }
.contact-list { display: grid; gap: .9rem; }
.contact-list .card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; }
.contact-list .ic-box { margin: 0; }
.contact-list b { display: block; }

/* faq */
.faq { display: grid; gap: .8rem; }
.faq details { border-radius: 16px; padding: 1.1rem 1.4rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-red); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; color: var(--red-2); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: .8rem; }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 3.5rem; background: linear-gradient(to bottom, transparent, rgba(229, 32, 46, .05)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid > div { display: flex; flex-direction: column; gap: .55rem; }
.footer-grid p { font-size: .92rem; max-width: 32ch; margin-top: .6rem; }
.footer h4 { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text); margin-bottom: .4rem; }
.footer-grid a:not(.brand):not(.glass), .footer-grid span { color: var(--muted); font-size: .92rem; display: flex; align-items: center; gap: .45rem; transition: color .2s; }
.footer-grid a:not(.brand):not(.glass):hover { color: var(--red-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.6rem 0; margin-top: 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column;
    padding: .8rem; border-radius: 20px; background: rgba(18, 10, 12, .92); border: 1px solid var(--line);
    backdrop-filter: blur(20px); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8rem 1rem; }
  .nav { position: relative; }
  .burger { display: grid; }
  .only-mobile { display: block; }
  .nav-cta .btn { display: none; }
  .hero-grid, .about-split, .cta-split, .detail-split { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .hero-visual { max-width: 360px; }
  aside { position: static; }
  .section { padding: 4rem 0; }
}
@media (max-width: 600px) {
  .grid3, .grid4, .row2, .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fc1 { left: 0; } .fc2 { left: 0; } .fc3 { right: 0; }
  .float-card { font-size: .75rem; padding: .5rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* founder */
.founder-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.founder-photo { position: relative; aspect-ratio: 4/5; border-radius: 32px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); background: radial-gradient(circle at 30% 20%, rgba(229, 32, 46, .3), transparent 60%), var(--glass); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .r1 { width: 80%; }
.founder-initials { font-family: var(--head); font-size: clamp(4rem, 10vw, 7rem); font-weight: 700; color: var(--red-2); text-shadow: 0 0 40px rgba(229, 32, 46, .6); position: relative; }
.founder-year { position: absolute; bottom: 18px; left: 18px; padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.founder-hero h1 { margin-bottom: .4rem; }
.founder-role { font-weight: 700; color: var(--red-2); margin-bottom: 1.2rem; }
.quote { border-radius: var(--radius); padding: 2rem 2.2rem; border-left: 3px solid var(--red); }
.quote p { font-family: var(--head); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.4; }
.quote cite { display: block; margin-top: 1rem; color: var(--muted); font-style: normal; font-size: .9rem; }
.founder-body { align-items: start; }
.focus { list-style: none; display: grid; gap: .8rem; margin-top: .4rem; }
.focus li { display: flex; gap: .6rem; align-items: center; }
.focus .ic { color: var(--red-2); }
.timeline { list-style: none; position: relative; display: grid; gap: 1.2rem; padding-left: 1.6rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(var(--red), transparent); }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: center; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.6rem - 5px); width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229, 32, 46, .2); }
.tl-year { font-family: var(--head); font-weight: 700; color: var(--red-2); }
.tl-card { padding: 1rem 1.3rem; border-radius: 14px; }
.founder-card { display: flex; gap: 1.6rem; align-items: center; max-width: 820px; }
.founder-card .avatar { margin: 0; flex-shrink: 0; width: 110px; height: 110px; }
.founder-card p { margin: .6rem 0 .8rem; font-size: .95rem; }
@media (max-width: 860px) {
  .founder-hero { grid-template-columns: 1fr; gap: 2rem; }
  .founder-photo { max-width: 340px; }
}
@media (max-width: 600px) {
  .founder-card { flex-direction: column; text-align: center; }
  .timeline li { grid-template-columns: 1fr; gap: .4rem; }
}

/* language switcher */
.lang { display: flex; padding: 3px; border-radius: 999px; gap: 2px; }
.lang a { padding: .3rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; transition: .2s; }
.lang a:hover { color: var(--text); }
.lang a.on { color: var(--text); background: rgba(229, 32, 46, .85); }
@media (max-width: 860px) { .lang a { padding: .3rem .45rem; } }
.brand span { white-space: nowrap; }
@media (max-width: 420px) {
  .brand { font-size: .92rem; gap: .45rem; }
  .brand img { width: 32px; height: 32px; }
  .nav { padding-left: .8rem; }
}
