/* Boel IT ApS — site styles */
:root {
  --bg: #0b0d10;
  --bg-2: #101317;
  --surface: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ebee;
  --muted: #8b929c;
  --faint: #5b616a;
  --orange: #f47e23;
  --orange-hi: #f7931d;
  --orange-deep: #d9541a;
  --glow: rgba(244, 126, 35, 0.35);
  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 72px);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; }
.accent { color: var(--orange); }

/* ---------- background layers ---------- */
#grid {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
body::before {
  /* warm radial glow, echoes the logo gradient */
  content: ""; position: fixed; z-index: 0; pointer-events: none;
  width: 110vmax; height: 110vmax; left: 50%; top: -60vmax; transform: translateX(-30%);
  background: radial-gradient(closest-side, rgba(244, 126, 35, 0.16), rgba(244, 126, 35, 0.05) 45%, transparent 70%);
}

header, main, footer { position: relative; z-index: 2; }

/* ---------- header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 13, 16, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.top.scrolled { background: rgba(11, 13, 16, 0.8); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 26px; height: 26px; fill: #fff; }
.brand-text { font-weight: 600; letter-spacing: 0.18em; font-size: 0.9rem; }
.top-nav { display: flex; align-items: center; gap: 28px; font-size: 0.9rem; }
.top-nav a { color: var(--muted); transition: color 0.2s; }
.top-nav a:hover { color: var(--text); }
.li-icon { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; }
.li-link { display: inline-flex; align-items: center; color: var(--muted); }
.li-link:hover { color: var(--orange); }
.link .li-icon { width: 13px; height: 13px; margin-right: 4px; vertical-align: -2px; }
.foot-link { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); transition: color 0.2s; }
.foot-link:hover { color: var(--orange); }
.foot-link .li-icon { width: 13px; height: 13px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
}
.hero-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(200px, 360px) 1fr;
  gap: clamp(32px, 7vw, 110px); align-items: center;
}
.hero-mark {
  position: relative; aspect-ratio: 1; width: 100%;
  filter: drop-shadow(0 0 28px rgba(244, 126, 35, 0.35));
  will-change: transform;
}
.hero-mark svg { width: 100%; height: 100%; fill: #fff; overflow: visible; }
.hero-mark rect {
  transform-box: fill-box; transform-origin: center;
  animation: popin 0.9s var(--ease) both;
  animation-delay: calc(0.12s + var(--i) * 55ms);
}
@keyframes popin {
  from { opacity: 0; transform: scale(0.2); }
  60%  { opacity: 1; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}
.hero-mark::after {
  /* faint grid ghost behind the mark */
  content: ""; position: absolute; inset: -18%; z-index: -1; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  mask-image: radial-gradient(circle, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 72%);
}

.eyebrow { color: var(--orange); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.kbd { border: 1px solid rgba(244, 126, 35, 0.5); border-radius: 4px; padding: 1px 6px; color: var(--orange); }
h1 { margin: 0 0 22px; line-height: 1; }
.wordmark { display: block; width: min(100%, 520px); height: auto; fill: #fff; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 32ch; margin: 0 0 34px; font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hint { color: var(--faint); }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 20px; border: 1px solid var(--line-strong); border-radius: 6px;
  font-weight: 500; font-size: 0.95rem; overflow: hidden; isolation: isolate;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--orange-deep), var(--orange-hi));
  opacity: 0; transition: opacity 0.3s; z-index: -1;
}
.btn:hover { border-color: transparent; transform: translateY(-1px); box-shadow: 0 10px 30px -12px var(--glow); }
.btn:hover::before { opacity: 1; }
.btn-arrow { width: 14px; height: 14px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) scale(0.6); transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: rotate(45deg) scale(0.6) translate(2px, 2px); }

.hero-foot {
  width: 100%; max-width: var(--maxw); margin: auto auto 0;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--faint); padding-top: 60px;
}
.sep { display: inline-block; width: 24px; height: 1px; background: var(--line-strong); }

/* ---------- statement ---------- */
.statement { padding: clamp(60px, 12vw, 160px) var(--gutter); border-top: 1px solid var(--line); }
.statement-text {
  margin: 0 auto; max-width: 24ch;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.25; font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- company panel ---------- */
.company { padding: 0 var(--gutter) clamp(80px, 12vw, 160px); }
.panel {
  max-width: 760px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--muted);
  background: linear-gradient(to right, rgba(244, 126, 35, 0.08), transparent 60%);
}
.panel-title { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.panel-icon { width: 14px; height: 14px; fill: var(--orange); }
.record { margin: 0; padding: 8px 0; }
.row {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row dt { color: var(--faint); padding-top: 3px; }
.row dd { margin: 0; font-size: 1.05rem; }
address { font-style: normal; }
.link { display: inline-block; margin-top: 10px; color: var(--orange); border-bottom: 1px solid rgba(244, 126, 35, 0.3); transition: border-color 0.2s; }
.link:hover { border-color: var(--orange); }
.cvr { font-size: 1.05rem; text-transform: none; letter-spacing: 0.08em; }
.copy {
  margin-left: 12px; font: inherit; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 4px;
  padding: 3px 9px; cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.copy:hover { color: var(--text); border-color: var(--orange); }
.copy.done { color: var(--orange); border-color: var(--orange); background: rgba(244, 126, 35, 0.1); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px var(--gutter) 36px; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; color: var(--faint); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: 0.35s; }
.hero .reveal:nth-child(2) { transition-delay: 0.5s; }
.hero .reveal:nth-child(3) { transition-delay: 0.65s; }
.hero .reveal:nth-child(4) { transition-delay: 0.8s; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-mark { width: min(52vw, 240px); }
  .top-nav a:not(.li-link) { display: none; }
  .row { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
  .hero-foot { gap: 10px; }
  .hero-foot .sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark rect { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
}
