/* MELTRON · Uskoro
   Brand truth pulled from metalne-nadstresnice.hr (2026-09-04, computed styles):
   canvas #05080B · accent #4EA5FF · button #0B6BCB (hover #1688F4) · ink #F5F7F9
   display Manrope 620 / -0.065em · body Inter · button radius 4px
   Cross-checked against clients/Melman & Co d.o.o./design-theme.json. */

@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-lat.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
                 U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-lat.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-ext.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
                 U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --canvas: #05080B;
  --accent: #4EA5FF;
  --btn: #0B6BCB;
  --btn-hover: #1688F4;
  --ink: #F5F7F9;
  --muted: #A8B2BD;
  --surface: #27323D;
  --display: 'Manrope', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* ---- Stage + hero plate -------------------------------------------- */

.stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.stage__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}

/* the site's own scrim direction: solid at the copy edge, clear over the build */
.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, var(--canvas) 0%, rgba(5, 8, 11, 0.94) 26%, rgba(5, 8, 11, 0.55) 58%, rgba(5, 8, 11, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 8, 11, 0.86) 0%, rgba(5, 8, 11, 0.10) 34%, rgba(5, 8, 11, 0.20) 66%, rgba(5, 8, 11, 0.88) 100%);
}

/* faint blue lift under the headline, echoing the accent on the live site */
.stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -14vw;
  top: 34%;
  width: 62vw;
  height: 52vh;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(78, 165, 255, 0.16) 0%, rgba(78, 165, 255, 0) 68%);
  filter: blur(46px);
}

/* ---- Header -------------------------------------------------------- */

.masthead {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 36px clamp(20px, 5vw, 72px);
}

.masthead__mark {
  width: 46px;
  height: auto;
  display: block;
}

.masthead__word {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---- Content ------------------------------------------------------- */

.plate {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  max-width: 780px;
  padding: 40px clamp(20px, 5vw, 72px) 56px;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.1rem, 17vw, 8.2rem);
  font-weight: 620;
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: var(--ink);
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}

.lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.62;
  color: var(--muted);
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 270ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 4px;
  background: var(--btn);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.btn:hover,
.btn:focus-visible { background: var(--btn-hover); transform: translateY(-1px); }
.btn svg { flex: none; }

.note {
  font-size: 0.94rem;
  color: rgba(168, 178, 189, 0.82);
}

/* ---- Footer + render badge ----------------------------------------- */

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(20px, 5vw, 72px) 36px;
  font-size: 13px;
  color: rgba(168, 178, 189, 0.6);
}

.badge {
  padding: 6px 12px;
  border-radius: 3px;
  background: rgba(39, 50, 61, 0.78);
  color: rgba(245, 247, 249, 0.78);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .stage__photo { object-position: 62% 42%; }
  .stage::before {
    background:
      linear-gradient(180deg, rgba(5, 8, 11, 0.90) 0%, rgba(5, 8, 11, 0.28) 26%, rgba(5, 8, 11, 0.78) 56%, var(--canvas) 100%);
  }
  .plate { padding-bottom: 40px; gap: 22px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow, h1, .lede, .actions { animation: none !important; opacity: 1; transform: none; }
  .btn { transition: none; }
}
