@import './design-system.css';
@import './brand-cursor.css';

@font-face { font-family: Gilroy; src: url('./font/Gilroy-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: Gilroy; src: url('./font/Gilroy-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Gilroy; src: url('./font/Gilroy-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }

:root {
  font-family: var(--mocca-font-sans);
  font-size: 19px;
  color: var(--mocca-white);
  background: var(--launch-blue);
  font-synthesis: none;
  --launch-blue: color-mix(in srgb, var(--mocca-blue) 85%, var(--mocca-ink));
  --brand-cursor-light: var(--mocca-acid);
  --reveal-x: 50vw;
  --reveal-y: 44vh;
  --reveal-radius: clamp(168px, 18.4vw, 264px);
  --reveal-dark: color-mix(in srgb, var(--mocca-ink) 60%, var(--mocca-neutral-dark));
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--mocca-ink); background: var(--mocca-acid); }
.launch-page { max-width: 1920px; min-height: 100svh; margin-inline: auto; padding: 2rem clamp(1.25rem, 4vw, 4rem) 1.7rem; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.launch-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 2; }
.launch-brand { display: block; width: clamp(115px, 10vw, 168px); flex-shrink: 0; }
.launch-brand img { display: block; width: 100%; height: auto; }
.space-link { display: inline-flex; align-items: center; gap: .7rem; border: 1px solid var(--mocca-on-dark-45); padding: .85rem 1.4rem; border-radius: 99px; font-size: .95rem; white-space: nowrap; transition: border-color .25s, background .25s; }
.space-link span { transition: transform .3s var(--mocca-ease); }
.space-link:hover { border-color: var(--mocca-white); background: var(--mocca-on-dark-10); }
.space-link:hover span { transform: translate(2px, -2px); }
.launch-main { position: relative; flex: 1; display: flex; justify-content: center; align-items: center; min-height: 650px; padding-block: 4rem 6rem; text-align: center; }
.launch-copy { position: relative; z-index: 1; width: 100%; }
h1 { margin: 0; font-weight: 300; font-size: clamp(68px, 8.8vw, 150px); line-height: 1.01; letter-spacing: -.055em; }
h1 > span { display: block; }
h1 em { color: var(--mocca-acid); font-family: var(--mocca-font-serif); font-weight: 400; letter-spacing: -.065em; }
.launch-description { margin: 1.7rem 0 1.5rem; font-size: 1.2rem; font-weight: 300; line-height: 1.5; color: var(--mocca-on-dark-78); }
.launch-cta { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.05rem 1.65rem; min-height: 3.3rem; border-radius: 99px; color: var(--mocca-ink); background: var(--mocca-acid); font-weight: 500; font-size: 1rem; overflow: hidden; transition: background .25s, transform .4s var(--mocca-ease); }
.cta-arrow { display: inline-block; font-size: 1.25em; }
.launch-cta:hover { background: var(--mocca-acid-hover); transform: translateY(-2px); }
.launch-cta:hover .cta-arrow { animation: arrow-flight .45s var(--mocca-ease); }
.launch-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--mocca-on-dark-24); position: relative; z-index: 2; }
.launch-footer p { margin: 0; font-size: .85rem; line-height: 1.55; font-weight: 400; }
.launch-footer p span { color: var(--mocca-on-dark-65); }
.launch-disciplines { display: flex; gap: 1.35rem; list-style: none; padding: 0; margin: 0; font-size: .85rem; }
.launch-disciplines li { display: inline-flex; align-items: center; gap: .45rem; }
.launch-disciplines li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--line-color); }
[data-line="design"] { --line-color: var(--mocca-business-design); }
[data-line="audiovisual"] { --line-color: var(--mocca-business-audiovisual); }
[data-line="marketing"] { --line-color: var(--mocca-business-marketing); }
[data-line="web"] { --line-color: var(--mocca-business-web); }
.launch-email { font-size: .85rem; display: flex; gap: .65rem; align-items: center; }
.launch-email:hover { color: var(--mocca-acid); }

/* One real page underneath a dark veil: the cursor cuts a soft circular window. */
.reveal-veil, .reveal-cursor, .reveal-intro, .exploration-bar { display: none; }
.is-reveal-ready .reveal-veil {
  display: block; position: fixed; inset: 0; z-index: 10; pointer-events: none;
  background: color-mix(in srgb, var(--reveal-dark) 90%, transparent);
  -webkit-mask-image: radial-gradient(circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y), transparent 0%, transparent 78%, #000 100%);
  mask-image: radial-gradient(circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y), transparent 0%, transparent 78%, #000 100%);
  transition: opacity .5s ease;
}
.is-reveal-ready .reveal-cursor { display: flex; }
.is-reveal-ready .reveal-intro {
  display: block; position: fixed; left: var(--reveal-x); top: var(--reveal-y); width: 300vmax; height: 300vmax; z-index: 40; background: var(--launch-blue); pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%) scale(1);
  transition: transform 1.35s cubic-bezier(.76,0,.24,1), opacity .15s 1.2s;
}
.is-reveal-ready.is-intro-complete .reveal-intro { transform: translate(-50%, -50%) scale(.0001); opacity: 0; }
.is-reveal-ready .exploration-bar { display: flex; align-items: center; justify-content: center; position: absolute; inset: auto 0 1.6rem; min-height: 2rem; z-index: 20; }
.exploration-hint { display: inline-flex; gap: .6rem; align-items: center; margin: 0; color: var(--mocca-on-dark-65); font-size: .8rem; }
.exploration-hint i { height: 6px; width: 6px; border: 1px solid var(--mocca-acid); border-radius: 50%; }
.is-reveal-ready, .is-reveal-ready * { cursor: none; }
.is-reveal-ready.is-keyboard .reveal-veil { opacity: 0; }
.is-reveal-ready.is-keyboard .reveal-cursor, .is-reveal-ready.is-pointer-away .reveal-cursor { opacity: 0; }
.is-reveal-ready.is-keyboard, .is-reveal-ready.is-keyboard *, html:not(.is-reveal-ready), html:not(.is-reveal-ready) * { cursor: auto !important; }

@keyframes arrow-flight { 45% { transform: translate(130%, -130%); opacity: 0; } 46% { transform: translate(-100%, 100%); opacity: 0; } 100% { transform: translate(0); opacity: 1; } }
@media (max-width: 1100px) { .launch-page { padding-top: 1.5rem; } .launch-footer { flex-wrap: wrap; } .launch-disciplines { gap: 1rem; } .launch-email { font-size: .8rem; } }
@media (max-width: 760px) {
  .launch-page { padding: 1.3rem 1.25rem 1.4rem; }
  .launch-header { gap: 1rem; flex-wrap: wrap; }
  .launch-brand { width: 115px; }
  .space-link { padding: .7rem .9rem; font-size: .8rem; gap: .4rem; }
  .launch-main { min-height: 550px; padding: 3rem 0; }
  h1 { font-size: clamp(47px, 10vw, 76px); line-height: 1.05; }
  h1 > span:last-child { max-width: 9em; margin-inline: auto; }
  h1 em { display: block; }
  .launch-description { margin-block: 1.4rem; }
  .launch-cta { font-size: .95rem; min-height: 3.2rem; padding-inline: 1.4rem; }
  .launch-footer { gap: 1.2rem; padding-top: 1rem; }
  .launch-footer p { font-size: .8rem; }
  .launch-disciplines { order: -1; width: 100%; justify-content: space-between; gap: .4rem; font-size: .73rem; }
  .launch-email { font-size: .75rem; }
}
@media (max-width: 370px) { .launch-footer { align-items: flex-start; flex-direction: column; } }
