/* Elevora UF
   Färger och typsnitt ligger under :root. */

html, body { background: #f2ede6; }

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2ede6;
  --bg-deep: #e8e1d7;
  --paper: #faf7f2;
  --ink: #141414;
  --ink-2: rgba(20, 20, 20, .68);
  --ink-3: rgba(20, 20, 20, .5);
  --line: rgba(20, 20, 20, .12);
  --navy: #18212d;
  --accent: #1b2a40;
  --on-navy: #efe9e1;
  --on-navy-2: rgba(239, 233, 225, .66);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --section: clamp(96px, 12vw, 168px);
  --radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 1px 2px rgba(40, 30, 20, .06), 0 18px 50px -18px rgba(40, 30, 20, .28);
}

/* ---------- Grund ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  background-color: var(--bg);
}
/* papperskorn, bara på dator */
@media (min-width: 960px) {
  body { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
::selection { background: rgba(27, 42, 64, .18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

h2 {
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 600;
  text-wrap: balance;
}
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.accent {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -.025em;
}

/* ---------- Knappar och länkar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  background: var(--ink); color: #f7f3ed;
  border: 0; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 20, 20, .14), 0 6px 16px -6px rgba(20, 20, 20, .35);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20, 20, 20, .12), 0 14px 28px -10px rgba(20, 20, 20, .45); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--big { min-height: 56px; padding: 0 26px 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__arrow { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link {
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 5px; text-decoration-color: var(--ink-3);
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--ink); }
.link--out::after { content: " ↗"; font-family: var(--sans); }

/* ---------- Sidhuvud ---------- */
/* Mobil: helt täckande bakgrund (Safari iOS 26 färgar annars inte ytan ovanför) */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--bg);
  transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
@media (min-width: 960px) {
  .header { background: transparent; }
  .header.is-scrolled {
    background: rgba(242, 237, 230, .84);
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    backdrop-filter: saturate(1.4) blur(16px);
  }
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 19px; font-weight: 600; letter-spacing: -.03em; text-decoration: none;
}
.logo img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__link { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav__link:hover { color: var(--ink); }
.nav__link--wide { display: none; }
@media (min-width: 760px) {
  .header__inner { height: 76px; }
  .nav { gap: 30px; }
  .nav__link--wide { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  padding-top: 112px;
}
.hero__stage { order: 2; }
.hero__caption { order: 3; }
.nw { white-space: nowrap; }
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(3.4rem, 17.6vw, 8.6rem);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 700;
  margin-left: -.04em;
}
.hero__line { display: block; overflow: hidden; padding: 0 .06em .1em 0; margin-bottom: -.1em; }
.hero__line > span { display: block; white-space: nowrap; }
.hero__body { margin-top: 28px; max-width: 30rem; }
.hero__lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--ink-2); max-width: 26em; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.hero__note { margin-top: 22px; font-size: 14px; color: var(--ink-3); }

.hero__stage {
  position: relative;
  height: clamp(460px, 128vw, 620px);
  margin-top: 8px;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1s ease;
}
.hero__stage.is-ready .hero__canvas { opacity: 1; }
.hero__shadow { display: none; }
.hero__fallback { display: none; }
.hero__stage.is-fallback .hero__fallback {
  display: block; position: absolute; left: 50%; top: 50%;
  width: min(56%, 250px); transform: translate(-50%, -50%) rotate(-4deg);
  border: 9px solid #121212; border-radius: 40px; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero__caption {
  position: relative; z-index: 2;
  padding: 0 var(--gutter);
  margin: -8px auto 0; max-width: 22rem;
  font-size: 13px; line-height: 1.45; color: var(--ink-3); text-align: center;
}

@media (min-width: 960px) {
  .hero {
    display: flex; flex-direction: column; justify-content: center;
    min-height: max(720px, 100svh);
    padding: 120px 0 72px;
  }
  .hero__stage {
    position: absolute; top: 0; bottom: 0; right: 0;
    width: 54%; height: auto; margin: 0;
  }
  .hero__title { font-size: clamp(4.5rem, 8.6vw, 9.25rem); }
  .hero__body { margin-top: 36px; }
  .hero__caption {
    position: absolute; right: var(--gutter); bottom: 28px; margin: 0;
    max-width: 17rem; text-align: right; padding: 0;
  }
}
@media (min-width: 1500px) {
  .hero__stage { right: max(0px, (100vw - 1500px) / 2); width: 52%; }
}

/* Intro: rubriken glider upp en gång när sidan laddas */
@media (prefers-reduced-motion: no-preference) {
  .hero__line > span { animation: rise 1.15s var(--ease-out) both; }
  .hero__line:nth-child(2) > span { animation-delay: .09s; }
  .hero__body { animation: fade-up 1s var(--ease-out) .32s both; }
  .header { animation: fade 1s ease .15s both; }
  .hero__caption { animation: fade 1s ease .9s both; }
}
@keyframes rise { from { transform: translateY(108%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Sektioner ---------- */
.section { padding: var(--section) 0; }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
.section__lede { color: var(--ink-2); max-width: 30rem; font-size: 1.06rem; }
@media (min-width: 960px) {
  .section__head { grid-template-columns: 7fr 5fr; align-items: end; gap: 48px; }
  .section__lede { justify-self: end; padding-bottom: .4em; }
}

/* ---------- DM eller egen sida ---------- */
.compare { padding-top: clamp(72px, 9vw, 140px); }
.compare__grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .compare__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.panel {
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 1px 2px rgba(40, 30, 20, .05);
}
.panel--dm { background: var(--bg-deep); }
.panel__label { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-bottom: 22px; }
.panel__foot { margin-top: auto; padding-top: 26px; font-size: 15px; color: var(--ink-2); max-width: 26em; }

.chat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chat__msg {
  position: relative; max-width: 85%;
  background: var(--paper); color: var(--ink);
  padding: 11px 16px 11px 16px; border-radius: 20px 20px 20px 6px;
  font-size: 15px; line-height: 1.35;
  box-shadow: 0 1px 2px rgba(40, 30, 20, .06);
}
.chat__msg time { white-space: nowrap; margin-left: 10px; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chat__msg--late { margin-top: 14px; }

.checkout {
  background: #fff; border-radius: 16px; padding: 16px;
  box-shadow: var(--shadow-soft);
}
.checkout__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.checkout__item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.checkout__name { font-weight: 600; letter-spacing: -.01em; }
.checkout__meta { font-size: 13px; color: var(--ink-3); }
.checkout__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.checkout__pay {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin: 16px 0 12px; padding: 4px; background: #f3efe9; border-radius: 12px;
}
.checkout__pay span {
  text-align: center; font-size: 14px; padding: 9px 0; border-radius: 9px; color: var(--ink-2);
}
.checkout__pay .is-on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(40, 30, 20, .12); }
.checkout__btn {
  display: flex; align-items: center; justify-content: center; height: 48px;
  background: var(--ink); color: #f7f3ed; border-radius: 12px; font-weight: 500; font-size: 15px;
}

/* ---------- Skisser ---------- */
.work { padding-top: 0; }
.project { display: grid; gap: 28px; align-items: center; }
.project + .project { margin-top: clamp(72px, 9vw, 128px); }
.project__media { position: relative; display: block; margin-right: 34px; }
.project__shot {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border-radius: 14px; box-shadow: var(--shadow-soft);
  transition: transform .6s var(--ease-out);
}
.project__phone {
  position: absolute; right: -34px; bottom: -28px;
  width: clamp(92px, 24%, 168px); aspect-ratio: 600 / 1298;
  border: 5px solid #121212; border-radius: clamp(18px, 2.6vw, 30px);
  overflow: hidden; background: #121212;
  box-shadow: 0 2px 4px rgba(20, 20, 20, .18), 0 24px 44px -16px rgba(20, 20, 20, .5);
}
.project__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(13px, 2vw, 25px); }
.project__tag { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
.project__text h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -.035em; margin-bottom: 12px; }
.project__text p:not(.project__tag) { color: var(--ink-2); max-width: 30em; }
.project__text .link { display: inline-block; margin-top: 20px; }
@media (min-width: 960px) {
  .project { grid-template-columns: 8fr 4fr; gap: 72px; }
  .project--flip { grid-template-columns: 4fr 8fr; }
  .project--flip .project__media { order: 2; }
  .project__phone { right: -40px; bottom: -36px; border-width: 6px; }
}

/* ---------- Priser ---------- */
.prices { border-top: 1px solid var(--line); }
.price {
  display: grid; gap: 10px 32px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  grid-template-areas: "name amount" "desc desc";
}
.price__name { grid-area: name; font-size: 1.35rem; align-self: start; }
.price__desc { grid-area: desc; color: var(--ink-2); max-width: 32em; }
.price__amount { grid-area: amount; text-align: right; }
.price__label { font-size: 13px; color: var(--ink-3); line-height: 1.2; }
.price__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.price__value small { font-size: .5em; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); margin-left: 2px; }
.price__ord { font-size: 13px; color: var(--ink-3); margin-top: 4px; white-space: nowrap; }
@media (min-width: 860px) {
  .price {
    grid-template-columns: 4fr 5fr 3fr; grid-template-areas: "name desc amount";
    align-items: start; padding: 36px 0;
  }
  .price__name { padding-top: 4px; }
  .price__desc { padding-top: 6px; }
}
.pricing__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  margin-top: 40px;
}
.pricing__foot p { color: var(--ink-2); font-size: 15px; max-width: 40em; }

/* ---------- Ni äger allt (mörkblå) ---------- */
.own { background: var(--navy); color: var(--on-navy); }
.own .accent { color: #b9c6d8; }
.own__grid { display: grid; gap: 40px; }
.own h2 { font-size: clamp(3rem, 8vw, 7rem); }
.own__lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; letter-spacing: -.015em; max-width: 30em; }
.own__list { margin-top: 44px; display: grid; gap: 0; border-top: 1px solid rgba(239, 233, 225, .16); }
.own__list div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(239, 233, 225, .16); }
.own__list dt { font-weight: 500; }
.own__list dd { color: var(--on-navy-2); }
@media (min-width: 960px) {
  .own__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}

/* ---------- Så går det till ---------- */
.steps__list { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.steps__list li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps__no { grid-row: span 2; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.steps__list p { color: var(--ink-2); }
@media (min-width: 860px) {
  .steps__list { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 28px; }
  .steps__list li { display: block; border-bottom: 0; border-top: 1px solid var(--ink); padding: 22px 0 0; }
  .steps__no { display: block; margin-bottom: 40px; }
  .steps__list h3 { margin-bottom: 10px; }
}

/* ---------- Om oss ---------- */
.about { padding-top: 0; }
.about__grid { display: grid; gap: 28px; }
.about__body { display: grid; gap: 18px; max-width: 36rem; }
.about__body p { color: var(--ink-2); font-size: 1.06rem; }
.about__body p:first-of-type { color: var(--ink); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; letter-spacing: -.015em; }
.about__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
}

/* ---------- Frågor ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; gap: 36px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-size: 1.12rem; font-weight: 500; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { color: var(--ink-2); padding: 0 48px 24px 0; max-width: 40em; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
}

/* ---------- Gratis skiss ---------- */
.contact { padding-top: 0; }
.contact__grid { display: grid; gap: 40px; }
.contact h2 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); }
.contact__lead { margin-top: 22px; color: var(--ink-2); font-size: 1.1rem; max-width: 26rem; }
.contact__mail { margin-top: 28px; font-size: 15px; color: var(--ink-3); }
.contact__mail a { color: var(--ink); text-underline-offset: 4px; }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
  .contact__text { position: sticky; top: 120px; }
}

.form {
  display: grid; gap: 18px;
  background: var(--paper); border-radius: 26px;
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.field__opt { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px;
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid rgba(20, 20, 20, .14); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(20, 20, 20, .38); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27, 42, 64, .14); }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { margin-bottom: 7px; padding: 0; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  background: #fff; border: 1px solid rgba(20, 20, 20, .14); border-radius: 12px;
  font-size: 15px; transition: background-color .2s, color .2s, border-color .2s;
}
.choices input:checked + span { background: var(--ink); border-color: var(--ink); color: #f7f3ed; }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.form__trap { display: none; }
.form__small { font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- Sidfot ---------- */
.footer { padding-top: 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; font-size: 15px; color: var(--ink-2); }
.footer__top a { color: var(--ink); text-underline-offset: 4px; }
.footer__nav { display: flex; gap: 20px; margin-left: auto; }
.footer__nav a { text-decoration: none; color: var(--ink-2); }
.footer__nav a:hover { color: var(--ink); }
.footer__mark {
  font-size: 28.4vw; line-height: .78; font-weight: 700; letter-spacing: -.07em;
  text-align: center; margin: 48px 0 0; color: var(--ink);
  white-space: nowrap; transform: translateX(-.02em);
}
.footer__small { font-size: 13px; color: var(--ink-3); padding-top: 18px; padding-bottom: 28px; }
@media (max-width: 640px) { .footer__nav { margin-left: 0; width: 100%; } }

/* ---------- Tack- och 404-sidan ---------- */
.thanks { min-height: 100svh; display: flex; align-items: center; padding: 64px 0; }
.thanks .logo { margin-bottom: 64px; }
.thanks h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); line-height: .98; letter-spacing: -.05em; font-weight: 700; margin-bottom: 22px; }
.thanks p { color: var(--ink-2); font-size: 1.1rem; max-width: 32rem; margin-bottom: 32px; }
.thanks p a { color: var(--ink); text-underline-offset: 4px; }
