/* Ela Pame coming-soon page. Colours and type from brand/tokens/ela-pame.tokens.json. */

@font-face { font-family: "Manrope"; src: url("/fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Delius"; src: url("/fonts/delius-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --charcoal: #202020;
  --marine: #2671BC;
  --orange: #D1470B;
  --cream: #FAF2E3;
  --ink: #20262A;
  --sun: #F6A200;
  --sky: #7EC6E4;

  --bg: var(--cream);
  --surface: #FFFCF6;
  --text: var(--charcoal);
  --text-2: #5C5650;
  --border: #E8DFD0;
  --action-bg: var(--marine);
  --action-text: #FFFFFF;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Delius", "Manrope", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1917;
    --surface: #24221F;
    --text: var(--cream);
    --text-2: #B8B0A6;
    --border: #3A3631;
    --action-bg: #7DB3EA;
    --action-text: var(--charcoal);
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; margin: 0; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; }

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.top { padding: 8px 0 12px; }
.logo { width: 168px; height: auto; }

/* Hero */
.hero {
  display: grid;
  gap: 8px;
  align-items: center;
  padding: 8px 0 40px;
}
.hero-copy { display: grid; gap: 16px; justify-items: start; }

.badge {
  background: var(--sun);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
}

h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.25rem); max-width: 15ch; text-wrap: balance; }
.lead { font-size: 1.125rem; color: var(--text); max-width: 34ch; }
.where { color: var(--text-2); font-weight: 600; }

.hero-art {
  position: relative;
  justify-self: center;
  width: min(300px, 78vw);
  margin-top: 8px;
}
.pebble-bg {
  position: absolute;
  inset: 14% -4% 2% -4%;
  background: var(--sky);
  border-radius: 58% 42% 55% 45% / 50% 46% 54% 50%;
}
.sloth {
  position: relative;
  width: 100%;
  height: auto;
  transform-origin: 50% 96%;
  animation: sway 7s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: rotate(-1.6deg); }
  50% { transform: rotate(1.6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sloth { animation: none; }
}

/* What you'll find */
section h2 { font-size: 1.5rem; margin-bottom: 18px; }

.areas { padding: 8px 0 44px; }
.areas ul { display: grid; gap: 14px; }
.areas li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.areas h3 { font-size: 1.15rem; margin-bottom: 2px; }
.areas p { color: var(--text-2); }

.pebble {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 46px;
  border-radius: 56% 44% 52% 48% / 50% 54% 46% 50%;
}
.pebble svg { width: 24px; height: 24px; fill: currentColor; }
.pebble-sky { background: var(--sky); color: var(--charcoal); }
.pebble-orange { background: var(--orange); color: #FFFFFF; }
.pebble-sun { background: var(--sun); color: var(--charcoal); }
.pebble-marine { background: var(--marine); color: #FFFFFF; }

.foot {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: space-between;
  color: var(--text-2);
  font-size: 0.875rem;
}

/* Not found */
.lost h1 { max-width: 18ch; }
.lost { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 24px 0 56px; }
.lost img { width: min(220px, 60vw); height: auto; }
.lost a {
  color: var(--action-text);
  background: var(--action-bg);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
}
.lost a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

@media (min-width: 760px) {
  .page { padding-left: 32px; padding-right: 32px; }
  .top { padding-top: 20px; }
  .logo { width: 200px; }
  .hero { grid-template-columns: 1.15fr 0.85fr; gap: 32px; padding: 32px 0 64px; }
  .hero-art { width: 340px; margin-top: 0; }
  .areas ul { grid-template-columns: 1fr 1fr; gap: 16px; }
  section h2 { font-size: 1.75rem; }
}
