/* Självhostade typsnitt, bara latin (åäö ingår). Google Fonts blockerade
   renderingen med cirka 0,8 s per sida på mobil. Hämtade från Google Fonts, OFL-licens. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-normal-400.woff2) 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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-normal-400.woff2) 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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-normal-400.woff2) 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; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/oswald-normal-300.woff2) 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; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/oswald-normal-300.woff2) 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; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/oswald-normal-300.woff2) 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; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-italic-400.woff2) 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; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-normal-400.woff2) 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; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/playfair-display-normal-400.woff2) 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; }

/* ==========================================================================
   Insamlo — guld på benvitt
   Redaktionell layout: hårfina linjer, foto i full bredd, serif i display.
   Inga kort med skuggor, inga toningar, inga ikonrutor.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Färgerna är plockade ur produktfotot: benvitt linne, guldtryck, amber emalj */
  --bone:      #f2ede3;
  --bone-deep: #e9e1d3;
  --paper:     #fbf8f2;
  --ink:       #17130f;
  --ink-2:     #3d372f;
  --ink-3:     #6b6153;
  --line:      #ddd2be;
  --line-soft: #e8dfd0;
  --gold:        #8c6210;   /* guld för liten text – klarar AA mot benvitt */
  --gold-accent: #a8791f;   /* ljusare guld, endast för stor display-text */
  --gold-lit:  #c89b3c;   /* guld mot mörk botten */
  --amber:     #e08a1b;   /* emaljen i pinsen – används sparsamt */
  --on-ink:    #f2ede3;
  --deep:      #17130f;   /* ytor som alltid är mörka */
  --on-deep:   #f2ede3;

  --serif:  "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:   "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gothic: "Oswald", "Inter", ui-sans-serif, system-ui, sans-serif;

  --shell: 1320px;
  --pad: clamp(20px, 5vw, 64px);
  --gap: clamp(28px, 5vw, 88px);
  --band: clamp(64px, 9vw, 148px);

  color-scheme: light;
}

[data-theme="dark"] {
  --bone:      #14110d;
  --bone-deep: #1c1814;
  --paper:     #1a1611;
  --ink:       #f4efe4;
  --ink-2:     #d2c9b8;
  --ink-3:     #9e9384;
  --line:      #322c24;
  --line-soft: #262119;
  --gold:        #cfa04a;
  --gold-accent: #dcb267;
  --gold-lit:  #dfb35c;
  --amber:     #e79b34;
  --on-ink:    #14110d;
  --deep:      #0d0b08;
  --on-deep:   #f4efe4;
  color-scheme: dark;
}

/* ---------- 2. Grund ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.08;
  margin: 0 0 .48em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.2; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 .5em; letter-spacing: -.005em; }

em { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--gold-accent); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
figure, blockquote, figcaption { margin: 0; }

::selection { background: var(--ink); color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute; left: 14px; top: -70px; z-index: 200;
  padding: 11px 20px; background: var(--ink); color: var(--on-ink);
  font: 600 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; transition: top .18s ease;
}
.skip-link:focus { top: 14px; }

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

/* ---------- 3. Rutnät ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.shell--tight { max-width: 900px; }
.shell--text  { max-width: 720px; }

.band { padding-block: var(--band); }
.band--sm { padding-block: clamp(44px, 6vw, 84px); }
.band--paper { background: var(--paper); }
.band--deep  { background: var(--bone-deep); }
/* På mörka ytor byts guldet mot den ljusare tonen – gäller all text därinne */
.band--ink, .feature__panel { --gold: var(--gold-lit); --gold-accent: var(--gold-lit); }
.band--ink { background: var(--deep); color: var(--on-deep); }
:is(.band--ink, .feature__panel) h1, :is(.band--ink, .feature__panel) h2, :is(.band--ink, .feature__panel) h3 { color: var(--on-deep); }
:is(.band--ink, .feature__panel) em { color: var(--gold-lit); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
:is(.band--ink, .feature__panel) .rule { background: rgba(242,237,227,.16); }

/* ---------- 4. Typografi ---------- */
.label {
  display: block;
  font-family: var(--gothic);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}
:is(.band--ink, .feature__panel) .label { color: var(--gold-lit); }
.label--ink { color: var(--ink-3); }

.lede {
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 54ch;
}
:is(.band--ink, .feature__panel) .lede { color: rgba(242,237,227,.72); }
:is(.band--ink, .feature__panel) .fine,
:is(.band--ink, .feature__panel) .muted { color: rgba(242,237,227,.62); }

.fine { font-size: .82rem; line-height: 1.6; color: var(--ink-3); letter-spacing: .005em; }
.muted { color: var(--ink-3); }

.head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 72px); }
.head p:last-child { margin-bottom: 0; }

.numeral {
  font-family: var(--serif);
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.03em;
}

/* ---------- 5. Länkar & knappar ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--gothic);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.cta--line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.cta--line:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

:is(.band--ink, .feature__panel) .cta { background: var(--gold-lit); border-color: var(--gold-lit); color: #1a1409; }
:is(.band--ink, .feature__panel) .cta:hover { background: var(--on-deep); border-color: var(--on-deep); color: var(--deep); }
:is(.band--ink, .feature__panel) .cta--line { background: transparent; color: var(--on-deep); border-color: rgba(242,237,227,.34); }
:is(.band--ink, .feature__panel) .cta--line:hover { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); }

.cta--sm { padding: 12px 20px; font-size: .74rem; letter-spacing: .18em; }
.cta--wide { width: 100%; justify-content: center; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--gothic);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s ease, color .2s ease, gap .2s ease;
}
.link:hover { color: var(--gold); border-color: var(--gold); gap: 15px; }
:is(.band--ink, .feature__panel) .link { color: var(--on-deep); border-color: rgba(242,237,227,.3); }
:is(.band--ink, .feature__panel) .link:hover { color: var(--gold-lit); border-color: var(--gold-lit); }

.arrow { font-family: var(--sans); }

/* Länk mitt i en mening – ärver brödtextens stil, får bara en guldlinje. */
.a-inline {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color .18s ease;
}
.a-inline:hover { color: var(--gold); }

.cta--sm { white-space: nowrap; }

/* ---------- 6. Sidhuvud ---------- */
.strip {
  background: var(--deep);
  color: rgba(242,237,227,.74);
  font-family: var(--gothic);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.strip__inner {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 46px);
  padding-block: 11px;
  text-align: center;
}
.strip span { white-space: nowrap; }
.strip span + span { position: relative; }
.strip span + span::before {
  content: "·";
  position: absolute;
  left: clamp(-23px, -2vw, -8px);
  opacity: .5;
}
@media (max-width: 1080px) { .strip span:nth-child(n+4) { display: none; } }
@media (max-width: 860px)  { .strip span:nth-child(n+3) { display: none; } }
@media (max-width: 620px)  { .strip span:nth-child(n+2) { display: none; } }

.masthead {
  position: sticky; top: 0; z-index: 90;
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.masthead.is-stuck { border-color: var(--line); background: color-mix(in srgb, var(--bone) 93%, transparent); backdrop-filter: blur(10px); }

.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 82px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  justify-self: start;
}
.wordmark svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.wordmark b {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 1.22rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding-left: 2px;
}

.menu { display: flex; gap: clamp(14px, 2vw, 30px); justify-self: center; }
.menu a {
  font-family: var(--gothic);
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.menu a:hover { color: var(--ink); border-color: var(--gold); }
.menu a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }

.masthead__right { display: flex; align-items: center; gap: 12px; justify-self: end; }

.iconbtn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.iconbtn:hover { border-color: var(--ink); }
.iconbtn svg { width: 17px; height: 17px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
.burger { display: none; }

@media (max-width: 1080px) {
  .masthead__inner { grid-template-columns: auto 1fr; }
  .burger { display: grid; }
  .menu {
    position: fixed;
    inset: auto 0 0 0;
    top: var(--menu-top, 82px);
    flex-direction: column;
    gap: 0;
    padding: 10px var(--pad) 32px;
    background: var(--bone);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .menu.is-open { opacity: 1; transform: none; visibility: visible; }
  .menu a {
    padding: 17px 0;
    font-size: 1rem;
    letter-spacing: .16em;
    border-bottom: 1px solid var(--line-soft);
  }
  .masthead__right .cta { display: none; }
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; background: var(--bone); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: stretch;
  min-height: min(84vh, 780px);
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 104px) clamp(28px, 3.6vw, 62px) clamp(48px, 7vw, 104px) 0;
  padding-left: max(var(--pad), calc((100vw - var(--shell)) / 2 + var(--pad)));
}
.hero h1 { margin-bottom: .32em; }
.hero h1 .line { display: block; }
.hero__lede { margin-top: 6px; }
.hero .actions { margin-top: 40px; }

.hero__media { position: relative; overflow: hidden; background: var(--bone-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 28px;
  background: var(--bone);
  font-family: var(--gothic);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__tag b { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__text { padding: clamp(40px, 8vw, 64px) var(--pad); }
  .hero__media { aspect-ratio: 5 / 4; }
}

/* ---------- 8. Sifferrad ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.facts > div {
  padding: clamp(26px, 3vw, 42px) clamp(14px, 2vw, 30px);
  border-right: 1px solid var(--line);
}
.facts > div:last-child { border-right: 0; }
.facts b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
  margin-bottom: 12px;
}
.facts span {
  display: block;
  font-family: var(--gothic);
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
}
:is(.band--ink, .feature__panel) .facts { border-color: rgba(242,237,227,.16); }
:is(.band--ink, .feature__panel) .facts > div { border-color: rgba(242,237,227,.16); }
:is(.band--ink, .feature__panel) .facts span { color: rgba(242,237,227,.55); }
@media (max-width: 780px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- 9. Redaktionella kolumner ---------- */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: center;
}
.cols--top { align-items: start; }
.cols--wide { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.cols--narrow { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 900px) {
  .cols, .cols--wide, .cols--narrow { grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 6vw, 52px); }
}

.sticky { position: sticky; top: clamp(96px, 12vh, 140px); }
@media (max-width: 900px) { .sticky { position: static; } }

.stack { display: grid; gap: clamp(16px, 2vw, 26px); }
.stack--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .stack--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .stack--2 { grid-template-columns: minmax(0, 1fr); } }

/* Steg – numrerade spalter med hårfin linje, inga kort */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.step {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.4vw, 48px) clamp(20px, 2.6vw, 40px);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step__no {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: 26px;
}
.step h3 { margin-bottom: .5em; }
.step p { color: var(--ink-2); margin: 0; }
.step__when {
  display: block;
  margin-top: auto;
  padding-top: 26px;
  font-family: var(--gothic);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; }
  .step:last-child { border-bottom: 1px solid var(--line); }
}

/* Enkel punktlista med hårfina avdelare */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.list li > span:first-child {
  font-family: var(--gothic);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--gold);
}
.list li p { margin: 0; color: var(--ink-2); }
.list li b { color: var(--ink); font-weight: 600; }
:is(.band--ink, .feature__panel) .list { border-color: rgba(242,237,227,.16); }
:is(.band--ink, .feature__panel) .list li { border-color: rgba(242,237,227,.16); }
:is(.band--ink, .feature__panel) .list li p { color: rgba(242,237,227,.75); }
:is(.band--ink, .feature__panel) .list li b { color: var(--on-deep); }

/* ---------- 10. Bilder ---------- */
.shot { position: relative; overflow: hidden; background: var(--bone-deep); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--tall { aspect-ratio: 4 / 5; }
.shot--wide { aspect-ratio: 3 / 2; }
.shot--square { aspect-ratio: 1 / 1; }

.shot__caption {
  margin-top: 14px;
  font-family: var(--gothic);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.feature { position: relative; }
.feature__img { position: relative; overflow: hidden; }
.feature__img img { width: 100%; height: clamp(340px, 56vw, 640px); object-fit: cover; }
.feature__panel {
  background: var(--deep);
  color: var(--on-deep);
  padding: clamp(34px, 4.6vw, 66px);
}
@media (min-width: 901px) {
  .feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: stretch; }
  .feature__img img { height: 100%; min-height: 520px; }
  .feature__panel { display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- 11. Prisfördelning ---------- */
.split { display: flex; height: 8px; margin-bottom: 28px; }
.split i { display: block; height: 100%; }
.split i:nth-child(1) { flex: 38; background: var(--ink); }
.split i:nth-child(2) { flex: 2;  background: var(--amber); }
.split i:nth-child(3) { flex: 40; background: var(--line); }

.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { padding: 15px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.ledger th {
  font-family: var(--gothic); font-weight: 400;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
}
.ledger td:last-child, .ledger th:last-child { text-align: right; }
.ledger td.amount {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.ledger tr:last-child td, .ledger tr:last-child th { border-bottom: 0; }
.ledger .swatch { display: inline-block; width: 10px; height: 10px; margin-right: 11px; vertical-align: 1px; }
:is(.band--ink, .feature__panel) .ledger th, :is(.band--ink, .feature__panel) .ledger td { border-color: rgba(242,237,227,.16); }
:is(.band--ink, .feature__panel) .ledger th { color: rgba(242,237,227,.55); }

.table-scroll { overflow-x: auto; }
.table-scroll .ledger { min-width: 460px; }

/* ---------- 12. Kalkylator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

.dial { border-top: 1px solid rgba(242,237,227,.16); padding-top: 26px; margin-bottom: 30px; }
.dial:last-of-type { margin-bottom: 0; }
.dial__row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.dial__row label {
  font-family: var(--gothic);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(242,237,227,.66);
}
.dial__val { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--gold-lit); }
.dial__hint { margin: 14px 0 0; font-size: .8rem; color: rgba(242,237,227,.5); line-height: 1.55; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0; display: block;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-lit) var(--fill, 40%), rgba(242,237,227,.22) var(--fill, 40%));
}
input[type="range"]::-moz-range-track { height: 1px; background: rgba(242,237,227,.22); }
input[type="range"]::-moz-range-progress { height: 1px; background: var(--gold-lit); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px; margin-top: -7px;
  border-radius: 50%; background: var(--gold-lit); border: 0;
  transition: transform .16s ease;
}
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: var(--gold-lit); border: 0; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  padding: 9px 16px;
  background: transparent;
  border: 1px solid rgba(242,237,227,.22);
  border-radius: 2px;
  color: rgba(242,237,227,.7);
  font-family: var(--gothic);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--gold-lit); color: var(--on-deep); }
.chip[aria-pressed="true"] { background: var(--gold-lit); border-color: var(--gold-lit); color: #1a1409; }

.readout { padding-top: 8px; }
.readout__sum {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: .96;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--on-deep);
  margin: 8px 0 14px;
}
.readout__note { font-size: .92rem; color: rgba(242,237,227,.62); margin-bottom: 34px; }

.meter { margin-bottom: 30px; }
.meter__track { height: 2px; background: rgba(242,237,227,.18); }
.meter__fill { height: 2px; width: 0; background: var(--gold-lit); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.meter__row {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 13px;
  font-family: var(--gothic); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(242,237,227,.55);
}

/* ---------- 13. Citat ---------- */
.quote { padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--line); }
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.24rem, 2vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -.012em;
  color: var(--ink);
  margin-bottom: 26px;
  text-wrap: pretty;
}
.quote figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.quote figcaption b {
  font-family: var(--gothic); font-weight: 400;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
}
.quote figcaption span { font-size: .85rem; color: var(--ink-3); }
.quote__outcome {
  margin-left: auto;
  font-family: var(--gothic); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 14. Dragspel ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  color: var(--ink);
  transition: color .2s ease;
}
.faq__btn:hover { color: var(--gold); }
.faq__sign { flex: none; width: 13px; height: 13px; position: relative; align-self: center; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; background: currentColor; transition: transform .25s ease, opacity .25s ease;
}
.faq__sign::before { left: 0; top: 6px; width: 13px; height: 1px; }
.faq__sign::after  { left: 6px; top: 0; width: 1px; height: 13px; }
.faq__btn[aria-expanded="true"] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__panel { overflow: hidden; height: 0; transition: height .3s cubic-bezier(.3,.8,.3,1); }
.faq__panel > div { padding-bottom: 30px; max-width: 66ch; color: var(--ink-2); }

/* ---------- 15. Formulär ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
.form .wide { grid-column: 1 / -1; }
.form--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .form--three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .form { grid-template-columns: minmax(0, 1fr); } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label {
  font-family: var(--gothic);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field .req { color: var(--gold); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s ease;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: .7; }
input:focus, select:focus, textarea:focus { outline: 0; border-bottom-color: var(--gold); }
textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6153' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 17px;
  padding-right: 28px;
}
[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e9384' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.is-invalid { border-bottom-color: var(--amber) !important; }
.err { font-size: .78rem; color: var(--gold); }

.form-status { margin-top: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { color: var(--ink); }
.form-status--err { color: var(--gold); }

/* Mörkt formulär */
:is(.band--ink, .feature__panel) .field > label { color: rgba(242,237,227,.55); }
:is(.band--ink, .feature__panel) input, :is(.band--ink, .feature__panel) select, :is(.band--ink, .feature__panel) textarea {
  color: var(--on-deep); border-bottom-color: rgba(242,237,227,.24);
}
:is(.band--ink, .feature__panel) input::placeholder, :is(.band--ink, .feature__panel) textarea::placeholder { color: rgba(242,237,227,.4); }
:is(.band--ink, .feature__panel) input:focus, :is(.band--ink, .feature__panel) select:focus, :is(.band--ink, .feature__panel) textarea:focus { border-bottom-color: var(--gold-lit); }
:is(.band--ink, .feature__panel) .form-status { border-color: rgba(242,237,227,.2); color: rgba(242,237,227,.8); }
:is(.band--ink, .feature__panel) .err { color: var(--gold-lit); }
:is(.band--ink, .feature__panel) select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bdb3a3' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Samtycke */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 4px;
}
.consent input[type="checkbox"] {
  width: 19px; height: 19px;
  margin: 3px 0 0;
  accent-color: var(--gold);
  flex: none;
  cursor: pointer;
}
.consent label {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-2);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
}
.consent a { color: var(--gold); }
.consent .err { grid-column: 2; }
:is(.band--ink, .feature__panel) .consent label { color: rgba(242,237,227,.78); }

/* Kvittens efter inskickat formulär */
.confirm {
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 44px);
  background: var(--card, var(--paper));
}
.confirm:focus { outline: none; }
.confirm:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.confirm__mark {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
  margin: 0 0 18px;
}
.confirm h3 { margin-bottom: .5em; }
.confirm p { color: var(--ink-2); }
.confirm .fine { margin-top: 18px; }
:is(.band--ink, .feature__panel) .confirm {
  border-color: rgba(242,237,227,.22);
  background: transparent;
}
:is(.band--ink, .feature__panel) .confirm h3 { color: var(--on-deep); }
:is(.band--ink, .feature__panel) .confirm p { color: rgba(242,237,227,.78); }

/* Preliminära siffror – tas bort när Insamlo godkänt dem */
.provisional {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-left: 2px solid var(--amber);
  padding: 12px 0 12px 16px;
  margin-top: 24px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.provisional b {
  font-family: var(--gothic);
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  padding-top: 2px;
}
:is(.band--ink, .feature__panel) .provisional { color: rgba(242,237,227,.6); }

/* ---------- 16. Sidfot ---------- */
.foot { background: var(--deep); color: rgba(242,237,227,.66); padding-block: clamp(56px, 7vw, 96px) 34px; }
.foot a { color: inherit; text-decoration: none; transition: color .18s ease; }
.foot a:hover { color: var(--gold-lit); }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(26px, 3.4vw, 54px); }
@media (max-width: 880px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr; } }
.foot .wordmark { color: var(--on-deep); margin-bottom: 20px; }
.foot .wordmark svg { color: var(--gold-lit); }
.foot h2 {
  font-family: var(--gothic); font-size: .7rem; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(242,237,227,.64); margin-bottom: 18px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .92rem; }
.foot__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  margin-top: clamp(40px, 5vw, 70px); padding-top: 26px;
  border-top: 1px solid rgba(242,237,227,.14);
  font-size: .8rem; color: rgba(242,237,227,.64);
}
.foot__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- 17. Mobil CTA ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  transform: translateY(102%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.dock.is-visible { transform: none; }
.dock a { flex: 1; justify-content: center; border-radius: 0; border: 0; padding-block: 16px; }
.dock a:first-child { background: var(--bone); color: var(--ink); }
@media (max-width: 760px) { .dock { display: flex; } }

/* ---------- 18. Rörelse ---------- */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.rise.is-in { opacity: 1; transform: none; }

/* ---------- 19. Utskrift ---------- */
@media print {
  .strip, .masthead, .foot, .dock, .no-print, .skip-link, .cta, .actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { text-decoration: none; color: #000; }
  .band, .band--sm { padding-block: 0 !important; }
  .sheet { break-after: page; page-break-after: always; }
  .sheet:last-of-type { break-after: auto; page-break-after: auto; }
  .ledger { min-width: 0 !important; }
  .ledger th, .ledger td { border-bottom: 1px solid #999; padding: 6px 8px; }
  .ledger tbody td { height: 26px; }
  input[type="text"] { border-bottom: 1px solid #999; }
  h1 { font-size: 22pt; } h2 { font-size: 17pt; } h3 { font-size: 13pt; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rise { opacity: 1; transform: none; }
}

/* Honungsfälla i formuläret: osynlig för människor och skärmläsare, ifylld av robotar. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Kalkylatorns tre förtroenderader under summan */
.calc-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.calc-facts li { padding-top: 10px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 18%, transparent); }
.calc-facts b { font-weight: 600; }
/* Målmeddelandet är en hel mening. Versaler gör den svår att läsa. */
.meter__row [data-calc-out="goalStatus"] { text-transform: none; letter-spacing: 0; font-family: var(--sans, inherit); font-size: .92rem; text-align: right; }
