/* En lillasysters perspektiv — Zakia Gafour */

:root {
  --bg: #fbf9f6;
  --surface: #ffffff;
  --deep: #16181c;
  --deep-2: #1f2228;
  --ink: #14161a;
  --muted: #5a6069;
  --line: #e7e1d8;
  --accent: #b4432c;
  --accent-dark: #8d321f;
  --accent-soft: #f6ece8;
  --wrap: 1120px;
  --radius: 14px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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

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

a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--deep); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 246, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.brand {
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600;
  color: var(--ink); text-decoration: none; line-height: 1.25;
}
.brand span { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }

.nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem;
  padding: .45rem .7rem; border-radius: 8px;
}
.nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav a[aria-current="page"] { color: var(--accent-dark); font-weight: 600; }
.nav .btn { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--accent); color: #fff; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
  font-family: var(--sans);
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20,22,26,.25); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: #f0eae2; color: var(--deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  padding: clamp(4rem, 12vh, 8rem) 0 clamp(3rem, 9vh, 6rem);
  background: var(--deep);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(12,13,15,.94) 0%, rgba(12,13,15,.82) 45%, rgba(12,13,15,.45) 100%);
}
.hero .kicker { color: #f0b8a6; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { max-width: 54ch; color: #e6e2dc; font-size: 1.15rem; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0;
  margin: 2rem 0 0; font-size: .88rem;
}
.hero-facts li {
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: .35rem .9rem; color: #ded9d2;
}

.kicker {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--accent-dark); margin: 0 0 1rem;
}

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 8vh, 5.5rem) 0; }
.section-dark { background: var(--deep); color: #e9e5df; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: #f0b8a6; }
.section-tint { background: var(--accent-soft); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-dark .lead { color: #cfcac3; }

.split {
  display: grid; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split.media-first > .split-media { order: -1; }
}
.split-media img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(20,22,26,.16); }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.section-dark figcaption { color: #a9a49d; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.section-dark .card { background: var(--deep-2); border-color: rgba(255,255,255,.12); }
.card-num {
  font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--accent);
  display: block; margin-bottom: .5rem;
}
.section-dark .card-num { color: #f0b8a6; }
.card h3 { margin-bottom: .5rem; }
.card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .97rem; }
.section-dark .card ul { color: #c4bfb8; }
.card li { margin-bottom: .35rem; }

/* ---------- Chips ---------- */
.chip-groups { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.chip-group h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; color: var(--ink);
}

/* ---------- Quotes ---------- */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
blockquote.quote {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; font-family: var(--serif); font-size: 1.06rem; line-height: 1.6;
}
blockquote.quote footer {
  margin-top: 1rem; font-family: var(--sans); font-size: .86rem; color: var(--muted);
  font-style: normal;
}
.pull {
  margin: 2rem 0; padding-left: 1.4rem; border-left: 4px solid var(--accent);
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; color: var(--ink);
}
.section-dark .pull { color: #fff; border-color: #f0b8a6; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .3rem 1.3rem;
}
.faq summary {
  cursor: pointer; font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  padding: 1rem 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { padding-bottom: 1rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe8e0; max-width: 60ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.6rem; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.hint { font-size: .85rem; color: var(--muted); }
.form-note { font-size: .9rem; color: var(--muted); }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.contact-list dt, .contact-list .label {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.contact-list a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep); color: #b9b4ad; padding: 3.5rem 0 2rem; font-size: .95rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: .8rem; }
.site-footer a { color: #e4dfd8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .85rem;
}

/* ---------- Utilities ---------- */
.stack > * + * { margin-top: 1.1rem; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.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;
}
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 1.2rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }

/* ---------- Mobil ---------- */
@media (max-width: 700px) {
  .header-inner { padding: .55rem 0 .4rem; gap: .35rem; flex-wrap: wrap; }
  .brand { font-size: .98rem; flex: 1 0 100%; }
  .brand span { display: none; }
  .nav {
    flex: 1 0 100%; gap: .1rem; justify-content: space-between;
    border-top: 1px solid var(--line); padding-top: .35rem;
  }
  .nav a { padding: .4rem .5rem; font-size: .92rem; }
  .nav .btn { padding: .45rem 1.1rem; }
  .hero .lead { font-size: 1.06rem; }
  .btn-row .btn { width: 100%; text-align: center; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
}
@media (max-width: 480px) {
  .nav a:first-child { display: none; } /* logotypen är hemlänken */
}
