/* Drangel Webb — dark premium portfolio */

:root {
  --bg: #07070c;
  --bg-2: #0c0d14;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f3f4fa;
  --muted: #b7b8c9;
  --blue: #7aa6ff;
  --blue-2: #4f7cff;
  --violet: #b69bff;
  --violet-2: #8b5cf6;
  --glow: 0 0 0 1px rgba(122, 166, 255, 0.18), 0 12px 40px rgba(79, 124, 255, 0.18);
  --radius: 1.25rem;
  --header-h: 4.4rem;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.8rem);
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(79, 124, 255, 0.4);
  color: #fff;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #c4b5fd;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 120;
  padding: 0.65rem 0.95rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  color: var(--bg);
}

.wrap {
  width: min(1160px, calc(100% - 2.75rem));
  margin-inline: auto;
}

/* Background */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(79, 124, 255, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(139, 92, 246, 0.14), transparent 50%),
    var(--bg);
}

#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: orb 18s var(--ease) infinite alternate;
}

.bg-orb-a {
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  left: -8%;
  top: 8%;
  background: #2a4dcc;
}

.bg-orb-b {
  width: 38vw;
  height: 38vw;
  max-width: 480px;
  max-height: 480px;
  right: -6%;
  top: 20%;
  background: #6d3ad8;
  animation-duration: 22s;
  animation-delay: -4s;
}

.bg-orb-c {
  width: 30vw;
  height: 30vw;
  max-width: 380px;
  max-height: 380px;
  left: 35%;
  bottom: 0;
  background: #1f3f8a;
  opacity: 0.35;
  animation-duration: 26s;
}

@keyframes orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 6%) scale(1.08); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  opacity: 0.7;
}

/* Scroll progress */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-2), var(--violet-2));
  box-shadow: 0 0 12px rgba(122, 166, 255, 0.7);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 7, 12, 0.55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 7, 12, 0.78);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  display: block;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  filter: drop-shadow(0 0 10px rgba(110, 110, 255, 0.28));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.04);
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.45));
}

.logo-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: -0.3em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem 1.15rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--ink);
}

.nav-cta {
  padding: 0.42rem 0.9rem !important;
  border-radius: 999px;
  color: var(--ink) !important;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.28), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(186, 170, 255, 0.28);
}

.nav-cta:hover {
  border-color: rgba(186, 170, 255, 0.5);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, #5b82ff, #7b5cff);
  color: #fff;
  box-shadow: 0 8px 28px rgba(79, 124, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(79, 124, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(186, 170, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* Glass */

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

/* Hero */

.hero {
  position: relative;
  padding: 5.2rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(122, 166, 255, 0.7);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(122, 166, 255, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(122, 166, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 166, 255, 0); }
}

.hero h1,
.section-head h2,
.contact-intro h2,
.about-head h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3.6rem, 9.2vw, 7rem);
  margin-bottom: 1.35rem;
}

.grad-text {
  background: linear-gradient(120deg, #ffffff 0%, #c9d8ff 32%, #d7c8ff 58%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s ease-in-out infinite;
}

@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.lede,
.section-intro,
.about-panel p,
.contact-intro > p {
  color: var(--muted);
}

.lede {
  margin: 0 0 2rem;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-stage {
  position: relative;
  min-height: 22rem;
}

.hero-glow {
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.35), rgba(139, 92, 246, 0.12) 45%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.hero-browser {
  position: relative;
  z-index: 1;
  transform: perspective(1400px) rotateY(-12deg) rotateX(6deg);
  animation: float 7s ease-in-out infinite;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 80px rgba(79, 124, 255, 0.18);
}

@keyframes float {
  0%, 100% { transform: perspective(1400px) rotateY(-12deg) rotateX(6deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-10deg) rotateX(5deg) translateY(-14px); }
}

/* Browser chrome */

.browser {
  border-radius: 16px;
  overflow: hidden;
  background: #12131a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2rem;
  padding: 0 0.75rem;
  background: #1a1b24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
  display: flex;
  gap: 0.32rem;
}

.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3b48;
}

.browser-dots i:nth-child(1) { background: #ff6b6b; }
.browser-dots i:nth-child(2) { background: #ffd166; }
.browser-dots i:nth-child(3) { background: #4ade80; }

.browser-url {
  flex: 1;
  height: 1.25rem;
  border-radius: 999px;
  background: #101118;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #8c8d9c;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  padding: 0 0.65rem;
}

.mock {
  min-height: 14rem;
}

.mock-hero {
  padding: 1.15rem 1.2rem 1.3rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.22), transparent 40%),
    linear-gradient(180deg, #151624, #0e0f16);
  min-height: 20rem;
}

.mh-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.mh-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.mh-links {
  width: 38%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2a2c3a, #222433 60%, transparent);
}

.mh-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9bb6ff;
}

.mh-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 16rem;
}

.mh-cta {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.mh-cta span {
  height: 1.15rem;
  width: 4.2rem;
  border-radius: 99px;
  background: linear-gradient(135deg, #5b82ff, #7b5cff);
}

.mh-cta span:last-child {
  width: 3.4rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mh-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mh-cards span {
  height: 4.4rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Marquee */

.marquee-wrap {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.95rem 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 2.4rem;
  padding-right: 2.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-group span::before {
  content: "◆";
  margin-right: 2.4rem;
  color: var(--blue);
  font-size: 0.55rem;
  vertical-align: middle;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */

.section {
  padding: 6rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.8rem;
}

.section-head h2,
.contact-intro h2,
.about-head h2 {
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
}

.section-intro {
  margin: 0;
  font-size: 1.08rem;
}

/* Services */

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.6rem 0 2rem;
}

.service-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.service-tabs a:hover,
.service-tabs a[aria-current="true"] {
  color: var(--ink);
  border-color: rgba(186, 170, 255, 0.45);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.22), rgba(139, 92, 246, 0.14));
}

.service-groups {
  display: grid;
  gap: 2.35rem;
}

.service-group {
  scroll-margin-top: calc(var(--header-h) + 0.9rem);
}

.service-group-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 0.55rem;
}

.service-group-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.service-group-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 166, 255, 0.4), transparent);
}

.service-group-note {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.service-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 1.05rem 1rem 1.1rem;
  min-height: 100%;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(122, 166, 255, 0.35);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.6rem;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.22), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(186, 170, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card h3,
.service-card h4,
.timeline-step h3,
.project-body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.service-card h4 {
  font-size: 1rem;
}

.timeline-step h3,
.project-body h3 {
  font-size: 1.28rem;
}

.service-card p,
.timeline-step p,
.project-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-card p {
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative;
  counter-reset: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 3%;
  right: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 166, 255, 0.45), rgba(182, 155, 255, 0.45), transparent);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  padding-top: 0.1rem;
}

.timeline-node {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5b82ff, #7b5cff);
  box-shadow: 0 0 0 6px rgba(7, 7, 12, 1), 0 0 24px rgba(79, 124, 255, 0.45);
}

/* Projects */
/* Example showcase */

.example-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.6rem 0 1.6rem;
}

.example-filters button {
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.example-filters button:hover,
.example-filters button[aria-pressed="true"] {
  color: var(--ink);
  border-color: rgba(186, 170, 255, 0.45);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.22), rgba(139, 92, 246, 0.14));
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.example-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.example-card[hidden] {
  display: none;
}

.example-card:hover {
  transform: translateY(-7px);
  border-color: rgba(122, 166, 255, 0.35);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.example-thumb {
  display: block;
  padding: 0.9rem 0.9rem 0;
  text-decoration: none;
  background: radial-gradient(circle at 50% 0%, rgba(79, 124, 255, 0.12), transparent 60%);
}

.example-thumb .browser {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.example-thumb img {
  display: block;
  width: 100%;
  height: 11.4rem;
  object-fit: cover;
  object-position: top center;
  background: #111;
}

.example-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.example-body p:not(.project-label) {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.example-link {
  margin-top: 0.7rem;
  align-self: start;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.example-link:hover {
  color: var(--violet);
}

.more-examples {
  margin-top: 3.2rem;
}

.more-head {
  max-width: 38rem;
  margin-bottom: 1.4rem;
}

.more-head h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  letter-spacing: -0.03em;
}

.more-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.more-card {
  padding: 1.15rem 1.15rem 1.2rem;
}

.more-card h4 {
  margin: 0.15rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.webbtext {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

.more-note {
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.ig {
  background: #111318;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.ig-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  font-size: 0.8rem;
}

.ig-avatar {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9a8a6, #b4636a);
}

.ig-photo {
  height: 7.2rem;
  background:
    radial-gradient(circle at 30% 30%, #f7d5ce, transparent 42%),
    radial-gradient(circle at 70% 70%, #d9a8a6, transparent 40%),
    linear-gradient(160deg, #3a2a2c, #1c1415);
}

.ig-caption {
  margin: 0;
  padding: 0.65rem 0.7rem 0.75rem;
  font-size: 0.78rem;
  color: #c9c4c2;
  line-height: 1.45;
}

.ig-caption strong {
  color: #fff;
}

.banner-ex {
  border-radius: 12px;
  min-height: 8.2rem;
  padding: 1.1rem 1.15rem;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(120deg, rgba(93, 107, 79, 0.2), transparent 45%),
    linear-gradient(160deg, #8a9a7a, #3f4a36);
  color: #f3f0ea;
}

.banner-ex span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.banner-ex strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.15rem;
}

.banner-ex em {
  font-style: normal;
  font-size: 0.78rem;
  opacity: 0.8;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.flow li {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.flow li:not(:last-child)::after {
  content: "↓";
  display: block;
  text-align: center;
  color: var(--blue);
  font-weight: 700;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.85rem;
  z-index: 1;
}

.flow li:not(:last-child) {
  margin-bottom: 0.55rem;
}



.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(122, 166, 255, 0.35);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-visual {
  padding: 1rem 1rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(79, 124, 255, 0.12), transparent 60%);
}

.project-card:hover .browser {
  transform: translateY(-3px);
}

.project-visual .browser {
  transition: transform 0.3s var(--ease);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

/* Cafe mock */

.mock-cafe {
  background: linear-gradient(180deg, #f4e7d4, #ead5bc);
  color: #3a2618;
  padding: 0.95rem 1rem 1.05rem;
  min-height: 16.2rem;
}

.cafe-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.05rem;
  font-size: 0.62rem;
  color: #6a4a34;
}

.cafe-logo {
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #5a3320;
}

.cafe-hero {
  margin: 0 0 1rem;
  font-family: "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #3a2216;
}

.cafe-pills {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

.cafe-pills span {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #d9b896;
  font-size: 0.62rem;
  font-weight: 600;
  color: #4a301e;
}

.cafe-pills span:nth-child(2) { background: #c89a6e; color: #2f1c10; }
.cafe-pills span:nth-child(3) { background: #efe0cc; }

.cafe-hours {
  font-size: 0.68rem;
  color: #6a4a34;
  border-top: 1px solid rgb(58 38 24 / 0.12);
  padding-top: 0.65rem;
}

/* Craft mock */

.mock-craft {
  background: linear-gradient(180deg, #1c212b, #14181f);
  color: #eceef3;
  padding: 0.9rem 0.95rem 1rem;
  min-height: 16.2rem;
}

.craft-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.craft-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.craft-chip {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 0.22rem 0.5rem;
  border-radius: 99px;
  background: #f2f3f7;
  color: #16181f;
}

.craft-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.7rem;
  align-items: stretch;
}

.craft-photo {
  min-height: 9.4rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 28%, rgba(186, 198, 216, 0.28), transparent 42%),
    linear-gradient(160deg, #4a5363, #232833);
}

.craft-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.craft-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.68rem;
  color: #c5c8d4;
  display: grid;
  gap: 0.28rem;
}

.craft-copy li::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #8bb0ff;
}

/* Shop mock */

.mock-shop {
  background: linear-gradient(180deg, #f3f6f1, #e4ebe0);
  color: #243026;
  padding: 0.85rem 0.9rem 0.95rem;
  min-height: 16.2rem;
}

.shop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.shop-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

.shop-cart {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid #243026;
  border-radius: 3px 3px 4px 4px;
  position: relative;
}

.shop-cart::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: -4px;
  height: 5px;
  border: 1.5px solid #243026;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.shop-grid figure {
  margin: 0;
}

.shop-img {
  display: block;
  height: 4.35rem;
  border-radius: 8px;
}

.shop-img-a { background: #6f8660; }
.shop-img-b { background: #c5d0ba; }
.shop-img-c { background: #a3b897; }
.shop-img-d { background: #4e6146; }

.shop-grid figcaption {
  margin-top: 0.28rem;
  font-size: 0.68rem;
  font-weight: 600;
}

.project-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.project-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* About */

.about-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem 3.5rem;
  align-items: start;
}

.about-head {
  margin-bottom: 0;
}

.about-panel {
  padding: 1.6rem 1.55rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.about-panel p {
  margin: 0 0 0.9rem;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.faq-icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-panel p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */

.section-contact {
  padding-bottom: 6.5rem;
}

.contact-intro p {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
}

.email-note {
  color: var(--ink) !important;
  font-size: 0.98rem !important;
  padding: 1.05rem 1.15rem;
  margin-top: 1.4rem !important;
}

.email-link {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--blue);
  text-decoration: none;
}

.email-link:hover {
  color: var(--violet);
}

.contact-panel {
  padding: 1.5rem 1.4rem 1.4rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 8.2rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(122, 166, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.22);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #f0a0a0;
}

.field-error {
  margin: 0;
  color: #ffb4b4;
  font-size: 0.82rem;
}

.form-hint,
.form-success p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-success {
  display: grid;
  gap: 0.85rem;
}

.form-success[hidden],
.field-error[hidden] {
  display: none;
}

.form-success-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink) !important;
}

.contact-form .btn,
.form-success .btn {
  justify-self: start;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 1.7rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

/* Reveals */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger .reveal.is-visible:nth-child(1) { transition-delay: 0.02s; }
.stagger .reveal.is-visible:nth-child(2) { transition-delay: 0.1s; }
.stagger .reveal.is-visible:nth-child(3) { transition-delay: 0.18s; }
.stagger .reveal.is-visible:nth-child(4) { transition-delay: 0.26s; }
.stagger .reveal.is-visible:nth-child(5) { transition-delay: 0.34s; }
.stagger .reveal.is-visible:nth-child(6) { transition-delay: 0.42s; }
.stagger .reveal.is-visible:nth-child(7) { transition-delay: 0.5s; }
.stagger .reveal.is-visible:nth-child(8) { transition-delay: 0.58s; }
.stagger .reveal.is-visible:nth-child(9) { transition-delay: 0.66s; }
.stagger .reveal.is-visible:nth-child(10) { transition-delay: 0.74s; }

/* Responsive */

@media (max-width: 1020px) {
  .hero-inner,
  .service-grid,
  .timeline,
  .project-grid,
  .example-grid,
  .more-grid,
  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    gap: 2.2rem;
  }

  .timeline {
    gap: 1.5rem 1.2rem;
  }

  .timeline::before {
    display: none;
  }

  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .section-head {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(1160px, calc(100% - 1.5rem));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0 1.1rem;
    background: rgba(7, 7, 12, 0.94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 1.25rem;
  }

  .nav-cta {
    margin: 0.45rem 1.25rem 0;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    width: calc(100% - 2.5rem);
  }


  .service-tabs {
    flex-wrap: wrap;
  }

  .service-tabs a {
    white-space: nowrap;
  }

  .hero {
    padding: 3.2rem 0 3rem;
  }

  .hero-inner,
  .service-grid,
  .timeline,
  .project-grid,
  .example-grid,
  .more-grid {
    grid-template-columns: 1fr;
  }

  .hero-browser {
    transform: none;
    animation: float-mobile 7s ease-in-out infinite;
  }

  @keyframes float-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .mock-hero {
    min-height: 14.5rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .section-contact {
    padding-bottom: 4.4rem;
  }

  .timeline::before {
    display: block;
    top: 1.15rem;
    bottom: 2.2rem;
    left: 1.14rem;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(122, 166, 255, 0.5), rgba(182, 155, 255, 0.15), transparent);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.25rem;
  }

  .logo {
    gap: 0.6rem;
  }

  .logo-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .logo-text {
    font-size: 0.68rem;
    letter-spacing: 0.26em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bg-orb,
  .hero-browser,
  .grad-text,
  .marquee-track,
  .eyebrow-dot,
  .btn,
  .service-card,
  .example-card,
  .project-card,
  .project-visual .browser {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .hero-browser {
    transform: none !important;
  }
}

.contact-cta-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0.4rem 0 0.8rem; }
.contact-panel .btn { margin-top: 1.2rem; }

/* ===== Nav dropdown (Tjänster) ===== */

.nav-dd {
  position: relative;
}

.nav-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.nav-dd-toggle:hover,
.nav-dd.is-open .nav-dd-toggle,
.nav-dd-toggle.is-current {
  color: var(--ink);
}

.nav-dd-caret {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.nav-dd.is-open .nav-dd-caret {
  transform: translateY(1px) rotate(-135deg);
}

.nav-dd-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 15.5rem;
  padding: 0.55rem;
  margin-top: 0.9rem;
  display: grid;
  gap: 0.1rem;
  background: rgba(12, 13, 20, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(122, 166, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 60;
}

.nav-dd-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1rem;
  height: 1rem;
}

.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd.is-open .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.site-nav .nav-dd-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav .nav-dd-menu a:hover,
.site-nav .nav-dd-menu a[aria-current="page"] {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.18), rgba(139, 92, 246, 0.12));
}

.site-nav .nav-dd-menu .nav-dd-all {
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  border-radius: 0 0 0.6rem 0.6rem;
  color: var(--blue);
}

/* ===== Service cards linking to landing pages ===== */

.service-card.has-link {
  position: relative;
}

.service-more {
  display: inline-flex;
  margin-top: 0.7rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.service-more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.service-card.has-link:hover .service-more {
  color: var(--violet);
}

.service-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
}

.service-pages a:hover {
  border-color: rgba(186, 170, 255, 0.45);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.22), rgba(139, 92, 246, 0.14));
}

/* ===== Landing pages ===== */

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.4rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.lp-hero {
  padding: 3.6rem 0 4rem;
}

.lp-hero .hero-inner {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
}

.lp-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.lp-hero .lede {
  max-width: 38rem;
}

.price-box {
  position: relative;
  padding: 1.7rem 1.6rem 1.6rem;
  overflow: hidden;
}

.price-box::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 70%;
  height: 90%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.price-label {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.price-value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 4.4vw, 3.2rem);
}

.price-value small {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-left: 0.15rem;
}

.price-facts {
  list-style: none;
  margin: 1.2rem 0 1.3rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.price-facts li,
.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.price-facts li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.62rem no-repeat,
    linear-gradient(135deg, #5b82ff, #7b5cff);
}

.price-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.price-box .btn {
  width: 100%;
}

.included-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.15rem;
  align-items: start;
}

.included-card {
  padding: 1.6rem 1.55rem;
}

.included-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list.cols-2 {
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.4rem;
}

.prep-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.prep-list li::marker {
  color: var(--blue);
}

.included-card .price-note {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.timeline.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

.example-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.lp-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.lp-examples-grid .more-card {
  height: 100%;
}

.examples-note {
  margin: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.other-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.other-services .service-card h3 {
  font-size: 1.05rem;
}

.other-services .price-mini {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

/* Example mocks */

.logo-ex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.logo-ex div {
  display: grid;
  place-items: center;
  min-height: 7.4rem;
  border-radius: 12px;
  font-family: "Space Grotesk", sans-serif;
  text-align: center;
  line-height: 1.1;
}

.logo-ex .logo-light {
  background: #f3f0ea;
  color: #3f4a36;
}

.logo-ex .logo-dark {
  background: #2b3326;
  color: #f3f0ea;
}

.logo-ex b {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo-ex span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.plan-ex {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.plan-ex li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
}

.plan-ex li span {
  color: var(--muted);
}

.reel-ex {
  position: relative;
  width: 9.2rem;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(247, 213, 160, 0.75), transparent 45%),
    radial-gradient(circle at 70% 75%, rgba(184, 120, 80, 0.7), transparent 45%),
    linear-gradient(170deg, #4a3426, #1b1410);
}

.reel-ex .reel-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.reel-ex .reel-sub {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 2.2rem;
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
}

.reel-ex .reel-sub em {
  font-style: normal;
  color: #ffd56b;
}

.reel-ex .reel-bar {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.9rem;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
}

.reel-ex .reel-bar::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.sheet-ex {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.sheet-ex th,
.sheet-ex td {
  padding: 0.42rem 0.5rem;
  border: 1px solid var(--line);
  text-align: left;
}

.sheet-ex th {
  background: rgba(79, 124, 255, 0.18);
  font-weight: 600;
}

.sheet-ex td {
  color: var(--muted);
}

/* Footer service links */

.footer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.footer-services a {
  color: var(--muted);
  text-decoration: none;
}

.footer-services a:hover {
  color: var(--ink);
}

@media (max-width: 1020px) {
  .lp-hero .hero-inner,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .price-box {
    max-width: 30rem;
  }

  .lp-examples-grid,
  .other-services {
    grid-template-columns: 1fr 1fr;
  }

  .timeline.steps-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-dd {
    display: flex;
    flex-direction: column;
  }

  .nav-dd-toggle {
    justify-content: space-between;
    padding: 0.8rem 1.25rem;
    font-size: 0.92rem;
  }

  .nav-dd-menu,
  .nav-dd:hover .nav-dd-menu,
  .nav-dd:focus-within .nav-dd-menu {
    position: static;
    min-width: 0;
    margin: 0 1.25rem 0.4rem;
    padding: 0.35rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-dd.is-open .nav-dd-menu {
    display: grid;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-dd-menu::before {
    display: none;
  }

  .site-nav .nav-dd-menu a {
    padding: 0.6rem 0.8rem;
  }

  .lp-hero {
    padding: 2.2rem 0 2.8rem;
  }

  .lp-hero h1 {
    font-size: clamp(2rem, 8.6vw, 2.6rem);
  }

  .price-box {
    max-width: none;
  }

  .check-list.cols-2,
  .lp-examples-grid,
  .other-services,
  .timeline.steps-3,
  .example-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

.more-card h3.more-title {
  margin: 0.15rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-ex p {
  margin: 0;
}

/* ===== Home page v3 (compact) ===== */

.home-hero {
  padding: 4.2rem 0 3.2rem;
}

.home-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1;
  max-width: 12ch;
}

.home-hero .lede {
  margin-bottom: 1.7rem;
}

.home-hero .hero-stage {
  min-height: 0;
}

.home-hero .mock-hero {
  min-height: 16rem;
}

.home-section {
  padding: 4.5rem 0;
}

.home-section .section-head {
  margin-bottom: 2rem;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-head-row > div {
  max-width: 38rem;
}

.section-head-row .section-intro {
  margin-bottom: 0;
}

.section-head-row .btn {
  flex-shrink: 0;
}

/* Featured service (Hemsidor) */

.svc-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: 1.8rem 2rem;
  margin-bottom: 0.9rem;
  border-color: rgba(122, 166, 255, 0.38);
  background:
    radial-gradient(circle at 0% 0%, rgba(79, 124, 255, 0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.18), transparent 55%),
    var(--surface);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.svc-featured:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 155, 255, 0.5);
}

.svc-featured-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.svc-featured-top .service-icon {
  margin: 0;
  width: 2.6rem;
  height: 2.6rem;
}

.svc-badge {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--violet-2));
}

.svc-featured h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.svc-featured-main > p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.svc-featured .svc-featured-btn {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: #fff;
}

.svc-featured-side {
  padding: 1.2rem 1.3rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(7, 7, 12, 0.35);
}

.svc-price {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.svc-price-lg {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.svc-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.svc-facts li {
  position: relative;
  padding-left: 1.4rem;
}

.svc-facts li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.42em;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* Six smaller service cards: 3 x 2 */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.svc-card {
  display: flex;
  flex-direction: column;
}

.svc-card h3 {
  font-size: 1.05rem;
}

.svc-card .svc-price {
  margin-top: auto;
  padding-top: 0.8rem;
}

.svc-card .service-more {
  margin-top: 0.35rem;
}

.home-examples .example-body p:not(.project-label) {
  font-size: 0.92rem;
}

/* "Fler tjänster" on landing pages: 5 cards, centred last row */

.other-services {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.other-services > * {
  grid-column: span 2;
}

.other-services > :nth-child(3n + 1):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.other-services > :nth-child(3n + 1):last-child {
  grid-column: 3 / span 2;
}

@media (max-width: 1020px) {
  .svc-featured {
    grid-template-columns: 1fr;
  }

  .home-examples {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .other-services {
    grid-template-columns: 1fr 1fr;
  }

  .other-services > *,
  .other-services > :nth-child(3n + 1):nth-last-child(2),
  .other-services > :nth-child(3n + 1):last-child {
    grid-column: auto;
  }

  .other-services > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding: 2.4rem 0 2.2rem;
  }

  .home-hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 2.9rem);
  }

  .home-hero .hero-inner {
    gap: 1.8rem;
  }

  .home-hero .mock-hero {
    min-height: 11rem;
    padding: 0.9rem 1rem 1rem;
  }

  .home-hero .mh-nav {
    margin-bottom: 0.9rem;
  }

  .home-section {
    padding: 3rem 0;
  }

  .home-section .section-head {
    margin-bottom: 1.4rem;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .svc-featured {
    padding: 1.3rem 1.15rem;
    gap: 1rem;
  }

  .svc-featured .svc-featured-btn {
    width: 100%;
    justify-content: center;
  }

  .svc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .svc-grid > *,
  .svc-grid > :nth-child(4),
  .svc-grid > :nth-child(5) {
    grid-column: auto;
  }

  .svc-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .svc-card {
    padding: 0.95rem 0.9rem;
  }

  .svc-card p {
    font-size: 0.82rem;
  }

  /* Examples: swipeable row instead of a tall stack */
  .home-examples {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.8rem;
    padding-bottom: 0.6rem;
    margin-right: -0.75rem;
    padding-right: 0.75rem;
    scrollbar-width: none;
  }

  .home-examples::-webkit-scrollbar {
    display: none;
  }

  .home-examples .example-card {
    scroll-snap-align: start;
  }

  .other-services {
    grid-template-columns: 1fr;
  }

  .other-services > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

#tjanster .section-head,
#services .section-head {
  max-width: 46rem;
}

@media (min-width: 761px) and (max-width: 1020px) {
  .home-section .timeline.steps-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Om mig (home) ===== */

.about-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 2rem;
}

.about-photo {
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--blue-2), var(--violet-2));
  box-shadow: 0 0 40px rgba(79, 124, 255, 0.28);
  flex-shrink: 0;
}

.about-photo img,
.about-monogram {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background:
    radial-gradient(circle at 30% 25%, rgba(122, 166, 255, 0.28), transparent 60%),
    #0e0f18;
}

.about-monogram {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.about-body .eyebrow {
  margin-bottom: 0.5rem;
}

.about-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.about-role {
  margin: 0.25rem 0 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue);
}

.about-text {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
}

.about-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
}

.about-chips li {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 170, 255, 0.35);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.16), rgba(139, 92, 246, 0.1));
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 760px) {
  .about-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.3rem 1.15rem;
  }

  .about-photo {
    width: 8.5rem;
    height: 8.5rem;
  }

  .about-monogram {
    font-size: 1.6rem;
  }

  .about-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 760px) {
  .about-card {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 0 1rem;
    align-items: center;
  }

  .about-body {
    display: contents;
  }

  .about-photo {
    width: 6.5rem;
    height: 6.5rem;
    grid-row: 1 / span 3;
    align-self: center;
  }

  .about-body .eyebrow,
  .about-name,
  .about-role {
    grid-column: 2;
  }

  .about-body .eyebrow {
    margin: 0 0 0.2rem;
  }

  .about-name {
    font-size: 1.55rem;
  }

  .about-role {
    margin: 0.15rem 0 0;
  }

  .about-text,
  .about-chips {
    grid-column: 1 / -1;
  }

  .about-text {
    margin-top: 1rem;
  }
}


/* Legal / integritetspolicy */

.legal-hero {
  padding: 4.2rem 0 5.5rem;
}

.legal-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.legal-hero .lede {
  max-width: 38rem;
  margin: 0 0 2.5rem;
}

.legal-prose {
  max-width: 42rem;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 2.35rem 0 0.7rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
}

.legal-prose p {
  margin: 0 0 1rem;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-prose li {
  margin: 0 0 0.4rem;
}

.legal-updated {
  margin: 2.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .legal-hero {
    padding: 3.4rem 0 4rem;
  }
}

/* ===== Brand logo in footer ===== */

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 0 0 1.1rem;
}

.footer-logo .logo-mark {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ===== App example mock (appar/) ===== */

.app-ex {
  display: grid;
  place-items: center;
  padding: 0.4rem 0 0.2rem;
}

.app-ex-phone {
  position: relative;
  width: 10.5rem;
  padding: 1.1rem 0.75rem 1.6rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(186, 170, 255, 0.35);
  background: linear-gradient(160deg, rgba(79, 124, 255, 0.16), rgba(139, 92, 246, 0.1)), rgba(7, 7, 12, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px -20px rgba(79, 124, 255, 0.5);
}

.app-ex-phone::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 50%;
  width: 2.6rem;
  height: 0.32rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-50%);
}

.app-ex-head {
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
}

.app-ex ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.app-ex li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.76rem;
}

.app-ex li b {
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  font-size: 0.66rem;
  background: linear-gradient(135deg, #4f7cff, #8b5cf6);
  color: #fff;
}

.app-ex-tab {
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  width: 3.2rem;
  height: 0.22rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
}

/* Long Swedish compound words must not widen grid cards on small screens */
.service-card,
.more-card,
.example-card {
  min-width: 0;
}

.service-card h3,
.service-card p {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Language switcher (SV | EN) */
.site-nav {
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0.18rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.42rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="true"] {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.4), rgba(139, 92, 246, 0.34));
  box-shadow: inset 0 0 0 1px rgba(186, 170, 255, 0.32);
}

.lang-sep {
  width: 1px;
  height: 0.85rem;
  margin: 0 0.1rem;
  background: var(--line-strong);
}

.lang-switch a[aria-current="true"] + .lang-sep,
.lang-sep:has(+ a[aria-current="true"]) {
  background: transparent;
}

@media (max-width: 760px) {
  .lang-switch {
    order: 1;
    margin-left: auto;
  }

  .nav-toggle {
    order: 2;
  }
}

/* Language hint banner */
.lang-hint {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 13, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glow);
  color: var(--ink);
  font-size: 0.88rem;
  transform: translate(-50%, 0);
  animation: lang-hint-in 0.45s var(--ease) both;
}

.lang-hint p {
  margin: 0;
  white-space: nowrap;
}

.lang-hint-yes {
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.45), rgba(139, 92, 246, 0.38));
  border: 1px solid rgba(186, 170, 255, 0.35);
}

.lang-hint-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.lang-hint-close:hover {
  color: var(--ink);
  background: var(--surface-2);
}

@keyframes lang-hint-in {
  from { opacity: 0; transform: translate(-50%, 0.8rem); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 420px) {
  .lang-hint { font-size: 0.82rem; padding-left: 0.85rem; gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lang-hint { animation: none; }
}

/* Approximate EUR next to SEK prices (EN pages) */
.eur {
  white-space: nowrap;
  font-size: 0.82em;
  font-weight: 500;
  color: var(--muted);
}

.price-value .eur {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.4em;
  letter-spacing: 0;
}
