/* =========================================================
   Hedgehog & Hook — coming-soon page (index.html)
   All white, with Hook front and centre. Uses the brand palette
   from CLAUDE.md; every text color passes WCAG AA on white.
   ========================================================= */

:root {
  --coral: #FF7867;
  --blush: #FFB9AE;
  --brick: #D45143;
  --teal: #009DAF;
  --brown: #441F1A;
  --mauve: #D9C3BF;
  --brick-deep: #B03A2E;   /* 6.0:1 on white */
  --brown-soft: #6B3A33;   /* 9.4:1 on white */

  --font-head: "Kavivanar", "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--brick-deep); text-underline-offset: 3px; }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 6px; }

/* ---------- Logo ---------- */

.cs-header { padding: 28px 16px 0; }
.cs-logo { display: block; height: 52px; width: auto; margin: 0 auto; }

/* ---------- Hook and his speech bubble ---------- */

.cs-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 24px;
}

.cs-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 520px);
}

.cs-bubble {
  position: relative;
  margin: 0 0 30px;
  max-width: 15ch;
  padding: .55em 1em .6em;
  background: #FFFFFF;
  border: 3px dashed var(--coral);        /* a stitched edge, like the rest of the brand */
  border-radius: 36px;
  box-shadow: 0 0 0 7px #FFF6F4, 0 14px 32px -20px rgb(68 31 26 / .45);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2rem, 7.5vw, 3rem);
  -webkit-text-stroke: .025em currentColor;  /* Kavivanar has one weight; this matches the logo */
  line-height: 1.12;
  text-wrap: balance;
  animation: bubble-in .6s cubic-bezier(.2, .9, .3, 1.3) .2s both;
}

/* The bubble's tail, pointing down at Hook */
.cs-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 26px;
  height: 26px;
  translate: -50% 0;
  rotate: 45deg;
  background: #FFFFFF;
  border-right: 3px dashed var(--coral);
  border-bottom: 3px dashed var(--coral);
  border-bottom-right-radius: 6px;
}

.cs-hook {
  display: block;
  width: min(78vw, 400px, 40svh);   /* stays in view on short laptop screens */
  min-width: 220px;
  height: auto;
  transform-origin: 50% 90%;
  animation: bob 4s ease-in-out 1s infinite;
}
.cs-hook:hover { animation: wiggle 1.1s ease-in-out; }

.cs-sub {
  max-width: 30em;
  margin: 28px auto 0;
  font-size: clamp(1.15rem, 3.4vw, 1.3rem);
  color: var(--brown-soft);
}

.cs-follow { margin: 22px 0 0; }
.cs-follow a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid var(--blush);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.cs-follow a:hover { background: #FFF1EE; border-color: var(--coral); }
.cs-follow svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.cs-follow svg .dot { fill: currentColor; stroke: none; }
.cs-short { display: none; }
@media (max-width: 479px) {
  .cs-long { display: none; }
  .cs-short { display: inline; }
}

/* ---------- Footer ---------- */

.cs-footer { padding: 16px 16px 28px; }
.cs-footer p { margin: 0; font-size: .9rem; color: var(--brown-soft); }

/* ---------- Gentle motion ---------- */

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(.92); }
  to   { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes wiggle {
  0%   { transform: rotate(0); }
  18%  { transform: rotate(-4deg); }
  38%  { transform: rotate(3.5deg); }
  58%  { transform: rotate(-2.5deg); }
  78%  { transform: rotate(1.2deg); }
  100% { transform: rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
