/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url("607d4e80-defe-4997-b6dc-3396a398fa9d") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url("c6a5058c-0378-4eb3-8d96-fa5ffe368297") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url("1f0fa588-db95-4b85-a0b2-03ed45df9f52") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url("87ee7fe5-d2fd-4957-a777-e3a2f14032c6") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url("da49685a-cffc-485f-b253-58e1e5ac9787") format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 200 700;
  font-display: swap;
  src: url("3fc468c5-e4c4-4879-9439-4fbcdba08725") format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("9c7c99e3-fcf6-4ff6-9c28-605692f2d3a2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("625757af-a53f-4142-bb03-205d28d62024") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("fbb7eede-2fb0-4c7f-852d-b08e06072d19") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("7e66cdee-bc94-41bd-99af-c4ce19633a3d") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("14caed86-0837-4fe3-98e2-c56982d06b6c") format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("7beb759e-81c7-496d-ac4a-2a09c1e692ba") format('woff2');
  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;
}

/* samtal-site.css — the room (stripped). */

:root {
  --void: #0a0a0a;
  --void-2: #131313;
  --bone: #f4f1ec;
  --bone-dim: rgba(244, 241, 236, 0.62);
  --bone-vdim: rgba(244, 241, 236, 0.32);
  --ash: #8a8680;
  --warm: rgba(255, 200, 160, 0.85);
  --code: rgba(140, 170, 200, 0.55);
  --gx: 50%;
  --gy: 40%;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--void);
  color: var(--bone);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-feature-settings: 'liga' 0, 'calt' 0;
  font-size: 14.5px;
  line-height: 1.62;
  letter-spacing: 0.005em;
  text-transform: lowercase;
  height: 100%;
  overflow: hidden;
}
::selection { background: var(--bone); color: var(--void); }

body {
  background:
    radial-gradient(ellipse 80% 70% at var(--gx) var(--gy), #161514 0%, #0a0a0a 70%);
  transition: background-position .6s ease;
}

#root { position: fixed; inset: 0; }

.room { position: fixed; inset: 0; }

.pixel-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  opacity: 0.18;
  image-rendering: pixelated;
  filter: grayscale(100%) contrast(1.1);
  pointer-events: none;
}
.room-hidden .stage,
.room-hidden .trigger { opacity: 1; pointer-events: all; }
.stage, .trigger { transition: opacity .35s ease; }

/* ─────────────── stage / conversation column ─────────────── */
.stage {
  position: absolute;
  inset: 0;
  /* mouse parallax — pulled in by --mx / --my from JS */
  --mx: 0;
  --my: 0;
  display: flex;
  flex-direction: column;
  padding: 64px 64px 32px;
}

.stream {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(244,241,236,0.15) transparent;
  /* left-aligned, no centering */
  padding: 0;
  max-width: 640px;
  width: 100%;
  /* stronger parallax — the visitor moves the whole column */
  transform: translate3d(calc(var(--mx) * 32px), calc(var(--my) * 22px), 0);
  transition: none;
  will-change: transform;
}
.stream::-webkit-scrollbar { width: 4px; }
.stream::-webkit-scrollbar-thumb { background: rgba(244,241,236,0.15); border-radius: 2px; }
.stream::-webkit-scrollbar-track { background: transparent; }

.marker {
  display: flex; gap: 10px; align-items: baseline;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--bone);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 0.5px solid rgba(244,241,236,0.5);
}
.marker .sep { color: var(--bone-vdim); }

/* every line is FULL WIDTH, left-aligned. no who-column.
   each .bendable participates in cursor-repel — it has --bx/--by/--bs vars
   updated from JS each frame that push it away from the cursor. */
.line {
  margin: 0 0 4px;
  animation: line-in .4s ease both;
  transform-origin: left center;
}
.bendable {
  --bx: 0px;
  --by: 0px;
  --bs: 0deg;
  transform: translate3d(var(--bx), var(--by), 0) skewY(var(--bs));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
@keyframes line-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
.line-spacer { height: 8px; }

.line-tag {
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--code);
  margin: 12px 0 2px;
}

.line .text {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--bone);
}
.line-u .text { color: var(--bone-dim); }

.caret {
  display: inline-block;
  width: 0.55em; height: 1em;
  background: var(--bone);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: caret-blink 1.05s steps(2) infinite;
  opacity: 0.85;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.thinking { display: inline-flex; gap: 4px; }
.thinking i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--bone-dim);
  animation: think 1.2s ease-in-out infinite;
}
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes think {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-2px); }
}

/* ─────────────── suggested replies — also left aligned ─────────────── */
.suggest {
  max-width: 640px;
  width: 100%;
  padding: 12px 0 0;
  transform: translate3d(calc(var(--mx) * 32px), calc(var(--my) * 22px), 0);
  will-change: transform;
}
.suggest-hint {
  font-size: 14.5px;
  letter-spacing: 0.15em;
  color: var(--ash);
  margin-bottom: 6px;
}
.suggest-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.suggest-btn {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  text-transform: lowercase;
  color: var(--bone-dim);
  text-align: left;
  padding: 6px 0;
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  cursor: pointer;
  transition: color .22s ease;
  animation: sug-in .5s ease both;
}
@keyframes sug-in {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}
.suggest-btn:hover, .suggest-btn:focus-visible {
  color: var(--bone);
  outline: 0;
}
.suggest-q {
  color: var(--warm);
  opacity: 0.6;
}
.suggest-btn:hover .suggest-q { opacity: 1; }

/* ─────────────── input row ─────────────── */
.input-row {
  max-width: 640px;
  width: 100%;
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 0.5px solid rgba(244,241,236,0.2);
  transform: translate3d(calc(var(--mx) * 32px), calc(var(--my) * 22px), 0);
  will-change: transform;
}
.input-hint {
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  margin-bottom: 8px;
}
.input-tag {
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--code);
  margin-bottom: 4px;
}
.input-row input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--bone);
  font: inherit;
  font-size: 14.5px;
  text-transform: lowercase;
  padding: 4px 0;
  caret-color: var(--warm);
}
.input-row input::placeholder { color: var(--bone-dim); opacity: 0.7; }
@keyframes pulse-border {
  0%, 100% { border-color: rgba(244,241,236,0.2); }
  50% { border-color: rgba(244,241,236,0.45); }
}
.input-row {
  animation: pulse-border 3s ease-in-out infinite;
}

/* ─────────────── silence inline ─────────────── */
.silence {
  margin: 24px 0;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-top: 0.5px solid rgba(244,241,236,0.2);
  border-bottom: 0.5px solid rgba(244,241,236,0.5);
  animation: line-in 1s ease both;
}
.silence-orb {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,241,236,0.14), rgba(244,241,236,0.02) 70%, transparent);
  border: 0.5px solid rgba(244,241,236,0.15);
  animation: silence-pulse 6s ease-in-out infinite;
}
@keyframes silence-pulse {
  0%, 100% { transform: scale(0.7); opacity: 0.5; }
  50%      { transform: scale(1.0); opacity: 1; }
}
.silence-cap {
  font-size: 11px;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.silence-skip {
  appearance: none; border: 0; background: transparent;
  font: inherit; color: var(--bone-vdim);
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: lowercase; cursor: pointer; padding: 4px 0;
  transition: color .2s;
}
.silence-skip:hover { color: var(--bone-dim); }

.ended {
  max-width: 640px;
  padding: 18px 0;
}
.ended button {
  appearance: none;
  background: transparent;
  border: 0;
  font: inherit; font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.15em;
  text-transform: lowercase;
  cursor: pointer;
  padding: 0;
}
.ended button:hover { color: var(--bone); }

/* ─────────────── tiny trigger — bottom right ─────────────── */
/* trigger — circle with dot */
.trigger {
  position: fixed;
  bottom: -15vw;
  right: -15vw;
  appearance: none;
  background: transparent;
  width: 50vw;
  height: 50vw;
  border: 1px solid rgba(244, 241, 236, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
  z-index: 200;
  padding: 0;
  font: inherit;
  color: var(--bone);
}
.trigger::after { display: none; }
.trigger:hover {
  border-color: rgba(244, 241, 236, 0.4);
}
.trigger-plus {
  display: block;
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  width: auto; height: auto;
}
.trigger-plus .plus-h,
.trigger-plus .plus-v { display: none; }
.nio-scene .trigger {
  border-color: rgba(10, 10, 10, 0.1);
}
.nio-scene .trigger-plus {
  color: rgba(10, 10, 10, 0.4);
}

.linemeet-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.4s ease-out;
}
.subpage-content {
  position: relative;
  z-index: 1;
}

.menu-close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 100;
  background: none;
  border: none;
  color: var(--bone-dim);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s;
}
.menu-close:hover { color: var(--bone); }

/* ─────────────── modal overlay ─────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(20px) saturate(0.9);
  -webkit-backdrop-filter: blur(20px) saturate(0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: overlay-in .35s ease both;
}
@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.overlay-inner {
  position: relative;
  width: min(600px, 88vw);
  height: min(600px, 88vw);
  padding: 40px;
  border: 0.5px solid rgba(244, 241, 236, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay-close {
  position: fixed;
  top: 24px; right: 28px;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--bone-vdim);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
  transition: color .22s;
  z-index: 101;
}
.overlay-close:hover { color: var(--bone); }

/* ─────────────── menu inside modal ─────────────── */
.menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--bone);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  text-align: left;
  padding: 14px 0;
  cursor: pointer;
  transition: color .22s, transform .22s, padding-left .22s;
  position: relative;
}
.menu button::before {
  content: '› ';
  color: var(--warm);
  opacity: 0;
  margin-right: 8px;
  display: inline-block;
  transition: opacity .22s, transform .22s;
  transform: translateX(-8px);
}
.menu button:hover, .menu button:focus-visible {
  color: var(--bone);
  outline: 0;
}
.menu button:hover::before { opacity: 1; transform: translateX(0); }
.menu-sep {
  height: 0.5px; background: rgba(244,241,236,0.1);
  margin: 14px 0;
}
.menu-small {
  font-size: 12px !important;
  letter-spacing: 0.1em;
  color: var(--bone-dim) !important;
  padding: 8px 0 !important;
  border-bottom: 0 !important;
}

/* ─────────────── settings inside modal ─────────────── */
.settings {
  display: flex; flex-direction: column; gap: 24px;
}
.settings-row {
  display: flex; flex-direction: column; gap: 10px;
}
.settings-lab {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ash);
}
.settings-opts {
  display: flex; gap: 6px;
}
.settings-opts button {
  appearance: none;
  background: transparent;
  border: 0.5px solid rgba(244,241,236,0.15);
  color: var(--bone-dim);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  text-transform: lowercase;
  cursor: pointer;
  transition: all .2s;
}
.settings-opts button:hover {
  color: var(--bone);
  border-color: rgba(244,241,236,0.4);
}
.settings-opts button[data-on="1"] {
  background: rgba(244,241,236,0.2);
  color: var(--bone);
  border-color: rgba(244,241,236,0.4);
}

/* ─────────────── subpage takeover ─────────────── */
.subpage {
  position: fixed;
  inset: 0;
  background: var(--void);
  z-index: 90;
  overflow-y: auto;
  animation: subpage-in .4s ease both;
}
@keyframes subpage-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.subpage-back {
  position: fixed;
  top: 28px; left: 32px;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--bone-dim);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  padding: 8px 0;
  cursor: pointer;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .22s, transform .22s;
}
.subpage-back:hover { color: var(--bone); }
.subpage-back:hover .subpage-arrow { transform: translateX(-3px); }
.subpage-arrow {
  display: inline-block;
  transition: transform .22s;
}
.subpage-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}
.subpage-title {
  font-family: inherit;
  font-weight: normal;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  margin: 0 0 56px;
  color: var(--bone);
}
.prose p {
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 22px;
  color: var(--bone);
  text-wrap: pretty;
  max-width: 56ch;
}
.prose h1, .prose h2, .prose h3 {
  font-size: 14.5px;
  font-weight: normal;
}
.prose p.dim { color: var(--bone-dim); }
.prose p.phone {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.01em;
  margin: 32px 0;
}
.prose p.phone a {
  border-bottom: 1px solid rgba(244,241,236,0.35);
  padding-bottom: 4px;
}
.prose a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(244,241,236,0.35);
  padding-bottom: 1px;
  transition: border-color .22s;
}
.prose a:hover { border-bottom-color: var(--bone); }

/* ─────────────── responsive ─────────────── */
@media (max-width: 640px) {
  .stage { padding: 40px 28px 24px; }
  .subpage-content { padding: 100px 28px 64px; }
  .menu button { font-size: 22px; }
  .subpage-title { font-size: 14.5px; }
  .trigger { bottom: -20vw; right: -20vw; width: 60vw; height: 60vw; }
}

/* meny — jämna rader */
.modal-menu-item {
  font-size: 2rem !important;
  padding: 1.5rem 0 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 5rem !important;
}

.modal-menu-item, .menu-item, [class*="menu"] a, [class*="nav"] a {
  font-size: 1.1rem !important;
  padding: 1.2rem 0 !important;
  min-height: 3.5rem !important;
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* kontaktformulär */
.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 0;
  animation: line-in .4s ease both;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 0.5px solid rgba(244,241,236,0.15);
  outline: 0;
  color: var(--bone);
  font: inherit;
  font-size: 14.5px;
  text-transform: lowercase;
  padding: 8px 0;
  caret-color: var(--warm);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--bone-vdim); }
.contact-form textarea { resize: none; }
.contact-form button {
  appearance: none;
  background: transparent;
  border: 0.5px solid rgba(244,241,236,0.25);
  color: var(--bone-dim);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  padding: 10px 24px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
  transition: all .2s;
}
.contact-form button:hover:not(:disabled) {
  color: var(--bone);
  border-color: rgba(244,241,236,0.5);
}
.contact-form button:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ─────────────── nio veckor scene ─────────────── */
.nio-scene {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.nio-fade {
  position: absolute; inset: 0;
  background: #000;
  transition: background 2.5s ease;
  z-index: 0;
}
.nio-fade-white { background: #fafafa; }

.nio-nine {
  position: absolute;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  animation: nio-in 1.2s ease both;
}
.nio-nine span {
  font-size: 55vw;
  font-weight: 200;
  color: #0a0a0a;
  line-height: 0.8;
  letter-spacing: -0.05em;
  transition: font-size 1.5s cubic-bezier(.2,.8,.2,1), opacity 0.8s;
}
.nio-nine-shrink span {
  font-size: clamp(40px, 8vw, 72px);
  opacity: 0.2;
}
@keyframes nio-in {
  from { opacity: 0; transform: scale(1.3); }
  to { opacity: 1; transform: scale(1); }
}

.nio-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}
.nio-grid-done { opacity: 0.3; transition: opacity 0.8s; }
.nio-row {
  display: flex;
  gap: 3px;
}
.nio-block {
  width: 36px; height: 36px;
  background: #0a0a0a;
  opacity: 0;
  animation: block-fill 0.3s ease forwards;
}
@keyframes block-fill {
  to { opacity: 1; }
}

.nio-principles {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.8s ease, opacity 0.8s;
}
.nio-principles-up {
  transform: translateY(-40px);
  opacity: 0.6;
}
.nio-p-row {
  display: flex;
  gap: 16px;
  animation: nio-p-in 0.6s ease both;
}
@keyframes nio-p-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.nio-p {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #0a0a0a;
  text-transform: lowercase;
}

.nio-form {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  width: 100%;
  padding: 0 24px;
  animation: nio-p-in 0.8s ease both;
}
.nio-form-title {
  font-size: clamp(48px, 10vw, 72px);
  font-weight: 900;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 24px;
}
.nio-form input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(10,10,10,0.2);
  outline: 0;
  color: #0a0a0a;
  font: inherit;
  font-size: 14.5px;
  padding: 10px 0;
}
.nio-form input::placeholder { color: rgba(10,10,10,0.3); }
.nio-form input:focus { border-color: #0a0a0a; }
.nio-form button {
  appearance: none;
  background: #0a0a0a;
  border: 0;
  color: #fafafa;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  padding: 14px 32px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.nio-form button:hover:not(:disabled) { opacity: 0.8; }
.nio-form button:disabled { opacity: 0.4; cursor: default; }

/* Formulär — synligare */
.input-row input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.nio-form input:focus {
  border-bottom-color: rgba(244, 241, 236, 0.9);
  outline: none;
}

.input-row input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.nio-form input::placeholder {
  color: rgba(244, 241, 236, 0.4);
}

/* Lekfulla länkar */
a, .menu button, .choice {
  position: relative;
  transition: letter-spacing 0.3s ease, opacity 0.2s ease;
}
a:hover, .menu button:hover, .choice:hover {
  letter-spacing: 0.15em;
  opacity: 1;
}
a::after, .menu button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 0.5px;
  background: rgba(244,241,236,0.6);
  transition: width 0.4s ease;
}
a:hover::after, .menu button:hover::after {
  width: 100%;
}

/* Easter egg */
.easter-egg {
  position: fixed;
  bottom: 48px;
  right: -32px;
  transform: rotate(90deg);
  transform-origin: right center;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 236, 0.15);
  font-family: inherit;
  white-space: nowrap;
  pointer-events: all;
  cursor: pointer;
  transition: color 0.4s ease;
  z-index: 50;
  text-decoration: none;
}
.easter-egg:hover {
  color: rgba(244, 241, 236, 0.6);
}
.easter-egg::after { display: none !important; }
