/* Nora Platform – dark midnight ink, copper & ice blue, restrained glass */
:root {
  --ink-0: #050a12;
  --ink-1: #081120;
  --ink-2: #0d1a2e;
  --ink-3: #13233c;
  --line: rgba(126, 178, 224, 0.14);
  --line-strong: rgba(126, 178, 224, 0.28);
  --text-1: #e9f1fa;
  --text-2: #a9bdd3;
  --text-3: #7e93ab;
  --copper: #d98a4e;
  --copper-strong: #f0a868;
  --copper-dim: rgba(217, 138, 78, 0.16);
  --ice: #8fc6ea;
  --ice-strong: #b7dcf4;
  --ice-dim: rgba(143, 198, 234, 0.12);
  --glass: rgba(13, 26, 46, 0.55);
  --glass-lite: rgba(19, 35, 60, 0.42);
  --ok: #7fd6a2;
  --ok-dim: rgba(127, 214, 162, 0.14);
  --warn: #e8b26b;
  --block: #ef8a7d;
  --block-dim: rgba(239, 138, 125, 0.13);
  --font: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --radius: 14px;
  --radius-s: 9px;
  --nav-h: 58px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(217, 138, 78, 0.07), transparent 60%),
    radial-gradient(900px 700px at -10% 20%, rgba(143, 198, 234, 0.06), transparent 55%),
    var(--ink-0);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(0deg, rgba(233, 241, 250, 0.012) 0 1px, transparent 1px 3px);
}

::selection { background: rgba(217, 138, 78, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--copper-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

a { color: var(--ice-strong); text-decoration-color: rgba(143, 198, 234, 0.4); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--copper); }

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; color: var(--text-2); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--copper); color: #14100a; font-weight: 600;
  padding: 10px 18px; border-radius: 0 0 10px 10px; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #14100a; }

.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--copper-strong); margin-bottom: 14px;
}
.section-lead { max-width: 62ch; font-size: 1.02rem; }

section { padding: clamp(56px, 8vw, 110px) 0; }
section + section { border-top: 1px solid var(--line); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 10, 18, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  max-width: var(--maxw); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 clamp(14px, 3vw, 32px);
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-1);
  font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
}
.brand img { width: 30px; height: 30px; object-fit: cover; border-radius: 7px; box-shadow: 0 0 14px rgba(217, 138, 78, 0.35); }
.brand span small { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em; color: var(--text-3); text-transform: uppercase; font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-size: 0.88rem;
  padding: 7px 11px; border-radius: 8px; white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-1); background: rgba(143, 198, 234, 0.08); }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 99px; overflow: hidden; margin-left: 8px;
}
.lang-switch button {
  background: transparent; border: 0; color: var(--text-3); font-size: 0.78rem; font-weight: 600;
  padding: 5px 11px; letter-spacing: 0.06em; transition: background-color 0.15s, color 0.15s;
}
.lang-switch button[aria-pressed="true"] { background: var(--copper-dim); color: var(--copper-strong); }
.nav-zip {
  margin-left: 8px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.7rem; color: var(--text-3); text-decoration: none;
  border: 1px dashed var(--line-strong); border-radius: 99px; padding: 5px 11px; white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.nav-zip:hover { color: var(--copper-strong); border-color: var(--copper); }
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(5, 10, 18, 0.97); border-bottom: 1px solid var(--line); padding: 10px 18px 16px; gap: 4px;
    display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; font-size: 1rem; }
  .nav-toggle { display: inline-flex !important; }
  .nav-zip { display: none; }
}
.nav-toggle {
  display: none; margin-left: auto; background: transparent; border: 1px solid var(--line-strong);
  color: var(--text-1); border-radius: 9px; padding: 7px 11px; font-size: 0.85rem;
}
.nav-toggle + .lang-switch { margin-left: 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 90px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero h1 .accent { color: var(--copper-strong); }
.hero h1 .ice { color: var(--ice-strong); }
.hero-lead { max-width: 56ch; font-size: 1.04rem; color: var(--text-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border-radius: 99px; padding: 13px 24px;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, color 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--copper); color: #160f07; box-shadow: 0 6px 28px rgba(217, 138, 78, 0.28); }
.btn-primary:hover { background: var(--copper-strong); color: #160f07; transform: translateY(-1px); box-shadow: 0 10px 34px rgba(217, 138, 78, 0.4); }
.btn-ghost { background: rgba(143, 198, 234, 0.07); color: var(--ice-strong); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ice-dim); color: #fff; transform: translateY(-1px); }
.btn .arr { font-family: var(--mono); }

.promise-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.promise {
  border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px;
  background: var(--glass-lite);
}
.promise b { display: block; font-size: 0.85rem; color: var(--text-1); font-weight: 600; }
.promise span { font-size: 0.78rem; color: var(--text-3); line-height: 1.45; display: block; margin-top: 2px; }

.hero-figure { position: relative; justify-self: end; width: min(100%, 460px); }
.hero-figure .n-wrap {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(217, 138, 78, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(217, 138, 78, 0.14), inset 0 0 60px rgba(143, 198, 234, 0.05);
}
.hero-figure img { width: 100%; }
.hero-figure .n-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(143, 198, 234, 0.10), transparent 35%, transparent 70%, rgba(217, 138, 78, 0.12));
  pointer-events: none;
}
.hero-chip {
  position: absolute; left: -14px; bottom: 26px;
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 16px;
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-2); letter-spacing: 0.04em;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); max-width: 250px;
}
.hero-chip b { color: var(--copper-strong); font-weight: 500; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { justify-self: start; width: min(100%, 420px); }
  .promise-row { grid-template-columns: 1fr; }
}

/* ---------- services / operators / contact ---------- */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.svc-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(160deg, var(--glass), var(--glass-lite));
}
.svc-card h3 { color: var(--copper-strong); }
.svc-card p { font-size: 0.93rem; margin: 0; }
.svc-note { margin-top: 18px; font-size: 0.85rem; color: var(--text-3); }
@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }

.op-card { position: relative; }
.op-card .op-role { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice); display: block; margin-bottom: 10px; }
.op-card .op-person { color: var(--text-1); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.op-card a.op-site { font-family: var(--mono); font-size: 0.78rem; }

.contact-box { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.contact-direct { font-family: var(--mono); font-size: 0.82rem; color: var(--text-2); }
.contact-direct a { color: var(--ice-strong); }
.contact-note { font-size: 0.82rem; color: var(--text-3); max-width: 68ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 40px; background: var(--ink-1); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 20px rgba(217, 138, 78, 0.3); }
.footer-brand b { display: block; }
.footer-brand p { font-size: 0.82rem; margin: 4px 0 0; max-width: 34ch; }
.footer-col h4 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a, .footer-col button.linklike {
  color: var(--text-2); font-size: 0.86rem; text-decoration: none; background: none; border: 0; padding: 0; text-align: left;
}
.footer-col a:hover, .footer-col button.linklike:hover { color: var(--copper-strong); }
.footer-zip { margin-top: 34px; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.footer-zip p { font-size: 0.82rem; margin: 0; max-width: 60ch; }
.footer-zip b { color: var(--text-1); font-size: 0.88rem; display: block; margin-bottom: 2px; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.76rem; color: var(--text-3); margin: 0; max-width: 72ch; }
.to-top { font-size: 0.8rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

