/* VEDA Samtal */

@font-face {
  font-family: "Cormorant";
  src: url("fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dmsans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf6f0;
  --bg-tint: #f2ebe0;
  --surface: #fffdf9;
  --ink: #2c3329;
  --ink-soft: #545c50;
  --muted: #7a8075;
  --sage: #5e7253;
  --sage-deep: #45573c;
  --sage-soft: #e3e8dc;
  --blush: #c99189;
  --blush-soft: #f3e3df;
  --line: #e4dccf;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(44, 51, 41, .04), 0 12px 32px -12px rgba(44, 51, 41, .12);
  --serif: "Cormorant", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; letter-spacing: .01em; }
.logo-mark { width: 28px; height: 28px; color: var(--sage); flex: none; }
.brand-logo { width: 40px; height: 40px; flex: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink-soft); font-size: .95rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-tint); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--sage-soft); }
.site-nav a.nav-cta { background: var(--sage); color: #fff; margin-left: 8px; padding: 9px 20px; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta[aria-current="page"] { background: var(--sage-deep); color: #fff; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 500 .95rem var(--sans); padding: 9px 14px; border-radius: 999px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 76px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 12px 16px; font-size: 1.05rem; border-radius: 12px; }
  .site-nav a.nav-cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- Knappar ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.actions-center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font: 500 1rem var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--sage); color: var(--ink); background: var(--surface); }

/* ---------- Hero ---------- */

.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.hero-media {
  margin: 0; position: relative;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: #fff;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(44, 51, 41, .06);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 230px; width: 62%; margin: 0 auto; order: -1; aspect-ratio: 1 / 1.1; }
}

/* ---------- Sektioner ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--bg-tint); }
.section-title { text-align: center; margin-bottom: 1.4em; }

.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(8px, 2vw, 16px); text-align: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
.page-hero .lead { margin: 0 auto; }
.page-hero + .section { padding-top: clamp(32px, 5vw, 56px); }

.prose p { color: var(--ink-soft); }
.prose-lead p:first-child {
  font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  line-height: 1.45; color: var(--ink);
}

.pull-quote {
  margin: 0 auto; max-width: 900px; text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.2; color: var(--sage-deep);
}
.pull-quote::before {
  content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 24px;
  background: var(--blush-soft); border-radius: 50%;
  box-shadow: 18px 0 0 -6px var(--sage-soft);
}

.highlight {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px);
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.5;
  position: relative;
}
.highlight::before {
  content: ""; position: absolute; left: clamp(28px, 5vw, 48px); top: -1px;
  width: 64px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blush);
}

/* ---------- Kort ---------- */

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
}
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-link {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card-link p { color: var(--ink-soft); }
.card-num { font: 600 .8rem var(--sans); letter-spacing: .12em; color: var(--blush); margin-bottom: 1.6rem; }
.card-link h2 { font-size: 1.85rem; }
.card-more { margin-top: auto; padding-top: 1.4rem; font-weight: 500; color: var(--sage-deep); }
.card-more span { display: inline-block; transition: transform .2s; }
.card-link:hover .card-more span { transform: translateX(4px); }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area h3 { font-size: 1.5rem; }
.area p { color: var(--ink-soft); font-size: 1rem; }

@media (max-width: 960px) {
  .cards-3, .areas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cards-3, .areas { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}

/* ---------- Om mig ---------- */

.bio { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bio-photo {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: #e9e9e9; box-shadow: var(--shadow);
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 760px) {
  .bio { grid-template-columns: 1fr; }
  .bio-photo { max-width: 420px; }
}

/* ---------- Kontakt ---------- */

.cta-band {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.cta-band p { color: var(--ink-soft); }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px;
  align-items: center; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.contact-icon {
  grid-row: span 2; width: 52px; height: 52px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage-deep);
  display: grid; place-items: center;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }

.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; max-width: 980px; }
.contact-info p { color: var(--ink-soft); }
.h-small {
  font: 600 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 .5em;
}
.contact-info p + .h-small { margin-top: 1.6em; }

@media (max-width: 760px) {
  .cta-band, .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- Sidfot ---------- */

.site-footer { background: var(--ink); color: #d9ddd4; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer p { color: #b9beb3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: #fff !important; margin-bottom: .6em;
}
.footer-brand span { font: 400 .9rem var(--sans); color: #9ea596; }
.footer-brand .logo-mark { color: #a9bb9c; }
.footer-logo { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.footer-h { font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9ea596; margin-bottom: 1em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  color: #9ea596; font-size: .85rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
