/* Kretivco option 3: scroll builds the work */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --bg: #100904; --s: #1e150d; --ink: #f7f3ee; --mu: #b9ab9b; --dim: #6f6357; --gold: #ffc766; --gold-ink: #1a1206;
  --gut: 80px; --nav: 72px; --ease: cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 1199px) { :root { --gut: 48px; } }
@media (max-width: 639px) { :root { --gut: 24px; --nav: 56px; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
a { color: inherit; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 8px; }

.nav { position: fixed; inset: 0 0 auto; height: var(--nav); z-index: 30; display: flex; align-items: center; gap: 32px; padding: 0 var(--gut);
  background: rgba(16, 9, 4, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(247, 243, 238, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 "Inter Tight", sans-serif; letter-spacing: -.02em; }
.brand img { width: 28px; height: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--mu); font-size: 15px; transition: color .2s; } .nav__links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 12px; background: var(--gold); color: var(--gold-ink);
  font: 600 16px/1 "Inter", sans-serif; text-decoration: none; transition: transform .2s var(--ease), filter .2s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); } .btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn--xl { height: 56px; padding: 0 30px; font-size: 18px; }
@media (max-width: 639px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 479px) { .nav { gap: 12px; } .brand { font-size: 16px; gap: 8px; white-space: nowrap; } .brand img { width: 24px; } .nav .btn { padding-inline: 14px; white-space: nowrap; } }   /* the full company name still fits beside the button */
@media (max-width: 379px) { .nav { gap: 8px; padding-inline: 16px; } .brand { font-size: 15px; gap: 7px; } .brand img { width: 22px; } .nav .btn { padding-inline: 11px; font-size: 14px; height: 40px; } }

/* Hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav) + 48px) var(--gut) 64px;
  background: radial-gradient(60% 50% at 50% 42%, rgba(255, 199, 102, .12), transparent 70%); }
.hero__k { width: 72px; height: auto; margin-bottom: 32px; }
.hero h1 { font-size: clamp(48px, 8vw, 112px); }
.hero__lead { color: var(--mu); font-size: clamp(18px, 1.6vw, 22px); margin: 24px 0 32px; max-width: 30em; }
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero__chips a { text-decoration: none; height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(247, 243, 238, .22); color: var(--ink); font-size: 15px; transition: border-color .2s, background .2s; }
.hero__chips a:hover { border-color: var(--gold); background: rgba(255, 199, 102, .08); }
.hero__hint { margin: 56px 0 0; color: var(--dim); font-size: 14px; letter-spacing: .02em; }
.hero__hint::after { content: ""; display: block; width: 1px; height: 40px; margin: 12px auto 0; background: linear-gradient(var(--dim), transparent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Build chapter */
.build { height: 320svh; position: relative; }
.build__pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(300px, 1fr) 2.3fr; gap: 56px; align-items: center; padding: calc(var(--nav) + 32px) var(--gut) 40px; }
.build__label { margin: 0 0 14px; color: var(--gold); font: 600 14px/1 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.build h2 { font-size: clamp(36px, 3.6vw, 56px); margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--dim); font-size: 17px; transition: color .4s ease; }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 1px; font: 600 14px/1.6 "Inter", sans-serif; color: var(--dim); transition: color .4s ease; }
.steps li b { display: block; font: 600 22px/1.25 "Inter Tight", sans-serif; letter-spacing: -.02em; color: var(--dim); transition: color .4s ease; }
.steps li.is-on, .steps li.is-on b { color: var(--ink); } .steps li.is-on::before { color: var(--gold); }
.steps li.is-done, .steps li.is-done b { color: var(--mu); }
.build__bar { height: 2px; margin: 32px 0 24px; background: rgba(247, 243, 238, .1); border-radius: 2px; overflow: hidden; }
.build__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.build__more { color: var(--gold); text-decoration: none; font-weight: 600; } .build__more:hover { text-decoration: underline; }
.build__vis { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0a0603; box-shadow: 0 40px 120px rgba(0, 0, 0, .55); }
.build__vis canvas, .build__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.build__poster { opacity: 0; } /* shown only without scripts or under reduced motion */
html:not(.js) .build__poster, html.calm .build__poster { opacity: 1; }
html:not(.js) .build, html.calm .build { height: auto; }
html:not(.js) .build__pin, html.calm .build__pin { position: static; height: auto; min-height: 100svh; }
html:not(.js) .steps li, html.calm .steps li, html:not(.js) .steps li b, html.calm .steps li b { color: var(--ink); }

/* Alternate sides so each chapter feels new */
.build--flip .build__pin { grid-template-columns: 2.3fr minmax(300px, 1fr); }
.build--flip .build__text { order: 2; }
@media (min-width: 1200px) { .build--flip .build__pin { padding-right: 132px; } }

/* Tall screens: picture on top, one step at a time underneath */
@media (max-aspect-ratio: 1/1), (max-width: 899px) {
  .build__pin { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 28px; align-content: center; padding-top: calc(var(--nav) + 16px); padding-bottom: 24px; }
  .build--flip .build__pin, .build__pin { grid-template-columns: 1fr; }
  .build--flip .build__text { order: 0; }
  .build__vis { order: -1; border-radius: 16px; aspect-ratio: 4 / 3; }
  .build h2 { margin-bottom: 20px; font-size: clamp(30px, 7vw, 44px); }
  html.js:not(.calm) .steps { display: block; position: relative; min-height: 4.6em; }
  html.js:not(.calm) .steps li { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .45s var(--ease); }
  html.js:not(.calm) .steps li.is-on { opacity: 1; transform: none; }
  .build__bar { margin: 16px 0; }
}

/* Chapters still in production */
.soon { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--nav) var(--gut) 0; border-top: 1px solid rgba(247, 243, 238, .08); }
.soon h2 { font-size: clamp(36px, 5vw, 72px); }
.soon__note { color: var(--dim); margin: 20px 0 0; }

.closing { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--nav) var(--gut); gap: 20px;
  background: radial-gradient(50% 40% at 50% 50%, rgba(255, 199, 102, .1), transparent 70%); }
.closing h2 { font-size: clamp(44px, 7vw, 96px); } .closing p { color: var(--mu); margin: 0 0 12px; }

/* Chapter index, fixed at the side on wide screens */
.index { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.index.is-on { opacity: 1; pointer-events: auto; }
.index a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; color: var(--dim); font-size: 13px; transition: color .3s; }
.index a::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: background .3s; }
.index a.is-on { color: var(--gold); } .index a.is-on::after { background: var(--gold); }
@media (max-width: 1199px) { .index { display: none; } }

/* Division pages */
:root { --line: rgba(247, 243, 238, .1); }
.hero--div { min-height: 88svh; }
.hero--div h1 { font-size: clamp(44px, 6.4vw, 96px); max-width: 12em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.link { color: var(--ink); text-decoration: none; font-weight: 600; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }
.build--long { height: 400svh; }

.sec { padding: 128px var(--gut); border-top: 1px solid var(--line); }
.sec__head { margin-bottom: 56px; }
.sec h2 { font-size: clamp(36px, 4.4vw, 64px); }
.sec h3 { font: 600 clamp(24px, 2vw, 32px)/1.15 "Inter Tight", sans-serif; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
#more-work { border-top: 0; padding-top: 0; }

.flag { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: stretch; }
.flag__text { display: flex; flex-direction: column; }
.flag__meta, .card__meta { margin: 0 0 12px; color: var(--mu); font-size: 14px; }
.flag__text h3 + p { color: var(--mu); margin: 20px 0 0; max-width: 32em; }
.stats { margin: auto 0 0; padding-top: 40px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; }
.stats dt { font: 500 clamp(30px, 2.6vw, 44px)/1.1 "Inter Tight", sans-serif; letter-spacing: -.02em; color: var(--gold); }
.stats dd { font-size: 14px; color: var(--mu); margin: 4px 0 0; }

.cue { display: flex; flex-direction: column; background: var(--s); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: 15px; }
.cue__bar { display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.cue__app { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 "Inter Tight", sans-serif; }
.cue__app img { width: 20px; height: auto; }
.cue__title { color: var(--mu); }
.cue__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--gold); }
.cue__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.cue__head, .cue__row { display: grid; grid-template-columns: 56px 1.5fr 1fr 1fr 72px; gap: 12px; align-items: center; padding: 0 20px; }
.cue__head { height: 40px; font-size: 13px; font-weight: 500; color: var(--mu); border-bottom: 1px solid var(--line); }
.cue__rows { flex: 1; display: flex; flex-direction: column; }
.cue__row { flex: 1; min-height: 46px; border-bottom: 1px solid var(--line); color: var(--mu); transition: background-color .3s, color .3s; }
.cue__row:last-child { border-bottom: 0; }
.cue__row > span:first-child { font: 500 14px/1 "Inter Tight", sans-serif; }
.cue__row > span { white-space: nowrap; overflow: hidden; }
.cue__st { font-size: 13px; font-weight: 500; }
.cue__st::before { content: "Standby"; }
.cue__row.is-done .cue__st::before { content: "Done"; }
.cue__row.is-live { background: rgba(255, 199, 102, .1); color: var(--ink); }
.cue__row.is-live .cue__st, .cue__row.is-live > span:first-child { color: var(--gold); }
.cue__row.is-live .cue__st::before { content: "Go"; }

/* Empty slots: real photos and logos go here later */
.slot { display: grid; place-items: center; border: 1px dashed rgba(247, 243, 238, .2); border-radius: 16px; background: rgba(247, 243, 238, .02); color: var(--dim); font-size: 13px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.slots .slot { aspect-ratio: 4 / 3; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: block; text-decoration: none; color: inherit; }
.card .slot, .card__img { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.card__img { border-radius: 16px; overflow: hidden; background: #0a0603; }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
a.card { transition: transform .3s var(--ease); } a.card:hover { transform: translateY(-2px); } a.card:hover .card__img img { transform: scale(1.03); }
.card--empty h3, .card--empty .card__meta { color: var(--dim); }

.logos__label { margin: 72px 0 20px; color: var(--mu); font-size: 14px; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logos .slot { height: 72px; border-radius: 12px; }

.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc li { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line); color: var(--mu); }
.svc li b { display: block; margin-bottom: 8px; color: var(--ink); font: 600 22px/1.25 "Inter Tight", sans-serif; letter-spacing: -.02em; }

.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 600 clamp(19px, 1.5vw, 22px)/1.3 "Inter Tight", sans-serif; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 28px/1 "Inter", sans-serif; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -8px 0 24px; color: var(--mu); max-width: 40em; }

@media (max-width: 1023px) {
  .flag { grid-template-columns: 1fr; gap: 40px; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 639px) {
  .sec { padding: 88px var(--gut); }
  .sec__head { margin-bottom: 36px; }
  .stats { gap: 24px; }
  .cue__head, .cue__row { grid-template-columns: 44px 1fr 64px; padding: 0 16px; }
  .cue__opt, .cue__title { display: none; }
  .slots { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .slots .slot:first-child { grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr; gap: 40px; }
  .svc { grid-template-columns: 1fr; }
  .svc li { padding: 24px 0 28px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos .slot:last-child { grid-column: 1 / -1; }
}

/* KretivPrint additions */
.flag--empty { align-items: center; }
.flag--empty h3, .flag--empty .flag__meta, .flag--empty .flag__text h3 + p { color: var(--dim); }
.slot--wide { aspect-ratio: 16 / 10; }
.cards--gap { margin-top: 56px; }
.svc--5 { grid-template-columns: repeat(5, 1fr); }
.svc--5 li { padding-right: 24px; }
.sec__note { margin: 32px 0 0; color: var(--mu); }
@media (max-width: 1199px) { .svc--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1023px) { .svc--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .svc--5 { grid-template-columns: 1fr 1fr; } .svc--5 li { padding: 20px 12px 24px 0; } .svc--5 li b { font-size: 18px; } .cards--gap { margin-top: 40px; } }

/* KretivBrand additions: the Kretivco brand board and the fit list */
.board { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto auto; gap: 12px; padding: 12px; background: var(--s); border: 1px solid var(--line); border-radius: 20px; }
.board > * { border-radius: 12px; }
.board__mark { grid-column: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 220px; background: #f7f3ee; color: #100904; font: 600 26px/1 "Inter Tight", sans-serif; letter-spacing: -.02em; }
.board__mark img { width: 84px; height: auto; }
.board__type { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; background: #0a0603; border: 1px solid var(--line); }
.board__type b { font: 600 112px/.9 "Inter Tight", sans-serif; letter-spacing: -.05em; color: var(--ink); }
.board__type span { color: var(--mu); font-size: 14px; }
.board__sw { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 120px; padding: 14px; background: var(--c); color: #fff; font-size: 14px; font-weight: 600; transition: transform .3s var(--ease); }
.board__sw:hover { transform: translateY(-2px); }
.board__sw code { font: 500 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; opacity: .8; }
.board__sw[style*="FCB03C"] { color: #1a1206; }
.board__sw--ink { border: 1px solid rgba(247, 243, 238, .18); }
.board__mantra { grid-column: 1 / -1; margin: 0; padding: 16px 4px 4px; color: var(--mu); font: 500 15px/1.3 "Inter Tight", sans-serif; }

.fit { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fit li { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.fit__q { font: 600 clamp(20px, 1.8vw, 28px)/1.25 "Inter Tight", sans-serif; letter-spacing: -.02em; }
.fit__a { color: var(--mu); }
.fit__a b { display: block; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 639px) {
  .board { grid-template-columns: 1fr 1fr; }
  .board__mark, .board__type { grid-column: 1 / -1; min-height: 160px; }
  .board__type b { font-size: 80px; }
  .board__sw { min-height: 96px; }
  .fit li { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
}

/* KretivTech additions: a real screen in a window frame, the KretivOS card */
.flag__list { margin: auto 0 0; padding-top: 36px; display: grid; gap: 18px; }
.flag__list dt { font: 600 17px/1.3 "Inter Tight", sans-serif; color: var(--gold); }
.flag__list dd { margin: 2px 0 0; color: var(--mu); font-size: 15px; }
.shot { margin: 0; align-self: center; border-radius: 14px; overflow: hidden; background: #f3f4f6; border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, .55); }
.shot__bar { display: flex; gap: 6px; padding: 10px 12px; background: #e5e7eb; }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c4c7cc; }
.shot img { display: block; width: 100%; height: auto; }
.card__img--light { background: #f7f3ee; }
.card__img--light img { object-fit: contain; }
.card__img--os { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 28px; background: radial-gradient(70% 60% at 30% 30%, rgba(255, 199, 102, .14), transparent 70%), var(--s); border: 1px solid var(--line); }
.os { display: inline-flex; align-items: center; gap: 12px; font: 600 28px/1 "Inter Tight", sans-serif; letter-spacing: -.02em; }
.os img { width: 40px; height: auto; }
.os__rows { display: grid; gap: 8px; }
.os__rows i { display: block; height: 30px; border-radius: 8px; background: rgba(247, 243, 238, .06); }
.os__rows i.on { background: rgba(255, 199, 102, .18); box-shadow: inset 3px 0 0 var(--gold); }
@media (max-width: 1023px) { .shot { order: -1; } }

/* Real client logos on white tiles, so logos with white grounds sit cleanly */
.logos--real { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(6, 1fr); }
.logos--real li { display: grid; place-items: center; height: 96px; padding: 14px 18px; background: #fff; border-radius: 12px; }
.logos--real img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 1023px) { .logos--real { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .logos--real { grid-template-columns: repeat(2, 1fr); } .logos--real li { height: 80px; } .logos--real li:last-child { grid-column: auto; } }

/* Real photos and footage: one big frame, four small ones */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-top: 56px; }
.mosaic figure { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #0a0603; }
.mosaic__big { grid-row: span 2; aspect-ratio: auto !important; }
.mosaic img, .mosaic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.mosaic figure:hover img, .mosaic figure:hover video { transform: scale(1.03); }
@media (max-width: 639px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .mosaic__big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3 !important; }
}

/* KretivEvent: registration screen beside its text */
.flag--reg { grid-template-columns: 6fr 5fr; margin-top: 112px; align-items: center; }
.phone { margin: 0; display: grid; place-items: center; padding: 56px 24px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(55% 50% at 50% 42%, rgba(245, 130, 31, .2), transparent 72%), #0a0603; }
.phone img { width: min(300px, 72%); height: auto; display: block; border-radius: 34px; border: 7px solid #221a14; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
@media (max-width: 1023px) { .flag--reg { grid-template-columns: 1fr; margin-top: 80px; } }
@media (max-width: 639px) { .flag--reg { margin-top: 64px; } .phone { padding: 36px 16px; } }

/* Homepage: the real SUPKEP night after the four chapters */
.real__lead { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.real__lead p { margin: 0; max-width: 40em; color: var(--mu); }
.real__lead .link { flex: none; }
@media (max-width: 639px) { .real__lead { flex-direction: column; align-items: start; gap: 16px; } }

/* ---------- Wow pass ---------- */
/* Film grain over the flat dark ground */
body::after { content: ""; position: fixed; inset: 0; z-index: 25; pointer-events: none; opacity: .055;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Hero: two slow lights in the brand colours, the headline rises line by line */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; width: 90vmax; height: 90vmax; pointer-events: none; }
.hero::before { background: radial-gradient(closest-side, rgba(252, 176, 60, .2), transparent); left: 50%; top: 38%; translate: -72% -50%; }
.hero::after { background: radial-gradient(closest-side, rgba(213, 28, 92, .15), transparent); left: 50%; top: 46%; translate: -26% -50%; }
.hero:not(.hero--div) h1 { font-size: clamp(48px, min(8vw, 13.5svh), 112px); }
.hero .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero .ln > span { display: block; }
.hero__k { width: 60px; margin-bottom: 28px; }
.hero__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(1120px, 100%); }
.tile { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0a0603; border: 1px solid rgba(247, 243, 238, .12); text-decoration: none;
  transition: transform .35s var(--ease), border-color .3s; }
.tile img, .tile canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile canvas { background: #0a0603; }
html:not(.js) .tile canvas, html.calm .tile canvas { display: none; }
.tile span { position: absolute; left: 12px; bottom: 10px; z-index: 1; font: 600 15px/1 "Inter Tight", sans-serif; letter-spacing: -.01em; color: var(--ink); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 6, 3, .8), transparent 55%); }
.tile:hover { transform: translateY(-3px); border-color: var(--gold); }
.hero__hint { margin-top: 40px; }
@media (max-width: 639px) { .hero__tiles { grid-template-columns: 1fr 1fr; gap: 8px; } .hero__k { width: 48px; margin-bottom: 20px; } .hero__lead { margin: 16px 0 24px; } .hero__hint { margin-top: 24px; } .tile span { font-size: 14px; left: 10px; bottom: 8px; } }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { transform: translateY(112%); } }
  @keyframes fadeup { from { opacity: 0; transform: translateY(18px); } }
  @keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-14deg); } }
  @keyframes drift { to { transform: translate(9%, 6%) scale(1.12); } }
  .hero::before { animation: drift 13s ease-in-out infinite alternate; }
  .hero::after { animation: drift 17s ease-in-out infinite alternate-reverse; }
  .hero__k { animation: pop .9s var(--ease) both; }
  .hero .ln > span { animation: rise 1s var(--ease) .12s both; }
  .hero .ln + .ln > span { animation-delay: .24s; }
  .hero > .build__label { animation: fadeup .8s var(--ease) both; }
  .hero--div h1 { animation: fadeup 1s var(--ease) .1s both; }
  .hero__lead { animation: fadeup .9s var(--ease) .45s both; }
  .hero__cta { animation: fadeup .9s var(--ease) .6s both; }
  .hero__tiles .tile { animation: fadeup .9s var(--ease) both; animation-delay: calc(.6s + var(--k, 0) * 90ms); }
  .tile:nth-child(2) { --k: 1; } .tile:nth-child(3) { --k: 2; } .tile:nth-child(4) { --k: 3; }
  .hero__hint { animation: fadeup .9s var(--ease) 1.2s both; }

  /* Chapters arrive and leave instead of just scrolling past */
  html.js .build__vis { transform: scale(calc(.9 + .1 * var(--e, 1) - .05 * var(--x, 0))); opacity: calc(.3 + .7 * var(--e, 1) - .55 * var(--x, 0)); will-change: transform, opacity; }
  html.js .build__text { transform: translateY(calc((1 - var(--e, 1)) * 48px)); opacity: calc(var(--e, 1) * 1.4 - .4 - var(--x, 0)); }

  /* Sections fade up once as they come into view */
  .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .rv.is-in { opacity: 1; transform: none; }
  .mosaic figure.rv { transform: translateY(26px) scale(.96); } .mosaic figure.rv.is-in { transform: none; }

  /* Pages cross-fade into each other, the bar stays put */
  @view-transition { navigation: auto; }
  .nav { view-transition-name: nav; }
  ::view-transition-old(root) { animation: .28s ease both vt-out; }
  ::view-transition-new(root) { animation: .5s var(--ease) both vt-in; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

  /* Closing line: one sweep of gold when it lands */
  .closing h2 { background: linear-gradient(100deg, var(--ink) 42%, var(--gold) 50%, var(--ink) 58%) 100% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
  .closing h2.is-in { animation: sheen 1.8s var(--ease) .3s both; }
  @keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
}
.hero:not(.hero--div) { padding-top: calc(var(--nav) + 28px); padding-bottom: 36px; }
.hero__lead { text-wrap: balance; }

/* Hidden until real material arrives */
[hidden] { display: none !important; }
.logos--real { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .logos--real { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

/* KretivEvent: the film of the night */
.film { position: relative; margin: 0 0 96px; aspect-ratio: 1280 / 536; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .55); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film__play { white-space: nowrap; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px 0 20px; border: 0; border-radius: 99px;
  background: var(--gold); color: var(--gold-ink); font: 600 17px/1 "Inter", sans-serif; cursor: pointer; transition: transform .25s var(--ease), filter .2s; }
.film__play:hover { transform: translate(-50%, -50%) scale(1.05); filter: brightness(1.05); }
.film__play i { width: 0; height: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.film__play span { opacity: .6; font-weight: 500; }
.film::after { content: ""; position: absolute; inset: 0; background: rgba(10, 6, 3, .3); pointer-events: none; transition: opacity .4s; }
.film.is-playing::after { opacity: 0; }
@media (max-width: 639px) { .film { margin-bottom: 56px; border-radius: 14px; } .film__play { height: 48px; font-size: 15px; padding: 0 20px 0 16px; } }

/* ---------- The walk (homepage): one camera move through the building, pinned while the page scrolls ---------- */
.walk { position: relative; height: calc(100svh + var(--travel)); --travel: 900svh; background: #0a0603; }
.walk__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); }
.walk__screen { position: absolute; inset: 0; background: #0a0603; }
.walk__screen img, .walk__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.walk__screen canvas { opacity: 0; transition: opacity .5s; }
.walk.is-live .walk__screen canvas { opacity: 1; }
/* Shade under the bar and behind the words */
.walk__pin::before { content: ""; position: absolute; inset: 0 0 auto; height: 54%; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(16, 9, 4, .84), rgba(16, 9, 4, .52) 46%, rgba(16, 9, 4, 0)); }
.walk__hero, .beat__text { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--nav) + clamp(24px, 6svh, 64px)); padding: 0 var(--gut); text-align: center; }
.walk__hero { transition: opacity .5s, transform .6s var(--ease); }
.walk__hero.is-off { opacity: 0; transform: translateY(-14px); pointer-events: none; }
.walk__hero h1 { font-size: clamp(44px, min(7.4vw, 12.5svh), 108px); }
.walk__hero .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.walk__hero .ln > span { display: block; }
.walk__hero { bottom: 0; pointer-events: none; }
.walk__hero .hero__lead { margin: 22px auto 0; color: #e8dfd3; max-width: 40em; }
/* the hint sits at the foot of the screen, over the dark ground */
.walk__hero .hero__hint { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0; color: #d9cdbf; }
.beat__still { display: none; }
.beat__text { opacity: 0; transform: translateY(16px); transition: opacity .45s, transform .6s var(--ease); pointer-events: none; }
.beat.is-on .beat__text { opacity: 1; transform: none; pointer-events: auto; }
.beat h2 { font-size: clamp(34px, 4.2vw, 64px); }
.beat__text > p:not(.build__label) { margin: 14px auto 18px; color: #e8dfd3; font-size: clamp(17px, 1.4vw, 20px); max-width: 30em; }
.walk__next { position: absolute; z-index: 2; left: 50%; bottom: 44px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 99px; text-decoration: none; font-weight: 600; color: var(--ink);
  background: rgba(16, 9, 4, .6); border: 1px solid rgba(247, 243, 238, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity .45s, transform .6s var(--ease), border-color .2s; }
.walk__next.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.walk__next:hover { border-color: var(--gold); }
.walk__bar { position: absolute; z-index: 2; inset: auto 0 0; height: 2px; background: rgba(247, 243, 238, .08); }
/* the faint part shows how much of the film has arrived, the gold part where the visitor is */
.walk__bar::before { content: ""; position: absolute; inset: 0; background: rgba(247, 243, 238, .2); transform-origin: left; transform: scaleX(var(--b, 0)); transition: transform .3s linear; }
.walk__bar i { position: relative; display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.walk__anchor { position: absolute; left: 0; top: 0; width: 1px; height: 1px; }
@media (min-aspect-ratio: 1001/1000) {
  .beat--side .beat__text { left: auto; right: var(--gut); width: min(34vw, 470px); padding: 0; text-align: left; }
  .beat--side h2 { font-size: clamp(30px, 3.3vw, 50px); }
  .beat--side .beat__text > p:not(.build__label) { margin-left: 0; }
}
/* The bar is clear over the opening picture and takes its ground once the walk begins */
body.home .nav { transition: background .35s, border-color .35s; }
html.at-top body.home .nav { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (prefers-reduced-motion: no-preference) {
  .walk__hero .ln > span { animation: rise 1s var(--ease) .12s both; }
  .walk__hero .ln + .ln > span { animation-delay: .24s; }
}

/* Portrait screens: the picture on top, the words under it (a set framed for phones comes later) */
@media (max-aspect-ratio: 1/1) {
  .walk { --travel: 800svh; }
  .walk__screen { inset: 0 0 auto; height: 56svh; }
  .walk__screen img, .walk__screen canvas { object-position: 50% 50%; }
  .walk__screen::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(rgba(16, 9, 4, 0), var(--bg)); }
  .walk__pin::before { height: 20%; background: linear-gradient(rgba(16, 9, 4, .7), rgba(16, 9, 4, 0)); }
  .walk__hero, .beat__text { top: 56svh; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; padding-bottom: 32px; }
  .walk__hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .walk__hero .hero__lead { margin: 14px 0 0; }
  .walk__hero { pointer-events: auto; }
  .walk__hero .hero__hint { position: static; margin-top: 18px; }
  .walk__hero .hero__hint::after { margin-left: 0; height: 28px; }
  .beat h2 { font-size: clamp(30px, 8.4vw, 46px); }
  .beat__text > p:not(.build__label) { margin: 12px 0 16px; }
  .walk__next { bottom: 22px; }
}

/* Without motion or scripts: the rooms as a plain list of pictures with their words */
html:not(.js) .walk, html.calm .walk, html.walk-off .walk { height: auto; }
html:not(.js) .walk__pin, html.calm .walk__pin, html.walk-off .walk__pin { position: relative; height: auto; overflow: visible; }
html:not(.js) .walk__screen, html.calm .walk__screen, html.walk-off .walk__screen { position: relative; inset: auto; height: 100svh; }
html:not(.js) .walk__screen canvas, html.calm .walk__screen canvas, html.walk-off .walk__screen canvas,
html:not(.js) .walk__next, html.calm .walk__next, html.walk-off .walk__next,
html:not(.js) .walk__bar, html.calm .walk__bar, html.walk-off .walk__bar { display: none; }
html:not(.js) .walk__pin::before, html.calm .walk__pin::before, html.walk-off .walk__pin::before { height: 54svh; }
html:not(.js) .beat, html.calm .beat, html.walk-off .beat { position: relative; }
html:not(.js) .beat::before, html.calm .beat::before, html.walk-off .beat::before { content: ""; position: absolute; inset: 0 0 auto; height: 60%; z-index: 1; background: linear-gradient(rgba(16, 9, 4, .84), rgba(16, 9, 4, 0)); }
html:not(.js) .beat__still, html.calm .beat__still, html.walk-off .beat__still { display: block; width: 100%; height: auto; }
html:not(.js) .beat__text, html.calm .beat__text, html.walk-off .beat__text { opacity: 1; transform: none; pointer-events: auto; top: clamp(24px, 5vw, 64px); }
@media (max-aspect-ratio: 1/1) {
  html:not(.js) .walk__screen, html.calm .walk__screen, html.walk-off .walk__screen { height: 56svh; }
  html:not(.js) .walk__hero, html.calm .walk__hero, html.walk-off .walk__hero { position: static; display: block; padding: 28px var(--gut) 48px; }
  html:not(.js) .beat::before, html.calm .beat::before, html.walk-off .beat::before { display: none; }
  html:not(.js) .beat__text, html.calm .beat__text, html.walk-off .beat__text { position: static; display: block; padding: 24px var(--gut) 48px; }
}

/* Homepage: the real night under its film */
#real .film { margin-bottom: 0; }
.one { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; margin-top: 64px; align-items: start; }
.one__text h3 + p { color: var(--mu); margin: 20px 0 24px; max-width: 34em; }
.one__tags { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.one__tags div { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.one__tags dt { font: 600 20px/1.25 "Inter Tight", sans-serif; letter-spacing: -.01em; color: var(--gold); }
.one__tags dd { margin: 6px 0 0; color: var(--mu); font-size: 16px; }
@media (max-width: 1023px) { .one { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; } }
@media (max-width: 639px) { .one__tags { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 72px var(--gut) 40px; font-size: 15px; color: var(--mu); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot .brand { color: var(--ink); }
.foot__mantra { margin: 14px 0 0; }
.foot__h { margin: 0 0 14px; color: var(--ink); font: 600 15px/1.3 "Inter", sans-serif; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot address { font-style: normal; line-height: 1.6; margin-bottom: 14px; }
.foot a { color: var(--mu); text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--ink); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.foot__bottom a { color: var(--dim); }
@media (max-width: 899px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .foot { padding-top: 56px; } }
@media (max-width: 479px) { .foot__grid { grid-template-columns: 1fr; } }

/* About, Privacy, Terms */
.hero--page { min-height: 72svh; }
.hero--legal { min-height: 52svh; }
.sec__lead { color: var(--mu); max-width: 38em; margin: 20px 0 0; font-size: clamp(17px, 1.3vw, 19px); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.person__photo { margin: 0 0 28px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--s); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.person:hover .person__photo img { transform: scale(1.025); }
.person__role { margin: 0 0 10px; color: var(--mu); font-size: 14px; }
.person h3 small { color: var(--mu); font-weight: 400; font-size: .68em; }
.person > p:not(.person__role) { color: var(--mu); margin: 16px 0 0; max-width: 34em; }
.person blockquote { margin: 22px 0 0; padding-left: 18px; border-left: 2px solid var(--gold); font: 500 clamp(19px, 1.5vw, 22px)/1.35 "Inter Tight", sans-serif; letter-spacing: -.01em; }
.reg { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 560px); gap: 56px; align-items: start; }
.reg__doc { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease); }
.reg__doc:hover { transform: translateY(-2px); }
.reg__doc img { width: 100%; height: auto; display: block; }
.spec { margin: 28px 0; display: grid; }
.spec div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--mu); font-size: 14px; } .spec dd { margin: 0; }
.svc--4 { grid-template-columns: repeat(4, 1fr); }
.svc--note { grid-template-columns: 1fr; margin-top: 72px; } .svc--note li { max-width: 46em; } .svc--note .link { margin-left: 6px; white-space: nowrap; }
.closing .link { margin-top: 4px; }
.legal { max-width: 46em; }
.legal h2 { font: 600 clamp(22px, 1.8vw, 28px)/1.2 "Inter Tight", sans-serif; letter-spacing: -.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--mu); } .legal ul { padding-left: 1.2em; margin: 12px 0; } .legal li { margin: 8px 0; }
.legal a { color: var(--ink); }
.legal__meta { color: var(--dim) !important; font-size: 14px; margin: 0; }
.legal__toc { display: flex; gap: 24px; margin: 16px 0 36px; }
.legal__lang { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--line); }
.legal .label { margin: 0 0 12px; color: var(--gold); font: 600 14px/1 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.legal h2.legal__title { font-size: clamp(30px, 3vw, 44px); margin: 0 0 20px; }
@media (max-width: 1023px) { .svc--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) { .people, .reg { grid-template-columns: 1fr; } .reg__doc { max-width: 260px; } }
@media (max-width: 639px) { .svc--4 { grid-template-columns: 1fr; } .spec div { grid-template-columns: 1fr; gap: 4px; } .people { gap: 48px; } }
