/* ==========================================================================
   ekoh — "Coming soon" one-pager
   Built from Figma: Ekoh_Onepage, frame "OP.01" (node 183:13)
   Source canvas: 1920 × 1080. All layout below is expressed as percentages
   of that canvas so the composition stays proportionally identical — not
   just "responsive" — at any viewport size. See README.md for the full
   list of source values, assets and flagged deviations.
   ========================================================================== */

:root {
  --canvas-w: 1920;
  --canvas-h: 1080;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #14181f; /* fallback shown only if bg.png fails to load */
  overflow: hidden;
}

body {
  font-family: 'Noto Sans Hebrew', 'Google Sans Flex', 'Arial Hebrew', Arial, sans-serif;
}

/* Full-bleed background photo — always covers the viewport with no
   letterbox bars, independent of the locked-ratio stage below. */
.bg {
  position: fixed;
  inset: 0;
  background-image: url('assets/bg-gradient.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* The 1920×1080 "canvas" — locked to the source aspect ratio and centered,
   so every child positioned by percentage below lands exactly where it
   sits in the Figma frame, at any screen size. */
.stage {
  position: fixed;
  inset: 0;
  margin: auto;
  aspect-ratio: var(--canvas-w) / var(--canvas-h);
  width: min(100vw, calc(100vh * var(--canvas-w) / var(--canvas-h)));
  height: min(100vh, calc(100vw * var(--canvas-h) / var(--canvas-w)));
  z-index: 1;
  container-type: inline-size; /* lets children scale type with cqw, tied to the stage's own width */
}

/* Glass card — Figma "Rectangle 1", x:100 y:100 w:1720 h:880 in the
   1920×1080 frame. background-image is the pre-blurred, pre-masked
   1720×880 export from Figma (card-glass-fill.png) — not a CSS blur —
   because Figma bakes its layer-blur to a raster, and that's the exact
   pixel data behind the frosted look. */
.card {
  position: absolute;
  left: 5.208333%;
  top: 9.259259%;
  width: 89.583333%;
  height: 81.481481%;
  border-radius: 2.034884% / 3.977273%; /* 35px corner radius, expressed proportionally */
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    url('assets/card-glass-fill.png');
  background-size: 100% 100%, 100% 100%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ekoh wordmark + "Unique Employer Narrative. Powered by OH!" tagline —
   Figma group 183:115, exported as a single transparent PNG (the group is
   built from vector shapes with a clip mask; re-drawing it by hand would
   not reproduce it faithfully, so it ships as the exported asset). */
.logo {
  position: absolute;
  left: 39.791667%;
  top: 23.055556%;
  width: 20.364596%;
  height: auto;
  display: block;
}

/* Center message — the only real text layer in the design (Figma node
   183:112). Kept as live, selectable text rather than baked into an
   image. */
.message {
  position: absolute;
  left: 50%;
  top: 52.129630%;
  transform: translateX(-50%);
  width: 48.178854%;
  margin: 0;
  text-align: center;
  direction: rtl;
  unicode-bidi: isolate;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(15px, 3.125cqw, 60px);
  line-height: 1.2;
  text-shadow: 0px 0px 40px rgba(0, 0, 0, 0.3);
}

.mail-link {
  color: inherit;
  text-decoration: none;
}

.mail-link:hover,
.mail-link:focus-visible {
  text-decoration: underline;
}

.mail-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  border-radius: 2px;
}
