/* Grow & Scale homepage: a single hero. One frame, one action (Watch the VSL),
   one moving element (the orb above Hermes's palm). */

:root {
  --sky: #213E9D;          /* top row of the hero plate */
  --navy: #121C6E;
  --ink: #FFE7D1;
  --ink-soft: #E9DDF2;
  --peach: #FFB27A;
  --accent: #FF6A1C;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --scene-ratio: 2.357;    /* hero plate is 3168 x 1344 */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--sky); }
body { font-family: "Geist", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: 6px; }

.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--sky);
}

/* ---------------------------------------------------------------- scene -- */
/* One shared geometry for the plate and the statue: the plate's 21:9 frame,
   bottom-anchored, sized by width on tall screens so Hermes never leaves frame. */
.scene {
  --sh: min(100svh, 62vw); --fx: 0.6;
  --W: max(100%, calc(var(--sh) * var(--scene-ratio)));
  position: absolute; bottom: 0;
  width: var(--W); aspect-ratio: 3168 / 1344;
  left: clamp(calc(100% - var(--W)), calc(50% - var(--fx) * var(--W)), 0px);
}
.scene--plate { z-index: 1; }
.scene--plate img { width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%); }
.scene--statue { z-index: 3; pointer-events: none; }
.statue { position: absolute; left: 72.633%; top: 10.863%; width: 18.75%; height: auto; }

/* ------------------------------------------------------------------ orb -- */
/* The only moving thing on the page: it hovers above the palm, rising and
   settling, its glow breathing a beat behind. */
.orb {
  position: absolute; left: 73.8%; top: 9.9%; width: 2.9%; aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #FFF4E8 0%, #FFC896 26%, #FF8A45 56%, #E8561A 82%, #B9431C 100%);
  box-shadow: 0 0 18px 4px rgba(255, 150, 80, 0.55), 0 0 60px 18px rgba(255, 110, 40, 0.22);
  animation: orb-float 6.5s ease-in-out infinite;
}
.orb::after {
  content: ""; position: absolute; inset: -60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 110, 0.45) 0%, rgba(255, 120, 50, 0.12) 45%, transparent 70%);
  animation: orb-glow 6.5s ease-in-out infinite; animation-delay: -1.2s;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-38%); }
}
@keyframes orb-glow {
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  50%      { transform: scale(1.25); opacity: 1; }
}

/* ----------------------------------------------------------------- copy -- */
.mark { position: relative; z-index: 4; padding: clamp(1.25rem, 3.5vh, 2rem) var(--gutter) 0; }
.mark img { height: 34px; width: auto; }

.copy {
  position: relative; z-index: 2;
  margin: auto 0; padding: clamp(2rem, 6vh, 4rem) var(--gutter);
  max-width: min(50rem, 56vw);
}
.copy::before {
  /* a soft pool of night under the copy, not a full-frame overlay */
  content: ""; position: absolute; z-index: -1; inset: -10% -25% -15% -30%;
  background: radial-gradient(closest-side, rgba(16, 24, 96, 0.55), rgba(16, 24, 96, 0));
  pointer-events: none;
}
.title {
  margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: clamp(2.5rem, 1.2rem + 3.4vw, 5.2rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance;
}
.title em { display: block; color: var(--peach); }
.sub {
  margin: clamp(1.25rem, 3vh, 2rem) 0 0; max-width: 34rem;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); line-height: 1.55; color: #FFF3E8; text-wrap: pretty;
}
.cta {
  display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(1.75rem, 4vh, 2.75rem);
  min-height: 60px; padding: 0 28px 0 9px; border-radius: 999px;
  background: var(--ink); color: var(--navy); text-decoration: none;
  font-size: 1.1rem; font-weight: 600;
  box-shadow: 0 12px 34px -12px rgba(255, 120, 50, 0.6);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}
.cta:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 18px 40px -12px rgba(255, 120, 50, 0.75); }
.cta__play { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--navy); display: grid; place-items: center; }
.cta__play svg { margin-left: 2px; }

.legal {
  position: relative; z-index: 4;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px;
  padding: 2.5rem var(--gutter) clamp(1rem, 2.5vh, 1.5rem);
  font-size: 12px; color: rgba(255, 231, 209, 0.85);
  background: linear-gradient(180deg, rgba(12, 21, 84, 0) 0%, rgba(12, 21, 84, 0.78) 100%);
}
.legal a { color: inherit; text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }

/* ------------------------------------------------- cookie banner (consent.js) -- */
/* liquid glass: frosted and see-through, a bright top edge, an inner shine and a soft lift */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 620px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.08) 100%),
    rgba(16, 24, 96, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 24px rgba(255, 255, 255, 0.05), 0 24px 60px -20px rgba(4, 8, 40, 0.65);
  font-size: 14px; line-height: 1.5; color: #E4E7FA;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 280px; }
.consent p strong { color: var(--ink); font-weight: 600; }
.consent a { color: var(--peach); }
.consent-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.consent-actions button { font: 600 15px "Geist", system-ui, sans-serif; border-radius: 999px; cursor: pointer; white-space: nowrap; min-height: 44px; }
.consent-actions [data-consent="denied"] { border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: var(--ink); padding: 0 18px; }
.consent-actions [data-consent="granted"] { border: 0; background: var(--accent); color: var(--navy); padding: 0 24px; }
@media (max-width: 480px) { .consent-actions { width: 100%; margin-left: 0; } .consent-actions button { flex: 1; } }

/* --------------------------------------------------------------- phones -- */
/* The frame sinks to the lower part of the screen with Hermes centre-right;
   the copy takes the clean sky above, and sits over the statue if it must. */
@media (max-width: 860px) {
  .scene { --sh: 46svh; --fx: 0.79; }
  .scene--plate img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%); mask-image: linear-gradient(180deg, transparent 0%, #000 24%); }
  .mark img { height: 28px; }
  .copy { margin: 0; max-width: none; padding-top: clamp(1.75rem, 5vh, 3rem); z-index: 5; }
  .copy::before { inset: -10% -20% -10% -20%; background: radial-gradient(closest-side, rgba(16, 24, 96, 0.7), rgba(16, 24, 96, 0)); }
  .title { font-size: clamp(2.1rem, 9.2vw, 3rem); }
  .cta { width: 100%; justify-content: center; padding-right: 32px; }
  .legal { margin-top: auto; flex-direction: column; text-shadow: 0 1px 8px rgba(10, 16, 70, 0.8); }
}

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