/* cohesivesynergy.com: Coming soon. White, the mark turning once a minute, the name, one red line. */
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("/assets/fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); }

:root {
  --ink: #3a3637;
  --muted: #6b6461;
  --red: #c8102e;
  /* Phone sizes first; larger screens below. */
  --mark: 150px;
  --name: clamp(22px, 8vw, 34px);   /* size of the large C and S; the rest are 80% of it */
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--ink);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: center;
  padding: max(28px, env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-right, 0px))
           max(28px, env(safe-area-inset-bottom, 0px)) max(28px, env(safe-area-inset-left, 0px));
}

.soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mark {
  display: block;
  width: var(--mark);
  height: var(--mark);
  animation: cs-turn 60s linear infinite;   /* one full turn a minute */
}
@keyframes cs-turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* The name: capitals, the C and S full height, the other letters at 80%, all Jost Regular. */
.name {
  margin: 24px 0 0;
  font-size: var(--name);
  font-weight: 400;
  line-height: 1;
  color: #1d1b1c;
  text-transform: uppercase;
  white-space: nowrap;
}
.name span { letter-spacing: 0.06em; }
.name .small { font-size: 0.8em; }
.rule {
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 40px;
  background: var(--red);
}
h1 {
  margin: 24px 0 0;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-wrap: balance;
}
.foot {
  padding-top: 24px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Tablets and computers */
@media (min-width: 700px) and (min-height: 600px) {
  :root { --mark: clamp(180px, 26vh, 230px); --name: min(59px, 7.5vw); }
  .name { margin-top: 34px; }
  .rule { width: 56px; margin-top: 56px; }
  h1 { margin-top: 32px; font-size: 34px; line-height: 1.2; }
  .foot { font-size: 13px; padding-bottom: 8px; }
}

/* Phones turned sideways: everything smaller so it fits one screen */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --mark: 26vh; --name: min(30px, 4.5vw); }
  body { padding-top: max(16px, env(safe-area-inset-top, 0px)); padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
  .name { margin-top: 3vh; }
  .rule { margin-top: 5vh; }
  h1 { margin-top: 3.5vh; font-size: 20px; }
  .foot { padding-top: 12px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) { .mark { animation: none; } }
