@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --cream: #f6f2eb;
  --ink: #1c1a18;
  --red: #c41e3a;
  --line: #1c1a1822;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* corner mark — echoes "top", the brand's own name */
.mark {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 56px 56px 0;
  border-color: transparent var(--red) transparent transparent;
  opacity: 0.9;
  z-index: 10;
}
@media (max-width: 600px) {
  .mark { border-width: 0 40px 40px 0; }
}

/* top nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 6vw;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo .red { color: var(--red); }

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.75;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-links a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--ink);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 4vh 6vw 8vh;
}

.wrap {
  max-width: 640px;
  width: 100%;
}

.wrap.wide { max-width: 760px; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  margin-bottom: 1.6rem;
  font-weight: 500;
}

.wordmark {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 9vw, 5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}
.wordmark .red { color: var(--red); }

h2.title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}

.thesis {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.45;
  max-width: 32ch;
  margin-bottom: 2.4rem;
  color: var(--ink);
}

.bio, p.body-text {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 58ch;
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 1.4rem;
}
.bio strong, p.body-text strong { font-weight: 600; opacity: 1; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 2.2rem 0;
}

/* service / case cards on home + hvordan + workshops */
.cards {
  display: grid;
  gap: 1.6rem;
  margin: 2.4rem 0 3rem;
}

.card {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.card:first-child { border-top: none; padding-top: 0; }

.card-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.8;
}

.card .cta {
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
}

.portrait {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4.5px var(--red);
}

.banner {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 0 0 2.6rem;
  border-bottom: 3px solid var(--red);
}

.thumb {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 1.2rem;
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4.5px var(--red);
}

.cards.tight-bottom {
  margin-bottom: 0.4rem;
}

.card.no-pad-bottom {
  padding-bottom: 0;
}

.cta {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 0.15rem;
  margin: 0.6rem 0 2.6rem;
  transition: color 0.15s ease;
}
.cta:hover, .cta:focus-visible { color: var(--red); }
.cta:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* footer contact block, reused on every page */
footer.contact-block {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 0 6vw 6vh;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  align-items: baseline;
}

.contact-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  width: 100%;
  margin-bottom: 0.3rem;
}

.contact a, .contact span {
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.contact a:hover, .contact a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}
.contact a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.cvr {
  opacity: 0.5;
  font-size: 0.82rem;
  margin-top: 1.4rem;
}

@media (prefers-reduced-motion: no-preference) {
  main .wrap > * { animation: rise 0.6s ease backwards; }
  .wrap > *:nth-child(1) { animation-delay: 0s; }
  .wrap > *:nth-child(2) { animation-delay: 0.06s; }
  .wrap > *:nth-child(3) { animation-delay: 0.12s; }
  .wrap > *:nth-child(4) { animation-delay: 0.18s; }
  .wrap > *:nth-child(5) { animation-delay: 0.24s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
