@font-face {
  font-family: "TikTok Sans";
  src: url("assets/fonts/TikTokSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/Figtree-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --forest: #043B34;
  --deep: #0C1E1E;
  --red: #E1061B;
  --mint: #C2DFCD;
  --cloud: #F4F6F6;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--forest); color: var(--cloud); }
body { margin: 0; font-family: "Figtree", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 7px; border-radius: 3px; }
::selection { background: var(--mint); color: var(--deep); }
.cover {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(56px, env(safe-area-inset-top)) clamp(24px, 4.45vw, 88px) max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
}
.masthead { display: flex; justify-content: center; align-items: center; gap: 40px; }
.brand { display: block; flex: 0 0 auto; width: clamp(240px, 18vw, 288px); animation: logo-in .72s var(--ease) .04s both; }
.brand svg { display: block; width: 100%; height: auto; }

.hero { position: relative; flex: 1 0 auto; display: grid; place-items: center; padding: clamp(36px, 5vh, 72px) 0 clamp(32px, 4vh, 56px); }
.hero-copy { position: relative; z-index: 1; text-align: center; width: 100%; }
h1 {
  margin: 0 auto;
  max-width: 1100px;
  font: 600 clamp(48px, 6vw, 100px)/1.10 "TikTok Sans", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.reveal-line { display: block; overflow: hidden; padding: .05em .06em .12em; margin: -.05em -.06em -.12em; }
.reveal-line > span { display: block; animation: text-in .9s var(--ease) .76s both; }
.reveal-line + .reveal-line > span { color: var(--mint); animation-delay: .9s; }
.subtitle { margin: 0; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.5; color: var(--mint); animation: soft-in .6s var(--ease) 1.65s both; }
.payoff { margin: 32px 0 0; font: 500 12px/1.6 "Space Grotesk", sans-serif; letter-spacing: .19em; animation: soft-in .55s var(--ease) 2.05s both; }
/* V2: the entire rotating symbol stays in a reserved square, including at 90deg. */
.shape-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 20px auto 16px;
  pointer-events: none;
  animation: v-reveal .6s var(--ease) 1.4s both;
}
.symbol {
  position: relative;
  display: block;
  height: 72px;
  width: auto;
  opacity: 1;
  transform: rotate(0deg);
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: v-hourglass 12s linear 2.2s infinite both;
}
.footer { position: relative; z-index: 2; }
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; gap: 32px; padding: 0 0 32px; }
.contact { display: flex; flex-direction: column; align-items: center; gap: 11px; min-height: 80px; text-align: center; font: 500 13px/1.5 "Space Grotesk", sans-serif; animation: contact-in .55s var(--ease) 2.5s both; }
.contact-linkedin { animation-delay: 2.57s; }
.contact-phone { animation-delay: 2.64s; }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid rgb(194 223 205 / .3); border-radius: 50%; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.contact-short { display: none; }
@media (hover: hover) {
  .contact:hover .contact-icon { background-color: var(--deep); border-color: var(--mint); transform: translateY(-3px); }
  .contact:hover { color: var(--mint); }
}
.contact:focus-visible .contact-icon { border-color: var(--mint); background: var(--deep); }
.institutional { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(194 223 205 / .2); padding-top: 22px; color: var(--mint); font: 500 11px/1.5 "Space Grotesk", sans-serif; }
@keyframes logo-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes text-in { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
@keyframes soft-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes contact-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Focus must reveal contacts immediately, including during the opening sequence. */
.brand:focus-visible, .contact:focus-visible { animation: none; opacity: 1; transform: none; }
@media (min-width: 1600px) { .hero { padding-top: 6vh; padding-bottom: 4vh; } }
@media (max-width: 760px) {
  .cover { padding-top: max(40px, env(safe-area-inset-top)); }
  .masthead { flex-direction: column; align-items: center; gap: 23px; }
  .brand { width: 270px; }
  .hero { padding: 36px 0 30px; }
  h1 { font-size: clamp(38px, 6.9vw, 56px); line-height: 1.08; letter-spacing: -.032em; max-width: 620px; }
  .subtitle { max-width: 340px; margin: 0 auto; font-size: 18px; }
  .payoff { margin-top: 28px; font-size: 10px; letter-spacing: .15em; }
  .shape-slot { width: 88px; height: 88px; margin: 18px auto 14px; }
  .symbol { height: 52px; }
  .contacts { grid-template-columns: repeat(3, minmax(0, 96px)); gap: 16px; padding-bottom: 28px; }
  .contact { flex-direction: column; gap: 9px; font-size: 11px; min-width: 56px; }
  .contact-value { display: none; }
  .contact-short { display: inline; }
  .institutional { font-size: 10px; padding-top: 19px; }
}
@media (max-width: 420px) {
  h1 { max-width: 350px; font-size: clamp(35px, 9.5vw, 40px); }
  /* Editorial line breaks are independent on small screens; wording remains intact. */
  .reveal-line { overflow: visible; }
  .hero { padding-top: 32px; padding-bottom: 28px; }
  .subtitle { max-width: 290px; font-size: 17px; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .cover { padding-top: 40px; padding-bottom: 20px; }
  .hero { padding-top: 28px; padding-bottom: 24px; }
  h1 { font-size: clamp(46px, 5.8vw, 80px); }
  .subtitle { margin-top: 23px; }
  .payoff { margin-top: 32px; }
  .contacts { padding-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .symbol { opacity: 1; transform: rotate(0deg); }
}
@media print { .cover { min-height: 0; } *, *::before, *::after { animation: none !important; } }

/* V2 experiment: constant-speed rotation, one turn every 12 seconds. */
@keyframes v-hourglass {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (max-width: 760px) and (max-height: 700px) {
  .cover { padding-top: max(32px, env(safe-area-inset-top)); padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .hero { padding-top: 24px; padding-bottom: 22px; }
  .shape-slot { width: 72px; height: 72px; margin: 12px auto; }
  .symbol { height: 42px; }
  .payoff { margin-top: 22px; }
  .contacts { padding-bottom: 20px; }
  .institutional { padding-top: 14px; }
}

@keyframes v-reveal { from { opacity: 0; } to { opacity: 1; } }

.clock-face { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
