/* Typsnitt som ligger på sajten. Licens: SIL Open Font License. */
@font-face {font-family: 'Alegreya'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/alegreya-1daa6741.woff2) format('woff2')}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/alegreya-sans-634389ba.woff2) format('woff2')}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/alegreya-sans-4d22d5f2.woff2) format('woff2')}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/alegreya-sans-f8d8d1b5.woff2) format('woff2')}

* { box-sizing: border-box; }
body { margin: 0; }
.site {
  --ink: #262019;
  --muted: #645B50;
  --rule: #DAD5CC;
  --leaf: #456B1D;
  --leaf-deep: #35530F;
  --tint: #EEF3E6;
  --mid: #A9C383;
  --paper: #FFFFFF;
  background: var(--paper);
  color: var(--ink);
  font-family: "Alegreya Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1875rem;
  line-height: 1.5;
}
.site a { color: inherit; text-underline-offset: 3px; }
.site a:focus-visible, .site button:focus-visible, .site summary:focus-visible, .site input:focus-visible, .site select:focus-visible, .site textarea:focus-visible, .site [tabindex]:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.inner { max-width: 58rem; margin: 0 auto; padding: 0 1rem; }
.site h1, .site h2 { font-family: "Alegreya", Georgia, serif; font-weight: 700; line-height: 1.12; margin: 0; }
.site h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin: 0; }
.site p { margin: 0 0 1rem; max-width: 60ch; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.top { border-bottom: 1px solid var(--rule); }
.top .inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.35rem 2rem; padding-top: 1rem; padding-bottom: 0.9rem; }
.name { font-family: "Alegreya", Georgia, serif; font-weight: 700; font-size: 1.5rem; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { text-decoration: underline; }
.nav .tel { font-weight: 700; }

.start { padding-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.start h1 { font-size: clamp(2rem, 5.4vw, 2.75rem); max-width: 20ch; margin-bottom: 1rem; }
.now { border-left: 4px solid var(--leaf); padding: 0.1rem 0 0.1rem 1rem; align-self: start; }
.site .now h2 { font-family: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.2rem; }
.now p { margin: 0; }
.go { display: inline-block; background: var(--leaf); color: #fff !important; font-weight: 700; text-decoration: none; padding: 0.7rem 1.2rem; border-radius: 4px; }
.go:hover { background: var(--leaf-deep); }
.or { margin-left: 0.9rem; }

.home section { padding-top: 3rem; }
.site h2 { font-size: 1.75rem; margin-bottom: 0.9rem; }

/* Årets arbeten: en riktig tabell, tolv månader */
.yearwrap { background: var(--tint); margin-top: 3rem; padding: 2rem 0 2.25rem; }
.year { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 0.5rem; }
.year th, .year td { padding: 0; height: 2.1rem; border-bottom: 1px solid #D5DEC6; }
.year thead th { font-weight: 500; font-size: 0.95rem; color: var(--muted); text-align: center; height: 1.8rem; }
.year thead abbr { text-decoration: none; }
.year .job { width: 9.5rem; text-align: left; font-weight: 500; font-size: 1rem; line-height: 1.15; padding-right: 0.5rem; }
.year td.b::before, .year td.g::before { content: ""; display: block; height: 1rem; background: var(--leaf); }
.year td.g::before { background: var(--mid); }
.year .nowcol { background: #DDE6CF; }
.year thead .nowcol { color: var(--ink); font-weight: 700; }
.key { margin: 0.9rem 0 0 !important; font-size: 1rem; color: var(--muted); }
.key i { display: inline-block; width: 1.4rem; height: 0.7rem; margin: 0 0.35rem 0 0; vertical-align: baseline; }
.key i + span { margin-right: 1.25rem; }

.jobs { margin: 0; padding: 0; list-style: none; }
.jobs > li { border-top: 1px solid var(--rule); padding: 1rem 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.2rem 2rem; }
.jobs > li:last-child { border-bottom: 1px solid var(--rule); }
.site .jobs p { margin: 0; color: var(--muted); max-width: 56ch; }
.jobs a { color: var(--leaf-deep); font-weight: 500; white-space: nowrap; }

.steps { margin: 0; padding-left: 1.4rem; max-width: 56ch; }
.steps li { margin-bottom: 0.5rem; padding-left: 0.3rem; }

.ask { border-top: 1px solid var(--rule); margin-top: 3rem; padding-bottom: 3rem; }
.form { display: grid; gap: 1rem; max-width: 36rem; }
.f { display: grid; gap: 0.25rem; min-width: 0; }
.f label { font-weight: 500; font-size: 1.0625rem; }
.f .hint { font-size: 1rem; color: var(--muted); }
.f input, .f select, .f textarea { font: inherit; font-size: 1.0625rem; width: 100%; min-width: 0; padding: 0.6rem 0.7rem; border: 1px solid #8E867B; border-radius: 4px; background: #fff; color: var(--ink); }
.f input[type="file"] { padding: 0.45rem; }
.f textarea { min-height: 7rem; resize: vertical; }
.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.send { font: inherit; font-weight: 700; justify-self: start; background: var(--leaf); color: #fff; border: 0; border-radius: 4px; padding: 0.75rem 1.3rem; cursor: pointer; }
.send:hover { background: var(--leaf-deep); }
.err { color: #9B1C1C; font-weight: 700; margin: 0; }
.mail { border: 1px solid var(--rule); border-radius: 4px; padding: 1rem 1.1rem; max-width: 36rem; margin: 1rem 0 0; }
.mail h3 { margin-bottom: 0.6rem; font-size: 1.125rem; }
.mail dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.3rem 1rem; font-size: 1.0625rem; }
.mail dt { color: var(--muted); }
.mail dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }

/* Tjänstesidorna visas en i taget */
.page { display: none; padding: 2rem 0 3rem; }
.page:target { display: block; }
.site main:has(.page:target) .home { display: none; }
.page .back { display: inline-block; margin-bottom: 1.25rem; }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); max-width: 22ch; margin-bottom: 1rem; }
.page h2 { font-size: 1.375rem; margin: 2rem 0 0.6rem; }
.page ul { margin: 0 0 1rem; padding-left: 1.2rem; max-width: 56ch; }
.page li { margin-bottom: 0.3rem; }
.page details { border-top: 1px solid var(--rule); max-width: 42rem; }
.page details:last-of-type { border-bottom: 1px solid var(--rule); margin-bottom: 1.75rem; }
.page summary { cursor: pointer; font-weight: 500; padding: 0.75rem 0; }
.page details p { color: var(--muted); }

.bottom { border-top: 1px solid var(--rule); padding: 1.5rem 0 2rem; font-size: 1.0625rem; color: var(--muted); }
.bottom p { margin: 0 0 0.2rem; }

@media (min-width: 46rem) {
  .start { grid-template-columns: minmax(0, 1fr) 16rem; gap: 3rem; padding-top: 3.25rem; }
  .now { margin-top: 0.6rem; }
  .jobs > li { grid-template-columns: 13rem minmax(0, 1fr) auto; align-items: baseline; }
  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .year .job { width: 13rem; font-size: 1.0625rem; }
}
@media (max-width: 26rem) {
  .or { display: block; margin: 0.8rem 0 0; }
  .year .job { width: 7.6rem; font-size: 0.9375rem; }
}
.site p.tight { margin-bottom: 0; }
.site .key .k-best { background: #456B1D; }
.site .key .k-ok { background: #A9C383; }
.site #done-title { margin-bottom: 0.4rem; }
